Index: d.bat
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/d.bat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/d.bat	(working copy)
@@ -0,0 +1,9 @@
+call do.bat eep
+e 8043 00
+e pu
+e 8070 00000000000000000000
+e 807a 00000000000000000000
+e 8070 3e6c6d   
+e ep output/eeprom.dat
+e er 0 10
+e ku
Index: do.bat
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/do.bat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
+@rem set device_option=shutter
+@rem set device_option=hci
+@rem set device_option=antilost
+@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 ..\util\eeprom2hciimage.pl
+:: perl ..\util\bin2array.pl > bt_patch.h
+
+:end
+
Index: format/Hid.format
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/Hid.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_antiLost.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_car.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_dongle.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_dongle.format	(working copy)
@@ -0,0 +1,152 @@
+
+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
+
+// patch area
+240 mem_hidreceportdesc_gamepad
+2 mem_cb_24g_data_device_gamepad1
+2 mem_cb_24g_data_device_gamepad2
+1 mem_24g_gamepad_type
+1 mem_dg_gp1_blank_data_enable
+1 mem_dg_gp2_blank_data_enable
+
+)
+
+
+//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
+
+16 TIMER_GP1_BLANK
+384 TIMER_GP1_BLANK_DELAY
+
+18 TIMER_GP2_BLANK
+384 TIMER_GP2_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
+0x02 GAMEPAD_ACKLOAD
+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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_esl.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_module.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_module.format	(working copy)
@@ -0,0 +1,289 @@
+
+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
+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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_mouse.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_remote_car.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/app_shutter.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ble_protocol_stack/le.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ble_protocol_stack/le_advertising.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ble_protocol_stack/le_l2cap_att.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ble_protocol_stack/le_l2cap_att_wechat.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ble_protocol_stack/le_l2cap_signalling.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ble_protocol_stack/le_l2cap_smp.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ble_protocol_stack/le_ll.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/bt.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/command.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/debug.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g_pair.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g_pair.format	(working copy)
@@ -0,0 +1,57 @@
+
+
+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
+)
+
+(
+0x04 DATATYPE_DEVICE_GAMEPAD1	//gamepad1
+0x05 DATATYPE_DEVICE_GAMEPAD2	//gamepad2
+)
+
+
Index: format/g24_protocol_stack/24g_receiver.format
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g_receiver.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g_reconn.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g_rssi.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g_transmitter.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/g24_protocol_stack/24g_txpower_ctrl.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/hci.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/hci.format	(working copy)
@@ -0,0 +1,520 @@
+
+
+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
+)
+
+(
+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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/kscan_peipherals.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/l2cap.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/lmp.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/memblocks.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_access_layer.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_ali_vendor_message.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_bearer_layer.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_ble_core_advertising.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_chip_peripherals.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_control_ble_advertising.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_encrypt_function.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_fast_pairing.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_health_message.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_init.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_lower_transport_layer.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_model_layer.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_more_element_check.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_network_layer.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_proxy_layer.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/mesh_protocol_stack/mesh_upper_transport_layer.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/meter.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/patch.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/peipherals_config/peipherals_50hz.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/peipherals_config/peipherals_iic.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/peipherals_config/peipherals_nec.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/peipherals_config/peipherals_spi.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/peipherals_config/peipherals_uart.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/regs.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/rfcomm.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/sdp.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/security.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/simple_pairing.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/ui.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/usb.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/utility.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/format/var.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bin2array.pl	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_format.meta	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_format.meta	(working copy)
@@ -0,0 +1,11232 @@
+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
+0x4940 mem_hidreceportdesc_gamepad
+0x4a30 mem_cb_24g_data_device_gamepad1
+0x4a32 mem_cb_24g_data_device_gamepad2
+0x4a34 mem_24g_gamepad_type
+0x4a35 mem_dg_gp1_blank_data_enable
+0x4a36 mem_dg_gp2_blank_data_enable
+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
+)
+
+(
+0x04 DATATYPE_DEVICE_GAMEPAD1	//gamepad1
+0x05 DATATYPE_DEVICE_GAMEPAD2	//gamepad2
+)
+
+
+
+
+
+
+(
+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
+
+16 TIMER_GP1_BLANK
+384 TIMER_GP1_BLANK_DELAY
+
+18 TIMER_GP2_BLANK
+384 TIMER_GP2_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
+0x02 GAMEPAD_ACKLOAD
+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
+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
+)
+
+(
+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: output/bt_program23.icode
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.icode	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.icode	(working copy)
@@ -0,0 +1,30892 @@
+ 00000000  0x0000001f bbit1  0x00000008 , 0x00000008 
+ 00000001  0x00000020 beq  0x00000000 , 0x0000000d 
+ 00000002  0x00000021 beq  0x00000083 , 0x00000015 
+ 00000003  0x00000022 beq  0x000000ad , 0x0000001c 
+ 00000004  0x00000023 beq  0x0000008b , 0x00000071 
+ 00000005  0x00000024 beq  0x000000ba , 0x0000007c 
+ 00000006  0x00000025 beq  0x000000bb , 0x0000007e 
+ 00000007  0x00000026 branch  0x0000137e 
+ 00000008  0x00000029 beq  0x0000008e , 0x0000011a 
+ 00000009  0x0000002a beq  0x0000008f , 0x00000147 
+ 00000010  0x0000002b beq  0x00000093 , 0x0000012a 
+ 00000011  0x0000002c beq  0x000000e6 , 0x00000152 
+ 00000012  0x0000002d branch  0x0000137e 
+ 00000013  0x00000030 clear_stack 
+ 00000014  0x00000031 call  0x00003166 
+ 00000015  0x00000032 jam  0x0000004e , 0x0000487f 
+ 00000016  0x00000033 setarg  0x0015202a 
+ 00000017  0x00000034 store  0x00000003 , 0x0000487b 
+ 00000018  0x00000035 setarg  0x00000010 
+ 00000019  0x00000036 istore  0x00000001 , 0x00000005 
+ 00000020  0x00000037 branch  0x00000804 
+ 00000021  0x0000003b jam  0x00000005 , 0x00008900 
+ 00000022  0x0000003c nop  0x00000002 
+ 00000023  0x0000003d jam  0x00000000 , 0x00008900 
+ 00000024  0x0000003e fetch  0x00000001 , 0x000040c5 
+ 00000025  0x0000003f beq  0x00000018 , 0x00001164 
+ 00000026  0x00000040 jam  0x00000029 , 0x00008a87 
+ 00000027  0x00000041 branch  0x00001179 
+ 00000028  0x00000045 setarg  0x000036cc 
+ 00000029  0x00000046 store  0x00000002 , 0x0000488d 
+ 00000030  0x00000047 setarg  0x0000003a 
+ 00000031  0x00000048 store  0x00000002 , 0x0000488f 
+ 00000032  0x0000004a setarg  0x00000047 
+ 00000033  0x0000004b store  0x00000002 , 0x00004a30 
+ 00000034  0x0000004c setarg  0x00000050 
+ 00000035  0x0000004d store  0x00000002 , 0x00004a32 
+ 00000036  0x0000004f setarg  0x00000027 
+ 00000037  0x00000050 store  0x00000002 , 0x00000b45 
+ 00000038  0x00000052 branch  0x00007a08 
+ 00000039  0x00000056 fetch  0x00000004 , 0x00009aac 
+ 00000040  0x00000057 set1  0x0000001d , 0x0000003f 
+ 00000041  0x00000058 store  0x00000004 , 0x00000aa0 
+ 00000042  0x0000005a call  0x000036f7 
+ 00000043  0x0000005b call  0x00007a5b 
+ 00000044  0x0000005c call  0x000036e4 
+ 00000045  0x0000005d branch  0x0000002e 
+ 00000046  0x00000061 setarg  0x00004940 
+ 00000047  0x00000062 store  0x00000002 , 0x00000a93 
+ 00000048  0x00000063 setarg  0x00000022 
+ 00000049  0x00000064 store  0x00000001 , 0x00000aaa 
+ 00000050  0x00000065 store  0x00000001 , 0x00000aad 
+ 00000051  0x00000066 setarg  0x00000001 
+ 00000052  0x00000067 store  0x00000001 , 0x00000aaf 
+ 00000053  0x00000068 setarg  0x00000000 
+ 00000054  0x00000069 store  0x00000002 , 0x00000aba 
+ 00000055  0x0000006a fetch  0x00000001 , 0x00004940 
+ 00000056  0x0000006b store  0x00000001 , 0x00000ac4 
+ 00000057  0x0000006c rtn 
+ 00000058  0x00000070 fetch  0x00000001 , 0x000048be 
+ 00000059  0x00000071 beq  0x00000001 , 0x00002354 
+ 00000060  0x00000072 beq  0x00000002 , 0x0000003f 
+ 00000061  0x00000073 beq  0x00000003 , 0x00003794 
+ 00000062  0x00000074 rtn 
+ 00000063  0x00000077 fetch  0x00000001 , 0x000047a9 
+ 00000064  0x00000078 beq  0x00000001 , 0x00002354 
+ 00000065  0x00000079 beq  0x000000ff , 0x00002354 
+ 00000066  0x0000007a jam  0x00000000 , 0x000048be 
+ 00000067  0x0000007b jam  0x00000001 , 0x00004838 
+ 00000068  0x0000007c fetch  0x00000001 , 0x00004a34 
+ 00000069  0x0000007d store  0x00000001 , 0x000047c9 
+ 00000070  0x0000007e rtn 
+ 00000071  0x00000081 jam  0x00000001 , 0x00000c0f 
+ 00000072  0x00000082 arg  0x00000c10 , 0x00000005 
+ 00000073  0x00000083 arg  0x00004898 , 0x00000006 
+ 00000074  0x00000084 arg  0x00000007 , 0x00000039 
+ 00000075  0x00000085 call  0x00007dd4 
+ 00000076  0x00000086 fetch  0x00000007 , 0x00000c10 
+ 00000077  0x00000087 ncall  0x00000059 , 0x00000034 
+ 00000078  0x00000088 call  0x0000371e 
+ 00000079  0x00000089 branch  0x000023fa 
+ 00000080  0x0000008c jam  0x00000002 , 0x00000c0f 
+ 00000081  0x0000008d arg  0x00000c10 , 0x00000005 
+ 00000082  0x0000008e arg  0x00004898 , 0x00000006 
+ 00000083  0x0000008f arg  0x00000007 , 0x00000039 
+ 00000084  0x00000090 call  0x00007dd4 
+ 00000085  0x00000091 fetch  0x00000007 , 0x00000c10 
+ 00000086  0x00000092 ncall  0x0000005d , 0x00000034 
+ 00000087  0x00000093 call  0x0000371e 
+ 00000088  0x00000094 branch  0x000023fa 
+ 00000089  0x00000097 jam  0x00000001 , 0x00004a35 
+ 00000090  0x00000098 setarg  0x00000180 
+ 00000091  0x00000099 arg  0x0000000e , 0x00000007 
+ 00000092  0x0000009a branch  0x00007ddb 
+ 00000093  0x0000009d jam  0x00000001 , 0x00004a36 
+ 00000094  0x0000009e setarg  0x00000180 
+ 00000095  0x0000009f arg  0x00000012 , 0x00000007 
+ 00000096  0x000000a0 branch  0x00007ddb 
+ 00000097  0x000000a3 call  0x00000063 
+ 00000098  0x000000a4 branch  0x0000006a 
+ 00000099  0x000000a7 fetch  0x00000001 , 0x00004a35 
+ 00000100  0x000000a8 rtn  0x00000034 
+ 00000101  0x000000a9 arg  0x0000000e , 0x00000007 
+ 00000102  0x000000aa call  0x00007de9 
+ 00000103  0x000000ab nrtn  0x00000034 
+ 00000104  0x000000ac jam  0x00000000 , 0x00004a35 
+ 00000105  0x000000ad rtn 
+ 00000106  0x000000b0 fetch  0x00000001 , 0x00004a36 
+ 00000107  0x000000b1 rtn  0x00000034 
+ 00000108  0x000000b2 arg  0x00000012 , 0x00000007 
+ 00000109  0x000000b3 call  0x00007de9 
+ 00000110  0x000000b4 nrtn  0x00000034 
+ 00000111  0x000000b5 jam  0x00000000 , 0x00004a36 
+ 00000112  0x000000b6 rtn 
+ 00000113  0x000000ba jam  0x000000ff , 0x000041ea 
+ 00000114  0x000000bc jam  0x00000000 , 0x00008a85 
+ 00000115  0x000000bd jam  0x00000040 , 0x00008921 
+ 00000116  0x000000bf jam  0x00000001 , 0x00004867 
+ 00000117  0x000000c0 jam  0x00000001 , 0x00004868 
+ 00000118  0x000000c3 jam  0x0000001e , 0x000048bc 
+ 00000119  0x000000c6 jam  0x00000001 , 0x000048d7 
+ 00000120  0x000000c8 call  0x00001252 
+ 00000121  0x000000cb call  0x000062a4 
+ 00000122  0x000000ce setarg  0x0000007d 
+ 00000123  0x000000cf branch  0x00006295 
+ 00000124  0x000000d2 call  0x0000007a 
+ 00000125  0x000000d3 branch  0x00003730 
+ 00000126  0x000000d9 fetch  0x00000001 , 0x000048c3 
+ 00000127  0x000000da rtnne  0x00000000 
+ 00000128  0x000000db call  0x00000083 
+ 00000129  0x000000dc call  0x00000061 
+ 00000130  0x000000dd branch  0x00003770 
+ 00000131  0x000000e1 fetch  0x00000001 , 0x000048c3 
+ 00000132  0x000000e2 rtnne  0x00000000 
+ 00000133  0x000000e3 call  0x00002485 
+ 00000134  0x000000e4 call  0x00002547 
+ 00000135  0x000000e5 branch  0x00000088 
+ 00000136  0x000000e8 call  0x000000b2 
+ 00000137  0x000000e9 nbranch  0x000023fa , 0x0000002f 
+ 00000138  0x000000eb call  0x0000241b 
+ 00000139  0x000000ec nbranch  0x000023fa , 0x00000028 
+ 00000140  0x000000ed fetch  0x00000001 , 0x0000482d 
+ 00000141  0x000000ee branch  0x000023fa , 0x00000034 
+ 00000142  0x000000ef increase  0x00000002 , 0x0000003f 
+ 00000143  0x000000f0 iforce  0x00000039 
+ 00000144  0x000000f1 arg  0x000047a7 , 0x00000006 
+ 00000145  0x000000f2 arg  0x00004895 , 0x00000005 
+ 00000146  0x000000f3 call  0x00007dd4 
+ 00000147  0x000000f4 jam  0x00000000 , 0x000048c0 
+ 00000148  0x000000f5 fetch  0x00000001 , 0x000048bd 
+ 00000149  0x000000f6 call  0x00002436 , 0x00000034 
+ 00000150  0x000000f7 fetch  0x00000001 , 0x00004897 
+ 00000151  0x000000fa beq  0x00000004 , 0x00000110 
+ 00000152  0x000000fb beq  0x00000005 , 0x00000115 
+ 00000153  0x000000fc beq  0x00000002 , 0x0000009c 
+ 00000154  0x000000fd beq  0x00000001 , 0x000000ae 
+ 00000155  0x000000fe branch  0x000023fa 
+ 00000156  0x00000102 fetch  0x00000001 , 0x00004898 
+ 00000157  0x00000103 rtnne  0x000000ff 
+ 00000158  0x00000104 fetch  0x00000001 , 0x00004a35 
+ 00000159  0x00000105 branch  0x000000a7 , 0x00000034 
+ 00000160  0x00000106 jam  0x00000002 , 0x00004a34 
+ 00000161  0x00000107 jam  0x00000002 , 0x000048be 
+ 00000162  0x00000108 call  0x00007ec5 
+ 00000163  0x00000109 fetch  0x00000004 , 0x0000489a 
+ 00000164  0x0000010a store  0x00000004 , 0x000048d9 
+ 00000165  0x0000010b store  0x00000004 , 0x000048e1 
+ 00000166  0x0000010c rtn 
+ 00000167  0x0000010f jam  0x00000001 , 0x00004a34 
+ 00000168  0x00000110 jam  0x00000002 , 0x000048be 
+ 00000169  0x00000111 call  0x00007ec5 
+ 00000170  0x00000112 fetch  0x00000004 , 0x0000489a 
+ 00000171  0x00000113 store  0x00000004 , 0x000048d9 
+ 00000172  0x00000114 store  0x00000004 , 0x000048dd 
+ 00000173  0x00000115 rtn 
+ 00000174  0x00000118 fetch  0x00000001 , 0x00004898 
+ 00000175  0x00000119 rtnne  0x000000ff 
+ 00000176  0x0000011a jam  0x00000002 , 0x000048be 
+ 00000177  0x0000011b branch  0x00007ec5 
+ 00000178  0x00000121 call  0x000023fa 
+ 00000179  0x00000122 call  0x000000bc 
+ 00000180  0x00000123 nrtn  0x0000002f 
+ 00000181  0x00000126 fetch  0x00000001 , 0x000047a7 
+ 00000182  0x00000127 store  0x00000001 , 0x00004839 
+ 00000183  0x00000129 call  0x00002274 
+ 00000184  0x0000012b fetch  0x00000001 , 0x000047a8 
+ 00000185  0x0000012c isolate1  0x00000000 , 0x0000003f 
+ 00000186  0x0000012d branch  0x00002435 , 0x00000001 
+ 00000187  0x0000012e branch  0x00002432 
+ 00000188  0x00000131 fetch  0x00000001 , 0x00004867 
+ 00000189  0x00000132 call  0x00001637 
+ 00000190  0x00000133 fetch  0x00000004 , 0x0000483f 
+ 00000191  0x00000134 iforce  0x00000009 
+ 00000192  0x00000135 call  0x000010ac 
+ 00000193  0x00000136 call  0x0000115d 
+ 00000194  0x00000137 fetcht  0x00000001 , 0x0000483d 
+ 00000195  0x00000138 call  0x00001674 
+ 00000196  0x0000013a call  0x00002181 
+ 00000197  0x0000013b bmark0  0x0000002f , 0x000000c9 
+ 00000198  0x0000013c pulse  0x00000039 
+ 00000199  0x0000013d nop  0x0000001e 
+ 00000200  0x0000013e call  0x00002181 
+ 00000201  0x00000140 disable  0x0000002f 
+ 00000202  0x00000141 enable  0x0000000d 
+ 00000203  0x00000142 enable  0x00000021 
+ 00000204  0x00000143 disable  0x00000020 
+ 00000205  0x00000144 enable  0x00000010 
+ 00000206  0x00000145 fetch  0x00000002 , 0x0000483b 
+ 00000207  0x00000146 iforce  0x0000001b 
+ 00000208  0x00000147 correlate  0x0000003e , 0x00000003 
+ 00000209  0x00000148 nbranch  0x000021ef , 0x00000018 
+ 00000210  0x00000149 fetch  0x00000003 , 0x00004ff0 
+ 00000211  0x0000014a increase  0x00000001 , 0x0000003f 
+ 00000212  0x0000014b store  0x00000003 , 0x00004ff0 
+ 00000213  0x0000014d call  0x00004d0d 
+ 00000214  0x0000014e bmark1  0x0000002f , 0x000000d9 
+ 00000215  0x0000014f disable  0x0000000d 
+ 00000216  0x00000150 enable  0x0000000b 
+ 00000217  0x00000152 enable  0x00000007 
+ 00000218  0x00000153 enable  0x00000009 
+ 00000219  0x00000154 call  0x000021ec 
+ 00000220  0x00000155 store  0x00000001 , 0x0000485d 
+ 00000221  0x00000156 fetcht  0x00000001 , 0x0000485c 
+ 00000222  0x00000157 isub  0x00000002 , 0x0000003e 
+ 00000223  0x00000158 nbranch  0x000021f1 , 0x00000005 
+ 00000224  0x00000159 disable  0x00000031 
+ 00000225  0x0000015a isolate1  0x0000002f , 0x00000000 
+ 00000226  0x0000015b call  0x000021de , 0x00000001 
+ 00000227  0x0000015c branch  0x000021f1 , 0x00000031 
+ 00000228  0x0000015d call  0x000021ec 
+ 00000229  0x0000015e store  0x00000001 , 0x000047a7 
+ 00000230  0x0000015f bmark1  0x00000027 , 0x000000eb 
+ 00000231  0x00000160 fetch  0x00000001 , 0x000047a7 
+ 00000232  0x00000161 fetcht  0x00000001 , 0x00004839 
+ 00000233  0x00000162 icompare  0x00000007 , 0x00000002 
+ 00000234  0x00000163 nbranch  0x000021f1 , 0x00000001 
+ 00000235  0x00000165 call  0x000021ec 
+ 00000236  0x00000166 isolate1  0x0000002f , 0x00000000 
+ 00000237  0x00000167 call  0x000021e7 , 0x00000001 
+ 00000238  0x00000168 istore  0x00000001 , 0x00000005 
+ 00000239  0x00000169 rshift3  0x0000003f , 0x0000003f 
+ 00000240  0x0000016a sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00000241  0x0000016b nbranch  0x000021f1 , 0x00000002 
+ 00000242  0x0000016c copy  0x0000003f , 0x00000039 
+ 00000243  0x0000016d branch  0x000000f7 , 0x00000005 
+ 00000244  0x0000016f call  0x000021ec 
+ 00000245  0x00000170 istore  0x00000001 , 0x00000005 
+ 00000246  0x00000171 loop  0x000000f4 
+ 00000247  0x00000173 bmark1  0x00000027 , 0x000000fc 
+ 00000248  0x00000174 copy  0x00000005 , 0x00000011 
+ 00000249  0x00000175 call  0x000021ec 
+ 00000250  0x00000176 store  0x00000001 , 0x00004882 
+ 00000251  0x00000177 copy  0x00000011 , 0x00000005 
+ 00000252  0x00000179 parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00000253  0x0000017a rshift32  0x0000003f , 0x0000003f 
+ 00000254  0x0000017b rshift16  0x0000003f , 0x0000003f 
+ 00000255  0x0000017c istore  0x00000003 , 0x00000005 
+ 00000256  0x0000017d disable  0x0000000b 
+ 00000257  0x0000017e isolate1  0x00000027 , 0x00000000 
+ 00000258  0x0000017f call  0x000025e5 , 0x00000001 
+ 00000259  0x00000180 branch  0x000021f1 , 0x00000006 
+ 00000260  0x00000181 fetch  0x00000003 , 0x00004ff3 
+ 00000261  0x00000182 increase  0x00000001 , 0x0000003f 
+ 00000262  0x00000183 store  0x00000003 , 0x00004ff3 
+ 00000263  0x00000184 call  0x00004d0c 
+ 00000264  0x00000185 enable  0x0000002f 
+ 00000265  0x00000186 call  0x0000175c 
+ 00000266  0x00000187 rtnmark1  0x00000027 
+ 00000267  0x00000188 fetch  0x00000001 , 0x00004882 
+ 00000268  0x00000189 fetcht  0x00000001 , 0x000048d1 
+ 00000269  0x0000018a isub  0x00000002 , 0x0000003e 
+ 00000270  0x0000018b call  0x00007ebd , 0x00000002 
+ 00000271  0x0000018c branch  0x000025e9 
+ 00000272  0x00000191 fetcht  0x00000001 , 0x00004895 
+ 00000273  0x00000192 isolate1  0x00000003 , 0x00000002 
+ 00000274  0x00000193 branch  0x00002417 , 0x00000001 
+ 00000275  0x00000194 fetch  0x00000002 , 0x00004a30 
+ 00000276  0x00000195 branch  0x00007e7a 
+ 00000277  0x00000198 fetcht  0x00000001 , 0x00004895 
+ 00000278  0x00000199 isolate1  0x00000003 , 0x00000002 
+ 00000279  0x0000019a branch  0x00002419 , 0x00000001 
+ 00000280  0x0000019b fetch  0x00000002 , 0x00004a32 
+ 00000281  0x0000019c branch  0x00007e7a 
+ 00000282  0x000001a1 set0  0x00000023 , 0x00000000 
+ 00000283  0x000001a2 fetch  0x00000001 , 0x00000b59 
+ 00000284  0x000001a3 and_into  0x00000080 , 0x0000003f 
+ 00000285  0x000001a4 beq  0x00000000 , 0x0000011f 
+ 00000286  0x000001a5 branch  0x00007aa1 
+ 00000287  0x000001a8 fetch  0x00000001 , 0x00000b59 
+ 00000288  0x000001a9 rshift4  0x0000003f , 0x0000003f 
+ 00000289  0x000001aa rshift  0x0000003f , 0x0000003f 
+ 00000290  0x000001ab and_into  0x00000003 , 0x0000003f 
+ 00000291  0x000001ac beq  0x00000001 , 0x00000125 
+ 00000292  0x000001ad branch  0x00007ab4 
+ 00000293  0x000001b0 fetch  0x00000001 , 0x00000b5a 
+ 00000294  0x000001b1 beq  0x00000009 , 0x00000128 
+ 00000295  0x000001b2 branch  0x00007acd 
+ 00000296  0x000001b5 nop  0x00003a98 
+ 00000297  0x000001b6 branch  0x00007c4a 
+ 00000298  0x000001bb fetch  0x00000001 , 0x00000bf9 
+ 00000299  0x000001bc rtn  0x00000034 
+ 00000300  0x000001bd fetch  0x00000001 , 0x00008c24 
+ 00000301  0x000001be and_into  0x0000000f , 0x0000003f 
+ 00000302  0x000001bf nbranch  0x00007d17 , 0x00000034 
+ 00000303  0x000001c0 fetch  0x00000001 , 0x00000bfa 
+ 00000304  0x000001c1 branch  0x00007ced , 0x00000034 
+ 00000305  0x000001c2 fetch  0x00000001 , 0x00000bec 
+ 00000306  0x000001c3 beq  0x00000003 , 0x00007d27 
+ 00000307  0x000001c4 bne  0x00000002 , 0x00007ced 
+ 00000308  0x000001c5 fetch  0x00000001 , 0x00000bee 
+ 00000309  0x000001c6 nbranch  0x00007ced , 0x00000034 
+ 00000310  0x000001c7 call  0x00000138 
+ 00000311  0x000001c8 branch  0x00007ce0 
+ 00000312  0x000001cb fetch  0x00000001 , 0x00008c24 
+ 00000313  0x000001cc rtnbit1  0x00000001 
+ 00000314  0x000001cd fetch  0x00000001 , 0x00000bf9 
+ 00000315  0x000001ce rtnbit0  0x00000001 
+ 00000316  0x000001cf fetch  0x00000001 , 0x00000bf9 
+ 00000317  0x000001d0 set0  0x00000001 , 0x0000003f 
+ 00000318  0x000001d1 store  0x00000001 , 0x00000bf9 
+ 00000319  0x000001d2 fetch  0x00000001 , 0x00000bf7 
+ 00000320  0x000001d3 rtn  0x00000034 
+ 00000321  0x000001d4 beq  0x00000010 , 0x00000143 
+ 00000322  0x000001d5 branch  0x0000137c 
+ 00000323  0x000001d8 jam  0x00000000 , 0x00000bf7 
+ 00000324  0x000001d9 arg  0x00000008 , 0x00000039 
+ 00000325  0x000001da arg  0x00000c0f , 0x00000006 
+ 00000326  0x000001db branch  0x00007cb9 
+ 00000327  0x000001de fetch  0x00000001 , 0x00000b5c 
+ 00000328  0x000001df beq  0x00000001 , 0x00007b01 
+ 00000329  0x000001e0 beq  0x00000002 , 0x00007b1a 
+ 00000330  0x000001e1 beq  0x00000003 , 0x00007b1d 
+ 00000331  0x000001e2 beq  0x00000021 , 0x00007af6 
+ 00000332  0x000001e3 beq  0x00000022 , 0x0000014e 
+ 00000333  0x000001e4 branch  0x00007ad2 
+ 00000334  0x000001e7 jam  0x00000001 , 0x00000bfa 
+ 00000335  0x000001e8 jam  0x00000001 , 0x00000bec 
+ 00000336  0x000001e9 fetchr  0x00000011 , 0x00000002 , 0x00000a93 
+ 00000337  0x000001ea branch  0x00007c75 
+ 00000338  0x000001ee fetch  0x00000001 , 0x000048c3 
+ 00000339  0x000001ef rtnne  0x00000001 
+ 00000340  0x000001f0 jam  0x00000085 , 0x000041e8 
+ 00000341  0x000001f1 branch  0x0000249f 
+ 00002048  0x000001fb call  0x000013e1 
+ 00002049  0x000001fe bpatch  0x00000000 , 0x00004000 
+ 00002050  0x000001ff clear_stack 
+ 00002051  0x00000200 call  0x00003166 
+ 00002052  0x00000201 call  0x00001246 
+ 00002053  0x00000202 call  0x00005e33 
+ 00002054  0x00000203 call  0x00001386 
+ 00002055  0x00000204 call  0x00004e25 
+ 00002056  0x00000205 bpatch  0x00000001 , 0x00004000 
+ 00002057  0x00000206 call  0x00006323 
+ 00002058  0x00000207 call  0x000053df 
+ 00002059  0x00000208 call  0x0000781f 
+ 00002060  0x00000209 call  0x00003150 
+ 00002061  0x0000020a bpatch  0x00000002 , 0x00004000 
+ 00002062  0x0000020b call  0x0000315d , 0x0000002b 
+ 00002063  0x0000020c call  0x00006f0f 
+ 00002064  0x0000020d call  0x00006f31 
+ 00002065  0x0000020e call  0x00001484 , 0x0000002b 
+ 00002066  0x00000210 bpatch  0x00000003 , 0x00004000 
+ 00002067  0x00000211 call  0x000070d7 
+ 00002068  0x00000212 call  0x00007602 
+ 00002069  0x00000213 call  0x00006f12 
+ 00002070  0x00000214 call  0x00001b3f 
+ 00002071  0x00000215 call  0x00000838 
+ 00002072  0x00000216 call  0x0000317b 
+ 00002073  0x00000217 bpatch  0x00000004 , 0x00004000 
+ 00002074  0x00000218 call  0x00000890 
+ 00002075  0x00000219 call  0x00000b05 
+ 00002076  0x0000021a call  0x00000b77 
+ 00002077  0x0000021b call  0x00000821 
+ 00002078  0x0000021c call  0x0000217e 
+ 00002079  0x0000021d call  0x000014ac 
+ 00002080  0x0000021e branch  0x00000812 
+ 00002081  0x00000221 call  0x00000826 
+ 00002082  0x00000222 rtnmark0  0x00000009 
+ 00002083  0x00000223 set0  0x00000009 , 0x00000000 
+ 00002084  0x00000224 call  0x00000a30 
+ 00002085  0x00000225 branch  0x0000165e 
+ 00002086  0x00000228 bpatch  0x00000005 , 0x00004000 
+ 00002087  0x00000229 call  0x00000a6b 
+ 00002088  0x0000022a nbranch  0x0000082f , 0x00000005 
+ 00002089  0x0000022b call  0x00000a17 
+ 00002090  0x0000022c add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002091  0x0000022d ifetch  0x00000001 , 0x00000006 
+ 00002092  0x0000022e bbit1  0x00000000 , 0x000015cb 
+ 00002093  0x0000022f bbit1  0x00000001 , 0x00000969 
+ 00002094  0x00000230 branch  0x00000bdc 
+ 00002095  0x00000232 call  0x00000a38 
+ 00002096  0x00000233 copy  0x00000039 , 0x0000003e 
+ 00002097  0x00000234 rtn  0x00000005 
+ 00002098  0x00000235 call  0x00000a17 
+ 00002099  0x00000236 fetch  0x00000001 , 0x00000030 
+ 00002100  0x00000237 bbit1  0x00000003 , 0x000008d3 
+ 00002101  0x00000238 fetch  0x00000001 , 0x00000031 
+ 00002102  0x00000239 bbit1  0x00000001 , 0x00000969 
+ 00002103  0x0000023a branch  0x00000bdc 
+ 00002104  0x00000243 fetch  0x00000001 , 0x000041db 
+ 00002105  0x00000244 rtn  0x00000034 
+ 00002106  0x00000245 beq  0x00000001 , 0x00000848 
+ 00002107  0x00000246 beq  0x00000002 , 0x0000084d 
+ 00002108  0x00000247 beq  0x00000003 , 0x00000850 
+ 00002109  0x00000248 beq  0x00000005 , 0x00000855 
+ 00002110  0x00000249 beq  0x0000001b , 0x00000845 
+ 00002111  0x0000024a call  0x00000a64 
+ 00002112  0x0000024b rtn  0x00000005 
+ 00002113  0x0000024c call  0x00000a67 
+ 00002114  0x0000024d rtn  0x00000005 
+ 00002115  0x0000024f jam  0x00000000 , 0x000041db 
+ 00002116  0x00000250 rtn 
+ 00002117  0x00000253 jam  0x0000001b , 0x000002e0 
+ 00002118  0x00000254 jam  0x00000000 , 0x000041db 
+ 00002119  0x00000255 rtn 
+ 00002120  0x00000258 set1  0x0000001c , 0x00000000 
+ 00002121  0x00000259 set0  0x0000001e , 0x00000000 
+ 00002122  0x0000025a jam  0x000000ff , 0x0000008c 
+ 00002123  0x0000025b jam  0x0000001f , 0x0000008a 
+ 00002124  0x0000025c branch  0x00000843 
+ 00002125  0x0000025f set0  0x0000001c , 0x00000000 
+ 00002126  0x00000260 force  0x00000000 , 0x0000001b 
+ 00002127  0x00000261 branch  0x00000843 
+ 00002128  0x00000264 call  0x00000a67 
+ 00002129  0x00000265 rtn  0x00000005 
+ 00002130  0x00000266 force  0x00000001 , 0x00000002 
+ 00002131  0x00000267 jam  0x00000005 , 0x000000bd 
+ 00002132  0x00000268 branch  0x0000085c 
+ 00002133  0x0000026b bpatch  0x00000006 , 0x00004000 
+ 00002134  0x0000026d fetch  0x00000006 , 0x000041dd 
+ 00002135  0x0000026f nop  0x00000001 
+ 00002136  0x00000270 jam  0x00000001 , 0x0000478e 
+ 00002137  0x00000272 jam  0x00000003 , 0x00000055 
+ 00002138  0x00000273 branch  0x0000085b 
+ 00002139  0x00000276 force  0x00000025 , 0x00000002 
+ 00002140  0x00000278 bpatch  0x00000007 , 0x00004000 
+ 00002141  0x00000279 fetch  0x00000001 , 0x000000a7 
+ 00002142  0x0000027a branch  0x00000862 , 0x00000034 
+ 00002143  0x0000027b lshift3  0x0000003f , 0x0000003f 
+ 00002144  0x0000027c lshift4  0x0000003f , 0x0000003f 
+ 00002145  0x0000027d increase  0xffffffff , 0x0000003f 
+ 00002146  0x0000027f store  0x00000001 , 0x000040ae 
+ 00002147  0x00000280 store  0x00000001 , 0x000000a6 
+ 00002148  0x00000281 jam  0x0000001f , 0x0000008b 
+ 00002149  0x00000282 set0  0x0000000c , 0x00000000 
+ 00002150  0x00000283 call  0x00000a48 
+ 00002151  0x00000284 nbranch  0x00000884 , 0x00000005 
+ 00002152  0x00000285 call  0x0000135f 
+ 00002153  0x00000286 store  0x00000001 , 0x00000077 
+ 00002154  0x00000287 storet  0x00000001 , 0x0000007c 
+ 00002155  0x00000288 fetch  0x00000006 , 0x000041dd 
+ 00002156  0x00000289 store  0x00000006 , 0x00000040 
+ 00002157  0x0000028a bpatch  0x00000008 , 0x00004001 
+ 00002158  0x0000028b call  0x00007de8 
+ 00002159  0x0000028c fetcht  0x00000001 , 0x0000007c 
+ 00002160  0x0000028d force  0x00000000 , 0x0000003f 
+ 00002161  0x0000028e compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00002162  0x0000028f nsetflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00002163  0x00000290 set1  0x00000003 , 0x0000003f 
+ 00002164  0x00000291 store  0x00000001 , 0x00000030 
+ 00002165  0x00000292 jam  0x00000003 , 0x0000095b 
+ 00002166  0x00000293 call  0x000078dc 
+ 00002167  0x00000294 force  0x00000000 , 0x0000003f 
+ 00002168  0x00000295 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00002169  0x00000296 store  0x00000001 , 0x0000004c 
+ 00002170  0x00000297 setarg  0x00000000 
+ 00002171  0x00000298 set1  0x00000001 , 0x0000003f 
+ 00002172  0x00000299 store  0x00000001 , 0x00000031 
+ 00002173  0x0000029a enable  0x00000029 
+ 00002174  0x0000029b call  0x00000a30 
+ 00002175  0x0000029c disable  0x00000029 
+ 00002176  0x0000029d force  0x00000003 , 0x00000007 
+ 00002177  0x0000029e fetch  0x00000002 , 0x000040c1 
+ 00002178  0x0000029f call  0x00007ddb 
+ 00002179  0x000002a0 branch  0x00000843 
+ 00002180  0x000002a2 bpatch  0x00000009 , 0x00004001 
+ 00002181  0x000002a3 fetch  0x00000006 , 0x000041dd 
+ 00002182  0x000002a4 store  0x00000006 , 0x00000040 
+ 00002183  0x000002a5 compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00002184  0x000002a6 branch  0x0000088a , 0x00000001 
+ 00002185  0x000002a7 branch  0x00000843 
+ 00002186  0x000002a9 arg  0x00000a01 , 0x00000005 
+ 00002187  0x000002aa arg  0x00000008 , 0x00000039 
+ 00002188  0x000002ab call  0x00007d8c 
+ 00002189  0x000002ac jam  0x00000004 , 0x0000095b 
+ 00002190  0x000002ad call  0x000078dc 
+ 00002191  0x000002ae branch  0x00000843 
+ 00002192  0x000002b6 rtnmark0  0x0000001c 
+ 00002193  0x000002b7 force  0x00000001 , 0x00000007 
+ 00002194  0x000002b8 call  0x00007de9 
+ 00002195  0x000002b9 nsetflag  0x00000034 , 0x0000001c , 0x00000000 
+ 00002196  0x000002ba nbranch  0x00000896 , 0x00000034 
+ 00002197  0x000002bb rtn 
+ 00002198  0x000002c0 bpatch  0x0000000a , 0x00004001 
+ 00002199  0x000002c1 fetcht  0x00000002 , 0x000040c3 
+ 00002200  0x000002c2 force  0x00000004 , 0x00000007 
+ 00002201  0x000002c3 call  0x00000f40 
+ 00002202  0x000002c4 rtn  0x00000028 
+ 00002203  0x000002c5 call  0x000010f6 
+ 00002204  0x000002c6 force  0x00000000 , 0x00000024 
+ 00002205  0x000002c8 rtn  0x00000003 
+ 00002206  0x000002c9 set0  0x0000000b , 0x00000000 
+ 00002207  0x000002ca set0  0x00000000 , 0x00000000 
+ 00002208  0x000002cc add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002209  0x000002cd isolate1  0x0000001e , 0x00000000 
+ 00002210  0x000002ce setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00002211  0x000002cf compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00002212  0x000002d0 nbranch  0x000008bf , 0x00000001 
+ 00002213  0x000002d3 bpatch  0x0000000b , 0x00004001 
+ 00002214  0x000002d4 fetch  0x00000001 , 0x00000012 
+ 00002215  0x000002d5 increase  0x00000001 , 0x0000003f 
+ 00002216  0x000002d6 store  0x00000001 , 0x00000012 
+ 00002217  0x000002d7 call  0x0000112a 
+ 00002218  0x000002d8 call  0x00001124 
+ 00002219  0x000002d9 call  0x00001144 
+ 00002220  0x000002da call  0x00001340 
+ 00002221  0x000002db call  0x00001345 
+ 00002222  0x000002dc call  0x00001353 
+ 00002223  0x000002dd call  0x00000e7c 
+ 00002224  0x000002de call  0x000008b2 
+ 00002225  0x000002df branch  0x0000089d 
+ 00002226  0x000002e2 bpatch  0x0000000c , 0x00004001 
+ 00002227  0x000002e3 fetch  0x00000001 , 0x0000008a 
+ 00002228  0x000002e4 increase  0xffffffff , 0x0000003f 
+ 00002229  0x000002e5 store  0x00000001 , 0x0000008a 
+ 00002230  0x000002e6 rtn  0x00000002 
+ 00002231  0x000002e7 jam  0x0000001f , 0x0000008a 
+ 00002232  0x000002e8 fetch  0x00000001 , 0x0000008c 
+ 00002233  0x000002e9 increase  0xffffffff , 0x0000003f 
+ 00002234  0x000002ea store  0x00000001 , 0x0000008c 
+ 00002235  0x000002eb rtn  0x00000002 
+ 00002236  0x000002ec setflip  0x0000001e , 0x00000000 
+ 00002237  0x000002ed jam  0x000000ff , 0x0000008c 
+ 00002238  0x000002ee rtn 
+ 00002239  0x000002f1 bpatch  0x0000000d , 0x00004001 
+ 00002240  0x000002f2 call  0x0000112a 
+ 00002241  0x000002f3 call  0x0000111e 
+ 00002242  0x000002f4 call  0x00001144 
+ 00002243  0x000002f5 call  0x0000134a 
+ 00002244  0x000002f6 call  0x000012d5 
+ 00002245  0x000002f7 call  0x000012fb 
+ 00002246  0x000002f8 branch  0x000008c9 , 0x00000018 
+ 00002247  0x000002f9 call  0x000008b2 
+ 00002248  0x000002fa branch  0x000008a0 
+ 00002249  0x000002fc bpatch  0x0000000e , 0x00004001 
+ 00002250  0x000002fd call  0x0000127f 
+ 00002251  0x000002fe call  0x0000135b 
+ 00002252  0x000002ff call  0x00000d43 
+ 00002253  0x00000300 set0  0x00000001 , 0x00000000 
+ 00002254  0x00000301 rtnmark0  0x0000000b 
+ 00002255  0x00000304 fetch  0x00000001 , 0x00000013 
+ 00002256  0x00000305 increase  0x00000001 , 0x0000003f 
+ 00002257  0x00000306 store  0x00000001 , 0x00000013 
+ 00002258  0x00000307 rtn 
+ 00002259  0x00000310 bpatch  0x0000000f , 0x00004001 
+ 00002260  0x00000311 enable  0x00000029 
+ 00002261  0x00000312 enable  0x00000030 
+ 00002262  0x00000313 fetch  0x00000002 , 0x000040bd 
+ 00002263  0x00000314 branch  0x000008db , 0x00000034 
+ 00002264  0x00000315 force  0x00000008 , 0x00000007 
+ 00002265  0x00000316 call  0x00007de9 
+ 00002266  0x00000317 nrtn  0x00000034 
+ 00002267  0x00000319 bpatch  0x00000010 , 0x00004002 
+ 00002268  0x0000031a fetcht  0x00000002 , 0x000040bf 
+ 00002269  0x0000031b force  0x00000028 , 0x00000007 
+ 00002270  0x0000031c call  0x00000f40 
+ 00002271  0x0000031d branch  0x00000914 , 0x00000028 
+ 00002272  0x0000031e force  0x00000003 , 0x00000007 
+ 00002273  0x0000031f call  0x00007de9 
+ 00002274  0x00000320 nbranch  0x000008f0 , 0x00000034 
+ 00002275  0x00000321 fetch  0x00000001 , 0x0000004c 
+ 00002276  0x00000322 bbit1  0x00000004 , 0x000008e6 
+ 00002277  0x00000323 branch  0x000008e9 
+ 00002278  0x00000325 arg  0x00000a01 , 0x00000005 
+ 00002279  0x00000326 arg  0x00000008 , 0x00000039 
+ 00002280  0x00000327 call  0x00007d8c 
+ 00002281  0x00000329 bpatch  0x00000011 , 0x00004002 
+ 00002282  0x0000032a jam  0x00000000 , 0x00000030 
+ 00002283  0x0000032b call  0x000053e0 
+ 00002284  0x0000032c jam  0x00000000 , 0x0000478e 
+ 00002285  0x0000032d jam  0x00000013 , 0x0000095b 
+ 00002286  0x0000032e call  0x000078dc 
+ 00002287  0x0000032f branch  0x00000914 
+ 00002288  0x00000332 bpatch  0x00000012 , 0x00004002 
+ 00002289  0x00000333 force  0x00000000 , 0x0000000b 
+ 00002290  0x00000334 until  0x00000023 , 0x00000026 
+ 00002291  0x00000335 fetch  0x00000001 , 0x000000a8 
+ 00002292  0x00000336 increase  0xffffffff , 0x0000003f 
+ 00002293  0x00000337 ixor  0x00000022 , 0x0000003f 
+ 00002294  0x00000338 compare  0x00000000 , 0x0000003f , 0x00000003 
+ 00002295  0x00000339 nbranch  0x000008f0 , 0x00000001 
+ 00002296  0x0000033a deposit  0x00000004 
+ 00002297  0x0000033b store  0x00000001 , 0x000000e5 
+ 00002298  0x0000033c force  0x00000000 , 0x00000026 
+ 00002299  0x0000033d force  0x00000000 , 0x00000024 
+ 00002300  0x00000340 bpatch  0x00000013 , 0x00004002 
+ 00002301  0x00000341 branch  0x00000914 , 0x00000003 
+ 00002302  0x00000342 call  0x0000112e 
+ 00002303  0x00000343 fetchr  0x0000000b , 0x00000002 , 0x00000157 
+ 00002304  0x00000344 until  0x00000023 , 0x00000026 
+ 00002305  0x00000346 bpatch  0x00000014 , 0x00004002 
+ 00002306  0x00000347 fetch  0x00000004 , 0x000000a8 
+ 00002307  0x00000348 iforce  0x00000021 
+ 00002308  0x00000349 increase  0x00000001 , 0x0000003f 
+ 00002309  0x0000034a store  0x00000004 , 0x000000a8 
+ 00002310  0x0000034b isolate1  0x0000000c , 0x00000000 
+ 00002311  0x0000034c setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00002312  0x0000034d compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00002313  0x0000034e nbranch  0x00000928 , 0x00000001 
+ 00002314  0x0000034f fetch  0x00000001 , 0x0000000c 
+ 00002315  0x00000350 increase  0x00000001 , 0x0000003f 
+ 00002316  0x00000351 store  0x00000001 , 0x0000000c 
+ 00002317  0x00000352 call  0x00001124 
+ 00002318  0x00000353 call  0x00001340 
+ 00002319  0x00000354 call  0x00001345 
+ 00002320  0x00000355 call  0x00001353 
+ 00002321  0x00000356 call  0x00000e7c 
+ 00002322  0x00000357 call  0x0000091a 
+ 00002323  0x00000358 branch  0x000008fc 
+ 00002324  0x0000035a bpatch  0x00000015 , 0x00004002 
+ 00002325  0x0000035b disable  0x00000029 
+ 00002326  0x0000035c fetch  0x00000002 , 0x000040bd 
+ 00002327  0x0000035d rtn  0x00000034 
+ 00002328  0x0000035e force  0x00000008 , 0x00000007 
+ 00002329  0x0000035f branch  0x00007ddb 
+ 00002330  0x00000362 bpatch  0x00000016 , 0x00004002 
+ 00002331  0x00000363 fetch  0x00000001 , 0x0000008b 
+ 00002332  0x00000364 increase  0xffffffff , 0x0000003f 
+ 00002333  0x00000365 store  0x00000001 , 0x0000008b 
+ 00002334  0x00000366 rtn  0x00000002 
+ 00002335  0x00000367 jam  0x0000001f , 0x0000008b 
+ 00002336  0x00000368 fetch  0x00000001 , 0x000000a6 
+ 00002337  0x00000369 increase  0xffffffff , 0x0000003f 
+ 00002338  0x0000036a store  0x00000001 , 0x000000a6 
+ 00002339  0x0000036b rtn  0x00000002 
+ 00002340  0x0000036c setflip  0x0000000c , 0x00000000 
+ 00002341  0x0000036d fetch  0x00000001 , 0x000040ae 
+ 00002342  0x0000036e store  0x00000001 , 0x000000a6 
+ 00002343  0x0000036f rtn 
+ 00002344  0x00000372 bpatch  0x00000017 , 0x00004002 
+ 00002345  0x00000373 call  0x0000111e 
+ 00002346  0x00000374 call  0x0000134a 
+ 00002347  0x00000375 call  0x000012d5 
+ 00002348  0x00000376 call  0x000012fb 
+ 00002349  0x00000377 branch  0x00000930 , 0x00000018 
+ 00002350  0x00000378 call  0x0000091a 
+ 00002351  0x00000379 branch  0x00000901 
+ 00002352  0x0000037b call  0x00000e7c 
+ 00002353  0x0000037c fetch  0x00000001 , 0x0000000d 
+ 00002354  0x0000037d increase  0x00000001 , 0x0000003f 
+ 00002355  0x0000037e store  0x00000001 , 0x0000000d 
+ 00002356  0x0000037f force  0x00000000 , 0x0000001b 
+ 00002357  0x00000380 fetch  0x00000004 , 0x000000a8 
+ 00002358  0x00000382 bpatch  0x00000018 , 0x00004003 
+ 00002359  0x00000383 call  0x0000133e 
+ 00002360  0x00000384 call  0x0000112e 
+ 00002361  0x00000385 increase  0x00000001 , 0x00000026 
+ 00002362  0x00000387 and_into  0x000001fd , 0x00000021 
+ 00002363  0x00000388 and_into  0x000001fc , 0x00000024 
+ 00002364  0x00000389 call  0x00001124 
+ 00002365  0x0000038a call  0x00001340 
+ 00002366  0x0000038b call  0x00001345 
+ 00002367  0x0000038c call  0x00001353 
+ 00002368  0x0000038d deposit  0x00000022 
+ 00002369  0x0000038e store  0x00000004 , 0x000000b0 
+ 00002370  0x0000038f force  0x00000000 , 0x00000004 
+ 00002371  0x00000390 force  0x00000002 , 0x00000001 
+ 00002372  0x00000391 call  0x0000135b 
+ 00002373  0x00000392 call  0x00000f8a 
+ 00002374  0x00000394 bpatch  0x00000019 , 0x00004003 
+ 00002375  0x00000395 call  0x0000133c 
+ 00002376  0x00000396 or_into  0x00000002 , 0x00000021 
+ 00002377  0x00000397 and_into  0x000001fc , 0x00000024 
+ 00002378  0x00000398 call  0x0000111e 
+ 00002379  0x00000399 call  0x0000134a 
+ 00002380  0x0000039a call  0x000012d5 
+ 00002381  0x0000039b call  0x000012fb 
+ 00002382  0x0000039c call  0x00000e7c , 0x00000018 
+ 00002383  0x0000039d branch  0x00000955 , 0x00000018 
+ 00002384  0x0000039e fetch  0x00000001 , 0x00000010 
+ 00002385  0x0000039f branch  0x000008fc , 0x00000034 
+ 00002386  0x000003a0 increase  0xffffffff , 0x0000003f 
+ 00002387  0x000003a1 store  0x00000001 , 0x00000010 
+ 00002388  0x000003a2 branch  0x00000936 
+ 00002389  0x000003a5 bpatch  0x0000001a , 0x00004003 
+ 00002390  0x000003a6 fetch  0x00000001 , 0x0000000e 
+ 00002391  0x000003a7 increase  0x00000001 , 0x0000003f 
+ 00002392  0x000003a8 store  0x00000001 , 0x0000000e 
+ 00002393  0x000003a9 call  0x00000c42 
+ 00002394  0x000003ab set1  0x00000033 , 0x00000000 
+ 00002395  0x000003ac call  0x00000aff 
+ 00002396  0x000003ad branch  0x00000961 , 0x00000018 
+ 00002397  0x000003ae set0  0x00000033 , 0x00000000 
+ 00002398  0x000003af call  0x00000c62 
+ 00002399  0x000003b0 nbranch  0x0000095a , 0x00000034 
+ 00002400  0x000003b1 branch  0x000008fc 
+ 00002401  0x000003b4 bpatch  0x0000001b , 0x00004003 
+ 00002402  0x000003b5 set0  0x00000033 , 0x00000000 
+ 00002403  0x000003b6 fetch  0x00000001 , 0x00000030 
+ 00002404  0x000003b7 set0  0x00000003 , 0x0000003f 
+ 00002405  0x000003b8 store  0x00000001 , 0x00000030 
+ 00002406  0x000003b9 call  0x00000c4d 
+ 00002407  0x000003ba disable  0x00000029 
+ 00002408  0x000003bb rtn 
+ 00002409  0x000003bf bpatch  0x0000001c , 0x00004003 
+ 00002410  0x000003c0 enable  0x00000029 
+ 00002411  0x000003c1 enable  0x00000030 
+ 00002412  0x000003c2 call  0x000009e3 
+ 00002413  0x000003c3 rtn  0x00000028 
+ 00002414  0x000003c4 call  0x0000133e 
+ 00002415  0x000003c5 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002416  0x000003c6 call  0x00001134 
+ 00002417  0x000003c7 force  0x00000003 , 0x00000024 
+ 00002418  0x000003c8 call  0x000065e1 
+ 00002419  0x000003c9 call  0x00000c96 
+ 00002420  0x000003ca call  0x00001124 
+ 00002421  0x000003cb call  0x00001340 
+ 00002422  0x000003cc call  0x00001345 
+ 00002423  0x000003cd call  0x00001353 
+ 00002424  0x000003ce call  0x00000f86 
+ 00002425  0x000003d0 bpatch  0x0000001d , 0x00004003 
+ 00002426  0x000003d1 call  0x000053f2 
+ 00002427  0x000003d2 call  0x00000af1 
+ 00002428  0x000003d3 nbranch  0x00000982 , 0x0000002d 
+ 00002429  0x000003d4 call  0x00001378 
+ 00002430  0x000003d5 call  0x00000f4c 
+ 00002431  0x000003d6 fetch  0x00000001 , 0x0000000f 
+ 00002432  0x000003d7 increase  0x00000001 , 0x0000003f 
+ 00002433  0x000003d8 store  0x00000001 , 0x0000000f 
+ 00002434  0x000003da bpatch  0x0000001e , 0x00004003 
+ 00002435  0x000003db call  0x000065c9 
+ 00002436  0x000003dc call  0x0000098d 
+ 00002437  0x000003dd nrtn  0x00000029 
+ 00002438  0x000003de call  0x00000f1c 
+ 00002439  0x000003df nbranch  0x0000098a , 0x00000034 
+ 00002440  0x000003e1 disable  0x00000029 
+ 00002441  0x000003e2 rtn 
+ 00002442  0x000003e5 call  0x00000c96 
+ 00002443  0x000003e6 call  0x00000ae7 
+ 00002444  0x000003e7 branch  0x00000979 
+ 00002445  0x000003eb branch  0x00000990 , 0x0000002d 
+ 00002446  0x000003ec call  0x0000136f 
+ 00002447  0x000003ed branch  0x0000099e , 0x00000002 
+ 00002448  0x000003ef call  0x000009a9 
+ 00002449  0x000003f0 nbranch  0x0000099e , 0x00000028 
+ 00002450  0x000003f1 fetch  0x00000001 , 0x0000004c 
+ 00002451  0x000003f2 rtnbit0  0x00000004 
+ 00002452  0x000003f3 rtnbit1  0x00000003 
+ 00002453  0x000003f4 fetch  0x00000001 , 0x0000004b 
+ 00002454  0x000003f5 rtnbit1  0x00000003 
+ 00002455  0x000003f6 call  0x000009b0 
+ 00002456  0x000003f7 nrtn  0x00000034 
+ 00002457  0x000003f8 fetch  0x00000001 , 0x000000bd 
+ 00002458  0x000003f9 increase  0xffffffff , 0x0000003f 
+ 00002459  0x000003fa store  0x00000001 , 0x000000bd 
+ 00002460  0x000003fb nrtn  0x00000034 
+ 00002461  0x000003fc branch  0x00005755 
+ 00002462  0x000003ff bpatch  0x0000001f , 0x00004003 
+ 00002463  0x00000400 call  0x00000c6a 
+ 00002464  0x00000401 disable  0x00000029 
+ 00002465  0x00000402 fetch  0x00000001 , 0x0000004c 
+ 00002466  0x00000403 bbit1  0x00000004 , 0x000009a4 
+ 00002467  0x00000404 rtn 
+ 00002468  0x00000407 fetch  0x00000001 , 0x0000004c 
+ 00002469  0x00000408 rtnbit1  0x00000003 
+ 00002470  0x0000040a arg  0x00000a01 , 0x00000005 
+ 00002471  0x0000040b arg  0x00000008 , 0x00000039 
+ 00002472  0x0000040c branch  0x00007d8c 
+ 00002473  0x0000040f bpatch  0x00000020 , 0x00004004 
+ 00002474  0x00000410 enable  0x00000028 
+ 00002475  0x00000411 fetch  0x00000001 , 0x0000004b 
+ 00002476  0x00000412 rtnbit0  0x00000003 
+ 00002477  0x00000413 call  0x000009b0 
+ 00002478  0x00000414 nrtn  0x00000034 
+ 00002479  0x00000415 branch  0x00007ec7 
+ 00002480  0x00000418 fetch  0x00000001 , 0x00000072 
+ 00002481  0x00000419 increase  0xffffffff , 0x0000003f 
+ 00002482  0x0000041a store  0x00000001 , 0x00000072 
+ 00002483  0x0000041b rtn 
+ 00002484  0x0000041e bpatch  0x00000021 , 0x00004004 
+ 00002485  0x0000041f fetch  0x00000001 , 0x00000030 
+ 00002486  0x00000420 bbit1  0x00000007 , 0x000009bd 
+ 00002487  0x00000421 fetch  0x00000001 , 0x00000877 
+ 00002488  0x00000422 branch  0x000009bd , 0x00000034 
+ 00002489  0x00000423 jam  0x00000000 , 0x00000877 
+ 00002490  0x00000424 jam  0x00000018 , 0x0000095b 
+ 00002491  0x00000425 call  0x000078dc 
+ 00002492  0x00000426 branch  0x000009bd 
+ 00002493  0x00000428 bpatch  0x00000022 , 0x00004004 
+ 00002494  0x00000429 call  0x00000a61 
+ 00002495  0x0000042a fetch  0x00000001 , 0x00000030 
+ 00002496  0x0000042b set1  0x00000007 , 0x0000003f 
+ 00002497  0x0000042c store  0x00000001 , 0x00000030 
+ 00002498  0x0000042d jam  0x00000001 , 0x000041ca 
+ 00002499  0x0000042e fetch  0x00000001 , 0x00000055 
+ 00002500  0x0000042f bne  0x00000016 , 0x000009c5 
+ 00002501  0x00000431 rtn 
+ 00002502  0x00000434 jam  0x00000001 , 0x00000877 
+ 00002503  0x00000436 fetch  0x00000001 , 0x00000030 
+ 00002504  0x00000437 set0  0x00000007 , 0x0000003f 
+ 00002505  0x00000438 store  0x00000001 , 0x00000030 
+ 00002506  0x00000439 rtn 
+ 00002507  0x0000043e bpatch  0x00000023 , 0x00004004 
+ 00002508  0x0000043f disable  0x00000028 
+ 00002509  0x00000440 fetch  0x00000002 , 0x00000032 
+ 00002510  0x00000441 arg  0x0000ffff , 0x00000002 
+ 00002511  0x00000442 isub  0x00000002 , 0x0000003e 
+ 00002512  0x00000443 nrtn  0x00000005 
+ 00002513  0x00000444 fetch  0x00000004 , 0x00000034 
+ 00002514  0x00000445 branch  0x000009d5 , 0x00000030 
+ 00002515  0x00000446 isub  0x00000028 , 0x0000003f 
+ 00002516  0x00000447 branch  0x000009d6 
+ 00002517  0x00000449 isub  0x00000022 , 0x0000003f 
+ 00002518  0x0000044b sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00002519  0x0000044c nrtn  0x00000002 
+ 00002520  0x0000044d force  0x00000000 , 0x0000003f 
+ 00002521  0x0000044e store  0x00000002 , 0x00000032 
+ 00002522  0x0000044f branch  0x00007ec5 
+ 00002523  0x00000454 copy  0x0000003f , 0x00000002 
+ 00002524  0x00000455 storet  0x00000004 , 0x00000034 
+ 00002525  0x00000457 bpatch  0x00000024 , 0x00004004 
+ 00002526  0x00000458 jam  0x00000001 , 0x00004645 
+ 00002527  0x00000459 setarg  0x0000ffff 
+ 00002528  0x0000045a store  0x00000002 , 0x00000032 
+ 00002529  0x0000045b jam  0x00000001 , 0x00000073 
+ 00002530  0x0000045c rtn 
+ 00002531  0x00000460 bpatch  0x00000025 , 0x00004004 
+ 00002532  0x00000461 call  0x000009cb 
+ 00002533  0x00000462 nrtn  0x00000028 
+ 00002534  0x00000463 disable  0x00000028 
+ 00002535  0x00000464 jam  0x00000020 , 0x00000011 
+ 00002536  0x00000465 set0  0x0000000b , 0x00000000 
+ 00002537  0x00000466 set0  0x00000031 , 0x00000000 
+ 00002538  0x00000468 call  0x0000133e 
+ 00002539  0x00000469 call  0x00000af3 
+ 00002540  0x0000046a bmark1  0x0000000b , 0x000009f8 
+ 00002541  0x0000046b call  0x00000c62 
+ 00002542  0x0000046c nbranch  0x000009ea , 0x00000034 
+ 00002543  0x0000046d bmark1  0x00000031 , 0x00000a02 
+ 00002544  0x0000046f bpatch  0x00000026 , 0x00004004 
+ 00002545  0x00000470 disable  0x00000028 
+ 00002546  0x00000471 deposit  0x00000022 
+ 00002547  0x00000472 store  0x00000004 , 0x000040d1 
+ 00002548  0x00000473 enable  0x00000030 
+ 00002549  0x00000474 enable  0x00000029 
+ 00002550  0x00000475 jam  0x0000002a , 0x0000095b 
+ 00002551  0x00000476 branch  0x000078dc 
+ 00002552  0x00000479 bpatch  0x00000027 , 0x00004004 
+ 00002553  0x0000047a call  0x0000133c 
+ 00002554  0x0000047b arg  0x00000010 , 0x00000001 
+ 00002555  0x0000047c call  0x00000ae9 
+ 00002556  0x0000047d set1  0x00000031 , 0x00000000 
+ 00002557  0x0000047e set0  0x0000000b , 0x00000000 
+ 00002558  0x0000047f fetch  0x00000001 , 0x00000077 
+ 00002559  0x00000480 iforce  0x00000004 
+ 00002560  0x00000481 jam  0x00000002 , 0x00000011 
+ 00002561  0x00000482 branch  0x000009ea 
+ 00002562  0x00000485 fetch  0x00000004 , 0x000000b4 
+ 00002563  0x00000486 pincrease  0x00000008 
+ 00002564  0x00000487 store  0x00000004 , 0x000000b4 
+ 00002565  0x00000488 disable  0x00000030 
+ 00002566  0x00000489 disable  0x00000029 
+ 00002567  0x0000048a call  0x00001035 
+ 00002568  0x0000048b call  0x00000c42 
+ 00002569  0x0000048d bpatch  0x00000028 , 0x00004005 
+ 00002570  0x0000048e call  0x00000c89 
+ 00002571  0x0000048f branch  0x00000a0f , 0x0000002d 
+ 00002572  0x00000490 call  0x00000c62 
+ 00002573  0x00000491 nbranch  0x00000a09 , 0x00000034 
+ 00002574  0x00000492 branch  0x000009f0 
+ 00002575  0x00000494 fetch  0x00000001 , 0x00000031 
+ 00002576  0x00000495 set0  0x00000001 , 0x0000003f 
+ 00002577  0x00000496 store  0x00000001 , 0x00000031 
+ 00002578  0x00000497 call  0x00001378 
+ 00002579  0x00000498 call  0x0000105d 
+ 00002580  0x00000499 enable  0x00000028 
+ 00002581  0x0000049a jam  0x0000002b , 0x0000095b 
+ 00002582  0x0000049b branch  0x000078dc 
+ 00002583  0x000004a1 bpatch  0x00000029 , 0x00004005 
+ 00002584  0x000004a2 set1  0x00000009 , 0x00000000 
+ 00002585  0x000004a3 deposit  0x00000011 
+ 00002586  0x000004a4 store  0x00000002 , 0x0000001e 
+ 00002587  0x000004a5 force  0x00000058 , 0x00000039 
+ 00002588  0x000004a6 arg  0x00000287 , 0x00000005 
+ 00002589  0x000004a7 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002590  0x000004a8 ifetch  0x00000001 , 0x00000006 
+ 00002591  0x000004a9 copy  0x00000011 , 0x00000006 
+ 00002592  0x000004aa bbit1  0x00000000 , 0x00007dd4 
+ 00002593  0x000004ab arg  0x00000030 , 0x00000005 
+ 00002594  0x000004ac call  0x00007dd4 
+ 00002595  0x000004ad disable  0x0000002e 
+ 00002596  0x000004ae fetch  0x00000001 , 0x00000077 
+ 00002597  0x000004af iforce  0x00000004 
+ 00002598  0x000004b0 jam  0x00000001 , 0x00000088 
+ 00002599  0x000004b1 branch  0x00000a29 , 0x00000029 
+ 00002600  0x000004b2 jam  0x00000001 , 0x00000088 
+ 00002601  0x000004b4 fetch  0x00000001 , 0x00000030 
+ 00002602  0x000004b5 rtnbit0  0x00000001 
+ 00002603  0x000004b6 fetch  0x00000001 , 0x00000073 
+ 00002604  0x000004b7 store  0x00000001 , 0x00000088 
+ 00002605  0x000004b8 fetch  0x00000001 , 0x00000074 
+ 00002606  0x000004b9 store  0x00000001 , 0x00000089 
+ 00002607  0x000004ba rtn 
+ 00002608  0x000004bd bpatch  0x0000002a , 0x00004005 
+ 00002609  0x000004be fetch  0x00000002 , 0x0000001e 
+ 00002610  0x000004bf iforce  0x00000005 
+ 00002611  0x000004c0 force  0x00000058 , 0x00000039 
+ 00002612  0x000004c1 arg  0x00000287 , 0x00000006 
+ 00002613  0x000004c2 branch  0x00007dd4 , 0x00000036 
+ 00002614  0x000004c3 arg  0x00000030 , 0x00000006 
+ 00002615  0x000004c4 branch  0x00007dd4 
+ 00002616  0x000004c9 arg  0x00000001 , 0x00000039 
+ 00002617  0x000004ca fetcht  0x00000001 , 0x00000015 
+ 00002618  0x000004cc increase  0x00000001 , 0x00000002 
+ 00002619  0x000004cd compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00002620  0x000004ce nbranch  0x00000a3e , 0x00000001 
+ 00002621  0x000004cf arg  0x00000000 , 0x00000002 
+ 00002622  0x000004d1 storet  0x00000001 , 0x00000015 
+ 00002623  0x000004d2 mul32  0x00000002 , 0x00000058 , 0x0000003f 
+ 00002624  0x000004d3 arg  0x00004040 , 0x00000011 
+ 00002625  0x000004d4 iadd  0x00000011 , 0x00000011 
+ 00002626  0x000004d5 ifetch  0x00000001 , 0x00000011 
+ 00002627  0x000004d6 bbit1  0x00000001 , 0x00000a46 
+ 00002628  0x000004d7 rtnbit1  0x00000000 
+ 00002629  0x000004d8 rtnbit1  0x00000003 
+ 00002630  0x000004da loop  0x00000a3a 
+ 00002631  0x000004db rtn 
+ 00002632  0x000004de bpatch  0x0000002b , 0x00004005 
+ 00002633  0x000004df arg  0x00000a77 , 0x00000013 
+ 00002634  0x000004e0 call  0x00000a6e 
+ 00002635  0x000004e1 nrtn  0x00000005 
+ 00002636  0x000004e2 deposit  0x00000011 
+ 00002637  0x000004e3 store  0x00000002 , 0x0000001e 
+ 00002638  0x000004e4 force  0x00000000 , 0x0000003e 
+ 00002639  0x000004e5 rtn 
+ 00002640  0x000004ea call  0x00000f49 
+ 00002641  0x000004eb branch  0x00000a58 , 0x00000001 
+ 00002642  0x000004ec fetch  0x00000002 , 0x0000001e 
+ 00002643  0x000004ed add  0x0000003f , 0x00000017 , 0x00000005 
+ 00002644  0x000004ee fetch  0x00000001 , 0x00000047 
+ 00002645  0x000004ef istore  0x00000001 , 0x00000005 
+ 00002646  0x000004f0 arg  0x00000ab7 , 0x00000013 
+ 00002647  0x000004f1 branch  0x00000a6e 
+ 00002648  0x000004f4 fetch  0x00000001 , 0x00000047 
+ 00002649  0x000004f5 isolate1  0x00000003 , 0x0000003f 
+ 00002650  0x000004f6 branch  0x00000a5d , 0x00000001 
+ 00002651  0x000004f7 force  0x00000001 , 0x0000003e 
+ 00002652  0x000004f8 rtn 
+ 00002653  0x000004fa force  0x00000000 , 0x0000003e 
+ 00002654  0x000004fb rtn 
+ 00002655  0x000004ff arg  0x00000ab4 , 0x00000013 
+ 00002656  0x00000500 branch  0x00000a6e 
+ 00002657  0x00000503 fetcht  0x00000002 , 0x0000001e 
+ 00002658  0x00000504 arg  0x00000adc , 0x00000013 
+ 00002659  0x00000505 branch  0x00000a6e 
+ 00002660  0x0000050a fetcht  0x00000001 , 0x000041dc 
+ 00002661  0x0000050c arg  0x00000a82 , 0x00000013 
+ 00002662  0x0000050d branch  0x00000a6e 
+ 00002663  0x00000510 bpatch  0x0000002c , 0x00004005 
+ 00002664  0x00000511 fetcht  0x00000006 , 0x000041dd 
+ 00002665  0x00000513 arg  0x00000a7b , 0x00000013 
+ 00002666  0x00000514 branch  0x00000a6e 
+ 00002667  0x00000517 arg  0x00000a88 , 0x00000013 
+ 00002668  0x00000518 branch  0x00000a6e 
+ 00002669  0x0000051b arg  0x00000ad3 , 0x00000013 
+ 00002670  0x0000051d bpatch  0x0000002d , 0x00004005 
+ 00002671  0x0000051e arg  0x00004040 , 0x00000011 
+ 00002672  0x0000051f arg  0x00000001 , 0x00000039 
+ 00002673  0x00000521 ifetch  0x00000001 , 0x00000011 
+ 00002674  0x00000522 copy  0x00000013 , 0x0000003d 
+ 00002675  0x00000524 increase  0x00000058 , 0x00000011 
+ 00002676  0x00000525 loop  0x00000a71 
+ 00002677  0x00000526 force  0x00000001 , 0x0000003e 
+ 00002678  0x00000527 rtn 
+ 00002679  0x0000052a bbit1  0x00000000 , 0x00000a73 
+ 00002680  0x0000052b bbit1  0x00000003 , 0x00000a73 
+ 00002681  0x0000052c force  0x00000000 , 0x0000003e 
+ 00002682  0x0000052d rtn 
+ 00002683  0x00000530 bbit1  0x00000003 , 0x00000a7d 
+ 00002684  0x00000531 bbit0  0x00000000 , 0x00000a73 
+ 00002685  0x00000533 add  0x00000011 , 0x00000010 , 0x00000006 
+ 00002686  0x00000534 ifetch  0x00000006 , 0x00000006 
+ 00002687  0x00000535 isub  0x00000002 , 0x0000003e 
+ 00002688  0x00000536 rtn  0x00000005 
+ 00002689  0x00000537 branch  0x00000a73 
+ 00002690  0x0000053a bbit0  0x00000000 , 0x00000a73 
+ 00002691  0x0000053b add  0x00000011 , 0x00000016 , 0x00000006 
+ 00002692  0x0000053c ifetch  0x00000001 , 0x00000006 
+ 00002693  0x0000053d isub  0x00000002 , 0x0000003e 
+ 00002694  0x0000053e rtn  0x00000005 
+ 00002695  0x0000053f branch  0x00000a73 
+ 00002696  0x00000542 bbit0  0x00000001 , 0x00000a73 
+ 00002697  0x00000544 call  0x00000ac0 
+ 00002698  0x00000545 call  0x00000aa4 
+ 00002699  0x00000546 isub  0x00000002 , 0x0000003f 
+ 00002700  0x00000547 increase  0x00000001 , 0x0000003f 
+ 00002701  0x00000548 branch  0x00000a9e , 0x00000002 
+ 00002702  0x00000549 copy  0x00000006 , 0x00000012 
+ 00002703  0x0000054a store  0x00000009 , 0x00000964 
+ 00002704  0x0000054b fetch  0x00000001 , 0x000046bd 
+ 00002705  0x0000054c nbranch  0x00000a96 , 0x00000034 
+ 00002706  0x0000054d fetch  0x00000009 , 0x00000964 
+ 00002707  0x0000054e copy  0x00000012 , 0x00000006 
+ 00002708  0x0000054f increase  0x00000005 , 0x0000003f 
+ 00002709  0x00000550 branch  0x00000a99 
+ 00002710  0x00000552 fetch  0x00000009 , 0x00000964 
+ 00002711  0x00000553 copy  0x00000012 , 0x00000006 
+ 00002712  0x00000554 increase  0x00000014 , 0x0000003f 
+ 00002713  0x00000556 nbranch  0x00000a73 , 0x00000002 
+ 00002714  0x00000558 copy  0x00000002 , 0x00000021 
+ 00002715  0x00000559 call  0x00000acc 
+ 00002716  0x0000055a force  0x00000000 , 0x0000003e 
+ 00002717  0x0000055b rtn 
+ 00002718  0x0000055f iforce  0x00000012 
+ 00002719  0x00000560 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00002720  0x00000561 ifetch  0x00000002 , 0x00000006 
+ 00002721  0x00000562 branch  0x00000a9a , 0x00000034 
+ 00002722  0x00000563 call  0x00000acc 
+ 00002723  0x00000564 branch  0x00000a89 
+ 00002724  0x00000567 rshift16  0x0000003f , 0x0000000b 
+ 00002725  0x00000568 rshift8  0x0000000b , 0x0000000b 
+ 00002726  0x00000569 branch  0x00000aae , 0x00000005 
+ 00002727  0x0000056a compare  0x0000000f , 0x0000000b , 0x0000000f 
+ 00002728  0x0000056b nrtn  0x00000001 
+ 00002729  0x0000056c rshift16  0x00000002 , 0x0000000b 
+ 00002730  0x0000056d rshift8  0x0000000b , 0x0000000b 
+ 00002731  0x0000056e nrtn  0x00000005 
+ 00002732  0x0000056f set1  0x0000001c , 0x00000002 
+ 00002733  0x00000570 rtn 
+ 00002734  0x00000572 rshift16  0x00000002 , 0x0000000b 
+ 00002735  0x00000573 rshift8  0x0000000b , 0x0000000b 
+ 00002736  0x00000574 compare  0x0000000f , 0x0000000b , 0x0000000f 
+ 00002737  0x00000575 nrtn  0x00000001 
+ 00002738  0x00000576 set1  0x0000001c , 0x0000003f 
+ 00002739  0x00000577 rtn 
+ 00002740  0x0000057a bbit0  0x00000000 , 0x00000a73 
+ 00002741  0x0000057b force  0x00000000 , 0x0000003e 
+ 00002742  0x0000057c rtn 
+ 00002743  0x0000057f bbit0  0x00000000 , 0x00000a73 
+ 00002744  0x00000580 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002745  0x00000581 ifetch  0x00000001 , 0x00000006 
+ 00002746  0x00000582 bbit1  0x00000000 , 0x00000a73 
+ 00002747  0x00000583 add  0x00000011 , 0x00000017 , 0x00000006 
+ 00002748  0x00000584 ifetch  0x00000001 , 0x00000006 
+ 00002749  0x00000585 bbit0  0x00000003 , 0x00000a73 
+ 00002750  0x00000586 force  0x00000000 , 0x0000003e 
+ 00002751  0x00000587 rtn 
+ 00002752  0x0000058a add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002753  0x0000058b ifetcht  0x00000001 , 0x00000006 
+ 00002754  0x0000058c deposit  0x00000022 
+ 00002755  0x0000058d isolate1  0x00000001 , 0x00000002 
+ 00002756  0x0000058e add  0x00000011 , 0x00000004 , 0x00000006 
+ 00002757  0x0000058f ifetcht  0x00000004 , 0x00000006 
+ 00002758  0x00000590 rtn  0x00000001 
+ 00002759  0x00000591 add  0x00000011 , 0x00000008 , 0x00000006 
+ 00002760  0x00000592 ifetch  0x00000006 , 0x00000006 
+ 00002761  0x00000593 call  0x00001073 
+ 00002762  0x00000594 deposit  0x00000028 
+ 00002763  0x00000595 rtn 
+ 00002764  0x00000598 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00002765  0x00000599 add  0x00000011 , 0x00000004 , 0x00000005 
+ 00002766  0x0000059a ifetch  0x00000002 , 0x00000006 
+ 00002767  0x0000059b iadd  0x00000002 , 0x0000000b 
+ 00002768  0x0000059c deposit  0x0000000b 
+ 00002769  0x0000059d istore  0x00000004 , 0x00000005 
+ 00002770  0x0000059e branch  0x000016b1 
+ 00002771  0x000005a2 bbit0  0x00000001 , 0x00000a73 
+ 00002772  0x000005a3 call  0x00000ac0 
+ 00002773  0x000005a4 iadd  0x0000001b , 0x0000003f 
+ 00002774  0x000005a5 iadd  0x0000001b , 0x0000003f 
+ 00002775  0x000005a6 iadd  0x00000007 , 0x0000003f 
+ 00002776  0x000005a7 isub  0x00000002 , 0x0000003e 
+ 00002777  0x000005a8 nbranch  0x00000a73 , 0x00000002 
+ 00002778  0x000005a9 force  0x00000000 , 0x0000003e 
+ 00002779  0x000005aa rtn 
+ 00002780  0x000005ad bbit0  0x00000000 , 0x00000a73 
+ 00002781  0x000005ae deposit  0x00000002 
+ 00002782  0x000005af isub  0x00000011 , 0x0000003e 
+ 00002783  0x000005b0 branch  0x00000a73 , 0x0000003e 
+ 00002784  0x000005b1 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002785  0x000005b2 ifetch  0x00000001 , 0x00000006 
+ 00002786  0x000005b3 bbit1  0x00000000 , 0x00000a73 
+ 00002787  0x000005b4 ifetch  0x00000001 , 0x00000011 
+ 00002788  0x000005b5 set0  0x00000007 , 0x0000003f 
+ 00002789  0x000005b6 istore  0x00000001 , 0x00000011 
+ 00002790  0x000005b7 branch  0x00000a73 
+ 00002791  0x000005bb bpatch  0x0000002e , 0x00004005 
+ 00002792  0x000005bc call  0x0000133e 
+ 00002793  0x000005be add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002794  0x000005bf call  0x00001134 
+ 00002795  0x000005c0 force  0x00000003 , 0x00000024 
+ 00002796  0x000005c1 call  0x00001124 
+ 00002797  0x000005c2 call  0x00001340 
+ 00002798  0x000005c3 call  0x00001345 
+ 00002799  0x000005c4 call  0x00001353 
+ 00002800  0x000005c5 branch  0x00000f86 
+ 00002801  0x000005c8 bpatch  0x0000002f , 0x00004005 
+ 00002802  0x000005c9 call  0x0000133c 
+ 00002803  0x000005cb add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002804  0x000005cc call  0x00001134 
+ 00002805  0x000005cd force  0x00000003 , 0x00000024 
+ 00002806  0x000005ce call  0x0000111e 
+ 00002807  0x000005cf call  0x00000c37 
+ 00002808  0x000005d0 call  0x000012da 
+ 00002809  0x000005d1 call  0x0000134a 
+ 00002810  0x000005d2 call  0x000012d5 
+ 00002811  0x000005d4 call  0x000012fb 
+ 00002812  0x000005d5 nrtn  0x00000018 
+ 00002813  0x000005d6 call  0x0000127f 
+ 00002814  0x000005d7 branch  0x00000d40 
+ 00002815  0x000005dc bpatch  0x00000030 , 0x00004006 
+ 00002816  0x000005dd fetch  0x00000001 , 0x000000e5 
+ 00002817  0x000005de iforce  0x00000004 
+ 00002818  0x000005df force  0x00000001 , 0x00000001 
+ 00002819  0x000005e0 call  0x00000ae7 
+ 00002820  0x000005e1 branch  0x00000af1 
+ 00002821  0x000005ed fetch  0x00000001 , 0x0000409b 
+ 00002822  0x000005ee rtnbit0  0x00000000 
+ 00002823  0x000005ef force  0x00000004 , 0x00000007 
+ 00002824  0x000005f0 call  0x00007de9 
+ 00002825  0x000005f1 nrtn  0x00000034 
+ 00002826  0x000005f2 fetcht  0x00000002 , 0x000040b5 
+ 00002827  0x000005f3 force  0x00000004 , 0x00000007 
+ 00002828  0x000005f4 call  0x00000f40 
+ 00002829  0x000005f5 rtn  0x00000028 
+ 00002830  0x000005f6 call  0x00000b15 
+ 00002831  0x000005f7 force  0x00000004 , 0x00000007 
+ 00002832  0x000005f8 fetch  0x00000002 , 0x000040b7 
+ 00002833  0x000005f9 nbranch  0x00007ddb , 0x00000018 
+ 00002834  0x000005fa random  0x0000003f 
+ 00002835  0x000005fb iand  0x00000035 , 0x0000003f 
+ 00002836  0x000005fc branch  0x00007ddb 
+ 00002837  0x00000600 bpatch  0x00000031 , 0x00004006 
+ 00002838  0x00000601 jam  0x00000000 , 0x000000e5 
+ 00002839  0x00000602 disable  0x00000030 
+ 00002840  0x00000603 disable  0x0000002e 
+ 00002841  0x00000604 call  0x000010f6 
+ 00002842  0x00000605 and  0x00000022 , 0x000001fc , 0x00000021 
+ 00002843  0x00000606 force  0x00000001 , 0x00000024 
+ 00002844  0x00000607 call  0x0000112a 
+ 00002845  0x00000608 call  0x0000111e 
+ 00002846  0x00000609 setflip  0x0000001d , 0x00000000 
+ 00002847  0x0000060a fetch  0x00000001 , 0x00000006 
+ 00002848  0x0000060b increase  0x00000001 , 0x0000003f 
+ 00002849  0x0000060c store  0x00000001 , 0x00000006 
+ 00002850  0x0000060d call  0x00001144 
+ 00002851  0x0000060e call  0x000012d5 
+ 00002852  0x0000060f call  0x00001302 
+ 00002853  0x00000610 nrtn  0x00000018 
+ 00002854  0x00000611 bpatch  0x00000032 , 0x00004006 
+ 00002855  0x00000612 force  0x00000000 , 0x0000001b 
+ 00002856  0x00000613 call  0x0000114b 
+ 00002857  0x00000614 fetch  0x00000001 , 0x00000007 
+ 00002858  0x00000615 increase  0x00000001 , 0x0000003f 
+ 00002859  0x00000616 store  0x00000001 , 0x00000007 
+ 00002860  0x00000617 call  0x0000112a 
+ 00002861  0x00000618 call  0x0000133c 
+ 00002862  0x00000619 or_into  0x00000002 , 0x00000021 
+ 00002863  0x0000061a force  0x00000001 , 0x00000024 
+ 00002864  0x0000061b call  0x00001124 
+ 00002865  0x0000061c call  0x00001144 
+ 00002866  0x0000061d call  0x00001340 
+ 00002867  0x0000061e call  0x0000134e 
+ 00002868  0x0000061f deposit  0x00000022 
+ 00002869  0x00000620 store  0x00000004 , 0x000000b0 
+ 00002870  0x00000621 call  0x00001353 
+ 00002871  0x00000622 force  0x00000002 , 0x00000001 
+ 00002872  0x00000623 force  0x00000000 , 0x00000004 
+ 00002873  0x00000624 call  0x0000135b 
+ 00002874  0x00000625 call  0x00000f8a 
+ 00002875  0x00000626 call  0x00000b3f 
+ 00002876  0x00000627 and_into  0x000001fd , 0x00000021 
+ 00002877  0x00000628 increase  0x00000001 , 0x00000026 
+ 00002878  0x00000629 rtn 
+ 00002879  0x0000062c bpatch  0x00000033 , 0x00004006 
+ 00002880  0x0000062d fetch  0x00000001 , 0x000040d8 
+ 00002881  0x0000062e rtn  0x00000034 
+ 00002882  0x0000062f arg  0x000000f0 , 0x00000005 
+ 00002883  0x00000630 fetch  0x00000001 , 0x000045ff 
+ 00002884  0x00000631 copy  0x0000003f , 0x00000039 
+ 00002885  0x00000632 increase  0x00000001 , 0x0000003f 
+ 00002886  0x00000633 istore  0x00000001 , 0x00000005 
+ 00002887  0x00000634 copy  0x00000005 , 0x00000002 
+ 00002888  0x00000635 increase  0x00000001 , 0x0000003f 
+ 00002889  0x00000636 store  0x00000002 , 0x000041e6 
+ 00002890  0x00000637 copy  0x00000002 , 0x00000005 
+ 00002891  0x00000638 setarg  0x00000009 
+ 00002892  0x00000639 istore  0x00000001 , 0x00000005 
+ 00002893  0x0000063a arg  0x00004600 , 0x00000006 
+ 00002894  0x0000063b call  0x00007dd4 
+ 00002895  0x0000063d arg  0x0000467b , 0x00000013 
+ 00002896  0x0000063e arg  0x00000004 , 0x00000039 
+ 00002897  0x0000063f call  0x00000b61 
+ 00002898  0x00000640 arg  0x00004665 , 0x00000013 
+ 00002899  0x00000641 arg  0x00000001 , 0x00000039 
+ 00002900  0x00000642 call  0x00000b61 
+ 00002901  0x00000644 force  0x0000000a , 0x00000001 
+ 00002902  0x00000645 jam  0x00000002 , 0x000041e5 
+ 00002903  0x00000646 setarg  0x000000f0 
+ 00002904  0x00000647 store  0x00000002 , 0x000000be 
+ 00002905  0x00000648 call  0x0000133c 
+ 00002906  0x00000649 call  0x00001124 
+ 00002907  0x0000064a call  0x00001340 
+ 00002908  0x0000064b call  0x0000134e 
+ 00002909  0x0000064c call  0x00001353 
+ 00002910  0x0000064d call  0x0000135b 
+ 00002911  0x0000064e call  0x00000f8a 
+ 00002912  0x0000064f rtn 
+ 00002913  0x00000653 copy  0x00000005 , 0x00000002 
+ 00002914  0x00000654 copy  0x00000013 , 0x00000006 
+ 00002915  0x00000655 ifetch  0x00000001 , 0x00000006 
+ 00002916  0x00000656 rtn  0x00000034 
+ 00002917  0x00000658 lshift  0x0000003f , 0x0000003f 
+ 00002918  0x00000659 loop  0x00000b65 
+ 00002919  0x0000065a copy  0x0000003f , 0x00000011 
+ 00002920  0x0000065b increase  0x00000002 , 0x0000003f 
+ 00002921  0x0000065c copy  0x0000003f , 0x00000007 
+ 00002922  0x0000065d fetch  0x00000002 , 0x000041e6 
+ 00002923  0x0000065e iadd  0x00000007 , 0x0000003f 
+ 00002924  0x0000065f store  0x00000002 , 0x000041e6 
+ 00002925  0x00000660 copy  0x00000002 , 0x00000005 
+ 00002926  0x00000661 copy  0x00000011 , 0x0000003f 
+ 00002927  0x00000662 increase  0x00000001 , 0x0000003f 
+ 00002928  0x00000663 istore  0x00000001 , 0x00000005 
+ 00002929  0x00000664 copy  0x00000013 , 0x00000006 
+ 00002930  0x00000665 ifetch  0x00000001 , 0x00000006 
+ 00002931  0x00000666 ifetch  0x00000001 , 0x00000006 
+ 00002932  0x00000667 istore  0x00000001 , 0x00000005 
+ 00002933  0x00000668 copy  0x00000011 , 0x00000039 
+ 00002934  0x00000669 branch  0x00007dd4 
+ 00002935  0x00000670 fetch  0x00000001 , 0x0000409b 
+ 00002936  0x00000671 rtnbit0  0x00000001 
+ 00002937  0x00000672 force  0x00000005 , 0x00000007 
+ 00002938  0x00000673 call  0x00007de9 
+ 00002939  0x00000674 nrtn  0x00000034 
+ 00002940  0x00000675 fetcht  0x00000002 , 0x000040b9 
+ 00002941  0x00000676 force  0x00000028 , 0x00000007 
+ 00002942  0x00000677 call  0x00000f40 
+ 00002943  0x00000678 rtn  0x00000028 
+ 00002944  0x00000679 force  0x00000000 , 0x00000004 
+ 00002945  0x0000067a jam  0x00000008 , 0x00000010 
+ 00002946  0x0000067b set0  0x0000000b , 0x00000000 
+ 00002947  0x0000067c call  0x00000b87 
+ 00002948  0x0000067d force  0x00000005 , 0x00000007 
+ 00002949  0x0000067e fetch  0x00000002 , 0x000040bb 
+ 00002950  0x0000067f branch  0x00007ddb 
+ 00002951  0x00000683 bpatch  0x00000034 , 0x00004006 
+ 00002952  0x00000684 disable  0x00000030 
+ 00002953  0x00000685 call  0x000010f6 
+ 00002954  0x00000686 fetch  0x00000001 , 0x00000008 
+ 00002955  0x00000687 increase  0x00000001 , 0x0000003f 
+ 00002956  0x00000688 store  0x00000001 , 0x00000008 
+ 00002957  0x00000689 force  0x00000000 , 0x00000026 
+ 00002958  0x0000068a call  0x00001134 
+ 00002959  0x0000068b add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002960  0x0000068c force  0x00000002 , 0x00000024 
+ 00002961  0x0000068d bpatch  0x00000035 , 0x00004006 
+ 00002962  0x0000068e call  0x0000111e 
+ 00002963  0x0000068f call  0x000012d5 
+ 00002964  0x00000690 call  0x00001302 
+ 00002965  0x00000691 nrtn  0x00000018 
+ 00002966  0x00000692 call  0x0000114b 
+ 00002967  0x00000693 fetch  0x00000001 , 0x00000009 
+ 00002968  0x00000694 increase  0x00000001 , 0x0000003f 
+ 00002969  0x00000695 store  0x00000001 , 0x00000009 
+ 00002970  0x00000696 force  0x00000000 , 0x0000001b 
+ 00002971  0x00000697 call  0x0000133c 
+ 00002972  0x00000698 or_into  0x00000002 , 0x00000021 
+ 00002973  0x00000699 force  0x00000001 , 0x00000024 
+ 00002974  0x0000069a call  0x00001124 
+ 00002975  0x0000069b call  0x00001340 
+ 00002976  0x0000069c call  0x0000134e 
+ 00002977  0x0000069d call  0x00001353 
+ 00002978  0x0000069e call  0x00000e7c 
+ 00002979  0x0000069f force  0x00000000 , 0x00000004 
+ 00002980  0x000006a0 fetchr  0x0000000b , 0x00000002 , 0x00000157 
+ 00002981  0x000006a1 until  0x00000029 , 0x00000026 
+ 00002982  0x000006a2 or_into  0x00000003 , 0x00000028 
+ 00002983  0x000006a3 and_into  0x000001fd , 0x00000021 
+ 00002984  0x000006a5 bpatch  0x00000036 , 0x00004006 
+ 00002985  0x000006a6 increase  0x00000001 , 0x00000026 
+ 00002986  0x000006a7 call  0x0000111e 
+ 00002987  0x000006a8 call  0x000012d5 
+ 00002988  0x000006a9 call  0x000012f5 
+ 00002989  0x000006aa nbranch  0x00000bb1 , 0x00000018 
+ 00002990  0x000006ab call  0x0000135b 
+ 00002991  0x000006ac call  0x00000d43 
+ 00002992  0x000006ad bmark1  0x0000000b , 0x00000bb8 
+ 00002993  0x000006af bpatch  0x00000037 , 0x00004006 
+ 00002994  0x000006b0 fetch  0x00000001 , 0x00000010 
+ 00002995  0x000006b1 rtn  0x00000034 
+ 00002996  0x000006b2 increase  0xffffffff , 0x0000003f 
+ 00002997  0x000006b3 store  0x00000001 , 0x00000010 
+ 00002998  0x000006b4 call  0x0000133e 
+ 00002999  0x000006b5 branch  0x00000ba8 
+ 00003000  0x000006b9 bpatch  0x00000038 , 0x00004007 
+ 00003001  0x000006ba set0  0x00000001 , 0x00000028 
+ 00003002  0x000006bb set1  0x00000000 , 0x00000028 
+ 00003003  0x000006bc fetch  0x00000001 , 0x0000000a 
+ 00003004  0x000006bd increase  0x00000001 , 0x0000003f 
+ 00003005  0x000006be store  0x00000001 , 0x0000000a 
+ 00003006  0x000006bf call  0x0000133c 
+ 00003007  0x000006c0 or_into  0x00000002 , 0x00000021 
+ 00003008  0x000006c1 call  0x00001124 
+ 00003009  0x000006c2 call  0x00001340 
+ 00003010  0x000006c3 call  0x0000134e 
+ 00003011  0x000006c4 call  0x00001353 
+ 00003012  0x000006c5 call  0x00000e7c 
+ 00003013  0x000006c7 compare  0x00000003 , 0x00000028 , 0x00000003 
+ 00003014  0x000006c8 branch  0x00000bc9 , 0x00000001 
+ 00003015  0x000006c9 until  0x0000003e , 0x00000017 
+ 00003016  0x000006ca branch  0x00000bc5 
+ 00003017  0x000006cc fetch  0x00000004 , 0x000000b4 
+ 00003018  0x000006cd or_into  0x00000003 , 0x0000003f 
+ 00003019  0x000006ce icopy  0x00000028 
+ 00003020  0x000006d1 bpatch  0x00000039 , 0x00004007 
+ 00003021  0x000006d2 fetch  0x00000006 , 0x000000c7 
+ 00003022  0x000006d3 store  0x00000006 , 0x00000040 
+ 00003023  0x000006d4 call  0x00000c42 
+ 00003024  0x000006d6 call  0x00000c89 
+ 00003025  0x000006d7 branch  0x00000bd5 , 0x0000002d 
+ 00003026  0x000006d8 call  0x00000c62 
+ 00003027  0x000006d9 nbranch  0x00000bd0 , 0x00000034 
+ 00003028  0x000006da rtn 
+ 00003029  0x000006de bpatch  0x0000003a , 0x00004007 
+ 00003030  0x000006df call  0x00000c4d 
+ 00003031  0x000006e0 call  0x00000a48 
+ 00003032  0x000006e1 nrtn  0x00000005 
+ 00003033  0x000006e2 jam  0x00000000 , 0x00000031 
+ 00003034  0x000006e3 call  0x0000105d 
+ 00003035  0x000006e4 branch  0x00000a30 
+ 00003036  0x000006ea bpatch  0x0000003b , 0x00004007 
+ 00003037  0x000006eb call  0x0000106f 
+ 00003038  0x000006ec call  0x00000c01 
+ 00003039  0x000006ed rtn  0x00000028 
+ 00003040  0x000006ef bpatch  0x0000003c , 0x00004007 
+ 00003041  0x000006f0 call  0x000065c9 
+ 00003042  0x000006f1 call  0x00000d38 
+ 00003043  0x000006f2 nbranch  0x00000bf0 , 0x0000002d 
+ 00003044  0x000006f3 fetch  0x00000002 , 0x00004477 
+ 00003045  0x000006f4 call  0x00007e7a 
+ 00003046  0x000006f5 call  0x00001378 
+ 00003047  0x000006f6 call  0x000065e1 
+ 00003048  0x000006f7 call  0x00000c96 
+ 00003049  0x000006f8 call  0x00000f7b 
+ 00003050  0x000006f9 call  0x00000f4c 
+ 00003051  0x000006fa call  0x000053f2 
+ 00003052  0x000006fb fetch  0x00000001 , 0x0000000b 
+ 00003053  0x000006fc increase  0x00000001 , 0x0000003f 
+ 00003054  0x000006fd store  0x00000001 , 0x0000000b 
+ 00003055  0x000006fe call  0x0000105d 
+ 00003056  0x00000700 bpatch  0x0000003d , 0x00004007 
+ 00003057  0x00000701 call  0x000014f5 
+ 00003058  0x00000702 call  0x0000136f 
+ 00003059  0x00000703 branch  0x00000bf9 , 0x00000002 
+ 00003060  0x00000704 call  0x000009a9 
+ 00003061  0x00000705 nbranch  0x00000bf9 , 0x00000028 
+ 00003062  0x00000706 call  0x00000f1c 
+ 00003063  0x00000707 nbranch  0x00000be0 , 0x00000034 
+ 00003064  0x00000708 rtn 
+ 00003065  0x0000070b bpatch  0x0000003e , 0x00004007 
+ 00003066  0x0000070c jam  0x00000000 , 0x00000a51 
+ 00003067  0x0000070d jam  0x00000000 , 0x000000e3 
+ 00003068  0x0000070e call  0x00000c6a 
+ 00003069  0x0000070f set0  0x00000011 , 0x00000000 
+ 00003070  0x00000710 call  0x00007e8e 
+ 00003071  0x00000711 fetch  0x00000001 , 0x00000030 
+ 00003072  0x00000712 rtn 
+ 00003073  0x00000716 call  0x000009cb 
+ 00003074  0x00000717 nrtn  0x00000028 
+ 00003075  0x00000718 copy  0x00000004 , 0x00000002 
+ 00003076  0x00000719 call  0x0000135f 
+ 00003077  0x0000071a store  0x00000001 , 0x000000e5 
+ 00003078  0x0000071b copy  0x00000002 , 0x00000004 
+ 00003079  0x0000071c jam  0x00000020 , 0x00000011 
+ 00003080  0x0000071e bpatch  0x0000003f , 0x00004007 
+ 00003081  0x0000071f call  0x0000133e 
+ 00003082  0x00000720 force  0x00000002 , 0x00000001 
+ 00003083  0x00000721 call  0x00000f73 
+ 00003084  0x00000722 deposit  0x00000022 
+ 00003085  0x00000723 store  0x00000004 , 0x000000b0 
+ 00003086  0x00000724 call  0x00000f86 
+ 00003087  0x00000725 call  0x0000133c 
+ 00003088  0x00000726 enable  0x0000002f 
+ 00003089  0x00000727 call  0x00000d19 
+ 00003090  0x00000728 branch  0x00000c1a , 0x00000018 
+ 00003091  0x00000729 call  0x0000114b 
+ 00003092  0x0000072a call  0x00000c62 
+ 00003093  0x0000072b nbranch  0x00000c08 , 0x00000034 
+ 00003094  0x0000072c rtnmark0  0x00000004 
+ 00003095  0x0000072d jam  0x00000034 , 0x0000007c 
+ 00003096  0x0000072e set1  0x00000003 , 0x00000000 
+ 00003097  0x0000072f rtn 
+ 00003098  0x00000731 enable  0x00000030 
+ 00003099  0x00000732 call  0x00000c42 
+ 00003100  0x00000733 call  0x000010f6 
+ 00003101  0x00000735 bpatch  0x00000040 , 0x00004008 
+ 00003102  0x00000736 call  0x00000aff 
+ 00003103  0x00000737 branch  0x00000c26 , 0x00000018 
+ 00003104  0x00000738 call  0x00000c62 
+ 00003105  0x00000739 nbranch  0x00000c1d , 0x00000034 
+ 00003106  0x0000073a disable  0x00000030 
+ 00003107  0x0000073b deposit  0x00000028 
+ 00003108  0x0000073c store  0x00000004 , 0x000040d1 
+ 00003109  0x0000073d rtn 
+ 00003110  0x0000073f enable  0x00000029 
+ 00003111  0x00000740 bmark0  0x00000004 , 0x00000c2c 
+ 00003112  0x00000741 set0  0x00000004 , 0x00000000 
+ 00003113  0x00000742 jam  0x00000003 , 0x0000007c 
+ 00003114  0x00000743 jam  0x00000033 , 0x0000007d 
+ 00003115  0x00000744 call  0x00005a7b 
+ 00003116  0x00000746 deposit  0x00000004 
+ 00003117  0x00000747 store  0x00000001 , 0x00000077 
+ 00003118  0x00000748 force  0x00000000 , 0x0000003f 
+ 00003119  0x00000749 store  0x00000006 , 0x00000038 
+ 00003120  0x0000074a fetch  0x00000001 , 0x00000031 
+ 00003121  0x0000074b set1  0x00000001 , 0x0000003f 
+ 00003122  0x0000074c store  0x00000001 , 0x00000031 
+ 00003123  0x0000074d call  0x00001378 
+ 00003124  0x0000074e disable  0x00000029 
+ 00003125  0x0000074f enable  0x00000028 
+ 00003126  0x00000750 rtn 
+ 00003127  0x00000755 bpatch  0x00000041 , 0x00004008 
+ 00003128  0x00000756 disable  0x0000002d 
+ 00003129  0x00000757 set0  0x00000005 , 0x00000000 
+ 00003130  0x00000758 set0  0x0000000a , 0x00000000 
+ 00003131  0x00000759 set0  0x00000010 , 0x00000000 
+ 00003132  0x0000075a set0  0x0000000f , 0x00000000 
+ 00003133  0x0000075b fetch  0x00000001 , 0x00000047 
+ 00003134  0x0000075c set0  0x00000005 , 0x0000003f 
+ 00003135  0x0000075d set1  0x00000004 , 0x0000003f 
+ 00003136  0x0000075e store  0x00000001 , 0x00000047 
+ 00003137  0x0000075f rtn 
+ 00003138  0x00000762 bpatch  0x00000042 , 0x00004008 
+ 00003139  0x00000763 jam  0x00000020 , 0x00000011 
+ 00003140  0x00000764 jam  0x00000050 , 0x00000047 
+ 00003141  0x00000765 fetch  0x00000002 , 0x000040c6 
+ 00003142  0x00000766 store  0x00000002 , 0x0000003e 
+ 00003143  0x00000767 deposit  0x00000022 
+ 00003144  0x00000768 store  0x00000004 , 0x000040d1 
+ 00003145  0x00000769 rtn  0x00000030 
+ 00003146  0x0000076a deposit  0x00000028 
+ 00003147  0x0000076b store  0x00000004 , 0x000040d1 
+ 00003148  0x0000076c rtn 
+ 00003149  0x0000076f bpatch  0x00000043 , 0x00004008 
+ 00003150  0x00000770 call  0x000053ee 
+ 00003151  0x00000771 call  0x00000c66 
+ 00003152  0x00000772 store  0x00000001 , 0x00000046 
+ 00003153  0x00000773 setarg  0x00000000 
+ 00003154  0x00000774 store  0x00000002 , 0x0000030e 
+ 00003155  0x00000775 setarg  0x00001c80 
+ 00003156  0x00000776 store  0x00000002 , 0x00000051 
+ 00003157  0x00000777 fetch  0x00000001 , 0x00000030 
+ 00003158  0x00000778 set1  0x00000000 , 0x0000003f 
+ 00003159  0x00000779 store  0x00000001 , 0x00000030 
+ 00003160  0x0000077a jam  0x00000000 , 0x0000004b 
+ 00003161  0x0000077b jam  0x00000000 , 0x0000004c 
+ 00003162  0x0000077c jam  0x00000000 , 0x0000009d 
+ 00003163  0x0000077d branch  0x00001378 
+ 00003164  0x00000781 bpatch  0x00000044 , 0x00004008 
+ 00003165  0x00000782 force  0x00000000 , 0x0000003f 
+ 00003166  0x00000783 store  0x00000008 , 0x000041cb 
+ 00003167  0x00000784 istore  0x00000008 , 0x00000005 
+ 00003168  0x00000785 call  0x000009c7 
+ 00003169  0x00000786 branch  0x00000a61 
+ 00003170  0x00000789 fetch  0x00000001 , 0x00000011 
+ 00003171  0x0000078a increase  0xffffffff , 0x0000003f 
+ 00003172  0x0000078b store  0x00000001 , 0x00000011 
+ 00003173  0x0000078c rtn 
+ 00003174  0x0000078f fetch  0x00000001 , 0x000040d6 
+ 00003175  0x00000790 increase  0x00000001 , 0x0000003f 
+ 00003176  0x00000791 store  0x00000001 , 0x000040d6 
+ 00003177  0x00000792 rtn 
+ 00003178  0x00000796 bpatch  0x00000045 , 0x00004008 
+ 00003179  0x00000797 fetch  0x00000001 , 0x000041db 
+ 00003180  0x00000798 beq  0x00000003 , 0x00000c6f 
+ 00003181  0x00000799 fetch  0x00000001 , 0x00000048 
+ 00003182  0x0000079a bne  0x00000001 , 0x00000c73 
+ 00003183  0x0000079c call  0x00004de6 
+ 00003184  0x0000079d nbranch  0x00000c73 , 0x00000005 
+ 00003185  0x0000079e call  0x000009a6 
+ 00003186  0x0000079f jam  0x00000000 , 0x000041db 
+ 00003187  0x000007a1 bpatch  0x00000046 , 0x00004008 
+ 00003188  0x000007a2 call  0x0000323e 
+ 00003189  0x000007a3 call  0x00000f12 
+ 00003190  0x000007a4 jam  0x00000002 , 0x0000095b 
+ 00003191  0x000007a5 call  0x000078dc 
+ 00003192  0x000007a6 call  0x000053e0 
+ 00003193  0x000007a7 call  0x00004e26 
+ 00003194  0x000007a8 call  0x00006f37 
+ 00003195  0x000007a9 fetch  0x00000001 , 0x00000030 
+ 00003196  0x000007aa set0  0x00000000 , 0x0000003f 
+ 00003197  0x000007ab store  0x00000001 , 0x00000030 
+ 00003198  0x000007ac jam  0x00000000 , 0x0000478e 
+ 00003199  0x000007ae fetch  0x00000001 , 0x0000004c 
+ 00003200  0x000007af compare  0x00000000 , 0x0000003f , 0x000000c0 
+ 00003201  0x000007b0 branch  0x00000c83 , 0x00000001 
+ 00003202  0x000007b1 set0  0x00000001 , 0x00000000 
+ 00003203  0x000007b3 fetch  0x00000001 , 0x00000047 
+ 00003204  0x000007b4 bbit0  0x00000003 , 0x00000c85 
+ 00003205  0x000007b6 fetch  0x00000001 , 0x0000004b 
+ 00003206  0x000007b7 rtnbit0  0x00000006 
+ 00003207  0x000007b8 set0  0x00000002 , 0x00000000 
+ 00003208  0x000007b9 rtn 
+ 00003209  0x000007bc bpatch  0x00000047 , 0x00004008 
+ 00003210  0x000007bd fetch  0x00000001 , 0x000000c3 
+ 00003211  0x000007be rtn  0x00000034 
+ 00003212  0x000007bf icopy  0x00000004 
+ 00003213  0x000007c0 call  0x00000d38 
+ 00003214  0x000007c1 nrtn  0x0000002d 
+ 00003215  0x000007c2 force  0x00000000 , 0x00000001 
+ 00003216  0x000007c3 call  0x00000f7b 
+ 00003217  0x000007c4 deposit  0x00000004 
+ 00003218  0x000007c5 store  0x00000001 , 0x00000077 
+ 00003219  0x000007c6 force  0x00000000 , 0x0000003f 
+ 00003220  0x000007c7 store  0x00000001 , 0x000000c3 
+ 00003221  0x000007c8 rtn 
+ 00003222  0x000007cf bpatch  0x00000048 , 0x00004009 
+ 00003223  0x000007d0 fetch  0x00000001 , 0x00000030 
+ 00003224  0x000007d1 bbit0  0x00000002 , 0x00000ca3 
+ 00003225  0x000007d2 force  0x00000007 , 0x00000001 
+ 00003226  0x000007d3 bmark0  0x00000007 , 0x00000ca2 
+ 00003227  0x000007d4 call  0x00000f49 
+ 00003228  0x000007d5 nbranch  0x00000ca3 , 0x00000001 
+ 00003229  0x000007d6 branch  0x00000ca3 , 0x0000002e 
+ 00003230  0x000007d7 call  0x00000ce4 
+ 00003231  0x000007d8 setarg  0x00000002 
+ 00003232  0x000007d9 store  0x00000002 , 0x000040cf 
+ 00003233  0x000007da rtn 
+ 00003234  0x000007dd nrtn  0x0000002e 
+ 00003235  0x000007df bpatch  0x00000049 , 0x00004009 
+ 00003236  0x000007e0 call  0x00000a50 
+ 00003237  0x000007e1 nbranch  0x00000cb4 , 0x00000005 
+ 00003238  0x000007e2 fetch  0x00000001 , 0x00000047 
+ 00003239  0x000007e3 bbit0  0x00000003 , 0x00000cbd 
+ 00003240  0x000007e5 bmark1  0x00000005 , 0x00000cc1 
+ 00003241  0x000007e6 fetch  0x00000001 , 0x000000e3 
+ 00003242  0x000007e7 bbit1  0x00000006 , 0x00000cc7 
+ 00003243  0x000007e8 fetch  0x00000002 , 0x000040cf 
+ 00003244  0x000007e9 increase  0xffffffff , 0x0000003f 
+ 00003245  0x000007ea store  0x00000002 , 0x000040cf 
+ 00003246  0x000007eb branch  0x00000cb2 , 0x00000034 
+ 00003247  0x000007ec fetch  0x00000001 , 0x000040cc 
+ 00003248  0x000007ed iforce  0x00000001 
+ 00003249  0x000007ee rtn 
+ 00003250  0x000007f1 bpatch  0x0000004a , 0x00004009 
+ 00003251  0x000007f2 call  0x00000eb7 
+ 00003252  0x000007f4 call  0x00000f49 
+ 00003253  0x000007f5 branch  0x00000cbd , 0x00000001 
+ 00003254  0x000007f6 call  0x00005759 
+ 00003255  0x000007f7 branch  0x00000ccb , 0x00000028 
+ 00003256  0x000007f8 fetch  0x00000001 , 0x0000004b 
+ 00003257  0x000007f9 bbit1  0x00000006 , 0x00000cd7 
+ 00003258  0x000007fa bmark1  0x00000005 , 0x00000cc1 
+ 00003259  0x000007fb fetch  0x00000001 , 0x000000e3 
+ 00003260  0x000007fc bbit1  0x00000006 , 0x00000cc7 
+ 00003261  0x000007fe force  0x00000001 , 0x00000001 
+ 00003262  0x000007ff rtn  0x00000029 
+ 00003263  0x00000800 force  0x00000000 , 0x00000001 
+ 00003264  0x00000801 rtn 
+ 00003265  0x00000803 bpatch  0x0000004b , 0x00004009 
+ 00003266  0x00000804 fetch  0x00000001 , 0x00000019 
+ 00003267  0x00000805 iforce  0x00000001 
+ 00003268  0x00000806 rtnne  0x00000001 
+ 00003269  0x00000807 force  0x00000000 , 0x00000001 
+ 00003270  0x00000808 rtn 
+ 00003271  0x0000080a fetch  0x00000001 , 0x00000a58 
+ 00003272  0x0000080b and  0x0000003f , 0x0000000f , 0x00000001 
+ 00003273  0x0000080c set1  0x00000005 , 0x00000000 
+ 00003274  0x0000080d rtn 
+ 00003275  0x0000080f force  0x00000013 , 0x00000001 
+ 00003276  0x00000810 call  0x00000ce4 
+ 00003277  0x00000812 call  0x00000ddd 
+ 00003278  0x00000813 rtn  0x00000034 
+ 00003279  0x00000814 jam  0x00000003 , 0x000041e4 
+ 00003280  0x00000815 fetch  0x00000001 , 0x0000038a 
+ 00003281  0x00000816 and  0x0000003f , 0x000001f8 , 0x0000003f 
+ 00003282  0x00000817 rshift3  0x0000003f , 0x0000003f 
+ 00003283  0x00000818 store  0x00000002 , 0x000046b5 
+ 00003284  0x00000819 copy  0x0000003f , 0x00000011 
+ 00003285  0x0000081a arg  0x0000038b , 0x00000013 
+ 00003286  0x0000081b branch  0x00006d03 
+ 00003287  0x0000081f call  0x00000ced 
+ 00003288  0x00000820 call  0x00000ce4 
+ 00003289  0x00000822 call  0x00000ddd 
+ 00003290  0x00000823 rtn  0x00000034 
+ 00003291  0x00000824 fetch  0x00000001 , 0x000041e5 
+ 00003292  0x00000825 and_into  0x00000003 , 0x0000003f 
+ 00003293  0x00000826 store  0x00000001 , 0x000041e4 
+ 00003294  0x00000827 fetch  0x00000002 , 0x000041e6 
+ 00003295  0x00000828 copy  0x0000003f , 0x00000011 
+ 00003296  0x00000829 store  0x00000002 , 0x000046b5 
+ 00003297  0x0000082a fetch  0x00000002 , 0x000000be 
+ 00003298  0x0000082b copy  0x0000003f , 0x00000013 
+ 00003299  0x0000082c branch  0x00006d03 
+ 00003300  0x00000830 bpatch  0x0000004c , 0x00004009 
+ 00003301  0x00000831 fetcht  0x00000001 , 0x00000047 
+ 00003302  0x00000832 set1  0x00000003 , 0x00000002 
+ 00003303  0x00000833 storet  0x00000001 , 0x00000047 
+ 00003304  0x00000834 deposit  0x00000001 
+ 00003305  0x00000835 store  0x00000001 , 0x000040cc 
+ 00003306  0x00000836 setarg  0x0000ffff 
+ 00003307  0x00000837 store  0x00000002 , 0x000040cf 
+ 00003308  0x00000838 rtn 
+ 00003309  0x0000083b bpatch  0x0000004d , 0x00004009 
+ 00003310  0x0000083c fetch  0x00000001 , 0x0000004c 
+ 00003311  0x0000083d isolate1  0x00000005 , 0x0000003f 
+ 00003312  0x0000083e fetch  0x00000002 , 0x000041e6 
+ 00003313  0x0000083f branch  0x00000d03 , 0x00000001 
+ 00003314  0x00000840 force  0x00000003 , 0x00000001 
+ 00003315  0x00000841 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00003316  0x00000842 rtn  0x00000002 
+ 00003317  0x00000843 force  0x00000004 , 0x00000001 
+ 00003318  0x00000844 sub  0x0000003f , 0x0000001b , 0x0000003e 
+ 00003319  0x00000845 rtn  0x00000002 
+ 00003320  0x00000846 force  0x0000000a , 0x00000001 
+ 00003321  0x00000847 sub  0x0000003f , 0x00000079 , 0x0000003e 
+ 00003322  0x00000848 rtn  0x00000002 
+ 00003323  0x00000849 force  0x0000000b , 0x00000001 
+ 00003324  0x0000084a sub  0x0000003f , 0x000000b7 , 0x0000003e 
+ 00003325  0x0000084b rtn  0x00000002 
+ 00003326  0x0000084c force  0x0000000e , 0x00000001 
+ 00003327  0x0000084d sub  0x0000003f , 0x000000e0 , 0x0000003e 
+ 00003328  0x0000084e rtn  0x00000002 
+ 00003329  0x0000084f force  0x0000000f , 0x00000001 
+ 00003330  0x00000850 rtn 
+ 00003331  0x00000852 force  0x00000003 , 0x00000001 
+ 00003332  0x00000853 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00003333  0x00000854 rtn  0x00000002 
+ 00003334  0x00000855 force  0x00000004 , 0x00000001 
+ 00003335  0x00000856 sub  0x0000003f , 0x00000036 , 0x0000003e 
+ 00003336  0x00000857 rtn  0x00000002 
+ 00003337  0x00000858 force  0x0000000a , 0x00000001 
+ 00003338  0x00000859 arg  0x0000016f , 0x00000002 
+ 00003339  0x0000085a isub  0x00000002 , 0x0000003e 
+ 00003340  0x0000085b nrtn  0x00000002 
+ 00003341  0x0000085c force  0x0000000e , 0x00000001 
+ 00003342  0x0000085d arg  0x000002a7 , 0x00000002 
+ 00003343  0x0000085e isub  0x00000002 , 0x0000003e 
+ 00003344  0x0000085f nrtn  0x00000002 
+ 00003345  0x00000860 force  0x0000000f , 0x00000001 
+ 00003346  0x00000861 rtn 
+ 00003347  0x0000086b fetch  0x00000001 , 0x00000030 
+ 00003348  0x0000086c bbit0  0x00000001 , 0x00000d18 
+ 00003349  0x0000086d fetch  0x00000002 , 0x00000032 
+ 00003350  0x0000086e branch  0x00000d18 , 0x00000034 
+ 00003351  0x0000086f nbranch  0x00000d1a , 0x0000002e 
+ 00003352  0x00000871 call  0x0000133e 
+ 00003353  0x00000873 add  0x00000028 , 0x00000001 , 0x00000021 
+ 00003354  0x00000875 enable  0x00000010 
+ 00003355  0x00000876 fetch  0x00000002 , 0x0000003e 
+ 00003356  0x00000877 rshift  0x0000003f , 0x0000003f 
+ 00003357  0x00000878 fetcht  0x00000002 , 0x0000015d 
+ 00003358  0x00000879 iadd  0x00000002 , 0x0000003f 
+ 00003359  0x0000087a call  0x00001313 
+ 00003360  0x0000087b call  0x0000113c 
+ 00003361  0x0000087c force  0x00000003 , 0x00000024 
+ 00003362  0x0000087d call  0x0000111e 
+ 00003363  0x0000087e call  0x00000c37 
+ 00003364  0x0000087f call  0x000012da 
+ 00003365  0x00000880 bpatch  0x0000004e , 0x00004009 
+ 00003366  0x00000881 fetch  0x00000002 , 0x0000003e 
+ 00003367  0x00000882 rshift  0x0000003f , 0x0000003f 
+ 00003368  0x00000883 call  0x00001313 
+ 00003369  0x00000884 call  0x000012d5 
+ 00003370  0x00000885 enable  0x0000000d 
+ 00003371  0x00000886 fetch  0x00000002 , 0x0000003e 
+ 00003372  0x00000887 fetcht  0x00000002 , 0x0000015b 
+ 00003373  0x00000888 iadd  0x00000002 , 0x0000001b 
+ 00003374  0x00000889 correlate  0x0000003e , 0x00000003 
+ 00003375  0x0000088a copy  0x0000001a , 0x00000002 
+ 00003376  0x0000088b storet  0x00000006 , 0x00000097 
+ 00003377  0x0000088c disable  0x0000000d 
+ 00003378  0x0000088d nrtn  0x00000018 
+ 00003379  0x0000088e fetch  0x00000002 , 0x0000015b 
+ 00003380  0x0000088f copy  0x0000003f , 0x00000029 
+ 00003381  0x00000890 copy  0x00000021 , 0x00000028 
+ 00003382  0x00000891 branch  0x00001444 , 0x0000002b 
+ 00003383  0x00000892 rtn 
+ 00003384  0x00000896 bpatch  0x0000004f , 0x00004009 
+ 00003385  0x00000897 call  0x00000d13 
+ 00003386  0x00000898 nbranch  0x0000114b , 0x00000018 
+ 00003387  0x00000899 call  0x0000127f 
+ 00003388  0x0000089a bmark0  0x00000011 , 0x00000d40 
+ 00003389  0x0000089b fetch  0x00000002 , 0x000009f6 
+ 00003390  0x0000089c increase  0x00000001 , 0x0000003f 
+ 00003391  0x0000089d store  0x00000002 , 0x000009f6 
+ 00003392  0x0000089f call  0x00004d0d 
+ 00003393  0x000008a0 rshift  0x00000021 , 0x00000002 
+ 00003394  0x000008a1 or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00003395  0x000008a3 bpatch  0x00000050 , 0x0000400a 
+ 00003396  0x000008a4 enable  0x00000007 
+ 00003397  0x000008a5 enable  0x0000000a 
+ 00003398  0x000008a6 enable  0x0000000b 
+ 00003399  0x000008a7 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003400  0x000008a8 rshift8  0x0000000c , 0x0000003f 
+ 00003401  0x000008a9 store  0x00000001 , 0x000000ac 
+ 00003402  0x000008aa parse  0x00000003 , 0x00000000 , 0x00000004 
+ 00003403  0x000008ab inject  0x00000000 , 0x00000007 
+ 00003404  0x000008ac copy  0x0000000c , 0x0000003f 
+ 00003405  0x000008ad store  0x00000001 , 0x00000019 
+ 00003406  0x000008ae parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003407  0x000008af rshift8  0x0000000c , 0x0000003f 
+ 00003408  0x000008b0 store  0x00000001 , 0x000000ad 
+ 00003409  0x000008b1 fetch  0x00000001 , 0x00000019 
+ 00003410  0x000008b2 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00003411  0x000008b3 branch  0x00000d58 , 0x00000002 
+ 00003412  0x000008b4 beq  0x00000007 , 0x00000d58 
+ 00003413  0x000008b5 fetch  0x00000001 , 0x0000004c 
+ 00003414  0x000008b6 isolate1  0x00000005 , 0x0000003f 
+ 00003415  0x000008b7 setflag  0x00000001 , 0x00000001 , 0x00000015 
+ 00003416  0x000008b9 bpatch  0x00000051 , 0x0000400a 
+ 00003417  0x000008ba parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00003418  0x000008bb disable  0x0000000b 
+ 00003419  0x000008bc disable  0x0000000a 
+ 00003420  0x000008bd branch  0x00000e5f , 0x00000006 
+ 00003421  0x000008be bmark0  0x00000011 , 0x00000d61 
+ 00003422  0x000008bf fetch  0x00000002 , 0x000009f8 
+ 00003423  0x000008c0 increase  0x00000001 , 0x0000003f 
+ 00003424  0x000008c1 store  0x00000002 , 0x000009f8 
+ 00003425  0x000008c3 bpatch  0x00000052 , 0x0000400a 
+ 00003426  0x000008c4 fetch  0x00000001 , 0x000000ac 
+ 00003427  0x000008c5 compare  0x00000000 , 0x0000003f , 0x00000007 
+ 00003428  0x000008c6 setflag  0x00000001 , 0x0000000a , 0x00000000 
+ 00003429  0x000008c7 branch  0x00000d6f , 0x00000001 
+ 00003430  0x000008c8 icompare  0x00000007 , 0x00000004 
+ 00003431  0x000008c9 branch  0x00000d6d , 0x00000001 
+ 00003432  0x000008ca bmark0  0x00000007 , 0x00000e7c 
+ 00003433  0x000008cb fetch  0x00000001 , 0x00000047 
+ 00003434  0x000008cc set0  0x00000005 , 0x0000003f 
+ 00003435  0x000008cd set1  0x00000004 , 0x0000003f 
+ 00003436  0x000008ce store  0x00000001 , 0x00000047 
+ 00003437  0x000008d0 call  0x00004d10 
+ 00003438  0x000008d1 enable  0x0000002d 
+ 00003439  0x000008d3 bpatch  0x00000053 , 0x0000400a 
+ 00003440  0x000008d4 fetch  0x00000001 , 0x00000019 
+ 00003441  0x000008d5 icopy  0x00000001 
+ 00003442  0x000008d6 bmark1  0x0000000a , 0x00000d7e 
+ 00003443  0x000008d7 fetcht  0x00000001 , 0x000000ad 
+ 00003444  0x000008d8 fetch  0x00000001 , 0x00000047 
+ 00003445  0x000008d9 set0  0x00000000 , 0x0000003f 
+ 00003446  0x000008da isolate1  0x00000000 , 0x00000002 
+ 00003447  0x000008db setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00003448  0x000008dc isolate1  0x00000001 , 0x00000002 
+ 00003449  0x000008dd setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00003450  0x000008de store  0x00000001 , 0x00000047 
+ 00003451  0x000008df isolate0  0x00000001 , 0x00000002 
+ 00003452  0x000008e0 branch  0x00000d7e , 0x00000001 
+ 00003453  0x000008e1 call  0x00000eb7 
+ 00003454  0x000008e3 bpatch  0x00000054 , 0x0000400a 
+ 00003455  0x000008e4 arg  0x00000000 , 0x00000002 
+ 00003456  0x000008e5 call  0x0000130b 
+ 00003457  0x000008e6 and  0x00000001 , 0x0000000f , 0x0000003f 
+ 00003458  0x000008e7 beq  0x00000001 , 0x00000d9a 
+ 00003459  0x000008e8 beq  0x00000000 , 0x00000e7c 
+ 00003460  0x000008e9 beq  0x00000002 , 0x00000e88 
+ 00003461  0x000008ea fetcht  0x00000001 , 0x000000ad 
+ 00003462  0x000008eb fetch  0x00000001 , 0x00000047 
+ 00003463  0x000008ec icompare  0x00000004 , 0x00000002 
+ 00003464  0x000008ed nbranch  0x00000d8c , 0x00000001 
+ 00003465  0x000008ee bmark0  0x0000000a , 0x00000d8b 
+ 00003466  0x000008ef bbit0  0x00000007 , 0x00000d8c 
+ 00003467  0x000008f1 set1  0x0000000f , 0x00000000 
+ 00003468  0x000008f3 bpatch  0x00000055 , 0x0000400a 
+ 00003469  0x000008f4 deposit  0x00000001 
+ 00003470  0x000008f5 beq  0x00000003 , 0x00000d9c 
+ 00003471  0x000008f6 beq  0x00000004 , 0x00000da0 
+ 00003472  0x000008f7 beq  0x00000008 , 0x00000d9f 
+ 00003473  0x000008f8 arg  0x00000004 , 0x00000002 
+ 00003474  0x000008f9 call  0x0000130b 
+ 00003475  0x000008fa beq  0x0000000a , 0x00000d9b 
+ 00003476  0x000008fb beq  0x0000000b , 0x00000d9e 
+ 00003477  0x000008fc arg  0x00000008 , 0x00000002 
+ 00003478  0x000008fd call  0x0000130b 
+ 00003479  0x000008fe beq  0x0000000e , 0x00000d9b 
+ 00003480  0x000008ff beq  0x0000000f , 0x00000d9e 
+ 00003481  0x00000900 rtn 
+ 00003482  0x00000906 branch  0x00000e7c 
+ 00003483  0x0000090a set1  0x00000010 , 0x00000000 
+ 00003484  0x0000090c enable  0x0000000c 
+ 00003485  0x0000090d branch  0x00000da1 
+ 00003486  0x00000911 set1  0x00000010 , 0x00000000 
+ 00003487  0x00000913 set1  0x00000002 , 0x00000015 
+ 00003488  0x00000915 enable  0x0000000d 
+ 00003489  0x00000917 bpatch  0x00000056 , 0x0000400a 
+ 00003490  0x00000918 bmark1  0x00000033 , 0x00000e7c 
+ 00003491  0x00000919 bmark1  0x00000001 , 0x00000e7c 
+ 00003492  0x0000091a isolate0  0x00000001 , 0x00000015 
+ 00003493  0x0000091b branch  0x00000dae , 0x00000001 
+ 00003494  0x0000091c disable  0x00000007 
+ 00003495  0x0000091d enable  0x0000000d 
+ 00003496  0x0000091e disable  0x0000000c 
+ 00003497  0x0000091f add  0x00000022 , 0x00000002 , 0x0000000b 
+ 00003498  0x00000920 correlate  0x00000022 , 0x00000026 
+ 00003499  0x00000921 nbranch  0x00000e6b , 0x00000018 
+ 00003500  0x00000922 set1  0x00000010 , 0x00000000 
+ 00003501  0x00000923 enable  0x00000007 
+ 00003502  0x00000925 bpatch  0x00000057 , 0x0000400a 
+ 00003503  0x00000926 enable  0x0000000e 
+ 00003504  0x00000927 enable  0x00000009 
+ 00003505  0x00000928 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003506  0x00000929 rshift8  0x0000000c , 0x0000003f 
+ 00003507  0x0000092a store  0x00000001 , 0x000000e4 
+ 00003508  0x0000092b parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00003509  0x0000092c bmark1  0x00000010 , 0x00000db9 
+ 00003510  0x0000092d rshift3  0x0000000c , 0x00000039 
+ 00003511  0x0000092e rshift3  0x00000039 , 0x00000039 
+ 00003512  0x0000092f branch  0x00000dbc 
+ 00003513  0x00000931 parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00003514  0x00000932 rshift  0x0000000c , 0x00000039 
+ 00003515  0x00000933 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003516  0x00000935 bpatch  0x00000058 , 0x0000400b 
+ 00003517  0x00000936 deposit  0x00000039 
+ 00003518  0x00000937 store  0x00000002 , 0x000000ae 
+ 00003519  0x00000938 branch  0x00000dd4 , 0x00000034 
+ 00003520  0x00000939 call  0x00000ddd 
+ 00003521  0x0000093a branch  0x00000dc4 , 0x00000034 
+ 00003522  0x0000093c increase  0x00000004 , 0x00000039 
+ 00003523  0x0000093d deposit  0x00000039 
+ 00003524  0x0000093f isub  0x00000035 , 0x0000003e 
+ 00003525  0x00000940 branch  0x00000e6b , 0x00000002 
+ 00003526  0x00000941 bpatch  0x00000059 , 0x0000400b 
+ 00003527  0x00000942 set0  0x00000000 , 0x00000000 
+ 00003528  0x00000943 fetch  0x00000001 , 0x000000e4 
+ 00003529  0x00000944 and_into  0x00000003 , 0x0000003f 
+ 00003530  0x00000945 arg  0x000000ce , 0x00000005 
+ 00003531  0x00000946 beq  0x00000003 , 0x00000de2 
+ 00003532  0x00000947 bmark1  0x00000011 , 0x00000dd2 
+ 00003533  0x00000949 fetch  0x00000001 , 0x000000e4 
+ 00003534  0x0000094a and_into  0x00000003 , 0x0000003f 
+ 00003535  0x0000094b beq  0x00000002 , 0x00000de7 
+ 00003536  0x0000094c beq  0x00000001 , 0x00000dfb 
+ 00003537  0x0000094d branch  0x00000e6b 
+ 00003538  0x00000950 arg  0x00001000 , 0x00000005 
+ 00003539  0x00000951 branch  0x00000e0c 
+ 00003540  0x00000954 call  0x00000ddd 
+ 00003541  0x00000955 branch  0x00000e10 , 0x00000034 
+ 00003542  0x00000956 setarg  0x00000000 
+ 00003543  0x00000957 store  0x00000002 , 0x000046b5 
+ 00003544  0x00000958 parse  0x00000003 , 0x00000000 , 0x00000020 
+ 00003545  0x00000959 rshift32  0x0000003f , 0x0000003f 
+ 00003546  0x0000095a rshift8  0x0000003f , 0x0000003f 
+ 00003547  0x0000095b store  0x00000004 , 0x00000273 
+ 00003548  0x0000095c branch  0x00000e10 
+ 00003549  0x00000960 fetch  0x00000001 , 0x0000004c 
+ 00003550  0x00000961 bbit0  0x00000002 , 0x00007ed1 
+ 00003551  0x00000962 fetch  0x00000001 , 0x00004648 
+ 00003552  0x00000963 bne  0x00000002 , 0x00007ed1 
+ 00003553  0x00000964 branch  0x00007ecf 
+ 00003554  0x00000967 fetch  0x00000002 , 0x000000ae 
+ 00003555  0x00000968 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00003556  0x00000969 nbranch  0x00000e6b , 0x00000002 
+ 00003557  0x0000096a bmark1  0x0000000f , 0x00000e4c 
+ 00003558  0x0000096b branch  0x00000e0c 
+ 00003559  0x0000096f bpatch  0x0000005a , 0x0000400b 
+ 00003560  0x00000970 bmark1  0x0000000f , 0x00000e4c 
+ 00003561  0x00000971 fetch  0x00000002 , 0x000000ae 
+ 00003562  0x00000972 arg  0x000002e0 , 0x00000002 
+ 00003563  0x00000973 isub  0x00000002 , 0x0000003e 
+ 00003564  0x00000974 branch  0x00000e6b , 0x00000002 
+ 00003565  0x00000975 fetch  0x00000001 , 0x00000314 
+ 00003566  0x00000976 bbit0  0x00000000 , 0x00000df1 
+ 00003567  0x00000977 bbit0  0x00000001 , 0x00000df6 
+ 00003568  0x00000978 branch  0x00000e7c 
+ 00003569  0x0000097a jam  0x00000001 , 0x00000312 
+ 00003570  0x0000097b fetch  0x00000002 , 0x0000030e 
+ 00003571  0x0000097c bne  0x00000000 , 0x00000e7c 
+ 00003572  0x0000097d arg  0x00001000 , 0x00000005 
+ 00003573  0x0000097e branch  0x00000e0c 
+ 00003574  0x00000980 jam  0x00000002 , 0x00000312 
+ 00003575  0x00000981 fetch  0x00000002 , 0x00000310 
+ 00003576  0x00000982 bne  0x00000000 , 0x00000e7c 
+ 00003577  0x00000983 arg  0x00001400 , 0x00000005 
+ 00003578  0x00000984 branch  0x00000e0c 
+ 00003579  0x00000987 bpatch  0x0000005b , 0x0000400b 
+ 00003580  0x00000988 bmark1  0x0000000f , 0x00000e4c 
+ 00003581  0x00000989 fetch  0x00000002 , 0x000000ae 
+ 00003582  0x0000098a arg  0x000002e0 , 0x00000002 
+ 00003583  0x0000098b isub  0x00000002 , 0x0000003e 
+ 00003584  0x0000098c branch  0x00000e6b , 0x00000002 
+ 00003585  0x0000098d fetch  0x00000001 , 0x00000312 
+ 00003586  0x0000098e beq  0x00000001 , 0x00000e05 
+ 00003587  0x0000098f beq  0x00000002 , 0x00000e09 
+ 00003588  0x00000990 branch  0x00000e7c 
+ 00003589  0x00000992 arg  0x00001000 , 0x00000005 
+ 00003590  0x00000993 fetch  0x00000002 , 0x0000030e 
+ 00003591  0x00000994 iadd  0x00000005 , 0x00000005 
+ 00003592  0x00000995 branch  0x00000e0c 
+ 00003593  0x00000997 arg  0x00001400 , 0x00000005 
+ 00003594  0x00000998 fetch  0x00000002 , 0x00000310 
+ 00003595  0x00000999 iadd  0x00000005 , 0x00000005 
+ 00003596  0x0000099b parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00003597  0x0000099c rshift3  0x0000000c , 0x0000003f 
+ 00003598  0x0000099d istore  0x00000001 , 0x00000005 
+ 00003599  0x0000099e loop  0x00000e0c 
+ 00003600  0x000009a0 bpatch  0x0000005c , 0x0000400b 
+ 00003601  0x000009a1 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00003602  0x000009a2 branch  0x00000e65 , 0x00000006 
+ 00003603  0x000009a3 call  0x00000ddd 
+ 00003604  0x000009a4 call  0x00007ec9 
+ 00003605  0x000009a5 ncall  0x00006d34 , 0x00000034 
+ 00003606  0x000009a6 nbranch  0x00000e6c , 0x0000002c 
+ 00003607  0x000009a7 call  0x00004d0c 
+ 00003608  0x000009a9 fetch  0x00000001 , 0x000045f6 
+ 00003609  0x000009aa beq  0x00000001 , 0x00000e6c 
+ 00003610  0x000009ac bmark1  0x00000011 , 0x00000e39 
+ 00003611  0x000009ad bmark1  0x0000000f , 0x00000e79 
+ 00003612  0x000009ae fetch  0x00000001 , 0x000000e4 
+ 00003613  0x000009af compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00003614  0x000009b0 branch  0x00000e39 , 0x00000001 
+ 00003615  0x000009b1 fetch  0x00000002 , 0x000000ae 
+ 00003616  0x000009b2 branch  0x00000e39 , 0x00000034 
+ 00003617  0x000009b3 bpatch  0x0000005d , 0x0000400b 
+ 00003618  0x000009b4 fetch  0x00000001 , 0x00000312 
+ 00003619  0x000009b5 beq  0x00000001 , 0x00000e26 
+ 00003620  0x000009b6 beq  0x00000002 , 0x00000e30 
+ 00003621  0x000009b7 branch  0x0000137c 
+ 00003622  0x000009b9 fetch  0x00000002 , 0x0000030e 
+ 00003623  0x000009ba fetcht  0x00000002 , 0x000000ae 
+ 00003624  0x000009bb iadd  0x00000002 , 0x0000003f 
+ 00003625  0x000009bc store  0x00000002 , 0x0000030e 
+ 00003626  0x000009bd rtn  0x00000034 
+ 00003627  0x000009be fetcht  0x00000002 , 0x00001000 
+ 00003628  0x000009bf increase  0x00000004 , 0x00000002 
+ 00003629  0x000009c0 isub  0x00000002 , 0x0000003e 
+ 00003630  0x000009c1 call  0x00000f6b , 0x00000005 
+ 00003631  0x000009c2 branch  0x00000e39 
+ 00003632  0x000009c4 fetch  0x00000002 , 0x00000310 
+ 00003633  0x000009c5 fetcht  0x00000002 , 0x000000ae 
+ 00003634  0x000009c6 iadd  0x00000002 , 0x0000003f 
+ 00003635  0x000009c7 store  0x00000002 , 0x00000310 
+ 00003636  0x000009c8 rtn  0x00000034 
+ 00003637  0x000009c9 fetcht  0x00000002 , 0x00001400 
+ 00003638  0x000009ca add  0x00000002 , 0x00000004 , 0x00000002 
+ 00003639  0x000009cb isub  0x00000002 , 0x0000003e 
+ 00003640  0x000009cc call  0x00000f6f , 0x00000005 
+ 00003641  0x000009cf bpatch  0x0000005e , 0x0000400b 
+ 00003642  0x000009d0 fetcht  0x00000001 , 0x0000004c 
+ 00003643  0x000009d1 fetch  0x00000001 , 0x000000e4 
+ 00003644  0x000009d2 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00003645  0x000009d3 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00003646  0x000009d4 nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00003647  0x000009d5 storet  0x00000001 , 0x0000004c 
+ 00003648  0x000009d6 nbranch  0x00000e42 , 0x00000001 
+ 00003649  0x000009d7 set1  0x00000001 , 0x00000000 
+ 00003650  0x000009d9 bmark0  0x00000011 , 0x00000e4c 
+ 00003651  0x000009da isolate1  0x00000006 , 0x00000002 
+ 00003652  0x000009db branch  0x00000e4c , 0x00000001 
+ 00003653  0x000009dc fetch  0x00000002 , 0x000009fa 
+ 00003654  0x000009dd increase  0x00000001 , 0x0000003f 
+ 00003655  0x000009de store  0x00000002 , 0x000009fa 
+ 00003656  0x000009df set1  0x00000005 , 0x00000000 
+ 00003657  0x000009e0 set0  0x00000007 , 0x00000002 
+ 00003658  0x000009e1 set0  0x00000001 , 0x00000000 
+ 00003659  0x000009e2 storet  0x00000001 , 0x0000004c 
+ 00003660  0x000009e4 bpatch  0x0000005f , 0x0000400b 
+ 00003661  0x000009e5 call  0x00000ddd 
+ 00003662  0x000009e6 ncall  0x00006d5b , 0x00000034 
+ 00003663  0x000009e7 fetcht  0x00000001 , 0x000000ad 
+ 00003664  0x000009e8 fetch  0x00000001 , 0x00000047 
+ 00003665  0x000009e9 set1  0x00000005 , 0x0000003f 
+ 00003666  0x000009ea isolate1  0x00000002 , 0x00000002 
+ 00003667  0x000009eb setflag  0x00000001 , 0x00000002 , 0x0000003f 
+ 00003668  0x000009ec isolate1  0x0000000a , 0x00000000 
+ 00003669  0x000009ed setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00003670  0x000009ee store  0x00000001 , 0x00000047 
+ 00003671  0x000009ef fetch  0x00000002 , 0x000000ae 
+ 00003672  0x000009f0 nbranch  0x00000e7c , 0x00000034 
+ 00003673  0x000009f1 fetch  0x00000001 , 0x0000004c 
+ 00003674  0x000009f2 set0  0x00000007 , 0x0000003f 
+ 00003675  0x000009f3 store  0x00000001 , 0x0000004c 
+ 00003676  0x000009f4 fetch  0x00000001 , 0x000000e4 
+ 00003677  0x000009f5 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00003678  0x000009f7 branch  0x00000e7c 
+ 00003679  0x000009fa bpatch  0x00000060 , 0x0000400c 
+ 00003680  0x000009fb disable  0x0000002d 
+ 00003681  0x000009fc fetch  0x00000002 , 0x0000001a 
+ 00003682  0x000009fd increase  0x00000001 , 0x0000003f 
+ 00003683  0x000009fe store  0x00000002 , 0x0000001a 
+ 00003684  0x000009ff branch  0x00000e7c 
+ 00003685  0x00000a01 fetch  0x00000002 , 0x0000001c 
+ 00003686  0x00000a02 increase  0x00000001 , 0x0000003f 
+ 00003687  0x00000a03 store  0x00000002 , 0x0000001c 
+ 00003688  0x00000a04 call  0x00000e6d 
+ 00003689  0x00000a05 bmark0  0x00000011 , 0x00000e6b 
+ 00003690  0x00000a06 set1  0x00000005 , 0x00000000 
+ 00003691  0x00000a08 branch  0x00000e7c 
+ 00003692  0x00000a0c branch  0x00000e65 
+ 00003693  0x00000a10 bpatch  0x00000061 , 0x0000400c 
+ 00003694  0x00000a11 fetch  0x00000001 , 0x000000e4 
+ 00003695  0x00000a12 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00003696  0x00000a13 nbranch  0x00000e75 , 0x00000001 
+ 00003697  0x00000a15 fetcht  0x00000001 , 0x0000004c 
+ 00003698  0x00000a16 set0  0x00000006 , 0x00000002 
+ 00003699  0x00000a17 storet  0x00000001 , 0x0000004c 
+ 00003700  0x00000a18 rtn 
+ 00003701  0x00000a1c fetcht  0x00000001 , 0x0000004c 
+ 00003702  0x00000a1d set0  0x00000007 , 0x00000002 
+ 00003703  0x00000a1e storet  0x00000001 , 0x0000004c 
+ 00003704  0x00000a1f rtn 
+ 00003705  0x00000a22 fetch  0x00000001 , 0x00000047 
+ 00003706  0x00000a23 set1  0x00000005 , 0x0000003f 
+ 00003707  0x00000a24 store  0x00000001 , 0x00000047 
+ 00003708  0x00000a26 bpatch  0x00000062 , 0x0000400c 
+ 00003709  0x00000a27 disable  0x0000001d 
+ 00003710  0x00000a28 disable  0x0000001c 
+ 00003711  0x00000a29 disable  0x0000000d 
+ 00003712  0x00000a2a disable  0x0000000c 
+ 00003713  0x00000a2b disable  0x00000009 
+ 00003714  0x00000a2c disable  0x0000000e 
+ 00003715  0x00000a2d disable  0x00000007 
+ 00003716  0x00000a2e branch  0x0000114b , 0x00000021 
+ 00003717  0x00000a2f until  0x0000003e , 0x00000027 
+ 00003718  0x00000a30 nop  0x00000064 
+ 00003719  0x00000a31 branch  0x0000114b 
+ 00003720  0x00000a34 bpatch  0x00000063 , 0x0000400c 
+ 00003721  0x00000a35 enable  0x00000009 
+ 00003722  0x00000a36 enable  0x0000000c 
+ 00003723  0x00000a37 parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00003724  0x00000a38 isolate1  0x0000003a , 0x0000003f 
+ 00003725  0x00000a39 setflag  0x00000001 , 0x00000000 , 0x00000000 
+ 00003726  0x00000a3a copy  0x00000020 , 0x00000002 
+ 00003727  0x00000a3b ialigned  0x00000020 
+ 00003728  0x00000a3c ialigned  0x0000001e 
+ 00003729  0x00000a3d pulse  0x00000015 
+ 00003730  0x00000a3e setsect  0x00000002 , 0x000fffff 
+ 00003731  0x00000a3f setsect  0x00000003 , 0x0000ffff 
+ 00003732  0x00000a40 nop  0x00000020 
+ 00003733  0x00000a41 iverify  0x0000000d 
+ 00003734  0x00000a42 deposit  0x0000002c 
+ 00003735  0x00000a43 store  0x00000003 , 0x000000c7 
+ 00003736  0x00000a44 deposit  0x0000002d 
+ 00003737  0x00000a45 store  0x00000001 , 0x000000ca 
+ 00003738  0x00000a46 copy  0x00000002 , 0x00000020 
+ 00003739  0x00000a47 branch  0x00000e9d , 0x00000001 
+ 00003740  0x00000a48 branch  0x00000e6b 
+ 00003741  0x00000a4a bpatch  0x00000064 , 0x0000400c 
+ 00003742  0x00000a4b parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00003743  0x00000a4c ialigned  0x0000001f 
+ 00003744  0x00000a4d ialigned  0x00000004 
+ 00003745  0x00000a4e ialigned  0x0000002e 
+ 00003746  0x00000a4f ialigned  0x00000012 
+ 00003747  0x00000a50 force  0x00000000 , 0x0000003f 
+ 00003748  0x00000a51 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00003749  0x00000a52 branch  0x00000e6b , 0x00000006 
+ 00003750  0x00000a53 call  0x00004d0c 
+ 00003751  0x00000a54 setarg  0x0ffffffc 
+ 00003752  0x00000a55 iand  0x00000012 , 0x0000003f 
+ 00003753  0x00000a56 store  0x00000004 , 0x000000b4 
+ 00003754  0x00000a57 deposit  0x0000001d 
+ 00003755  0x00000a58 store  0x00000003 , 0x000000c4 
+ 00003756  0x00000a59 deposit  0x0000001c 
+ 00003757  0x00000a5a store  0x00000001 , 0x000000c2 
+ 00003758  0x00000a5b deposit  0x00000004 
+ 00003759  0x00000a5c store  0x00000001 , 0x000000c3 
+ 00003760  0x00000a5d deposit  0x0000002e 
+ 00003761  0x00000a5e store  0x00000002 , 0x000000cb 
+ 00003762  0x00000a5f deposit  0x00000021 
+ 00003763  0x00000a60 inject  0x00000001 , 0x00000020 
+ 00003764  0x00000a61 compare  0x00000002 , 0x00000001 , 0x0000000f 
+ 00003765  0x00000a62 setflag  0x00000001 , 0x0000000b , 0x00000000 
+ 00003766  0x00000a63 branch  0x00000e7c 
+ 00003767  0x00000a66 bpatch  0x00000065 , 0x0000400c 
+ 00003768  0x00000a67 fetch  0x00000001 , 0x00000047 
+ 00003769  0x00000a68 rtnbit0  0x00000003 
+ 00003770  0x00000a69 set0  0x00000003 , 0x0000003f 
+ 00003771  0x00000a6a setflip  0x00000006 , 0x0000003f 
+ 00003772  0x00000a6b store  0x00000001 , 0x00000047 
+ 00003773  0x00000a6c call  0x00000ddd 
+ 00003774  0x00000a6d ncall  0x00006d21 , 0x00000034 
+ 00003775  0x00000a6e fetch  0x00000001 , 0x000040cc 
+ 00003776  0x00000a6f beq  0x00000013 , 0x00000ece 
+ 00003777  0x00000a70 rtneq  0x00000007 
+ 00003778  0x00000a71 fetch  0x00000001 , 0x0000004b 
+ 00003779  0x00000a72 rtnbit0  0x00000006 , 0x0000003f 
+ 00003780  0x00000a73 set0  0x00000006 , 0x0000003f 
+ 00003781  0x00000a74 set1  0x00000007 , 0x0000003f 
+ 00003782  0x00000a75 store  0x00000001 , 0x0000004b 
+ 00003783  0x00000a76 set0  0x00000002 , 0x00000000 
+ 00003784  0x00000a77 fetch  0x00000002 , 0x000044d9 
+ 00003785  0x00000a78 nrtn  0x00000034 
+ 00003786  0x00000a79 fetch  0x00000001 , 0x0000004b 
+ 00003787  0x00000a7a set0  0x00000007 , 0x0000003f 
+ 00003788  0x00000a7b store  0x00000001 , 0x0000004b 
+ 00003789  0x00000a7c branch  0x0000533e 
+ 00003790  0x00000a7f bpatch  0x00000066 , 0x0000400c 
+ 00003791  0x00000a80 fetch  0x00000001 , 0x000045f9 
+ 00003792  0x00000a81 rshift  0x0000003f , 0x0000003f 
+ 00003793  0x00000a82 beq  0x00000011 , 0x00000ee1 
+ 00003794  0x00000a83 beq  0x00000012 , 0x00000eeb 
+ 00003795  0x00000a84 beq  0x00000018 , 0x00000f12 
+ 00003796  0x00000a85 beq  0x0000007f , 0x00000ed9 
+ 00003797  0x00000a86 rtnne  0x00000003 
+ 00003798  0x00000a87 fetch  0x00000001 , 0x0000038c 
+ 00003799  0x00000a88 beq  0x00000011 , 0x00000edc 
+ 00003800  0x00000a89 rtn 
+ 00003801  0x00000a8c fetch  0x00000001 , 0x0000038c 
+ 00003802  0x00000a8d set1  0x00000007 , 0x0000003f 
+ 00003803  0x00000a8e rtn 
+ 00003804  0x00000a90 rtn  0x00000029 
+ 00003805  0x00000a91 fetch  0x00000001 , 0x00000030 
+ 00003806  0x00000a92 rtnbit1  0x00000004 
+ 00003807  0x00000a93 jam  0x00000031 , 0x0000007c 
+ 00003808  0x00000a94 rtn 
+ 00003809  0x00000a98 bpatch  0x00000067 , 0x0000400c 
+ 00003810  0x00000a99 fetch  0x00000001 , 0x0000004c 
+ 00003811  0x00000a9a set1  0x00000002 , 0x0000003f 
+ 00003812  0x00000a9b store  0x00000001 , 0x0000004c 
+ 00003813  0x00000a9c jam  0x00000001 , 0x00008011 
+ 00003814  0x00000a9d force  0x00000000 , 0x0000003f 
+ 00003815  0x00000a9e store  0x00000005 , 0x000046a4 
+ 00003816  0x00000a9f set1  0x00000025 , 0x0000003f 
+ 00003817  0x00000aa0 store  0x00000005 , 0x0000469f 
+ 00003818  0x00000aa1 rtn 
+ 00003819  0x00000aa4 bpatch  0x00000068 , 0x0000400d 
+ 00003820  0x00000aa5 fetch  0x00000001 , 0x0000004c 
+ 00003821  0x00000aa6 set0  0x00000002 , 0x0000003f 
+ 00003822  0x00000aa7 store  0x00000001 , 0x0000004c 
+ 00003823  0x00000aa8 jam  0x00000000 , 0x00008011 
+ 00003824  0x00000aa9 rtn 
+ 00003825  0x00000aad bpatch  0x00000069 , 0x0000400d 
+ 00003826  0x00000aae add  0x00000022 , 0x00000003 , 0x00000011 
+ 00003827  0x00000aaf branch  0x00000ef5 , 0x00000029 
+ 00003828  0x00000ab0 add  0x00000028 , 0x00000003 , 0x00000011 
+ 00003829  0x00000ab2 fetcht  0x00000002 , 0x00000032 
+ 00003830  0x00000ab3 deposit  0x00000011 
+ 00003831  0x00000ab4 set0  0x0000001b , 0x0000003f 
+ 00003832  0x00000ab5 idiv  0x00000002 
+ 00003833  0x00000ab6 fetch  0x00000002 , 0x00000075 
+ 00003834  0x00000ab7 call  0x00007e64 
+ 00003835  0x00000ab8 remainder  0x00000013 
+ 00003836  0x00000ab9 isub  0x00000013 , 0x0000003f 
+ 00003837  0x00000aba branch  0x00000eff , 0x00000002 
+ 00003838  0x00000abb iadd  0x00000002 , 0x0000003f 
+ 00003839  0x00000abd iadd  0x00000011 , 0x0000003f 
+ 00003840  0x00000abe store  0x00000004 , 0x00000034 
+ 00003841  0x00000abf jam  0x00000000 , 0x00004645 
+ 00003842  0x00000ac0 fetch  0x00000001 , 0x00000030 
+ 00003843  0x00000ac1 set1  0x00000001 , 0x0000003f 
+ 00003844  0x00000ac2 store  0x00000001 , 0x00000030 
+ 00003845  0x00000ac3 fetch  0x00000001 , 0x00000073 
+ 00003846  0x00000ac4 store  0x00000001 , 0x00000088 
+ 00003847  0x00000ac5 setarg  0x00000000 
+ 00003848  0x00000ac6 store  0x00000003 , 0x0000416e 
+ 00003849  0x00000ac7 store  0x00000003 , 0x00004171 
+ 00003850  0x00000ac8 store  0x00000001 , 0x0000415e 
+ 00003851  0x00000ac9 jam  0x0000000b , 0x0000095b 
+ 00003852  0x00000aca call  0x000078dc 
+ 00003853  0x00000acb fetch  0x00000002 , 0x000040c8 
+ 00003854  0x00000acc store  0x00000002 , 0x0000003e 
+ 00003855  0x00000acd nrtn  0x00000029 
+ 00003856  0x00000ace add  0x00000004 , 0xffffffff , 0x00000007 
+ 00003857  0x00000acf rtn 
+ 00003858  0x00000ad2 bpatch  0x0000006a , 0x0000400d 
+ 00003859  0x00000ad3 fetch  0x00000001 , 0x00000030 
+ 00003860  0x00000ad4 rtnbit0  0x00000001 
+ 00003861  0x00000ad5 set0  0x00000001 , 0x0000003f 
+ 00003862  0x00000ad6 store  0x00000001 , 0x00000030 
+ 00003863  0x00000ad7 fetch  0x00000002 , 0x000040c6 
+ 00003864  0x00000ad8 store  0x00000002 , 0x0000003e 
+ 00003865  0x00000ad9 disable  0x0000002b 
+ 00003866  0x00000ada jam  0x0000000c , 0x0000095b 
+ 00003867  0x00000adb branch  0x000078dc 
+ 00003868  0x00000adf bpatch  0x0000006b , 0x0000400d 
+ 00003869  0x00000ae0 enable  0x0000002e 
+ 00003870  0x00000ae1 fetch  0x00000001 , 0x00000030 
+ 00003871  0x00000ae2 bbit1  0x00000001 , 0x00000f29 
+ 00003872  0x00000ae3 rtnmark1  0x00000011 
+ 00003873  0x00000ae4 fetch  0x00000001 , 0x00000047 
+ 00003874  0x00000ae5 rtnbit1  0x00000003 
+ 00003875  0x00000ae6 fetch  0x00000001 , 0x00000048 
+ 00003876  0x00000ae7 nrtn  0x00000034 
+ 00003877  0x00000ae8 fetch  0x00000001 , 0x0000004b 
+ 00003878  0x00000ae9 rtnbit1  0x00000006 
+ 00003879  0x00000aeb force  0x00000000 , 0x0000003f 
+ 00003880  0x00000aec rtn 
+ 00003881  0x00000aef bbit0  0x00000002 , 0x00000f33 
+ 00003882  0x00000af0 fetch  0x00000001 , 0x00000088 
+ 00003883  0x00000af1 beq  0x00000002 , 0x00000f2f 
+ 00003884  0x00000af2 fetch  0x00000001 , 0x00000047 
+ 00003885  0x00000af3 bbit1  0x00000003 , 0x00000f3c 
+ 00003886  0x00000af4 bmark0  0x00000008 , 0x00000f3c 
+ 00003887  0x00000af6 nbranch  0x00000f3c , 0x00000029 
+ 00003888  0x00000af7 fetch  0x00000001 , 0x00000048 
+ 00003889  0x00000af8 nbranch  0x00000f3c , 0x00000034 
+ 00003890  0x00000afa branch  0x00000f27 
+ 00003891  0x00000b02 fetch  0x00000001 , 0x00000088 
+ 00003892  0x00000b03 bne  0x00000001 , 0x00000f3c 
+ 00003893  0x00000b04 fetch  0x00000001 , 0x00000089 
+ 00003894  0x00000b05 branch  0x00000f3c , 0x00000034 
+ 00003895  0x00000b06 increase  0xffffffff , 0x0000003f 
+ 00003896  0x00000b07 store  0x00000001 , 0x00000089 
+ 00003897  0x00000b08 fetch  0x00000001 , 0x00000047 
+ 00003898  0x00000b09 rtnbit1  0x00000003 
+ 00003899  0x00000b0a nrtn  0x0000002d 
+ 00003900  0x00000b0c fetch  0x00000001 , 0x00000088 
+ 00003901  0x00000b0d increase  0xffffffff , 0x0000003f 
+ 00003902  0x00000b0e store  0x00000001 , 0x00000088 
+ 00003903  0x00000b0f rtn 
+ 00003904  0x00000b1b bpatch  0x0000006c , 0x0000400d 
+ 00003905  0x00000b1c disable  0x00000010 
+ 00003906  0x00000b1d copy  0x00000002 , 0x0000001b 
+ 00003907  0x00000b1e call  0x00000a6d 
+ 00003908  0x00000b1f disable  0x00000028 
+ 00003909  0x00000b20 nrtn  0x00000005 
+ 00003910  0x00000b21 force  0x00000000 , 0x0000001b 
+ 00003911  0x00000b22 enable  0x00000028 
+ 00003912  0x00000b23 rtn 
+ 00003913  0x00000b27 fetch  0x00000001 , 0x0000415d 
+ 00003914  0x00000b28 icompare  0x000000ff , 0x00000004 
+ 00003915  0x00000b29 rtn 
+ 00003916  0x00000b2d bpatch  0x0000006d , 0x0000400d 
+ 00003917  0x00000b2e set0  0x00000001 , 0x00000000 
+ 00003918  0x00000b30 jam  0x00000000 , 0x0000031b 
+ 00003919  0x00000b31 fetch  0x00000001 , 0x00000314 
+ 00003920  0x00000b32 rtn  0x00000034 
+ 00003921  0x00000b33 isolate1  0x00000000 , 0x0000003f 
+ 00003922  0x00000b34 arg  0x00001000 , 0x00000006 
+ 00003923  0x00000b35 call  0x00004e34 , 0x00000001 
+ 00003924  0x00000b36 bpatch  0x0000006e , 0x0000400d 
+ 00003925  0x00000b37 fetch  0x00000001 , 0x0000031b 
+ 00003926  0x00000b38 beq  0x00000001 , 0x00000f5f 
+ 00003927  0x00000b3a jam  0x00000000 , 0x0000031b 
+ 00003928  0x00000b3b fetch  0x00000001 , 0x00000314 
+ 00003929  0x00000b3c rtnbit0  0x00000001 
+ 00003930  0x00000b3d arg  0x00001400 , 0x00000006 
+ 00003931  0x00000b3e call  0x00004e34 
+ 00003932  0x00000b3f fetch  0x00000001 , 0x0000031b 
+ 00003933  0x00000b40 beq  0x00000001 , 0x00000f65 
+ 00003934  0x00000b41 rtn 
+ 00003935  0x00000b44 fetch  0x00000001 , 0x00000314 
+ 00003936  0x00000b45 set0  0x00000000 , 0x0000003f 
+ 00003937  0x00000b46 store  0x00000001 , 0x00000314 
+ 00003938  0x00000b47 setarg  0x00000000 
+ 00003939  0x00000b48 store  0x00000002 , 0x0000030e 
+ 00003940  0x00000b49 rtn 
+ 00003941  0x00000b4b fetch  0x00000001 , 0x00000314 
+ 00003942  0x00000b4c set0  0x00000001 , 0x0000003f 
+ 00003943  0x00000b4d store  0x00000001 , 0x00000314 
+ 00003944  0x00000b4e setarg  0x00000000 
+ 00003945  0x00000b4f store  0x00000002 , 0x00000310 
+ 00003946  0x00000b50 rtn 
+ 00003947  0x00000b53 fetch  0x00000001 , 0x00000314 
+ 00003948  0x00000b54 set1  0x00000000 , 0x0000003f 
+ 00003949  0x00000b55 store  0x00000001 , 0x00000314 
+ 00003950  0x00000b56 rtn 
+ 00003951  0x00000b59 fetch  0x00000001 , 0x00000314 
+ 00003952  0x00000b5a set1  0x00000001 , 0x0000003f 
+ 00003953  0x00000b5b store  0x00000001 , 0x00000314 
+ 00003954  0x00000b5c rtn 
+ 00003955  0x00000b63 bpatch  0x0000006f , 0x0000400d 
+ 00003956  0x00000b64 add  0x00000028 , 0x00000001 , 0x00000021 
+ 00003957  0x00000b65 call  0x0000113c 
+ 00003958  0x00000b66 force  0x00000003 , 0x00000024 
+ 00003959  0x00000b67 call  0x00001124 
+ 00003960  0x00000b68 call  0x00001340 
+ 00003961  0x00000b69 call  0x0000134e 
+ 00003962  0x00000b6a branch  0x00001353 
+ 00003963  0x00000b6e bpatch  0x00000070 , 0x0000400e 
+ 00003964  0x00000b6f call  0x0000133c 
+ 00003965  0x00000b70 deposit  0x00000028 
+ 00003966  0x00000b71 fetcht  0x00000004 , 0x000040d1 
+ 00003967  0x00000b72 isub  0x00000002 , 0x0000003f 
+ 00003968  0x00000b73 rtnne  0x00000001 
+ 00003969  0x00000b74 compare  0x00000000 , 0x00000001 , 0x0000001f 
+ 00003970  0x00000b75 nbranch  0x00000f85 , 0x00000001 
+ 00003971  0x00000b76 fetch  0x00000001 , 0x00000019 
+ 00003972  0x00000b77 rtn  0x00000034 
+ 00003973  0x00000b79 call  0x00000f73 
+ 00003974  0x00000b7b compare  0x00000010 , 0x00000001 , 0x0000001f 
+ 00003975  0x00000b7c branch  0x00000e7c , 0x00000001 
+ 00003976  0x00000b7d rshift  0x00000021 , 0x00000002 
+ 00003977  0x00000b7e or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00003978  0x00000b80 bpatch  0x00000071 , 0x0000400e 
+ 00003979  0x00000b81 enable  0x00000007 
+ 00003980  0x00000b82 enable  0x0000000a 
+ 00003981  0x00000b83 enable  0x0000001b 
+ 00003982  0x00000b84 set0  0x00000010 , 0x00000000 
+ 00003983  0x00000b85 deposit  0x00000004 
+ 00003984  0x00000b86 inject  0x00000003 , 0x00000003 
+ 00003985  0x00000b87 deposit  0x00000001 
+ 00003986  0x00000b88 inject  0x00000003 , 0x00000004 
+ 00003987  0x00000b89 fetch  0x00000001 , 0x00000047 
+ 00003988  0x00000b8a inject  0x00000000 , 0x00000004 
+ 00003989  0x00000b8b inject  0x00000003 , 0x00000003 
+ 00003990  0x00000b8c enable  0x00000008 
+ 00003991  0x00000b8d inject  0x00000003 , 0x00000008 
+ 00003992  0x00000b8e disable  0x0000001b 
+ 00003993  0x00000b8f disable  0x00000008 
+ 00003994  0x00000b90 disable  0x0000000a 
+ 00003995  0x00000b91 set0  0x00000002 , 0x00000015 
+ 00003996  0x00000b92 arg  0x00000000 , 0x00000002 
+ 00003997  0x00000b93 call  0x0000130b 
+ 00003998  0x00000b94 bpatch  0x00000072 , 0x0000400e 
+ 00003999  0x00000b95 and  0x00000001 , 0x0000001f , 0x0000003f 
+ 00004000  0x00000b96 beq  0x00000013 , 0x00000fce 
+ 00004001  0x00000b97 beq  0x00000000 , 0x00000e7c 
+ 00004002  0x00000b98 beq  0x00000001 , 0x00000e7c 
+ 00004003  0x00000b99 beq  0x00000002 , 0x00000faf 
+ 00004004  0x00000b9a beq  0x00000003 , 0x00000fdd 
+ 00004005  0x00000b9b beq  0x00000004 , 0x00000fe3 
+ 00004006  0x00000b9c beq  0x00000008 , 0x00000fe2 
+ 00004007  0x00000b9d arg  0x00000004 , 0x00000002 
+ 00004008  0x00000b9e call  0x0000130b 
+ 00004009  0x00000b9f beq  0x0000000a , 0x00000fdf 
+ 00004010  0x00000ba0 beq  0x0000000b , 0x00000fe5 
+ 00004011  0x00000ba1 arg  0x00000008 , 0x00000002 
+ 00004012  0x00000ba2 call  0x0000130b 
+ 00004013  0x00000ba3 beq  0x0000000f , 0x00000fe5 
+ 00004014  0x00000ba4 branch  0x00000fdf 
+ 00004015  0x00000ba9 bpatch  0x00000073 , 0x0000400e 
+ 00004016  0x00000baa fetch  0x00000001 , 0x000000e5 
+ 00004017  0x00000bab icopy  0x00000004 
+ 00004018  0x00000bac fetch  0x00000001 , 0x0000008d 
+ 00004019  0x00000bad icopy  0x0000001c 
+ 00004020  0x00000bae fetch  0x00000003 , 0x000040b2 
+ 00004021  0x00000baf icopy  0x0000001d 
+ 00004022  0x00000bb0 fetch  0x00000002 , 0x000040ac 
+ 00004023  0x00000bb1 icopy  0x0000002e 
+ 00004024  0x00000bb2 enable  0x00000009 
+ 00004025  0x00000bb3 enable  0x0000001c 
+ 00004026  0x00000bb4 copy  0x00000020 , 0x00000011 
+ 00004027  0x00000bb5 call  0x00001134 
+ 00004028  0x00000bb6 pulse  0x00000015 
+ 00004029  0x00000bb7 nop  0x00000020 
+ 00004030  0x00000bb8 copy  0x00000021 , 0x0000000b 
+ 00004031  0x00000bb9 fetch  0x00000004 , 0x000000b0 
+ 00004032  0x00000bba icopy  0x00000021 
+ 00004033  0x00000bbb preload  0x0000001e 
+ 00004034  0x00000bbc set1  0x0000003a , 0x0000003f 
+ 00004035  0x00000bbd inject  0x00000003 , 0x00000048 
+ 00004036  0x00000bbe preload  0x0000001f 
+ 00004037  0x00000bbf inject  0x00000003 , 0x00000048 
+ 00004038  0x00000bc0 copy  0x0000000b , 0x00000021 
+ 00004039  0x00000bc1 copy  0x00000011 , 0x00000020 
+ 00004040  0x00000bc2 enable  0x00000008 
+ 00004041  0x00000bc3 inject  0x00000003 , 0x00000010 
+ 00004042  0x00000bc4 disable  0x00000008 
+ 00004043  0x00000bc5 branch  0x00000e7c 
+ 00004044  0x00000bc8 disable  0x0000000e 
+ 00004045  0x00000bc9 branch  0x00000fd2 
+ 00004046  0x00000bcc bpatch  0x00000074 , 0x0000400e 
+ 00004047  0x00000bcd call  0x00000ddd 
+ 00004048  0x00000bce nbranch  0x00000fcc , 0x00000034 
+ 00004049  0x00000bcf enable  0x0000000e 
+ 00004050  0x00000bd1 enable  0x00000009 
+ 00004051  0x00000bd2 enable  0x0000001c 
+ 00004052  0x00000bd3 fetch  0x00000001 , 0x0000038a 
+ 00004053  0x00000bd4 and  0x0000003f , 0x000001f8 , 0x00000002 
+ 00004054  0x00000bd5 arg  0x0000038a , 0x00000006 
+ 00004055  0x00000bd6 increase  0x00000008 , 0x00000002 
+ 00004056  0x00000bd7 rshift3  0x00000002 , 0x00000039 
+ 00004057  0x00000bd9 ifetch  0x00000001 , 0x00000006 
+ 00004058  0x00000bda inject  0x00000003 , 0x00000008 
+ 00004059  0x00000bdb loop  0x00000fd9 
+ 00004060  0x00000bdc branch  0x0000100f 
+ 00004061  0x00000be0 enable  0x0000001c 
+ 00004062  0x00000be1 branch  0x00000fe8 
+ 00004063  0x00000be4 enable  0x0000001c 
+ 00004064  0x00000be5 set1  0x00000010 , 0x00000000 
+ 00004065  0x00000be6 branch  0x00000fe8 
+ 00004066  0x00000be9 set1  0x00000002 , 0x00000015 
+ 00004067  0x00000beb enable  0x0000001d 
+ 00004068  0x00000bec branch  0x00000fe8 
+ 00004069  0x00000bf0 set1  0x00000002 , 0x00000015 
+ 00004070  0x00000bf1 enable  0x0000001d 
+ 00004071  0x00000bf2 set1  0x00000010 , 0x00000000 
+ 00004072  0x00000bf5 bpatch  0x00000075 , 0x0000400e 
+ 00004073  0x00000bf6 fetch  0x00000001 , 0x0000004c 
+ 00004074  0x00000bf7 bbit0  0x00000005 , 0x00000ffd 
+ 00004075  0x00000bf8 sub  0x00000001 , 0x00000003 , 0x0000003e 
+ 00004076  0x00000bf9 branch  0x00000ffd , 0x00000002 
+ 00004077  0x00000bfa disable  0x0000000e 
+ 00004078  0x00000bfb disable  0x0000001c 
+ 00004079  0x00000bfc enable  0x0000001d 
+ 00004080  0x00000bfd disable  0x00000007 
+ 00004081  0x00000bfe set1  0x00000001 , 0x00000015 
+ 00004082  0x00000bff isolate1  0x00000002 , 0x00000015 
+ 00004083  0x00000c00 branch  0x00000ff7 , 0x00000001 
+ 00004084  0x00000c01 setarg  0x000abeee 
+ 00004085  0x00000c02 inject  0x00000003 , 0x00000014 
+ 00004086  0x00000c03 branch  0x00000ffb 
+ 00004087  0x00000c05 setarg  0x005faeba 
+ 00004088  0x00000c06 inject  0x00000003 , 0x00000018 
+ 00004089  0x00000c07 setarg  0x00000012 
+ 00004090  0x00000c08 inject  0x00000003 , 0x00000006 
+ 00004091  0x00000c0a enable  0x00000007 
+ 00004092  0x00000c0b set1  0x00000010 , 0x00000000 
+ 00004093  0x00000c0d enable  0x0000000e 
+ 00004094  0x00000c0e enable  0x00000009 
+ 00004095  0x00000c0f bmark1  0x00000005 , 0x0000101d 
+ 00004096  0x00000c10 fetch  0x00000001 , 0x000041e5 
+ 00004097  0x00000c11 inject  0x00000003 , 0x00000003 
+ 00004098  0x00000c12 fetch  0x00000002 , 0x000041e6 
+ 00004099  0x00000c13 iforce  0x00000039 
+ 00004100  0x00000c14 bmark1  0x00000010 , 0x00001007 
+ 00004101  0x00000c15 inject  0x00000003 , 0x00000005 
+ 00004102  0x00000c16 branch  0x00001008 
+ 00004103  0x00000c18 inject  0x00000003 , 0x0000000d 
+ 00004104  0x00000c1a deposit  0x00000039 
+ 00004105  0x00000c1b branch  0x0000100f , 0x00000034 
+ 00004106  0x00000c1c fetch  0x00000002 , 0x000000be 
+ 00004107  0x00000c1d iforce  0x00000006 
+ 00004108  0x00000c1f ifetch  0x00000001 , 0x00000006 
+ 00004109  0x00000c20 inject  0x00000003 , 0x00000008 
+ 00004110  0x00000c21 loop  0x0000100c 
+ 00004111  0x00000c25 bpatch  0x00000076 , 0x0000400e 
+ 00004112  0x00000c26 call  0x00000ddd 
+ 00004113  0x00000c27 branch  0x00001014 , 0x00000034 
+ 00004114  0x00000c28 fetch  0x00000004 , 0x0000026f 
+ 00004115  0x00000c29 inject  0x00000003 , 0x00000020 
+ 00004116  0x00000c2b enable  0x00000008 
+ 00004117  0x00000c2c inject  0x00000003 , 0x00000010 
+ 00004118  0x00000c2d disable  0x00000008 
+ 00004119  0x00000c2e call  0x00000ce4 
+ 00004120  0x00000c2f fetch  0x00000001 , 0x0000004c 
+ 00004121  0x00000c30 bbit0  0x00000005 , 0x00000e7c 
+ 00004122  0x00000c31 force  0x00000000 , 0x0000003f 
+ 00004123  0x00000c32 inject  0x00000003 , 0x00000006 
+ 00004124  0x00000c33 branch  0x00000e7c 
+ 00004125  0x00000c37 bpatch  0x00000077 , 0x0000400e 
+ 00004126  0x00000c38 bmark1  0x00000010 , 0x00001025 
+ 00004127  0x00000c3a fetch  0x00000001 , 0x000000e4 
+ 00004128  0x00000c3b inject  0x00000003 , 0x00000003 
+ 00004129  0x00000c3c fetch  0x00000001 , 0x000000ae 
+ 00004130  0x00000c3d iforce  0x00000013 
+ 00004131  0x00000c3e inject  0x00000003 , 0x00000005 
+ 00004132  0x00000c3f branch  0x0000102a 
+ 00004133  0x00000c41 fetch  0x00000001 , 0x000000e4 
+ 00004134  0x00000c42 inject  0x00000003 , 0x00000003 
+ 00004135  0x00000c43 fetch  0x00000002 , 0x000000ae 
+ 00004136  0x00000c44 iforce  0x00000013 
+ 00004137  0x00000c45 inject  0x00000003 , 0x0000000d 
+ 00004138  0x00000c47 arg  0x00001000 , 0x00000006 
+ 00004139  0x00000c49 copy  0x00000013 , 0x0000003e 
+ 00004140  0x00000c4a branch  0x00001031 , 0x00000005 
+ 00004141  0x00000c4b ifetch  0x00000001 , 0x00000006 
+ 00004142  0x00000c4c inject  0x00000003 , 0x00000008 
+ 00004143  0x00000c4d increase  0xffffffff , 0x00000013 
+ 00004144  0x00000c4e branch  0x0000102b 
+ 00004145  0x00000c50 fetch  0x00000002 , 0x000009fc 
+ 00004146  0x00000c51 increase  0x00000001 , 0x0000003f 
+ 00004147  0x00000c52 store  0x00000002 , 0x000009fc 
+ 00004148  0x00000c53 branch  0x0000100f 
+ 00004149  0x00000c57 fetch  0x00000004 , 0x000000b4 
+ 00004150  0x00000c58 add  0x0000003f , 0x00000007 , 0x00000011 
+ 00004151  0x00000c59 fetch  0x00000002 , 0x000000c0 
+ 00004152  0x00000c5a nbranch  0x0000103b , 0x00000034 
+ 00004153  0x00000c5b increase  0xfffffffd , 0x00000011 
+ 00004154  0x00000c5c branch  0x00001043 
+ 00004155  0x00000c5e mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00004156  0x00000c5f fetcht  0x00000002 , 0x00008040 
+ 00004157  0x00000c60 increase  0x00000001 , 0x00000002 
+ 00004158  0x00000c62 isub  0x00000002 , 0x0000003f 
+ 00004159  0x00000c63 nbranch  0x00001042 , 0x00000002 
+ 00004160  0x00000c64 increase  0xffffffff , 0x00000011 
+ 00004161  0x00000c65 branch  0x0000103e 
+ 00004162  0x00000c67 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00004163  0x00000c69 until  0x0000003e , 0x00000023 
+ 00004164  0x00000c6a compare  0x00000000 , 0x00000022 , 0x00000003 
+ 00004165  0x00000c6b nbranch  0x00001043 , 0x00000001 
+ 00004166  0x00000c6c iforce  0x00000029 
+ 00004167  0x00000c6d copy  0x00000011 , 0x00000028 
+ 00004168  0x00000c6e iforce  0x00000029 
+ 00004169  0x00000c6f rtn 
+ 00004170  0x00000c73 bpatch  0x00000078 , 0x0000400f 
+ 00004171  0x00000c74 until  0x0000003e , 0x00000022 
+ 00004172  0x00000c75 deposit  0x0000001a 
+ 00004173  0x00000c76 iforce  0x00000006 
+ 00004174  0x00000c77 rshift16 , 0x0000003f , 0x0000003f 
+ 00004175  0x00000c78 isub  0x00000022 , 0x00000039 
+ 00004176  0x00000c79 and_into  0x00000003 , 0x00000039 
+ 00004177  0x00000c7a nbranch  0x00001054 , 0x00000005 
+ 00004178  0x00000c7b force  0x00000000 , 0x0000003f 
+ 00004179  0x00000c7c branch  0x00001058 
+ 00004180  0x00000c7e fetcht  0x00000002 , 0x00000163 
+ 00004181  0x00000c7f force  0x00000000 , 0x0000003f 
+ 00004182  0x00000c81 iadd  0x00000002 , 0x0000003f 
+ 00004183  0x00000c82 loop  0x00001056 
+ 00004184  0x00000c84 iadd  0x00000006 , 0x0000003f 
+ 00004185  0x00000c85 div  0x0000003f , 0x0000000c 
+ 00004186  0x00000c86 call  0x00007e61 
+ 00004187  0x00000c87 store  0x00000002 , 0x000000c0 
+ 00004188  0x00000c88 rtn 
+ 00004189  0x00000c8b bpatch  0x00000079 , 0x0000400f 
+ 00004190  0x00000c8c deposit  0x0000001a 
+ 00004191  0x00000c8d copy  0x00000019 , 0x00000002 
+ 00004192  0x00000c8e isub  0x00000002 , 0x0000003e 
+ 00004193  0x00000c8f nsetflag  0x00000002 , 0x0000002c , 0x0000003f 
+ 00004194  0x00000c90 isub  0x00000002 , 0x00000002 
+ 00004195  0x00000c91 fetch  0x00000002 , 0x00000163 
+ 00004196  0x00000c92 isolate0  0x0000000f , 0x00000002 
+ 00004197  0x00000c93 branch  0x0000106b , 0x00000001 
+ 00004198  0x00000c94 copy  0x00000002 , 0x00000030 
+ 00004199  0x00000c95 arg  0x00010000 , 0x00000002 
+ 00004200  0x00000c96 fetch  0x00000002 , 0x00000163 
+ 00004201  0x00000c97 isub  0x00000002 , 0x0000003f 
+ 00004202  0x00000c98 iadd  0x00000030 , 0x00000002 
+ 00004203  0x00000c9b storet  0x00000006 , 0x0000028f 
+ 00004204  0x00000c9c rtn  0x00000036 
+ 00004205  0x00000c9d storet  0x00000006 , 0x00000038 
+ 00004206  0x00000c9e rtn 
+ 00004207  0x00000ca1 disable  0x00000030 
+ 00004208  0x00000ca2 fetch  0x00000006 , 0x0000028f 
+ 00004209  0x00000ca3 branch  0x00001073 , 0x00000036 
+ 00004210  0x00000ca4 fetch  0x00000006 , 0x00000038 
+ 00004211  0x00000ca6 iadd  0x00000019 , 0x00000030 
+ 00004212  0x00000ca7 increase  0x0000000a , 0x00000030 
+ 00004213  0x00000ca8 fetch  0x00000002 , 0x00000163 
+ 00004214  0x00000ca9 isub  0x00000030 , 0x0000003f 
+ 00004215  0x00000caa isolate0  0x0000000f , 0x0000003f 
+ 00004216  0x00000cab branch  0x0000107f , 0x00000001 
+ 00004217  0x00000cac setarg  0x00010000 
+ 00004218  0x00000cad fetchr  0x00000018 , 0x00000002 , 0x00000163 
+ 00004219  0x00000cae isub  0x00000018 , 0x0000003f 
+ 00004220  0x00000caf iadd  0x00000030 , 0x00000030 
+ 00004221  0x00000cb1 copy  0x00000030 , 0x0000001a 
+ 00004222  0x00000cb2 rtn 
+ 00004223  0x00000cb4 force  0x00000000 , 0x0000003e 
+ 00004224  0x00000cb5 branch  0x0000107d 
+ 00004225  0x00000cbc branch  0x000010a9 , 0x00000036 
+ 00004226  0x00000cbd setarg  0x00402c17 
+ 00004227  0x00000cbe store  0x00000003 , 0x000009ee 
+ 00004228  0x00000cbf rshift16  0x00000009 , 0x0000003f 
+ 00004229  0x00000cc0 rshift3  0x0000003f , 0x00000002 
+ 00004230  0x00000cc1 arg  0x00000030 , 0x00000039 
+ 00004231  0x00000cc3 setarg  0x00000000 
+ 00004232  0x00000cc4 store  0x00000003 , 0x000009f1 
+ 00004233  0x00000cc6 rshift  0x00000002 , 0x0000003f 
+ 00004234  0x00000cc7 ixor  0x00000002 , 0x0000003f 
+ 00004235  0x00000cc8 and_into  0x00000003 , 0x0000003f 
+ 00004236  0x00000cc9 bbit0  0x00000001 , 0x0000108e 
+ 00004237  0x00000cca pincrease  0xffffffff 
+ 00004238  0x00000ccc arg  0x000009f1 , 0x00000005 
+ 00004239  0x00000ccd iadd  0x00000005 , 0x00000005 
+ 00004240  0x00000cce ifetch  0x00000001 , 0x00000005 
+ 00004241  0x00000ccf pincrease  0x00000001 
+ 00004242  0x00000cd0 istore  0x00000001 , 0x00000005 
+ 00004243  0x00000cd1 rshift  0x00000002 , 0x00000002 
+ 00004244  0x00000cd2 loop  0x00001089 
+ 00004245  0x00000cd3 arg  0x000009f3 , 0x00000011 
+ 00004246  0x00000cd4 arg  0x000009ee , 0x00000012 
+ 00004247  0x00000cd5 arg  0x00000000 , 0x00000013 
+ 00004248  0x00000cd6 arg  0x00000003 , 0x00000039 
+ 00004249  0x00000cd8 ifetch  0x00000001 , 0x00000011 
+ 00004250  0x00000cd9 ifetcht  0x00000001 , 0x00000012 
+ 00004251  0x00000cda imul32  0x00000002 , 0x0000003f 
+ 00004252  0x00000cdb iadd  0x00000013 , 0x00000013 
+ 00004253  0x00000cdc increase  0xffffffff , 0x00000011 
+ 00004254  0x00000cdd increase  0x00000001 , 0x00000012 
+ 00004255  0x00000cde loop  0x00001099 
+ 00004256  0x00000cdf fetch  0x00000001 , 0x000009ef 
+ 00004257  0x00000ce0 lshift8  0x0000003f , 0x0000003f 
+ 00004258  0x00000ce1 lshift4  0x0000003f , 0x0000003f 
+ 00004259  0x00000ce2 idiv  0x00000013 
+ 00004260  0x00000ce3 call  0x00007e64 
+ 00004261  0x00000ce4 quotient  0x0000003f 
+ 00004262  0x00000ce5 store  0x00000002 , 0x00008938 
+ 00004263  0x00000ce6 store  0x00000002 , 0x000009f4 
+ 00004264  0x00000ce7 rtn 
+ 00004265  0x00000cea fetch  0x00000002 , 0x000009f4 
+ 00004266  0x00000ceb store  0x00000002 , 0x00008938 
+ 00004267  0x00000cec rtn 
+ 00004268  0x00000cef setarg  0x00402d19 
+ 00004269  0x00000cf0 store  0x00000003 , 0x000009ee 
+ 00004270  0x00000cf1 rshift32  0x00000009 , 0x0000003f 
+ 00004271  0x00000cf2 rshift3  0x0000003f , 0x00000002 
+ 00004272  0x00000cf3 arg  0x00000020 , 0x00000039 
+ 00004273  0x00000cf4 branch  0x00001087 
+ 00004274  0x00000cf7 bpatch  0x0000007a , 0x0000400f 
+ 00004275  0x00000cf8 call  0x0000115d 
+ 00004276  0x00000cf9 copy  0x00000021 , 0x0000003f 
+ 00004277  0x00000cfa and_into  0x00000180 , 0x0000003f 
+ 00004278  0x00000cfb compare  0x00000003 , 0x00000024 , 0x00000007 
+ 00004279  0x00000cfc nbranch  0x000010bb , 0x00000001 
+ 00004280  0x00000cfd rshift3  0x0000003f , 0x0000003f 
+ 00004281  0x00000cfe iadd  0x00000017 , 0x0000003f 
+ 00004282  0x00000cff branch  0x000010bc 
+ 00004283  0x00000d01 copy  0x00000017 , 0x0000003f 
+ 00004284  0x00000d03 div  0x0000003f , 0x0000004f 
+ 00004285  0x00000d04 pulse  0x00000015 
+ 00004286  0x00000d05 call  0x00007e64 
+ 00004287  0x00000d06 remainder  0x00000011 
+ 00004288  0x00000d07 add  0x00000011 , 0xffffffd8 , 0x00000002 
+ 00004289  0x00000d08 branch  0x000010c4 , 0x00000002 
+ 00004290  0x00000d09 lshift  0x00000011 , 0x00000002 
+ 00004291  0x00000d0a branch  0x000010c6 
+ 00004292  0x00000d0c lshift  0x00000002 , 0x00000002 
+ 00004293  0x00000d0d increase  0x00000001 , 0x00000002 
+ 00004294  0x00000d0f bpatch  0x0000007b , 0x0000400f 
+ 00004295  0x00000d10 fetch  0x00000001 , 0x00000031 
+ 00004296  0x00000d11 bbit0  0x00000003 , 0x000010d7 
+ 00004297  0x00000d13 fetch  0x00000004 , 0x000040d9 
+ 00004298  0x00000d14 isub  0x00000021 , 0x0000003e 
+ 00004299  0x00000d15 branch  0x000010d7 , 0x00000002 
+ 00004300  0x00000d16 call  0x000010f6 
+ 00004301  0x00000d17 fetch  0x00000001 , 0x000040e0 
+ 00004302  0x00000d18 rtn  0x00000034 
+ 00004303  0x00000d19 fetch  0x00000001 , 0x00000031 
+ 00004304  0x00000d1a set1  0x00000002 , 0x0000003f 
+ 00004305  0x00000d1b store  0x00000001 , 0x00000031 
+ 00004306  0x00000d1c fetch  0x00000005 , 0x000040ee 
+ 00004307  0x00000d1d store  0x00000005 , 0x000040e1 
+ 00004308  0x00000d1e ifetch  0x00000005 , 0x00000006 
+ 00004309  0x00000d1f store  0x00000005 , 0x000040e6 
+ 00004310  0x00000d20 call  0x000010fb 
+ 00004311  0x00000d22 fetch  0x00000001 , 0x00000031 
+ 00004312  0x00000d23 rtnbit0  0x00000002 
+ 00004313  0x00000d24 isolate1  0x00000001 , 0x00000021 
+ 00004314  0x00000d25 branch  0x000010f3 , 0x00000001 
+ 00004315  0x00000d26 rshift3  0x00000002 , 0x00000011 
+ 00004316  0x00000d27 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00004317  0x00000d28 setarg  0x000040e1 
+ 00004318  0x00000d29 iadd  0x00000011 , 0x00000011 
+ 00004319  0x00000d2a ifetch  0x00000001 , 0x00000011 
+ 00004320  0x00000d2b qisolate0  0x0000003f 
+ 00004321  0x00000d2c branch  0x000010e4 , 0x00000001 
+ 00004322  0x00000d2d deposit  0x00000002 
+ 00004323  0x00000d2e branch  0x000010f0 
+ 00004324  0x00000d30 fetch  0x00000001 , 0x000040eb 
+ 00004325  0x00000d31 iforce  0x00000012 
+ 00004326  0x00000d32 deposit  0x00000021 
+ 00004327  0x00000d33 and_into  0x00000180 , 0x0000003f 
+ 00004328  0x00000d34 rshift3  0x0000003f , 0x0000003f 
+ 00004329  0x00000d35 iadd  0x00000017 , 0x0000003f 
+ 00004330  0x00000d36 idiv  0x00000012 
+ 00004331  0x00000d37 setarg  0x000040f9 
+ 00004332  0x00000d38 call  0x00007e64 
+ 00004333  0x00000d39 remainder  0x00000011 
+ 00004334  0x00000d3a iadd  0x00000011 , 0x00000006 
+ 00004335  0x00000d3b ifetch  0x00000001 , 0x00000006 
+ 00004336  0x00000d3d store  0x00000001 , 0x000040ec 
+ 00004337  0x00000d3e iforce  0x00000002 
+ 00004338  0x00000d3f rtn 
+ 00004339  0x00000d42 fetch  0x00000001 , 0x000040ec 
+ 00004340  0x00000d43 iforce  0x00000002 
+ 00004341  0x00000d44 rtn 
+ 00004342  0x00000d47 fetch  0x00000001 , 0x00000031 
+ 00004343  0x00000d48 set0  0x00000002 , 0x0000003f 
+ 00004344  0x00000d49 set0  0x00000003 , 0x0000003f 
+ 00004345  0x00000d4a store  0x00000001 , 0x00000031 
+ 00004346  0x00000d4b rtn 
+ 00004347  0x00000d4d bpatch  0x0000007c , 0x0000400f 
+ 00004348  0x00000d4e arg  0x000040f9 , 0x00000005 
+ 00004349  0x00000d4f force  0x0000000a , 0x00000039 
+ 00004350  0x00000d50 call  0x00007d8c 
+ 00004351  0x00000d51 arg  0x000040f9 , 0x00000005 
+ 00004352  0x00000d52 force  0x00000000 , 0x00000013 
+ 00004353  0x00000d53 force  0x00000002 , 0x00000007 
+ 00004354  0x00000d55 fetch  0x00000005 , 0x000040e1 
+ 00004355  0x00000d56 iforce  0x00000002 
+ 00004356  0x00000d57 compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00004357  0x00000d58 branch  0x00001107 , 0x00000001 
+ 00004358  0x00000d59 rshift  0x00000002 , 0x00000002 
+ 00004359  0x00000d5b isolate0  0x00000000 , 0x00000002 
+ 00004360  0x00000d5c branch  0x0000110b , 0x00000001 
+ 00004361  0x00000d5d deposit  0x00000013 
+ 00004362  0x00000d5e istore  0x00000001 , 0x00000005 
+ 00004363  0x00000d60 rshift2  0x00000002 , 0x00000002 
+ 00004364  0x00000d61 increase  0x00000002 , 0x00000013 
+ 00004365  0x00000d62 compare  0x00000028 , 0x00000013 , 0x000000fe 
+ 00004366  0x00000d63 nbranch  0x00001114 , 0x00000001 
+ 00004367  0x00000d64 fetch  0x00000005 , 0x000040e6 
+ 00004368  0x00000d65 iforce  0x00000002 
+ 00004369  0x00000d66 compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00004370  0x00000d67 branch  0x00001114 , 0x00000001 
+ 00004371  0x00000d68 rshift  0x00000002 , 0x00000002 
+ 00004372  0x00000d6a sub  0x00000013 , 0x0000004e , 0x0000003e 
+ 00004373  0x00000d6b branch  0x00001107 , 0x00000002 
+ 00004374  0x00000d6c force  0x00000001 , 0x00000013 
+ 00004375  0x00000d6d increase  0xffffffff , 0x00000007 
+ 00004376  0x00000d6e nbranch  0x00001102 , 0x00000005 
+ 00004377  0x00000d6f arg  0x000040f9 , 0x00000011 
+ 00004378  0x00000d70 deposit  0x00000005 
+ 00004379  0x00000d71 isub  0x00000011 , 0x0000003f 
+ 00004380  0x00000d72 store  0x00000001 , 0x000040eb 
+ 00004381  0x00000d73 rtn 
+ 00004382  0x00000d76 bpatch  0x0000007d , 0x0000400f 
+ 00004383  0x00000d77 call  0x000010b2 
+ 00004384  0x00000d78 fetch  0x00000001 , 0x000000e3 
+ 00004385  0x00000d79 bbit0  0x00000005 , 0x00001123 
+ 00004386  0x00000d7a fetcht  0x00000001 , 0x000003a0 
+ 00004387  0x00000d7c branch  0x0000118b 
+ 00004388  0x00000d80 bpatch  0x0000007e , 0x0000400f 
+ 00004389  0x00000d81 call  0x000010b2 
+ 00004390  0x00000d82 fetch  0x00000001 , 0x000000e3 
+ 00004391  0x00000d83 bbit0  0x00000004 , 0x00001129 
+ 00004392  0x00000d84 fetcht  0x00000001 , 0x0000039f 
+ 00004393  0x00000d86 branch  0x00001201 
+ 00004394  0x00000d8a force  0x00000000 , 0x0000002d 
+ 00004395  0x00000d8b fetch  0x00000003 , 0x000040af 
+ 00004396  0x00000d8c iforce  0x0000002c 
+ 00004397  0x00000d8d rtn 
+ 00004398  0x00000d90 bpatch  0x0000007f , 0x0000400f 
+ 00004399  0x00000d91 fetch  0x00000001 , 0x000041e0 
+ 00004400  0x00000d92 icopy  0x0000002d 
+ 00004401  0x00000d93 fetch  0x00000003 , 0x000041dd 
+ 00004402  0x00000d94 icopy  0x0000002c 
+ 00004403  0x00000d95 rtn 
+ 00004404  0x00000d98 bpatch  0x00000080 , 0x00004010 
+ 00004405  0x00000d99 fetch  0x00000002 , 0x000040ac 
+ 00004406  0x00000d9a icopy  0x0000002e 
+ 00004407  0x00000d9b fetch  0x00000001 , 0x000040ab 
+ 00004408  0x00000d9c icopy  0x0000002d 
+ 00004409  0x00000d9d fetch  0x00000003 , 0x000040a8 
+ 00004410  0x00000d9e icopy  0x0000002c 
+ 00004411  0x00000d9f rtn 
+ 00004412  0x00000da2 bpatch  0x00000081 , 0x00004010 
+ 00004413  0x00000da3 fetch  0x00000002 , 0x00000044 
+ 00004414  0x00000da4 icopy  0x0000002e 
+ 00004415  0x00000da5 fetch  0x00000001 , 0x00000043 
+ 00004416  0x00000da6 icopy  0x0000002d 
+ 00004417  0x00000da7 fetch  0x00000003 , 0x00000040 
+ 00004418  0x00000da8 icopy  0x0000002c 
+ 00004419  0x00000da9 rtn 
+ 00004420  0x00000dad bmark1  0x00000020 , 0x00001147 
+ 00004421  0x00000dae rtnmark0  0x0000001d 
+ 00004422  0x00000daf rtnmark0  0x0000001f 
+ 00004423  0x00000db1 and_into  0xffffff00 , 0x0000002c 
+ 00004424  0x00000db2 pulse  0x00000015 
+ 00004425  0x00000db3 nop  0x00000020 
+ 00004426  0x00000db4 rtn 
+ 00004427  0x00000db8 bpatch  0x00000082 , 0x00004010 
+ 00004428  0x00000db9 call  0x00004d0b 
+ 00004429  0x00000dba force  0x00000008 , 0x00000015 
+ 00004430  0x00000dbb force  0x00000000 , 0x00000015 
+ 00004431  0x00000dbc disable  0x00000021 
+ 00004432  0x00000dbd disable  0x00000020 
+ 00004433  0x00000dbe pulse  0x0000001e 
+ 00004434  0x00000dbf jam  0x00000005 , 0x00008900 
+ 00004435  0x00000dc0 nop  0x00000002 
+ 00004436  0x00000dc1 jam  0x00000000 , 0x00008900 
+ 00004437  0x00000dc2 call  0x0000115d 
+ 00004438  0x00000dc3 jam  0x00000000 , 0x00008a16 
+ 00004439  0x00000dc4 jam  0x00000010 , 0x00008a0a 
+ 00004440  0x00000dc5 fetch  0x00000001 , 0x00008a09 
+ 00004441  0x00000dc6 set0  0x00000007 , 0x0000003f 
+ 00004442  0x00000dc7 store  0x00000001 , 0x00008a09 
+ 00004443  0x00000dc8 jam  0x00000000 , 0x00008a0b 
+ 00004444  0x00000dc9 branch  0x0000129e 
+ 00004445  0x00000dce bpatch  0x00000083 , 0x00004010 
+ 00004446  0x00000dcf jam  0x00000005 , 0x00008900 
+ 00004447  0x00000dd0 nop  0x00000002 
+ 00004448  0x00000dd1 jam  0x00000000 , 0x00008900 
+ 00004449  0x00000dd2 fetch  0x00000001 , 0x000040c5 
+ 00004450  0x00000dd3 beq  0x00000018 , 0x00001164 
+ 00004451  0x00000dd4 beq  0x00000008 , 0x00001179 
+ 00004452  0x00000dd6 jam  0x000000aa , 0x00008a10 
+ 00004453  0x00000dd7 jam  0x000000aa , 0x00008a11 
+ 00004454  0x00000dd8 jam  0x00000015 , 0x00008a12 
+ 00004455  0x00000dda jam  0x00000078 , 0x00008a0a 
+ 00004456  0x00000ddb fetch  0x00000001 , 0x00008a09 
+ 00004457  0x00000ddc set1  0x00000007 , 0x0000003f 
+ 00004458  0x00000ddd store  0x00000001 , 0x00008a09 
+ 00004459  0x00000dde jam  0x00000004 , 0x00008a0b 
+ 00004460  0x00000ddf nop  0x0000003c 
+ 00004461  0x00000de0 jam  0x0000007a , 0x00008a16 
+ 00004462  0x00000de1 jam  0x00000000 , 0x00008a17 
+ 00004463  0x00000de2 jam  0x00000000 , 0x00008a18 
+ 00004464  0x00000de3 jam  0x00000000 , 0x00008a19 
+ 00004465  0x00000de4 jam  0x00000000 , 0x00008a1a 
+ 00004466  0x00000de6 jam  0x0000002a , 0x00008a11 
+ 00004467  0x00000de7 jam  0x00000078 , 0x00008a0a 
+ 00004468  0x00000de9 fetch  0x00000001 , 0x00008a09 
+ 00004469  0x00000dea set0  0x00000007 , 0x0000003f 
+ 00004470  0x00000deb store  0x00000001 , 0x00008a09 
+ 00004471  0x00000dec jam  0x00000000 , 0x00008a43 
+ 00004472  0x00000ded rtn 
+ 00004473  0x00000df0 jam  0x000000e6 , 0x00008a8b 
+ 00004474  0x00000df2 jam  0x000000aa , 0x00008a10 
+ 00004475  0x00000df3 jam  0x000000aa , 0x00008a11 
+ 00004476  0x00000df4 jam  0x00000015 , 0x00008a12 
+ 00004477  0x00000df6 jam  0x00000078 , 0x00008a0a 
+ 00004478  0x00000df7 fetch  0x00000001 , 0x00008a09 
+ 00004479  0x00000df8 set1  0x00000007 , 0x0000003f 
+ 00004480  0x00000df9 store  0x00000001 , 0x00008a09 
+ 00004481  0x00000dfa jam  0x00000004 , 0x00008a0b 
+ 00004482  0x00000dfb nop  0x0000003c 
+ 00004483  0x00000dfc jam  0x0000003a , 0x00008a16 
+ 00004484  0x00000dfd jam  0x00000000 , 0x00008a17 
+ 00004485  0x00000dfe jam  0x00000000 , 0x00008a18 
+ 00004486  0x00000dff jam  0x00000000 , 0x00008a19 
+ 00004487  0x00000e00 jam  0x00000000 , 0x00008a1a 
+ 00004488  0x00000e02 jam  0x0000002a , 0x00008a11 
+ 00004489  0x00000e03 jam  0x00000038 , 0x00008a0a 
+ 00004490  0x00000e04 branch  0x00001174 
+ 00004491  0x00000e07 bpatch  0x00000084 , 0x00004010 
+ 00004492  0x00000e09 fetch  0x00000001 , 0x000040c5 
+ 00004493  0x00000e0a sub  0x0000003f , 0x00000018 , 0x0000003e 
+ 00004494  0x00000e0b call  0x00001196 , 0x00000005 
+ 00004495  0x00000e0c ncall  0x0000119c , 0x00000005 
+ 00004496  0x00000e0e storet  0x00000001 , 0x00000017 
+ 00004497  0x00000e0f add  0x00000002 , 0x00000000 , 0x0000003f 
+ 00004498  0x00000e10 bmark1  0x0000002d , 0x00001194 
+ 00004499  0x00000e11 add  0x00000002 , 0x00000001 , 0x0000003f 
+ 00004500  0x00000e13 call  0x000011c1 
+ 00004501  0x00000e14 branch  0x00001081 
+ 00004502  0x00000e18 jam  0x00000000 , 0x00008a43 
+ 00004503  0x00000e19 jam  0x00000004 , 0x00008a3d 
+ 00004504  0x00000e1a jam  0x00000000 , 0x00008a3e 
+ 00004505  0x00000e1b jam  0x00000003 , 0x00008a84 
+ 00004506  0x00000e1c jam  0x00000040 , 0x00008a89 
+ 00004507  0x00000e1d rtn 
+ 00004508  0x00000e1f jam  0x00000030 , 0x00008a43 
+ 00004509  0x00000e20 jam  0x00000006 , 0x00008a3d 
+ 00004510  0x00000e21 jam  0x00000000 , 0x00008a3e 
+ 00004511  0x00000e22 jam  0x00000020 , 0x00008a84 
+ 00004512  0x00000e23 jam  0x00000015 , 0x00008a89 
+ 00004513  0x00000e24 rtn 
+ 00004514  0x00000e27 bpatch  0x00000085 , 0x00004010 
+ 00004515  0x00000e28 call  0x00004d05 
+ 00004516  0x00000e2a fetch  0x00000001 , 0x000041ea 
+ 00004517  0x00000e2b beq  0x000000ff , 0x000011ab 
+ 00004518  0x00000e2c arg  0x000041eb , 0x00000006 
+ 00004519  0x00000e2d iadd  0x00000006 , 0x00000006 
+ 00004520  0x00000e2e ifetch  0x00000001 , 0x00000006 
+ 00004521  0x00000e2f store  0x00000001 , 0x00008961 
+ 00004522  0x00000e30 jam  0x00000027 , 0x00008960 
+ 00004523  0x00000e33 fetcht  0x00000001 , 0x000041ee 
+ 00004524  0x00000e34 fetch  0x00000001 , 0x00008960 
+ 00004525  0x00000e35 ior  0x00000002 , 0x0000003f 
+ 00004526  0x00000e36 store  0x00000001 , 0x00008960 
+ 00004527  0x00000e38 jam  0x000000aa , 0x00008a10 
+ 00004528  0x00000e39 jam  0x0000002a , 0x00008a11 
+ 00004529  0x00000e3a jam  0x00000013 , 0x00008a12 
+ 00004530  0x00000e3b jam  0x0000007f , 0x00008a0a 
+ 00004531  0x00000e3c fetch  0x00000001 , 0x00008a09 
+ 00004532  0x00000e3d set0  0x00000007 , 0x0000003f 
+ 00004533  0x00000e3e store  0x00000001 , 0x00008a09 
+ 00004534  0x00000e3f nop  0x0000003c 
+ 00004535  0x00000e40 jam  0x0000001f , 0x00008a17 
+ 00004536  0x00000e41 jam  0x000000f8 , 0x00008a18 
+ 00004537  0x00000e42 jam  0x00000018 , 0x00008a19 
+ 00004538  0x00000e43 jam  0x00000000 , 0x00008a10 
+ 00004539  0x00000e44 jam  0x00000020 , 0x00008a11 
+ 00004540  0x00000e45 nop  0x0000000a 
+ 00004541  0x00000e46 jam  0x00000004 , 0x00008900 
+ 00004542  0x00000e47 nop  0x00000002 
+ 00004543  0x00000e48 jam  0x0000000c , 0x00008900 
+ 00004544  0x00000e49 rtn 
+ 00004545  0x00000e4e bpatch  0x00000086 , 0x00004010 
+ 00004546  0x00000e4f arg  0x00000960 , 0x00000006 
+ 00004547  0x00000e50 iadd  0x00000006 , 0x0000003f 
+ 00004548  0x00000e51 fetcht  0x00000001 , 0x000040c5 
+ 00004549  0x00000e52 branch  0x000011d0 
+ 00004550  0x00000e56 bpatch  0x00000087 , 0x00004010 
+ 00004551  0x00000e57 fetch  0x00000001 , 0x000040c5 
+ 00004552  0x00000e58 sub  0x0000003f , 0x00000018 , 0x0000003e 
+ 00004553  0x00000e59 call  0x000011f3 , 0x00000005 
+ 00004554  0x00000e5a ncall  0x000011fa , 0x00000005 
+ 00004555  0x00000e5c setarg  0x00000960 
+ 00004556  0x00000e5d iadd  0x00000011 , 0x0000003f 
+ 00004557  0x00000e5e lshift  0x0000003f , 0x0000003f 
+ 00004558  0x00000e5f fetcht  0x00000001 , 0x000040c5 
+ 00004559  0x00000e60 mul32  0x00000002 , 0x00000003 , 0x00000002 
+ 00004560  0x00000e62 lshift  0x00000002 , 0x00000002 
+ 00004561  0x00000e63 idiv  0x00000002 
+ 00004562  0x00000e64 call  0x00007e64 
+ 00004563  0x00000e65 quotient  0x0000003f 
+ 00004564  0x00000e66 store  0x00000001 , 0x00008a3f 
+ 00004565  0x00000e67 remainder  0x0000003f 
+ 00004566  0x00000e68 lshift16  0x0000003f , 0x0000003f 
+ 00004567  0x00000e69 lshift8  0x0000003f , 0x0000003f 
+ 00004568  0x00000e6a idiv  0x00000002 
+ 00004569  0x00000e6b call  0x00007e64 
+ 00004570  0x00000e6c quotient  0x0000003f 
+ 00004571  0x00000e6d store  0x00000001 , 0x00008a42 
+ 00004572  0x00000e6e rshift8  0x0000003f , 0x0000003f 
+ 00004573  0x00000e6f store  0x00000001 , 0x00008a41 
+ 00004574  0x00000e70 rshift8  0x0000003f , 0x0000003f 
+ 00004575  0x00000e71 store  0x00000001 , 0x00008a40 
+ 00004576  0x00000e72 fetcht  0x00000001 , 0x00008a43 
+ 00004577  0x00000e73 and_into  0x000000f0 , 0x00000002 
+ 00004578  0x00000e74 storet  0x00000001 , 0x00008a43 
+ 00004579  0x00000e75 nop  0x0000000c 
+ 00004580  0x00000e76 fetch  0x00000001 , 0x000040c5 
+ 00004581  0x00000e77 beq  0x00000018 , 0x000011e7 
+ 00004582  0x00000e78 beq  0x00000008 , 0x000011ed 
+ 00004583  0x00000e7a or_into  0x0000000c , 0x00000002 
+ 00004584  0x00000e7b storet  0x00000001 , 0x00008a43 
+ 00004585  0x00000e7c nop  0x0000000c 
+ 00004586  0x00000e7d or_into  0x00000003 , 0x00000002 
+ 00004587  0x00000e7e storet  0x00000001 , 0x00008a43 
+ 00004588  0x00000e7f rtn 
+ 00004589  0x00000e82 or_into  0x0000003c , 0x00000002 
+ 00004590  0x00000e83 storet  0x00000001 , 0x00008a43 
+ 00004591  0x00000e84 nop  0x0000000c 
+ 00004592  0x00000e85 or_into  0x00000033 , 0x00000002 
+ 00004593  0x00000e86 storet  0x00000001 , 0x00008a43 
+ 00004594  0x00000e87 rtn 
+ 00004595  0x00000e8b jam  0x00000000 , 0x00008a43 
+ 00004596  0x00000e8c jam  0x00000012 , 0x00008a3d 
+ 00004597  0x00000e8d jam  0x00000000 , 0x00008a3e 
+ 00004598  0x00000e8e jam  0x00000003 , 0x00008a84 
+ 00004599  0x00000e8f jam  0x000000a6 , 0x00008a8b 
+ 00004600  0x00000e90 jam  0x00000040 , 0x00008a89 
+ 00004601  0x00000e91 rtn 
+ 00004602  0x00000e94 jam  0x00000030 , 0x00008a43 
+ 00004603  0x00000e95 jam  0x00000015 , 0x00008a3d 
+ 00004604  0x00000e96 jam  0x00000000 , 0x00008a3e 
+ 00004605  0x00000e97 jam  0x00000020 , 0x00008a84 
+ 00004606  0x00000e98 jam  0x000000a6 , 0x00008a8b 
+ 00004607  0x00000e99 jam  0x00000015 , 0x00008a89 
+ 00004608  0x00000e9a rtn 
+ 00004609  0x00000e9e bpatch  0x00000088 , 0x00004011 
+ 00004610  0x00000ea0 jam  0x00000012 , 0x00008a3d 
+ 00004611  0x00000ea1 storet  0x00000001 , 0x00000017 
+ 00004612  0x00000ea2 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00004613  0x00000ea3 call  0x000011c6 
+ 00004614  0x00000ea4 nop  0x000003c0 
+ 00004615  0x00000ea7 bpatch  0x00000089 , 0x00004011 
+ 00004616  0x00000ea9 jam  0x000000aa , 0x00008a10 
+ 00004617  0x00000eaa jam  0x0000002a , 0x00008a11 
+ 00004618  0x00000eab jam  0x00000010 , 0x00008a12 
+ 00004619  0x00000ead jam  0x0000007f , 0x00008a0a 
+ 00004620  0x00000eae fetch  0x00000001 , 0x00008a09 
+ 00004621  0x00000eaf set0  0x00000007 , 0x0000003f 
+ 00004622  0x00000eb0 store  0x00000001 , 0x00008a09 
+ 00004623  0x00000eb1 jam  0x00000007 , 0x00008a0b 
+ 00004624  0x00000eb2 nop  0x0000003c 
+ 00004625  0x00000eb4 jam  0x0000000d , 0x00008a19 
+ 00004626  0x00000eb5 jam  0x000000f9 , 0x00008a1a 
+ 00004627  0x00000eb6 jam  0x00000000 , 0x00008a10 
+ 00004628  0x00000eb7 jam  0x00000020 , 0x00008a11 
+ 00004629  0x00000eb8 nop  0x0000000a 
+ 00004630  0x00000eb9 jam  0x00000001 , 0x00008900 
+ 00004631  0x00000eba nop  0x00000002 
+ 00004632  0x00000ebb jam  0x00000003 , 0x00008900 
+ 00004633  0x00000ebd bpatch  0x0000008a , 0x00004011 
+ 00004634  0x00000ebe fetch  0x00000001 , 0x000041e8 
+ 00004635  0x00000ebf beq  0x00000003 , 0x00001229 
+ 00004636  0x00000ec0 beq  0x00000005 , 0x0000122e 
+ 00004637  0x00000ec1 beq  0x00000006 , 0x00001231 
+ 00004638  0x00000ec2 beq  0x00000007 , 0x00001234 
+ 00004639  0x00000ec3 beq  0x0000000a , 0x00001237 
+ 00004640  0x00000ec4 beq  0x00000083 , 0x0000123a 
+ 00004641  0x00000ec5 beq  0x00000085 , 0x0000123d 
+ 00004642  0x00000ec6 beq  0x00000094 , 0x00001240 
+ 00004643  0x00000ec7 beq  0x0000009e , 0x00001243 
+ 00004644  0x00000ec9 jam  0x0000006a , 0x00008a39 
+ 00004645  0x00000eca jam  0x00000007 , 0x00008a3a 
+ 00004646  0x00000ecc jam  0x000000a3 , 0x00008a14 
+ 00004647  0x00000ecd jam  0x00000007 , 0x00008a15 
+ 00004648  0x00000ece rtn 
+ 00004649  0x00000ed1 jam  0x00000066 , 0x00008a39 
+ 00004650  0x00000ed2 jam  0x0000000b , 0x00008a3a 
+ 00004651  0x00000ed4 jam  0x000000aa , 0x00008a14 
+ 00004652  0x00000ed5 jam  0x0000000a , 0x00008a15 
+ 00004653  0x00000ed6 rtn 
+ 00004654  0x00000ed9 jam  0x0000006c , 0x00008a39 
+ 00004655  0x00000eda jam  0x0000000d , 0x00008a3a 
+ 00004656  0x00000edb branch  0x0000122b 
+ 00004657  0x00000ede jam  0x0000006b , 0x00008a39 
+ 00004658  0x00000edf jam  0x0000000f , 0x00008a3a 
+ 00004659  0x00000ee0 branch  0x0000122b 
+ 00004660  0x00000ee3 jam  0x000000a7 , 0x00008a39 
+ 00004661  0x00000ee4 jam  0x0000000f , 0x00008a3a 
+ 00004662  0x00000ee5 branch  0x0000122b 
+ 00004663  0x00000ee8 jam  0x000000b6 , 0x00008a39 
+ 00004664  0x00000ee9 jam  0x0000000f , 0x00008a3a 
+ 00004665  0x00000eea branch  0x0000122b 
+ 00004666  0x00000eed jam  0x00000068 , 0x00008a39 
+ 00004667  0x00000eee jam  0x00000005 , 0x00008a3a 
+ 00004668  0x00000eef branch  0x00001226 
+ 00004669  0x00000ef2 jam  0x00000060 , 0x00008a39 
+ 00004670  0x00000ef3 jam  0x00000005 , 0x00008a3a 
+ 00004671  0x00000ef4 branch  0x00001226 
+ 00004672  0x00000ef7 jam  0x00000053 , 0x00008a39 
+ 00004673  0x00000ef8 jam  0x00000001 , 0x00008a3a 
+ 00004674  0x00000ef9 branch  0x00001226 
+ 00004675  0x00000efc jam  0x0000004c , 0x00008a39 
+ 00004676  0x00000efd jam  0x00000000 , 0x00008a3a 
+ 00004677  0x00000efe branch  0x00001226 
+ 00004678  0x00000f02 jam  0x00000006 , 0x00008042 
+ 00004679  0x00000f04 fetch  0x00000002 , 0x000040ca 
+ 00004680  0x00000f05 bbit0  0x0000000e , 0x00001247 
+ 00004681  0x00000f06 iforce  0x00000006 
+ 00004682  0x00000f07 arg  0x00008a00 , 0x00000002 
+ 00004683  0x00000f09 ifetch  0x00000001 , 0x00000006 
+ 00004684  0x00000f0a beq  0x000000ff , 0x00001251 
+ 00004685  0x00000f0b ior  0x00000002 , 0x00000005 
+ 00004686  0x00000f0c ifetch  0x00000001 , 0x00000006 
+ 00004687  0x00000f0d istore  0x00000001 , 0x00000005 
+ 00004688  0x00000f0e branch  0x0000124b 
+ 00004689  0x00000f11 bpatch  0x0000008b , 0x00004011 
+ 00004690  0x00000f12 jam  0x00000005 , 0x00008a03 
+ 00004691  0x00000f13 jam  0x00000094 , 0x00008a7a 
+ 00004692  0x00000f14 call  0x00001279 
+ 00004693  0x00000f15 call  0x00001273 
+ 00004694  0x00000f16 call  0x0000126c 
+ 00004695  0x00000f17 jam  0x000000e6 , 0x00008a8b 
+ 00004696  0x00000f1a jam  0x00000090 , 0x00008a83 
+ 00004697  0x00000f1b jam  0x0000000b , 0x00008a0e 
+ 00004698  0x00000f1c jam  0x00000005 , 0x00008a0f 
+ 00004699  0x00000f1f jam  0x00000076 , 0x00008968 
+ 00004700  0x00000f20 jam  0x00000076 , 0x00008969 
+ 00004701  0x00000f22 fetch  0x00000001 , 0x000040c5 
+ 00004702  0x00000f23 bne  0x00000008 , 0x00001260 
+ 00004703  0x00000f24 jam  0x00000034 , 0x00008a08 
+ 00004704  0x00000f26 jam  0x000000ff , 0x00008a01 
+ 00004705  0x00000f27 nop  0x00000064 
+ 00004706  0x00000f28 jam  0x0000000e , 0x00008a02 
+ 00004707  0x00000f29 jam  0x00000003 , 0x00008a00 
+ 00004708  0x00000f2b call  0x00001224 
+ 00004709  0x00000f2d jam  0x0000002b , 0x00008a9a 
+ 00004710  0x00000f2e jam  0x00000013 , 0x00008a9b 
+ 00004711  0x00000f30 call  0x000012d3 
+ 00004712  0x00000f31 nop  0x0000000a 
+ 00004713  0x00000f32 jam  0x00000005 , 0x00008042 
+ 00004714  0x00000f33 jam  0x0000000c , 0x000041f0 
+ 00004715  0x00000f34 branch  0x0000165e 
+ 00004716  0x00000f38 fetch  0x00000001 , 0x000044d3 
+ 00004717  0x00000f39 branch  0x00001271 , 0x00000034 
+ 00004718  0x00000f3a or_into  0x00000020 , 0x0000003f 
+ 00004719  0x00000f3b store  0x00000001 , 0x00008a87 
+ 00004720  0x00000f3c rtn 
+ 00004721  0x00000f3e jam  0x00000029 , 0x00008a87 
+ 00004722  0x00000f3f rtn 
+ 00004723  0x00000f42 fetch  0x00000001 , 0x000044d4 
+ 00004724  0x00000f43 branch  0x00001277 , 0x00000034 
+ 00004725  0x00000f44 store  0x00000001 , 0x00008a0d 
+ 00004726  0x00000f45 rtn 
+ 00004727  0x00000f47 jam  0x00000000 , 0x00008a0d 
+ 00004728  0x00000f48 rtn 
+ 00004729  0x00000f4b fetch  0x00000001 , 0x000044d5 
+ 00004730  0x00000f4c branch  0x0000127d , 0x00000034 
+ 00004731  0x00000f4d store  0x00000001 , 0x00008a6c 
+ 00004732  0x00000f4e rtn 
+ 00004733  0x00000f50 jam  0x000000d3 , 0x00008a6c 
+ 00004734  0x00000f51 rtn 
+ 00004735  0x00000f58 bpatch  0x0000008c , 0x00004011 
+ 00004736  0x00000f59 jam  0x00000020 , 0x00000154 
+ 00004737  0x00000f5a fetch  0x00000001 , 0x000089a0 
+ 00004738  0x00000f5b store  0x00000001 , 0x000041e9 
+ 00004739  0x00000f5c sub  0x0000003f , 0x000000fc , 0x0000003e 
+ 00004740  0x00000f5d nrtn  0x00000002 
+ 00004741  0x00000f5e sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00004742  0x00000f5f rtn  0x00000002 
+ 00004743  0x00000f61 fetch  0x00000001 , 0x000089a3 
+ 00004744  0x00000f62 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00004745  0x00000f63 lshift  0x00000002 , 0x00000002 
+ 00004746  0x00000f64 rshift4  0x0000003f , 0x0000003f 
+ 00004747  0x00000f65 iadd  0x00000002 , 0x00000002 
+ 00004748  0x00000f66 mul32  0x00000002 , 0x00000003 , 0x00000002 
+ 00004749  0x00000f67 fetch  0x00000001 , 0x000041e9 
+ 00004750  0x00000f68 sub  0x0000003f , 0x000000ff , 0x0000003f 
+ 00004751  0x00000f69 iadd  0x00000002 , 0x0000003f 
+ 00004752  0x00000f6a increase  0xfffffffb , 0x0000003f 
+ 00004753  0x00000f6b store  0x00000001 , 0x00000154 
+ 00004754  0x00000f6c rtn 
+ 00004755  0x00000f6f fetch  0x00000001 , 0x00000154 
+ 00004756  0x00000f70 call  0x00001297 
+ 00004757  0x00000f71 store  0x00000001 , 0x00000018 
+ 00004758  0x00000f72 rtn 
+ 00004759  0x00000f75 and_into  0x000000ff , 0x0000003f 
+ 00004760  0x00000f76 div  0x0000003f , 0x0000000a 
+ 00004761  0x00000f77 call  0x00007e61 
+ 00004762  0x00000f78 lshift4  0x0000003f , 0x0000003f 
+ 00004763  0x00000f79 remainder  0x00000002 
+ 00004764  0x00000f7a ior  0x00000002 , 0x0000003f 
+ 00004765  0x00000f7b rtn 
+ 00004766  0x00000f7e fetch  0x00000001 , 0x000041ea 
+ 00004767  0x00000f7f rtneq  0x000000ff 
+ 00004768  0x00000f80 nbranch  0x000012c4 , 0x00000018 
+ 00004769  0x00000f81 fetch  0x00000001 , 0x000041e9 
+ 00004770  0x00000f82 sub  0x0000003f , 0x000000f0 , 0x0000003e 
+ 00004771  0x00000f83 nbranch  0x000012c8 , 0x00000002 
+ 00004772  0x00000f84 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00004773  0x00000f85 branch  0x000012c8 , 0x00000002 
+ 00004774  0x00000f87 fetchr  0x00000011 , 0x00000001 , 0x00008961 
+ 00004775  0x00000f88 fetch  0x00000001 , 0x000041ea 
+ 00004776  0x00000f89 rtneq  0x00000000 
+ 00004777  0x00000f8a arg  0x000041eb , 0x00000006 
+ 00004778  0x00000f8b iadd  0x00000006 , 0x00000006 
+ 00004779  0x00000f8c ifetch  0x00000001 , 0x00000006 
+ 00004780  0x00000f8d isub  0x00000011 , 0x0000003e 
+ 00004781  0x00000f8e nrtn  0x00000005 
+ 00004782  0x00000f8f increase  0xfffffffe , 0x00000006 
+ 00004783  0x00000f90 ifetcht  0x00000001 , 0x00000006 
+ 00004784  0x00000f91 rshift4  0x00000002 , 0x0000003f 
+ 00004785  0x00000f92 rshift4  0x00000011 , 0x00000012 
+ 00004786  0x00000f93 isub  0x00000012 , 0x00000012 
+ 00004787  0x00000f94 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00004788  0x00000f95 and  0x00000011 , 0x0000000f , 0x00000011 
+ 00004789  0x00000f96 isub  0x00000011 , 0x00000011 
+ 00004790  0x00000f97 lshift  0x00000011 , 0x0000003f 
+ 00004791  0x00000f98 iadd  0x00000012 , 0x00000012 
+ 00004792  0x00000f99 mul32  0x00000012 , 0x00000003 , 0x00000012 
+ 00004793  0x00000f9a fetcht  0x00000001 , 0x000041e9 
+ 00004794  0x00000f9b and  0x00000002 , 0x00000080 , 0x0000003f 
+ 00004795  0x00000f9c rtn  0x00000034 
+ 00004796  0x00000f9e setarg  0x00000100 
+ 00004797  0x00000f9f isub  0x00000002 , 0x00000002 
+ 00004798  0x00000fa0 copy  0x00000012 , 0x0000003f 
+ 00004799  0x00000fa1 isub  0x00000002 , 0x0000003f 
+ 00004800  0x00000fa2 rtn  0x00000002 
+ 00004801  0x00000fa3 and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00004802  0x00000fa4 rtneq  0x000000ff 
+ 00004803  0x00000fa5 rtneq  0x000000fe 
+ 00004804  0x00000fa8 fetch  0x00000001 , 0x000041ea 
+ 00004805  0x00000fa9 beq  0x00000001 , 0x000012cd 
+ 00004806  0x00000faa beq  0x00000002 , 0x000012cf 
+ 00004807  0x00000fac branch  0x000012cd 
+ 00004808  0x00000faf fetch  0x00000001 , 0x000041ea 
+ 00004809  0x00000fb0 beq  0x00000000 , 0x000012cf 
+ 00004810  0x00000fb1 beq  0x00000001 , 0x000012cb 
+ 00004811  0x00000fb4 jam  0x00000002 , 0x000041ea 
+ 00004812  0x00000fb5 rtn 
+ 00004813  0x00000fb8 jam  0x00000000 , 0x000041ea 
+ 00004814  0x00000fb9 rtn 
+ 00004815  0x00000fbc jam  0x00000001 , 0x000041ea 
+ 00004816  0x00000fbd rtn 
+ 00004817  0x00000fc1 setarg  0x00000f0f 
+ 00004818  0x00000fc2 branch  0x00001543 
+ 00004819  0x00000fc5 setarg  0x0000080f 
+ 00004820  0x00000fc6 branch  0x00001543 
+ 00004821  0x00000fcb bpatch  0x0000008d , 0x00004011 
+ 00004822  0x00000fcc disable  0x00000020 
+ 00004823  0x00000fcd enable  0x00000021 
+ 00004824  0x00000fce pulse  0x00000016 
+ 00004825  0x00000fcf branch  0x000011a2 
+ 00004826  0x00000fd2 bpatch  0x0000008e , 0x00004011 
+ 00004827  0x00000fd3 call  0x00000ddd 
+ 00004828  0x00000fd4 nbranch  0x000012ea , 0x00000034 
+ 00004829  0x00000fd5 fetch  0x00000001 , 0x0000004c 
+ 00004830  0x00000fd6 isolate1  0x00000002 , 0x0000003f 
+ 00004831  0x00000fd7 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00004832  0x00000fd8 store  0x00000001 , 0x00008011 
+ 00004833  0x00000fd9 arg  0x00000062 , 0x00000006 
+ 00004834  0x00000fda ifetch  0x00000009 , 0x00000006 
+ 00004835  0x00000fdb iforce  0x00000032 
+ 00004836  0x00000fdc ifetch  0x00000007 , 0x00000006 
+ 00004837  0x00000fdd iforce  0x00000033 
+ 00004838  0x00000fde fetch  0x00000001 , 0x00000054 
+ 00004839  0x00000fdf add  0x0000003f , 0xffffffff , 0x00000034 
+ 00004840  0x00000fe0 pulse  0x0000001a 
+ 00004841  0x00000fe1 rtn 
+ 00004842  0x00000fe4 jam  0x00000000 , 0x00008011 
+ 00004843  0x00000fe5 rtn 
+ 00004844  0x00000fe8 deposit  0x0000001a 
+ 00004845  0x00000fe9 store  0x00000006 , 0x00000097 
+ 00004846  0x00000fea disable  0x0000000d 
+ 00004847  0x00000feb nbranch  0x0000114b , 0x00000018 
+ 00004848  0x00000fec fetch  0x00000002 , 0x0000015b 
+ 00004849  0x00000fed copy  0x0000003f , 0x00000029 
+ 00004850  0x00000fee increase  0x00000001 , 0x00000028 
+ 00004851  0x00000fef and_into  0x000001fc , 0x00000028 
+ 00004852  0x00000ff0 rtn 
+ 00004853  0x00000ff5 enable  0x0000000d 
+ 00004854  0x00000ff7 correlate  0x0000003e , 0x00000017 
+ 00004855  0x00000ff8 branch  0x000012ec , 0x00000018 
+ 00004856  0x00000ff9 compare  0x00000002 , 0x00000028 , 0x00000002 
+ 00004857  0x00000ffa nbranch  0x000012f6 , 0x00000001 
+ 00004858  0x00000ffb branch  0x000012ec 
+ 00004859  0x00000ffe bpatch  0x0000008f , 0x00004011 
+ 00004860  0x00000fff fetchr  0x0000000b , 0x00000002 , 0x00000159 
+ 00004861  0x00001000 enable  0x0000000d 
+ 00004862  0x00001001 correlate  0x00000023 , 0x00000026 
+ 00004863  0x00001002 disable  0x0000000d 
+ 00004864  0x00001003 nbranch  0x0000114b , 0x00000018 
+ 00004865  0x00001004 rtn 
+ 00004866  0x00001007 bpatch  0x00000090 , 0x00004012 
+ 00004867  0x00001008 enable  0x0000000d 
+ 00004868  0x00001009 correlate  0x0000003e , 0x00000003 
+ 00004869  0x0000100a disable  0x0000000d 
+ 00004870  0x0000100b nbranch  0x0000114b , 0x00000018 
+ 00004871  0x0000100c fetch  0x00000002 , 0x0000015b 
+ 00004872  0x0000100d copy  0x0000003f , 0x00000029 
+ 00004873  0x0000100e and_into  0x000001fc , 0x00000028 
+ 00004874  0x0000100f rtn 
+ 00004875  0x00001013 bpatch  0x00000091 , 0x00004012 
+ 00004876  0x00001014 iforce  0x00000011 
+ 00004877  0x00001015 deposit  0x00000021 
+ 00004878  0x00001016 iadd  0x00000002 , 0x0000000b 
+ 00004879  0x00001017 copy  0x0000000b , 0x0000003f 
+ 00004880  0x00001018 store  0x00000004 , 0x000040d1 
+ 00004881  0x00001019 deposit  0x00000011 
+ 00004882  0x0000101a rtn 
+ 00004883  0x0000101e copy  0x0000003f , 0x00000002 
+ 00004884  0x0000101f bpatch  0x00000092 , 0x00004012 
+ 00004885  0x00001020 copy  0x00000002 , 0x0000003f 
+ 00004886  0x00001021 call  0x00007e26 
+ 00004887  0x00001022 lshift16  0x00000021 , 0x0000003f 
+ 00004888  0x00001023 set1  0x0000002c , 0x0000003f 
+ 00004889  0x00001024 call  0x00007e0c 
+ 00004890  0x00001025 set0  0x0000002c , 0x0000003f 
+ 00004891  0x00001026 call  0x00001367 
+ 00004892  0x00001027 call  0x00007e0c 
+ 00004893  0x00001028 rtn  0x00000028 
+ 00004894  0x00001029 call  0x00007e19 
+ 00004895  0x0000102a iforce  0x0000001b 
+ 00004896  0x0000102b until  0x0000003e , 0x00000003 
+ 00004897  0x0000102c rtn 
+ 00004898  0x00001030 bpatch  0x00000093 , 0x00004012 
+ 00004899  0x00001031 branch  0x00001327 , 0x00000030 
+ 00004900  0x00001032 until  0x00000029 , 0x00000026 
+ 00004901  0x00001034 copy  0x00000028 , 0x00000002 
+ 00004902  0x00001035 branch  0x0000132a 
+ 00004903  0x00001037 branch  0x00001329 , 0x0000002e 
+ 00004904  0x00001038 until  0x00000023 , 0x00000026 
+ 00004905  0x0000103a copy  0x00000022 , 0x00000002 
+ 00004906  0x0000103c branch  0x00001336 , 0x00000028 
+ 00004907  0x0000103d compare  0x00000001 , 0x00000002 , 0x00000003 
+ 00004908  0x0000103e nbranch  0x00001322 , 0x00000001 
+ 00004909  0x00001040 bpatch  0x00000094 , 0x00004012 
+ 00004910  0x00001041 fetch  0x00000001 , 0x00000030 
+ 00004911  0x00001042 rtnbit0  0x00000000 
+ 00004912  0x00001043 fetch  0x00000004 , 0x000040d1 
+ 00004913  0x00001044 isub  0x00000002 , 0x0000003f 
+ 00004914  0x00001045 nrtn  0x00000002 
+ 00004915  0x00001046 sub  0x0000003f , 0x000000ff , 0x0000003e 
+ 00004916  0x00001047 branch  0x00001322 , 0x00000002 
+ 00004917  0x00001048 rtn 
+ 00004918  0x0000104a compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00004919  0x0000104b nbranch  0x00001322 , 0x00000001 
+ 00004920  0x0000104c branch  0x0000132d 
+ 00004921  0x0000104f bpatch  0x00000095 , 0x00004012 
+ 00004922  0x00001050 fetchr  0x0000000b , 0x00000002 , 0x00000157 
+ 00004923  0x00001051 branch  0x00001322 
+ 00004924  0x00001054 disable  0x00000028 
+ 00004925  0x00001055 branch  0x00001339 
+ 00004926  0x00001058 enable  0x00000028 
+ 00004927  0x00001059 branch  0x00001339 
+ 00004928  0x0000105c bpatch  0x00000096 , 0x00004012 
+ 00004929  0x0000105d call  0x000012da 
+ 00004930  0x0000105e disable  0x00000021 
+ 00004931  0x0000105f enable  0x00000020 
+ 00004932  0x00001060 rtn 
+ 00004933  0x00001065 bpatch  0x00000097 , 0x00004012 
+ 00004934  0x00001066 fetchr  0x0000000b , 0x00000002 , 0x00000155 
+ 00004935  0x00001067 until  0x00000023 , 0x00000026 
+ 00004936  0x00001068 pulse  0x00000016 
+ 00004937  0x00001069 rtn 
+ 00004938  0x0000106c bpatch  0x00000098 , 0x00004013 
+ 00004939  0x0000106d fetchr  0x0000000b , 0x00000002 , 0x0000015f 
+ 00004940  0x0000106e until  0x00000023 , 0x00000026 
+ 00004941  0x0000106f rtn 
+ 00004942  0x00001073 bpatch  0x00000099 , 0x00004013 
+ 00004943  0x00001074 fetchr  0x0000000b , 0x00000002 , 0x00000155 
+ 00004944  0x00001075 until  0x00000029 , 0x00000026 
+ 00004945  0x00001076 pulse  0x00000016 
+ 00004946  0x00001077 rtn 
+ 00004947  0x0000107a bpatch  0x0000009a , 0x00004013 
+ 00004948  0x0000107b call  0x00004d13 
+ 00004949  0x0000107c preload  0x00000009 
+ 00004950  0x0000107d enable  0x0000001d 
+ 00004951  0x0000107e set1  0x00000000 , 0x00000015 
+ 00004952  0x0000107f inject  0x00000003 , 0x00000048 
+ 00004953  0x00001080 disable  0x0000001d 
+ 00004954  0x00001081 rtn 
+ 00004955  0x00001085 copy  0x00000025 , 0x00000002 
+ 00004956  0x00001086 or_into  0x00000060 , 0x00000002 
+ 00004957  0x00001087 copy  0x00000002 , 0x0000000e 
+ 00004958  0x00001088 rtn 
+ 00004959  0x0000108e bpatch  0x0000009b , 0x00004013 
+ 00004960  0x0000108f fetch  0x00000001 , 0x00004098 
+ 00004961  0x00001090 increase  0x00000001 , 0x0000003f 
+ 00004962  0x00001091 bne  0x00000007 , 0x00001364 
+ 00004963  0x00001092 force  0x00000001 , 0x0000003f 
+ 00004964  0x00001094 store  0x00000001 , 0x00004098 
+ 00004965  0x00001095 iforce  0x00000004 
+ 00004966  0x00001096 rtn 
+ 00004967  0x00001099 copy  0x00000019 , 0x00000002 
+ 00004968  0x0000109a rtn  0x00000029 
+ 00004969  0x0000109b copy  0x0000001a , 0x00000002 
+ 00004970  0x0000109c rtn 
+ 00004971  0x0000109f deposit  0x00000022 
+ 00004972  0x000010a0 rtn  0x00000029 
+ 00004973  0x000010a1 deposit  0x00000028 
+ 00004974  0x000010a2 rtn 
+ 00004975  0x000010a6 bpatch  0x0000009c , 0x00004013 
+ 00004976  0x000010a7 fetcht  0x00000004 , 0x0000004d 
+ 00004977  0x000010a8 call  0x0000136b 
+ 00004978  0x000010a9 isub  0x00000002 , 0x0000000b 
+ 00004979  0x000010aa deposit  0x0000000b 
+ 00004980  0x000010ab fetcht  0x00000002 , 0x00000051 
+ 00004981  0x000010ac lshift  0x00000002 , 0x00000002 
+ 00004982  0x000010ad isub  0x00000002 , 0x0000003f 
+ 00004983  0x000010ae rtn 
+ 00004984  0x000010b1 bpatch  0x0000009d , 0x00004013 
+ 00004985  0x000010b2 call  0x0000136b 
+ 00004986  0x000010b3 store  0x00000004 , 0x0000004d 
+ 00004987  0x000010b4 rtn 
+ 00004988  0x000010b7 bpatch  0x0000009e , 0x00004013 
+ 00004989  0x000010b8 branch  0x0000137c 
+ 00004990  0x000010bb branch  0x0000137e 
+ 00004991  0x000010be rtn  0x00000034 
+ 00004992  0x000010c0 rshift  0x0000003f , 0x0000003f 
+ 00004993  0x000010c1 increase  0xfffffffd , 0x0000003f 
+ 00004994  0x000010c3 increase  0xffffffff , 0x0000003f 
+ 00004995  0x000010c4 nbranch  0x00001382 , 0x00000005 
+ 00004996  0x000010c5 force  0x00000000 , 0x0000003f 
+ 00004997  0x000010c6 rtn 
+ 00004998  0x000010cc arg  0x00000010 , 0x00000039 
+ 00004999  0x000010cd arg  0x00000000 , 0x00000005 
+ 00005000  0x000010ce call  0x00007d8c 
+ 00005001  0x000010cf arg  0x00000287 , 0x00000005 
+ 00005002  0x000010d0 arg  0x0000000a , 0x00000039 
+ 00005003  0x000010d1 call  0x00007d8c 
+ 00005004  0x000010d2 jam  0x00000000 , 0x00000874 
+ 00005005  0x000010d3 jam  0x00000000 , 0x0000095b 
+ 00005006  0x000010d4 jam  0x00000000 , 0x000002df 
+ 00005007  0x000010d5 jam  0x00000000 , 0x000000e3 
+ 00005008  0x000010d6 jam  0x00000000 , 0x000003a5 
+ 00005009  0x000010d7 jam  0x00000000 , 0x000000bc 
+ 00005010  0x000010d8 jam  0x00000000 , 0x00000a51 
+ 00005011  0x000010d9 jam  0x00000000 , 0x00000a5c 
+ 00005012  0x000010da setarg  0x009e8b33 
+ 00005013  0x000010db store  0x00000003 , 0x000040af 
+ 00005014  0x000010dc jam  0x00000060 , 0x0000008d 
+ 00005015  0x000010dd jam  0x00000005 , 0x000040d7 
+ 00005016  0x000010de jam  0x00000002 , 0x00000014 
+ 00005017  0x000010e0 setarg  0x00000e43 
+ 00005018  0x000010e1 store  0x00000002 , 0x00000155 
+ 00005019  0x000010e2 setarg  0x00000600 
+ 00005020  0x000010e3 store  0x00000002 , 0x00000157 
+ 00005021  0x000010e4 setarg  0x00000600 
+ 00005022  0x000010e5 store  0x00000002 , 0x00000159 
+ 00005023  0x000010e6 setarg  0x00000d00 
+ 00005024  0x000010e7 store  0x00000002 , 0x0000015f 
+ 00005025  0x000010e8 setarg  0x000003bb 
+ 00005026  0x000010e9 store  0x00000002 , 0x0000015b 
+ 00005027  0x000010ea setarg  0x00000500 
+ 00005028  0x000010eb store  0x00000002 , 0x0000015d 
+ 00005029  0x000010ec setarg  0x000007d0 
+ 00005030  0x000010ed store  0x00000002 , 0x00000161 
+ 00005031  0x000010ee setarg  0x00000ea6 
+ 00005032  0x000010ef store  0x00000002 , 0x00000163 
+ 00005033  0x000010f0 setarg  0x000001e0 
+ 00005034  0x000010f1 store  0x00000002 , 0x00000165 
+ 00005035  0x000010f2 setarg  0x00000120 
+ 00005036  0x000010f3 store  0x00000002 , 0x00000167 
+ 00005037  0x000010f4 setarg  0x0000011a 
+ 00005038  0x000010f5 store  0x00000002 , 0x00000169 
+ 00005039  0x000010f6 setarg  0x00001400 
+ 00005040  0x000010f7 store  0x00000002 , 0x000043de 
+ 00005041  0x000010f8 setarg  0x00000100 
+ 00005042  0x000010f9 store  0x00000002 , 0x000043e0 
+ 00005043  0x000010fb call  0x00006e66 
+ 00005044  0x000010fc setarg  0x00000880 
+ 00005045  0x000010fd arg  0x00000870 , 0x00000005 
+ 00005046  0x000010fe isub  0x00000005 , 0x00000039 
+ 00005047  0x000010ff call  0x00007d9b 
+ 00005048  0x00001101 bpatch  0x0000009f , 0x00004013 
+ 00005049  0x00001102 rtn  0x0000002b 
+ 00005050  0x00001103 jam  0x00000009 , 0x000045fa 
+ 00005051  0x00001104 setarg  0x0000050e 
+ 00005052  0x00001105 store  0x00000002 , 0x000045fb 
+ 00005053  0x00001106 setarg  0x00000008 
+ 00005054  0x00001107 store  0x00000002 , 0x000045fd 
+ 00005055  0x00001108 jam  0x0000007f , 0x000044d1 
+ 00005056  0x0000110a setarg  0x00000024 
+ 00005057  0x0000110b store  0x00000002 , 0x000040b5 
+ 00005058  0x0000110c store  0x00000002 , 0x000040b9 
+ 00005059  0x0000110d setarg  0x00000200 
+ 00005060  0x0000110e store  0x00000002 , 0x000040b7 
+ 00005061  0x0000110f store  0x00000002 , 0x000040bb 
+ 00005062  0x00001110 setarg  0x00000020 
+ 00005063  0x00001111 store  0x00000002 , 0x000040c3 
+ 00005064  0x00001112 store  0x00000002 , 0x000040bf 
+ 00005065  0x00001113 setarg  0x00002000 
+ 00005066  0x00001114 store  0x00000002 , 0x000040c1 
+ 00005067  0x00001115 setarg  0x00000480 
+ 00005068  0x00001116 store  0x00000002 , 0x000040c6 
+ 00005069  0x00001117 setarg  0x00000c00 
+ 00005070  0x00001118 store  0x00000002 , 0x000040c8 
+ 00005071  0x0000111a setarg  0x00000c3f 
+ 00005072  0x0000111b store  0x00000002 , 0x0000417e 
+ 00005073  0x0000111c setarg  0x00000333 
+ 00005074  0x0000111d istore  0x00000002 , 0x00000005 
+ 00005075  0x0000111e setarg  0x0024109d 
+ 00005076  0x0000111f store  0x00000003 , 0x00004183 
+ 00005077  0x00001121 call  0x00007f52 
+ 00005078  0x00001122 setarg  0x00000000 
+ 00005079  0x00001123 store  0x00000002 , 0x000041e6 
+ 00005080  0x00001124 rshift  0x00000022 , 0x0000003f 
+ 00005081  0x00001125 store  0x00000004 , 0x0000409c 
+ 00005082  0x00001126 rtn 
+ 00005083  0x00001129 jam  0x00000006 , 0x00008042 
+ 00005084  0x0000112a jam  0x00000001 , 0x00008042 
+ 00005085  0x0000112b nop  0x0000000a 
+ 00005086  0x0000112c setarg  0x00001d4a 
+ 00005087  0x0000112d store  0x00000002 , 0x00008040 
+ 00005088  0x0000112e rtn 
+ 00005089  0x00001135 setarg  0x0000ee21 
+ 00005090  0x00001136 store  0x00000002 , 0x00008050 
+ 00005091  0x00001137 fetch  0x00000004 , 0x0000811c 
+ 00005092  0x00001138 store  0x00000004 , 0x0000098a 
+ 00005093  0x00001139 fetch  0x00000001 , 0x0000813b 
+ 00005094  0x0000113a store  0x00000001 , 0x00000989 
+ 00005095  0x0000113b fetch  0x00000001 , 0x0000813e 
+ 00005096  0x0000113c bbit0  0x00000003 , 0x00005bf5 
+ 00005097  0x0000113d enable  0x0000002b 
+ 00005098  0x0000113e bbit0  0x00000007 , 0x000013f2 
+ 00005099  0x0000113f disable  0x0000002b 
+ 00005100  0x00001140 deposit  0x00000027 
+ 00005101  0x00001141 nbranch  0x000013f2 , 0x00000034 
+ 00005102  0x00001142 fetch  0x00000001 , 0x0000813b 
+ 00005103  0x00001143 bbit1  0x00000002 , 0x000013f2 
+ 00005104  0x00001144 arg  0xffffffff , 0x00000002 
+ 00005105  0x00001145 branch  0x0000147f 
+ 00005106  0x00001147 fetch  0x00000004 , 0x00008134 
+ 00005107  0x00001148 store  0x00000004 , 0x0000804c 
+ 00005108  0x00001149 fetch  0x00000001 , 0x00008135 
+ 00005109  0x0000114a and_into  0x000000e0 , 0x0000003f 
+ 00005110  0x0000114b store  0x00000001 , 0x0000804d 
+ 00005111  0x0000114c call  0x0000155b 
+ 00005112  0x0000114d fetch  0x00000003 , 0x0000813c 
+ 00005113  0x0000114e store  0x00000003 , 0x0000804c 
+ 00005114  0x0000114f ifetch  0x00000001 , 0x00000006 
+ 00005115  0x00001150 or_into  0x000000ef , 0x0000003f 
+ 00005116  0x00001151 istore  0x00000001 , 0x00000005 
+ 00005117  0x00001152 call  0x0000154e 
+ 00005118  0x00001153 fetch  0x00000001 , 0x0000804f 
+ 00005119  0x00001154 set1  0x00000004 , 0x0000003f 
+ 00005120  0x00001155 store  0x00000001 , 0x0000804f 
+ 00005121  0x00001156 call  0x0000154e 
+ 00005122  0x00001157 call  0x00001424 , 0x0000002b 
+ 00005123  0x00001158 fetch  0x00000001 , 0x0000804e 
+ 00005124  0x00001159 set0  0x00000003 , 0x0000003f 
+ 00005125  0x0000115a store  0x00000001 , 0x0000804e 
+ 00005126  0x0000115b call  0x0000154e 
+ 00005127  0x0000115c nbranch  0x00005bf5 , 0x0000002b 
+ 00005128  0x0000115d call  0x0000140c 
+ 00005129  0x0000115e rtnmark0  0x0000002b 
+ 00005130  0x0000115f jam  0x00000008 , 0x00008006 
+ 00005131  0x00001160 rtn 
+ 00005132  0x00001163 fetch  0x00000003 , 0x000044ce 
+ 00005133  0x00001164 rtn  0x00000034 
+ 00005134  0x00001165 store  0x00000003 , 0x00000a01 
+ 00005135  0x00001166 branch  0x00005ceb 
+ 00005136  0x00001169 fetch  0x00000001 , 0x000044d2 
+ 00005137  0x0000116a beq  0x00000001 , 0x00001418 
+ 00005138  0x0000116b beq  0x00000002 , 0x0000141c 
+ 00005139  0x0000116c beq  0x00000003 , 0x00001420 
+ 00005140  0x0000116e fetch  0x00000001 , 0x00004183 
+ 00005141  0x0000116f and_into  0x000000e0 , 0x0000003f 
+ 00005142  0x00001171 store  0x00000001 , 0x00004183 
+ 00005143  0x00001172 rtn 
+ 00005144  0x00001174 fetch  0x00000001 , 0x00004183 
+ 00005145  0x00001175 and_into  0x000000e0 , 0x0000003f 
+ 00005146  0x00001176 or_into  0x0000001d , 0x0000003f 
+ 00005147  0x00001177 branch  0x00001416 
+ 00005148  0x00001179 fetch  0x00000001 , 0x00004183 
+ 00005149  0x0000117a and_into  0x000000e0 , 0x0000003f 
+ 00005150  0x0000117b or_into  0x0000001b , 0x0000003f 
+ 00005151  0x0000117c branch  0x00001416 
+ 00005152  0x0000117e fetch  0x00000001 , 0x00004183 
+ 00005153  0x0000117f and_into  0x000000e0 , 0x0000003f 
+ 00005154  0x00001180 or_into  0x00000017 , 0x0000003f 
+ 00005155  0x00001181 branch  0x00001416 
+ 00005156  0x00001184 fetch  0x00000001 , 0x000041a5 
+ 00005157  0x00001185 store  0x00000001 , 0x00008086 
+ 00005158  0x00001186 arg  0x00004186 , 0x00000006 
+ 00005159  0x00001187 arg  0x00008070 , 0x00000005 
+ 00005160  0x00001188 call  0x00007d74 
+ 00005161  0x00001189 fetch  0x00000008 , 0x0000419d 
+ 00005162  0x0000118a iforce  0x00000000 
+ 00005163  0x0000118b fetch  0x00000008 , 0x00008140 
+ 00005164  0x0000118c store  0x00000008 , 0x0000009e 
+ 00005165  0x0000118d branch  0x00005ca3 
+ 00005166  0x00001190 deposit  0x00000000 
+ 00005167  0x00001191 store  0x00000008 , 0x0000419d 
+ 00005168  0x00001192 arg  0x00008070 , 0x00000006 
+ 00005169  0x00001193 arg  0x00004186 , 0x00000005 
+ 00005170  0x00001194 call  0x00007d74 
+ 00005171  0x00001195 fetch  0x00000001 , 0x00008086 
+ 00005172  0x00001196 store  0x00000001 , 0x000041a5 
+ 00005173  0x00001197 branch  0x0000155d 
+ 00005174  0x0000119a fetch  0x00000001 , 0x00008085 
+ 00005175  0x0000119b rshift4  0x0000003f , 0x0000003f 
+ 00005176  0x0000119c nbranch  0x0000143f , 0x00000034 
+ 00005177  0x0000119d fetch  0x00000003 , 0x00004174 
+ 00005178  0x0000119e nrtn  0x00000034 
+ 00005179  0x0000119f fetch  0x00000001 , 0x00008085 
+ 00005180  0x000011a0 or_into  0x000000c0 , 0x0000003f 
+ 00005181  0x000011a1 store  0x00000001 , 0x00008085 
+ 00005182  0x000011a2 jam  0x00000080 , 0x00008006 
+ 00005183  0x000011a4 fetch  0x00000001 , 0x0000812d 
+ 00005184  0x000011a5 rtnbit0  0x00000001 
+ 00005185  0x000011a6 fetch  0x00000003 , 0x00008149 
+ 00005186  0x000011a7 store  0x00000003 , 0x00004174 
+ 00005187  0x000011a8 rtn 
+ 00005188  0x000011ad bpatch  0x000000a0 , 0x00004014 
+ 00005189  0x000011ae deposit  0x0000001a 
+ 00005190  0x000011af call  0x00007e0a 
+ 00005191  0x000011b0 fetcht  0x00000004 , 0x00004164 
+ 00005192  0x000011b1 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00005193  0x000011b2 rtn  0x00000002 
+ 00005194  0x000011b3 lshift8  0x0000003f , 0x0000003f 
+ 00005195  0x000011b4 lshift4  0x0000003f , 0x0000003f 
+ 00005196  0x000011b5 idiv  0x00000002 
+ 00005197  0x000011b6 call  0x00007e61 
+ 00005198  0x000011b7 arg  0x000000c8 , 0x00000002 
+ 00005199  0x000011b8 call  0x00007e6f 
+ 00005200  0x000011b9 store  0x00000001 , 0x00000096 
+ 00005201  0x000011ba nbranch  0x00001453 , 0x00000028 
+ 00005202  0x000011bb sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00005203  0x000011bd fetcht  0x00000003 , 0x00004174 
+ 00005204  0x000011be iadd  0x00000002 , 0x0000003f 
+ 00005205  0x000011bf store  0x00000003 , 0x00004174 
+ 00005206  0x000011c1 setarg  0x00000000 
+ 00005207  0x000011c2 store  0x00000004 , 0x00004164 
+ 00005208  0x000011c3 rtn 
+ 00005209  0x000011d0 arg  0xffffffff , 0x00000002 
+ 00005210  0x000011d1 fetch  0x00000001 , 0x0000417b 
+ 00005211  0x000011d2 set0  0x00000007 , 0x0000003f 
+ 00005212  0x000011d3 store  0x00000001 , 0x0000417b 
+ 00005213  0x000011d5 bpatch  0x000000a1 , 0x00004014 
+ 00005214  0x000011d6 call  0x0000155d 
+ 00005215  0x000011d7 fetch  0x00000001 , 0x0000415c 
+ 00005216  0x000011d8 store  0x00000001 , 0x00004181 
+ 00005217  0x000011d9 fetch  0x00000001 , 0x0000417f 
+ 00005218  0x000011da set1  0x00000007 , 0x0000003f 
+ 00005219  0x000011db store  0x00000001 , 0x0000417f 
+ 00005220  0x000011df bpatch  0x000000a2 , 0x00004014 
+ 00005221  0x000011e0 call  0x000012d1 
+ 00005222  0x000011e1 fetch  0x00000002 , 0x00004479 
+ 00005223  0x000011e2 call  0x00007e7a 
+ 00005224  0x000011e4 fetch  0x00000004 , 0x00004164 
+ 00005225  0x000011e5 iadd  0x00000002 , 0x0000003f 
+ 00005226  0x000011e6 store  0x00000004 , 0x00004164 
+ 00005227  0x000011e7 call  0x0000142e 
+ 00005228  0x000011e8 call  0x00001410 
+ 00005229  0x000011e9 fetch  0x00000004 , 0x00004182 
+ 00005230  0x000011ea copy  0x0000003f , 0x00000012 
+ 00005231  0x000011eb fetch  0x00000005 , 0x0000417d 
+ 00005232  0x000011ec store  0x00000004 , 0x0000804c 
+ 00005233  0x000011ed rshift32  0x0000003f , 0x00000011 
+ 00005234  0x000011ee until  0x0000003e , 0x00000033 
+ 00005235  0x000011ef deposit  0x00000019 
+ 00005236  0x000011f0 store  0x00000006 , 0x00004168 
+ 00005237  0x000011f1 jam  0x00000002 , 0x00008005 
+ 00005238  0x000011f2 until  0x0000003e , 0x00000033 
+ 00005239  0x000011f3 until  0x0000003e , 0x00000033 
+ 00005240  0x000011f4 deposit  0x00000011 
+ 00005241  0x000011f5 store  0x00000001 , 0x0000804f 
+ 00005242  0x000011f6 jam  0x00000002 , 0x00008005 
+ 00005243  0x000011f7 until  0x0000003e , 0x00000033 
+ 00005244  0x000011f8 until  0x0000003e , 0x00000033 
+ 00005245  0x000011f9 storer  0x00000012 , 0x00000004 , 0x0000804c 
+ 00005246  0x000011fa jam  0x00000020 , 0x00008005 
+ 00005247  0x000011fc until  0x0000003e , 0x00000033 
+ 00005248  0x000011fd until  0x0000003e , 0x00000033 
+ 00005249  0x000011fe storet  0x00000004 , 0x0000804c 
+ 00005250  0x000011ff jam  0x00000010 , 0x00008005 
+ 00005251  0x00001200 until  0x0000003e , 0x0000003f 
+ 00005252  0x00001206 bpatch  0x000000a3 , 0x00004014 
+ 00005253  0x00001207 setarg  0x00000000 
+ 00005254  0x00001208 copy  0x00000027 , 0x0000003e 
+ 00005255  0x00001209 branch  0x0000148f , 0x00000005 
+ 00005256  0x0000120a fetch  0x00000001 , 0x0000813c 
+ 00005257  0x0000120b fetcht  0x00000001 , 0x0000813d 
+ 00005258  0x0000120c isub  0x00000002 , 0x0000003e 
+ 00005259  0x0000120d branch  0x0000148d , 0x00000002 
+ 00005260  0x0000120e deposit  0x00000002 
+ 00005261  0x00001210 isub  0x00000027 , 0x0000003f 
+ 00005262  0x00001211 increase  0x00000001 , 0x0000003f 
+ 00005263  0x00001213 increase  0x0000000a , 0x0000003f 
+ 00005264  0x00001214 until  0x0000003e , 0x00000033 
+ 00005265  0x00001215 iadd  0x00000031 , 0x0000003f 
+ 00005266  0x00001216 fetcht  0x00000004 , 0x00004160 
+ 00005267  0x00001217 iadd  0x00000002 , 0x0000003f 
+ 00005268  0x00001218 fetcht  0x00000003 , 0x00004174 
+ 00005269  0x00001219 imul32  0x00000002 , 0x0000003f 
+ 00005270  0x0000121a rshift8  0x0000003f , 0x0000003f 
+ 00005271  0x0000121b rshift4  0x0000003f , 0x0000003f 
+ 00005272  0x0000121c increase  0x0000006e , 0x0000003f 
+ 00005273  0x0000121d fetcht  0x00000002 , 0x00000163 
+ 00005274  0x0000121e idiv  0x00000002 
+ 00005275  0x0000121f call  0x00007e61 
+ 00005276  0x00001220 lshift16  0x0000003f , 0x0000003f 
+ 00005277  0x00001221 remainder  0x00000002 
+ 00005278  0x00001222 ior  0x00000002 , 0x0000003f 
+ 00005279  0x00001223 fetcht  0x00000006 , 0x00004168 
+ 00005280  0x00001224 call  0x00007dff 
+ 00005281  0x00001225 copy  0x00000002 , 0x00000019 
+ 00005282  0x00001226 fetch  0x00000006 , 0x00004048 
+ 00005283  0x00001227 call  0x00001073 
+ 00005284  0x00001228 deposit  0x0000001a 
+ 00005285  0x00001229 store  0x00000006 , 0x0000095c 
+ 00005286  0x0000122a deposit  0x00000027 
+ 00005287  0x0000122b istore  0x00000001 , 0x00000005 
+ 00005288  0x0000122c fetch  0x00000001 , 0x0000811d 
+ 00005289  0x0000122d or_into  0x000000f0 , 0x0000003f 
+ 00005290  0x0000122e istore  0x00000001 , 0x00000005 
+ 00005291  0x0000122f rtn 
+ 00005292  0x00001232 bpatch  0x000000a4 , 0x00004014 
+ 00005293  0x00001233 call  0x00001436 
+ 00005294  0x00001234 fetch  0x00000003 , 0x00004174 
+ 00005295  0x00001235 rtn  0x00000034 
+ 00005296  0x00001236 fetch  0x00000001 , 0x00004099 
+ 00005297  0x00001237 rtn  0x00000034 
+ 00005298  0x00001238 fetch  0x00000001 , 0x00004767 
+ 00005299  0x00001239 branch  0x000014b6 , 0x00000034 
+ 00005300  0x0000123a fetch  0x00000001 , 0x000046bc 
+ 00005301  0x0000123b rtn  0x00000034 
+ 00005302  0x0000123d fetch  0x00000001 , 0x000046bd 
+ 00005303  0x0000123e nrtn  0x00000034 
+ 00005304  0x0000123f arg  0x00000ab7 , 0x00000013 
+ 00005305  0x00001240 call  0x00000a6e 
+ 00005306  0x00001241 rtn  0x00000005 
+ 00005307  0x00001242 call  0x0000156e 
+ 00005308  0x00001243 nrtn  0x00000034 
+ 00005309  0x00001244 fetch  0x00000001 , 0x00004040 
+ 00005310  0x00001245 compare  0x00000003 , 0x0000003f , 0x00000007 
+ 00005311  0x00001246 nbranch  0x000014e2 , 0x00000001 
+ 00005312  0x00001247 fetch  0x00000002 , 0x00004042 
+ 00005313  0x00001248 rtn  0x00000034 
+ 00005314  0x00001249 rtn  0x0000002b 
+ 00005315  0x0000124a bpatch  0x000000a5 , 0x00004014 
+ 00005316  0x0000124c fetcht  0x00000001 , 0x0000009d 
+ 00005317  0x0000124d fetch  0x00000002 , 0x00004042 
+ 00005318  0x0000124e imul32  0x00000002 , 0x0000003f 
+ 00005319  0x0000124f rshift4  0x00000002 , 0x00000002 
+ 00005320  0x00001250 rshift2  0x00000002 , 0x00000002 
+ 00005321  0x00001251 isub  0x00000002 , 0x0000003f 
+ 00005322  0x00001252 fetcht  0x00000004 , 0x00004044 
+ 00005323  0x00001253 iadd  0x00000002 , 0x0000003f 
+ 00005324  0x00001254 fetcht  0x00000001 , 0x0000415b 
+ 00005325  0x00001255 isub  0x00000002 , 0x0000003f 
+ 00005326  0x00001256 lshift16  0x0000003f , 0x00000030 
+ 00005327  0x00001257 bpatch  0x000000a6 , 0x00004014 
+ 00005328  0x00001258 fetch  0x00000002 , 0x0000404e 
+ 00005329  0x00001259 rshift  0x0000003f , 0x0000003f 
+ 00005330  0x0000125a call  0x00007e26 
+ 00005331  0x0000125b deposit  0x00000030 
+ 00005332  0x0000125c call  0x00007e0c 
+ 00005333  0x0000125d copy  0x0000001a , 0x00000002 
+ 00005334  0x0000125e call  0x00007e0a 
+ 00005335  0x0000125f rtn  0x00000028 
+ 00005336  0x00001261 call  0x00007e1f 
+ 00005337  0x00001263 bpatch  0x000000a7 , 0x00004014 
+ 00005338  0x00001264 fetch  0x00000001 , 0x0000417d 
+ 00005339  0x00001265 isub  0x00000002 , 0x0000003e 
+ 00005340  0x00001266 branch  0x00001456 , 0x00000002 
+ 00005341  0x00001267 storet  0x00000004 , 0x00004160 
+ 00005342  0x00001268 call  0x000031b6 
+ 00005343  0x00001269 call  0x000053ac 
+ 00005344  0x0000126a fetcht  0x00000004 , 0x00004160 
+ 00005345  0x0000126b branch  0x00001464 
+ 00005346  0x0000126e bpatch  0x000000a8 , 0x00004015 
+ 00005347  0x0000126f fetch  0x00000001 , 0x00004040 
+ 00005348  0x00001270 rtnbit1  0x00000000 
+ 00005349  0x00001271 rtnbit1  0x00000003 
+ 00005350  0x00001272 fetch  0x00000001 , 0x00004767 
+ 00005351  0x00001273 branch  0x000014ea , 0x00000034 
+ 00005352  0x00001274 fetch  0x00000001 , 0x000046bc 
+ 00005353  0x00001275 rtn  0x00000034 
+ 00005354  0x00001277 fetch  0x00000001 , 0x00004427 
+ 00005355  0x00001278 nbranch  0x000014ee , 0x00000034 
+ 00005356  0x00001279 fetch  0x00000001 , 0x0000409b 
+ 00005357  0x0000127a rtn  0x00000034 
+ 00005358  0x0000127c fetch  0x00000002 , 0x00004159 
+ 00005359  0x0000127d rtn  0x00000034 
+ 00005360  0x0000127f fetcht  0x00000001 , 0x0000415b 
+ 00005361  0x00001280 isub  0x00000002 , 0x0000003f 
+ 00005362  0x00001281 arg  0x00001d4c , 0x00000002 
+ 00005363  0x00001282 imul32  0x00000002 , 0x0000003f 
+ 00005364  0x00001283 branch  0x000014d8 
+ 00005365  0x00001286 bpatch  0x000000a9 , 0x00004015 
+ 00005366  0x00001287 disable  0x0000002b 
+ 00005367  0x00001288 fetch  0x00000001 , 0x00000030 
+ 00005368  0x00001289 rtnbit0  0x00000001 
+ 00005369  0x0000128a nbranch  0x00001517 , 0x0000002d 
+ 00005370  0x0000128b call  0x00001512 
+ 00005371  0x0000128c fetch  0x00000002 , 0x000040c8 
+ 00005372  0x0000128d store  0x00000002 , 0x0000003e 
+ 00005373  0x0000128e fetch  0x00000001 , 0x00000047 
+ 00005374  0x0000128f bbit1  0x00000003 , 0x00001525 
+ 00005375  0x00001290 bmark0  0x0000000d , 0x00001525 
+ 00005376  0x00001291 call  0x00005355 
+ 00005377  0x00001292 nbranch  0x00001525 , 0x00000034 
+ 00005378  0x00001293 fetch  0x00000001 , 0x00004646 
+ 00005379  0x00001294 bbit1  0x00000001 , 0x00001525 
+ 00005380  0x00001296 fetch  0x00000002 , 0x00004471 
+ 00005381  0x00001297 call  0x00007e7a 
+ 00005382  0x00001298 nbranch  0x00001525 , 0x00000034 
+ 00005383  0x00001299 jam  0x00000000 , 0x0000009d 
+ 00005384  0x0000129a bmark0  0x0000000d , 0x00001525 
+ 00005385  0x0000129b fetch  0x00000001 , 0x00004179 
+ 00005386  0x0000129c branch  0x00001529 , 0x00000034 
+ 00005387  0x0000129d increase  0xffffffff , 0x0000003f 
+ 00005388  0x0000129e store  0x00000001 , 0x00004179 
+ 00005389  0x0000129f rtn 
+ 00005390  0x000012a3 arg  0x00000001 , 0x00000007 
+ 00005391  0x000012a4 branch  0x00005842 
+ 00005392  0x000012a7 arg  0x00000001 , 0x00000007 
+ 00005393  0x000012a8 branch  0x00005846 
+ 00005394  0x000012ad jam  0x00000000 , 0x0000415e 
+ 00005395  0x000012ae fetch  0x00000003 , 0x0000416e 
+ 00005396  0x000012af increase  0x00000001 , 0x0000003f 
+ 00005397  0x000012b0 store  0x00000003 , 0x0000416e 
+ 00005398  0x000012b1 rtn 
+ 00005399  0x000012b4 bpatch  0x000000aa , 0x00004015 
+ 00005400  0x000012b5 fetcht  0x00000002 , 0x000040c8 
+ 00005401  0x000012b6 rshift  0x00000002 , 0x00000002 
+ 00005402  0x000012b7 fetch  0x00000002 , 0x0000003e 
+ 00005403  0x000012b8 iadd  0x00000002 , 0x0000003f 
+ 00005404  0x000012b9 store  0x00000002 , 0x0000003e 
+ 00005405  0x000012bb jam  0x00000000 , 0x0000009d 
+ 00005406  0x000012bc fetch  0x00000003 , 0x00004171 
+ 00005407  0x000012bd increase  0x00000001 , 0x0000003f 
+ 00005408  0x000012be store  0x00000003 , 0x00004171 
+ 00005409  0x000012bf fetch  0x00000001 , 0x0000415e 
+ 00005410  0x000012c0 increase  0x00000001 , 0x0000003f 
+ 00005411  0x000012c1 store  0x00000001 , 0x0000415e 
+ 00005412  0x000012c2 rtn 
+ 00005413  0x000012c5 jam  0x00000000 , 0x0000009d 
+ 00005414  0x000012c6 fetch  0x00000001 , 0x00004178 
+ 00005415  0x000012c7 store  0x00000001 , 0x00004179 
+ 00005416  0x000012c8 rtn 
+ 00005417  0x000012cb fetcht  0x00000001 , 0x00004177 
+ 00005418  0x000012cc storet  0x00000001 , 0x0000009d 
+ 00005419  0x000012cd rtn 
+ 00005420  0x000012d0 fetch  0x00000001 , 0x0000417d 
+ 00005421  0x000012d1 nrtn  0x00000034 
+ 00005422  0x000012d2 jam  0x00000006 , 0x00008042 
+ 00005423  0x000012d3 setarg  0x00000f0c 
+ 00005424  0x000012d4 call  0x00001543 
+ 00005425  0x000012d5 setarg  0x00030d40 
+ 00005426  0x000012d6 call  0x0000137f 
+ 00005427  0x000012d7 until  0x0000003e , 0x00000033 
+ 00005428  0x000012d8 copy  0x00000031 , 0x00000030 
+ 00005429  0x000012d9 call  0x000012d1 
+ 00005430  0x000012da jam  0x00000004 , 0x00008042 
+ 00005431  0x000012db nop  0x0000000a 
+ 00005432  0x000012dc until  0x0000003e , 0x00000033 
+ 00005433  0x000012dd deposit  0x00000031 
+ 00005434  0x000012de isub  0x00000030 , 0x0000003f 
+ 00005435  0x000012df increase  0x00000030 , 0x0000003f 
+ 00005436  0x000012e0 arg  0x000000ff , 0x00000002 
+ 00005437  0x000012e1 call  0x00007e6f 
+ 00005438  0x000012e2 store  0x00000001 , 0x0000417d 
+ 00005439  0x000012e3 nop  0x00007530 
+ 00005440  0x000012e4 nop  0x00007530 
+ 00005441  0x000012e5 nop  0x00007530 
+ 00005442  0x000012e6 rtn 
+ 00005443  0x00001309 arg  0x00000fff , 0x00000005 
+ 00005444  0x0000130a iand  0x00000005 , 0x00000005 
+ 00005445  0x0000130b fetch  0x00000001 , 0x0000417a 
+ 00005446  0x0000130c and_into  0x000000f0 , 0x0000003f 
+ 00005447  0x0000130d lshift8  0x0000003f , 0x0000003f 
+ 00005448  0x0000130e ior  0x00000005 , 0x0000003f 
+ 00005449  0x0000130f store  0x00000002 , 0x0000804c 
+ 00005450  0x00001310 ifetch  0x00000002 , 0x00000006 
+ 00005451  0x00001311 istore  0x00000002 , 0x00000005 
+ 00005452  0x00001314 setarg  0x00000001 
+ 00005453  0x00001315 branch  0x0000154f 
+ 00005454  0x00001318 setarg  0x00000002 
+ 00005455  0x0000131a until  0x0000003e , 0x00000033 
+ 00005456  0x0000131b store  0x00000001 , 0x00008005 
+ 00005457  0x0000131c until  0x0000003e , 0x00000033 
+ 00005458  0x0000131d until  0x0000003e , 0x00000033 
+ 00005459  0x0000131e rtn 
+ 00005460  0x00001321 fetch  0x00000004 , 0x00008134 
+ 00005461  0x00001322 store  0x00000004 , 0x0000804c 
+ 00005462  0x00001323 fetch  0x00000001 , 0x00008134 
+ 00005463  0x00001324 and_into  0x00000041 , 0x0000003f 
+ 00005464  0x00001325 fetcht  0x00000001 , 0x00004182 
+ 00005465  0x00001326 ior  0x00000002 , 0x0000003f 
+ 00005466  0x00001327 store  0x00000001 , 0x0000804c 
+ 00005467  0x00001329 setarg  0x00000020 
+ 00005468  0x0000132a branch  0x0000154f 
+ 00005469  0x0000132e bpatch  0x000000ab , 0x00004015 
+ 00005470  0x0000132f fetch  0x00000004 , 0x0000009e 
+ 00005471  0x00001330 store  0x00000004 , 0x0000804c 
+ 00005472  0x00001331 setarg  0x00000004 
+ 00005473  0x00001332 call  0x0000154f 
+ 00005474  0x00001333 fetch  0x00000004 , 0x000000a2 
+ 00005475  0x00001334 store  0x00000004 , 0x0000804c 
+ 00005476  0x00001335 setarg  0x00000008 
+ 00005477  0x00001336 branch  0x0000154f 
+ 00005478  0x00001339 fetch  0x00000002 , 0x00004157 
+ 00005479  0x0000133a qset1  0x0000003f 
+ 00005480  0x0000133b store  0x00000002 , 0x00004157 
+ 00005481  0x0000133c rtn 
+ 00005482  0x0000133f fetch  0x00000002 , 0x00004157 
+ 00005483  0x00001340 qset0  0x0000003f 
+ 00005484  0x00001341 store  0x00000002 , 0x00004157 
+ 00005485  0x00001342 rtn 
+ 00005486  0x00001347 bpatch  0x000000ac , 0x00004015 
+ 00005487  0x00001348 call  0x000031b4 
+ 00005488  0x00001349 fetch  0x00000002 , 0x00004157 
+ 00005489  0x0000134a copy  0x0000003f , 0x00000011 
+ 00005490  0x0000134b fetch  0x00000001 , 0x0000004c 
+ 00005491  0x0000134c isolate1  0x00000006 , 0x0000003f 
+ 00005492  0x0000134d setflag  0x00000001 , 0x0000000b , 0x00000011 
+ 00005493  0x0000134e fetch  0x00000001 , 0x00000078 
+ 00005494  0x0000134f fetcht  0x00000001 , 0x0000007c 
+ 00005495  0x00001350 iadd  0x00000002 , 0x0000003f 
+ 00005496  0x00001351 fetcht  0x00000001 , 0x00000048 
+ 00005497  0x00001352 iadd  0x00000002 , 0x0000003f 
+ 00005498  0x00001353 nsetflag  0x00000034 , 0x0000000a , 0x00000011 
+ 00005499  0x00001354 fetch  0x00000003 , 0x000044f3 
+ 00005500  0x00001355 nsetflag  0x00000034 , 0x00000001 , 0x00000011 
+ 00005501  0x00001356 fetch  0x00000002 , 0x0000030e 
+ 00005502  0x00001357 fetcht  0x00000002 , 0x00000310 
+ 00005503  0x00001358 iadd  0x00000002 , 0x0000003f 
+ 00005504  0x00001359 nsetflag  0x00000034 , 0x0000000d , 0x00000011 
+ 00005505  0x0000135a fetch  0x00000008 , 0x00004775 
+ 00005506  0x0000135b nsetflag  0x00000034 , 0x0000000f , 0x00000011 
+ 00005507  0x0000135c fetch  0x00000008 , 0x0000477d 
+ 00005508  0x0000135d nsetflag  0x00000034 , 0x0000000e , 0x00000011 
+ 00005509  0x0000135e fetch  0x00000001 , 0x000041db 
+ 00005510  0x0000135f nsetflag  0x00000034 , 0x00000008 , 0x00000011 
+ 00005511  0x00001360 fetch  0x00000001 , 0x0000409a 
+ 00005512  0x00001361 compare  0x0000000a , 0x0000003f , 0x000000ff 
+ 00005513  0x00001362 call  0x0000158d , 0x00000001 
+ 00005514  0x00001363 copy  0x00000011 , 0x0000003f 
+ 00005515  0x00001364 store  0x00000002 , 0x00004157 
+ 00005516  0x00001365 rtn 
+ 00005517  0x00001368 fetch  0x00000002 , 0x00008112 
+ 00005518  0x00001369 nsetflag  0x00000034 , 0x00000006 , 0x00000011 
+ 00005519  0x0000136a fetch  0x00000002 , 0x0000810e 
+ 00005520  0x0000136b nsetflag  0x00000034 , 0x00000005 , 0x00000011 
+ 00005521  0x0000136c rtn 
+ 00005522  0x0000136f fetch  0x00000004 , 0x00008138 
+ 00005523  0x00001370 set0  0x0000001b , 0x0000003f 
+ 00005524  0x00001371 store  0x00000004 , 0x0000804c 
+ 00005525  0x00001372 call  0x0000154c 
+ 00005526  0x00001373 branch  0x0000137c 
+ 00005527  0x00001376 fetch  0x00000004 , 0x0000813c 
+ 00005528  0x00001377 set0  0x00000014 , 0x0000003f 
+ 00005529  0x00001378 store  0x00000004 , 0x0000804c 
+ 00005530  0x00001379 branch  0x0000154e 
+ 00005531  0x00001381 bpatchx  0x00000099 , 0x00004033 
+ 00005532  0x00001382 disable  0x0000002b 
+ 00005533  0x00001383 jam  0x00000001 , 0x0000029d 
+ 00005534  0x00001384 jam  0x00000003 , 0x00000287 
+ 00005535  0x00001385 jam  0x00000001 , 0x0000029e 
+ 00005536  0x00001386 setarg  0xffffffff 
+ 00005537  0x00001387 store  0x00000002 , 0x000002a1 
+ 00005538  0x00001388 force  0x00000000 , 0x0000003f 
+ 00005539  0x00001389 store  0x00000001 , 0x0000029f 
+ 00005540  0x0000138a store  0x00000001 , 0x000002aa 
+ 00005541  0x0000138b store  0x00000003 , 0x0000416e 
+ 00005542  0x0000138c store  0x00000003 , 0x00004171 
+ 00005543  0x0000138d call  0x00001901 
+ 00005544  0x0000138e jam  0x00000001 , 0x000041f5 
+ 00005545  0x0000138f jam  0x00000000 , 0x000041f6 
+ 00005546  0x00001390 jam  0x00000001 , 0x000002bc 
+ 00005547  0x00001391 jam  0x00000001 , 0x000002bd 
+ 00005548  0x00001392 jam  0x00000000 , 0x00004435 
+ 00005549  0x00001393 branch  0x000019dc 
+ 00005550  0x00001396 bpatchx  0x0000009a , 0x00004033 
+ 00005551  0x00001397 enable  0x00000029 
+ 00005552  0x00001398 jam  0x00000003 , 0x00000288 
+ 00005553  0x00001399 jam  0x00000001 , 0x00004437 
+ 00005554  0x0000139a jam  0x00000001 , 0x0000099e 
+ 00005555  0x0000139b setarg  0x0000ffff 
+ 00005556  0x0000139c store  0x00000002 , 0x000009a0 
+ 00005557  0x0000139d force  0x00000000 , 0x0000003f 
+ 00005558  0x0000139e store  0x00000005 , 0x000046a4 
+ 00005559  0x0000139f set1  0x00000027 , 0x0000003f 
+ 00005560  0x000013a0 store  0x00000005 , 0x0000469f 
+ 00005561  0x000013a1 branch  0x0000159b 
+ 00005562  0x000013a5 bpatchx  0x0000009b , 0x00004033 
+ 00005563  0x000013a6 disable  0x00000029 
+ 00005564  0x000013a7 setarg  0x00000017 
+ 00005565  0x000013a8 store  0x00000002 , 0x00004382 
+ 00005566  0x000013a9 increase  0x00000004 , 0x0000003f 
+ 00005567  0x000013aa store  0x00000002 , 0x00004444 
+ 00005568  0x000013ab jam  0x00000001 , 0x00000288 
+ 00005569  0x000013ac jam  0x00000000 , 0x00004427 
+ 00005570  0x000013ad jam  0x00000000 , 0x0000009d 
+ 00005571  0x000013ae call  0x00001626 
+ 00005572  0x000013af fetch  0x00000002 , 0x000002b5 
+ 00005573  0x000013b0 store  0x00000002 , 0x00004394 
+ 00005574  0x000013b1 fetch  0x00000002 , 0x00000289 
+ 00005575  0x000013b2 mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00005576  0x000013b3 rshift4  0x0000003f , 0x0000003f 
+ 00005577  0x000013b4 store  0x00000002 , 0x000002b5 
+ 00005578  0x000013b5 branch  0x0000159b 
+ 00005579  0x000013bd bpatchx  0x0000009c , 0x00004033 
+ 00005580  0x000013be call  0x00001651 
+ 00005581  0x000013bf fetch  0x00000001 , 0x00000287 
+ 00005582  0x000013c0 isolate1  0x00000004 , 0x0000003f 
+ 00005583  0x000013c1 setflag  0x00000001 , 0x00000032 , 0x00000000 
+ 00005584  0x000013c2 call  0x00003182 
+ 00005585  0x000013c3 fetch  0x00000001 , 0x00000288 
+ 00005586  0x000013c4 bbit1  0x00000001 , 0x000015d4 
+ 00005587  0x000013c5 branch  0x000015e6 
+ 00005588  0x000013cc bpatchx  0x0000009d , 0x00004033 
+ 00005589  0x000013cd enable  0x00000029 
+ 00005590  0x000013ce call  0x000019d3 
+ 00005591  0x000013cf branch  0x000015e3 , 0x00000002 
+ 00005592  0x000013d0 call  0x000016a2 
+ 00005593  0x000013d1 call  0x00001916 
+ 00005594  0x000013d2 disable  0x0000002d 
+ 00005595  0x000013d3 call  0x000017d4 
+ 00005596  0x000013d4 nrtn  0x0000002d 
+ 00005597  0x000013d5 fetch  0x00000001 , 0x00000005 
+ 00005598  0x000013d6 increase  0x00000001 , 0x0000003f 
+ 00005599  0x000013d7 store  0x00000001 , 0x00000005 
+ 00005600  0x000013d8 call  0x000018c7 
+ 00005601  0x000013d9 disable  0x00000029 
+ 00005602  0x000013da rtn 
+ 00005603  0x000013dd call  0x0000161a 
+ 00005604  0x000013de disable  0x00000029 
+ 00005605  0x000013df rtn 
+ 00005606  0x000013e5 bpatchx  0x0000009e , 0x00004033 
+ 00005607  0x000013e6 jam  0x00000000 , 0x000043dd 
+ 00005608  0x000013e7 set0  0x00000030 , 0x00000000 
+ 00005609  0x000013e8 call  0x00007602 
+ 00005610  0x000013e9 call  0x00002064 
+ 00005611  0x000013ea disable  0x0000002e 
+ 00005612  0x000013eb call  0x000019d3 
+ 00005613  0x000013ec branch  0x0000161a , 0x00000002 
+ 00005614  0x000013ed fetch  0x00000001 , 0x000002bc 
+ 00005615  0x000013ee call  0x00001637 
+ 00005616  0x000013ef call  0x000016a2 
+ 00005617  0x000013f0 call  0x000016fa 
+ 00005618  0x000013f1 nbranch  0x0000160c , 0x00000018 
+ 00005619  0x000013f2 call  0x0000162a 
+ 00005620  0x000013f3 branch  0x000015f7 , 0x0000002d 
+ 00005621  0x000013f4 bmark1  0x00000030 , 0x000015f7 
+ 00005622  0x000013f5 branch  0x00001606 
+ 00005623  0x000013fa bpatchx  0x0000009f , 0x00004033 
+ 00005624  0x000013fb fetch  0x00000001 , 0x000043dd 
+ 00005625  0x000013fc pincrease  0x00000001 
+ 00005626  0x000013fd store  0x00000001 , 0x000043dd 
+ 00005627  0x000013fe beq  0x0000000c , 0x00001606 
+ 00005628  0x000013ff call  0x000018c7 
+ 00005629  0x00001400 call  0x00001916 
+ 00005630  0x00001401 fetch  0x00000001 , 0x000002bd 
+ 00005631  0x00001402 call  0x00001637 
+ 00005632  0x00001403 call  0x000017e2 
+ 00005633  0x00001404 call  0x00001979 
+ 00005634  0x00001405 fetch  0x00000002 , 0x0000446d 
+ 00005635  0x00001406 call  0x00007e7a 
+ 00005636  0x00001407 call  0x0000160f 
+ 00005637  0x00001408 branch  0x00001614 , 0x00000028 
+ 00005638  0x0000140a bpatchx  0x000000a0 , 0x00004034 
+ 00005639  0x0000140b call  0x0000202a 
+ 00005640  0x0000140c call  0x00002021 
+ 00005641  0x0000140d call  0x000078f2 
+ 00005642  0x0000140e fetch  0x00000001 , 0x000002aa 
+ 00005643  0x0000140f bbit1  0x00000003 , 0x0000161a 
+ 00005644  0x00001411 bpatchx  0x000000a1 , 0x00004034 
+ 00005645  0x00001412 call  0x00001aa6 
+ 00005646  0x00001413 branch  0x0000105d 
+ 00005647  0x00001417 disable  0x00000028 
+ 00005648  0x00001418 bmark1  0x0000002a , 0x00007ec5 
+ 00005649  0x00001419 bmark1  0x00000029 , 0x00007ec5 
+ 00005650  0x0000141a bmark1  0x00000030 , 0x00007ec5 
+ 00005651  0x0000141b rtn 
+ 00005652  0x0000141f bpatchx  0x000000a2 , 0x00004034 
+ 00005653  0x00001420 enable  0x0000002e 
+ 00005654  0x00001421 call  0x000017d8 
+ 00005655  0x00001422 branch  0x000015f7 , 0x0000002d 
+ 00005656  0x00001423 bmark1  0x00000030 , 0x000015f7 
+ 00005657  0x00001424 branch  0x00001606 
+ 00005658  0x0000142a bpatchx  0x000000a3 , 0x00004034 
+ 00005659  0x0000142b call  0x00001621 
+ 00005660  0x0000142c call  0x00003243 
+ 00005661  0x0000142d call  0x00001626 
+ 00005662  0x0000142e call  0x00002072 
+ 00005663  0x0000142f jam  0x00000015 , 0x0000095b 
+ 00005664  0x00001430 branch  0x000078dc 
+ 00005665  0x00001433 arg  0x000044e9 , 0x00000005 
+ 00005666  0x00001434 call  0x00007d90 
+ 00005667  0x00001435 jam  0x00000000 , 0x0000029d 
+ 00005668  0x00001436 jam  0x00000000 , 0x00000288 
+ 00005669  0x00001437 jam  0x00000000 , 0x00000287 
+ 00005670  0x00001439 bpatchx  0x000000a4 , 0x00004034 
+ 00005671  0x0000143a jam  0x00000000 , 0x0000439c 
+ 00005672  0x0000143b jam  0x00000000 , 0x0000439b 
+ 00005673  0x0000143c branch  0x00006f37 
+ 00005674  0x0000143f bpatchx  0x000000a5 , 0x00004034 
+ 00005675  0x00001440 fetch  0x00000001 , 0x00000005 
+ 00005676  0x00001441 increase  0x00000001 , 0x0000003f 
+ 00005677  0x00001442 store  0x00000001 , 0x00000005 
+ 00005678  0x00001443 fetch  0x00000001 , 0x00000287 
+ 00005679  0x00001444 rtnbit1  0x00000003 
+ 00005680  0x00001445 set1  0x00000003 , 0x0000003f 
+ 00005681  0x00001446 store  0x00000001 , 0x00000287 
+ 00005682  0x00001447 fetch  0x00000002 , 0x00004394 
+ 00005683  0x00001448 store  0x00000002 , 0x000002b5 
+ 00005684  0x00001449 setarg  0x00000000 
+ 00005685  0x0000144a store  0x00000004 , 0x000043bc 
+ 00005686  0x0000144b rtn 
+ 00005687  0x00001454 copy  0x0000003f , 0x00000002 
+ 00005688  0x00001455 bpatchx  0x000000a6 , 0x00004034 
+ 00005689  0x00001456 copy  0x00000002 , 0x0000003f 
+ 00005690  0x00001457 bbit1  0x00000000 , 0x00001651 
+ 00005691  0x00001458 bbit1  0x00000001 , 0x00001640 
+ 00005692  0x00001459 bbit0  0x00000002 , 0x00001651 
+ 00005693  0x0000145a bbit1  0x00000007 , 0x0000164e 
+ 00005694  0x0000145b bbit1  0x00000002 , 0x00001646 
+ 00005695  0x0000145c branch  0x00001651 
+ 00005696  0x0000145f call  0x00001651 
+ 00005697  0x00001460 set1  0x0000002d , 0x00000000 
+ 00005698  0x00001461 set0  0x0000002f , 0x00000000 
+ 00005699  0x00001462 jam  0x00000003 , 0x00008901 
+ 00005700  0x00001463 jam  0x00000084 , 0x00008920 
+ 00005701  0x00001464 rtn 
+ 00005702  0x00001468 call  0x00001651 
+ 00005703  0x00001469 set1  0x0000002f , 0x00000000 
+ 00005704  0x0000146a set0  0x0000002e , 0x00000000 
+ 00005705  0x0000146b jam  0x00000005 , 0x00008901 
+ 00005706  0x0000146c jam  0x00000080 , 0x00008920 
+ 00005707  0x0000146d jam  0x00000020 , 0x00008930 
+ 00005708  0x0000146e jam  0x0000000a , 0x00008934 
+ 00005709  0x0000146f rtn 
+ 00005710  0x00001472 call  0x00001646 
+ 00005711  0x00001473 set1  0x0000002e , 0x00000000 
+ 00005712  0x00001474 rtn 
+ 00005713  0x00001477 bpatchx  0x000000a7 , 0x00004034 
+ 00005714  0x00001478 enable  0x00000036 
+ 00005715  0x00001479 set0  0x0000002d , 0x00000000 
+ 00005716  0x0000147a set0  0x0000002f , 0x00000000 
+ 00005717  0x0000147b jam  0x00000001 , 0x00008901 
+ 00005718  0x0000147c jam  0x00000080 , 0x00008920 
+ 00005719  0x0000147d jam  0x000000a7 , 0x00008925 
+ 00005720  0x0000147e jam  0x00000003 , 0x00008930 
+ 00005721  0x0000147f jam  0x00000058 , 0x00008933 
+ 00005722  0x00001480 jam  0x0000000a , 0x00008934 
+ 00005723  0x00001481 jam  0x00000040 , 0x00008937 
+ 00005724  0x00001482 jam  0x00000009 , 0x00008a6d 
+ 00005725  0x00001483 rtn 
+ 00005726  0x00001487 bpatchx  0x000000a8 , 0x00004035 
+ 00005727  0x00001488 disable  0x00000036 
+ 00005728  0x00001489 set0  0x00000032 , 0x00000000 
+ 00005729  0x0000148a jam  0x00000000 , 0x00008901 
+ 00005730  0x0000148b jam  0x00000080 , 0x00008920 
+ 00005731  0x0000148c jam  0x000000a3 , 0x00008925 
+ 00005732  0x0000148d jam  0x00000003 , 0x00008930 
+ 00005733  0x0000148e jam  0x00000068 , 0x00008933 
+ 00005734  0x0000148f jam  0x00000009 , 0x00008934 
+ 00005735  0x00001490 jam  0x00000028 , 0x00008937 
+ 00005736  0x00001491 jam  0x00000009 , 0x00008a6d 
+ 00005737  0x00001492 rtn 
+ 00005738  0x00001495 disable  0x00000009 
+ 00005739  0x00001496 disable  0x00000007 
+ 00005740  0x00001497 fetch  0x00000003 , 0x000002af 
+ 00005741  0x00001498 iforce  0x0000000f 
+ 00005742  0x00001499 fetch  0x00000001 , 0x00000016 
+ 00005743  0x0000149a reverse  0x0000003f , 0x00000002 
+ 00005744  0x0000149b set1  0x00000001 , 0x00000002 
+ 00005745  0x0000149c rshift  0x00000002 , 0x0000000e 
+ 00005746  0x0000149d rtn 
+ 00005747  0x000014a1 call  0x0000167c 
+ 00005748  0x000014a3 call  0x0000118b 
+ 00005749  0x000014a4 fetch  0x00000002 , 0x0000015d 
+ 00005750  0x000014a5 call  0x0000137f 
+ 00005751  0x000014a6 branch  0x000011a2 
+ 00005752  0x000014a9 branch  0x00001207 , 0x0000002d 
+ 00005753  0x000014aa bmark1  0x00000030 , 0x00001207 
+ 00005754  0x000014ac call  0x0000167c 
+ 00005755  0x000014ad branch  0x00001201 
+ 00005756  0x000014af bpatchx  0x000000a9 , 0x00004035 
+ 00005757  0x000014b0 call  0x0000115d 
+ 00005758  0x000014b1 fetch  0x00000001 , 0x000002df 
+ 00005759  0x000014b2 nbranch  0x0000168f , 0x00000034 
+ 00005760  0x000014b3 fetch  0x00000001 , 0x00000016 
+ 00005761  0x000014b4 sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00005762  0x000014b5 branch  0x00001689 , 0x00000002 
+ 00005763  0x000014b6 force  0x00000000 , 0x00000002 
+ 00005764  0x000014b7 rtneq  0x00000025 
+ 00005765  0x000014b8 force  0x00000018 , 0x00000002 
+ 00005766  0x000014b9 rtneq  0x00000026 
+ 00005767  0x000014ba force  0x0000004e , 0x00000002 
+ 00005768  0x000014bb rtn 
+ 00005769  0x000014be sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00005770  0x000014bf branch  0x0000168c , 0x00000002 
+ 00005771  0x000014c0 increase  0x00000001 , 0x0000003f 
+ 00005772  0x000014c3 lshift  0x0000003f , 0x0000003f 
+ 00005773  0x000014c4 add  0x0000003f , 0x00000002 , 0x00000002 
+ 00005774  0x000014c5 rtn 
+ 00005775  0x000014c8 fetch  0x00000001 , 0x00000016 
+ 00005776  0x000014c9 lshift  0x0000003f , 0x00000002 
+ 00005777  0x000014ca rtn 
+ 00005778  0x000014cd arg  0x000001f4 , 0x00000002 
+ 00005779  0x000014ce rtn  0x00000034 
+ 00005780  0x000014cf arg  0x000000fa , 0x00000002 
+ 00005781  0x000014d0 rtneq  0x00000001 
+ 00005782  0x000014d1 arg  0x00000096 , 0x00000002 
+ 00005783  0x000014d2 rtneq  0x00000002 
+ 00005784  0x000014d3 arg  0x00000064 , 0x00000002 
+ 00005785  0x000014d4 rtneq  0x00000003 
+ 00005786  0x000014d5 arg  0x0000004b , 0x00000002 
+ 00005787  0x000014d6 rtneq  0x00000004 
+ 00005788  0x000014d7 arg  0x00000032 , 0x00000002 
+ 00005789  0x000014d8 rtneq  0x00000005 
+ 00005790  0x000014d9 arg  0x00000028 , 0x00000002 
+ 00005791  0x000014da rtneq  0x00000006 
+ 00005792  0x000014db arg  0x00000014 , 0x00000002 
+ 00005793  0x000014dc rtn 
+ 00005794  0x000014e1 bpatchx  0x000000aa , 0x00004035 
+ 00005795  0x000014e2 enable  0x00000010 
+ 00005796  0x000014e3 fetch  0x00000004 , 0x000002ab 
+ 00005797  0x000014e4 iforce  0x00000009 
+ 00005798  0x000014e5 call  0x000010ac 
+ 00005799  0x000014e6 call  0x000016d8 
+ 00005800  0x000014e7 setarg  0x00000200 
+ 00005801  0x000014e8 branch  0x000016ac , 0x00000029 
+ 00005802  0x000014e9 fetch  0x00000002 , 0x00000295 
+ 00005803  0x000014ea rshift  0x0000003f , 0x0000003f 
+ 00005804  0x000014ec fetcht  0x00000002 , 0x0000015d 
+ 00005805  0x000014ed iadd  0x00000002 , 0x0000003f 
+ 00005806  0x000014ee call  0x00001313 
+ 00005807  0x000014ef deposit  0x0000001a 
+ 00005808  0x000014f0 rtn 
+ 00005809  0x000014f4 bpatchx  0x000000ab , 0x00004035 
+ 00005810  0x000014f5 call  0x00007d43 
+ 00005811  0x000014f6 storer  0x00000039 , 0x00000002 , 0x00000987 
+ 00005812  0x000014f7 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00005813  0x000014f8 ifetch  0x00000001 , 0x00000006 
+ 00005814  0x000014f9 rtnbit0  0x00000000 
+ 00005815  0x000014fa add  0x00000011 , 0x0000001a , 0x00000005 
+ 00005816  0x000014fb ifetch  0x00000002 , 0x00000005 
+ 00005817  0x000014fc increase  0x00000001 , 0x0000003f 
+ 00005818  0x000014fd istore  0x00000002 , 0x00000005 
+ 00005819  0x000014fe call  0x00001844 
+ 00005820  0x000014ff call  0x00001869 
+ 00005821  0x00001500 call  0x00001872 
+ 00005822  0x00001501 call  0x000016c2 
+ 00005823  0x00001502 call  0x00007d51 
+ 00005824  0x00001503 fetchr  0x00000039 , 0x00000002 , 0x00000987 
+ 00005825  0x00001504 rtn 
+ 00005826  0x00001507 add  0x00000011 , 0x00000019 , 0x00000006 
+ 00005827  0x00001508 ifetch  0x00000001 , 0x00000006 
+ 00005828  0x00001509 add  0x00000011 , 0x00000018 , 0x00000005 
+ 00005829  0x0000150a ifetcht  0x00000001 , 0x00000005 
+ 00005830  0x0000150b iadd  0x00000002 , 0x0000003f 
+ 00005831  0x0000150c sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00005832  0x0000150d branch  0x000016ca , 0x00000002 
+ 00005833  0x0000150e increase  0xffffffdb , 0x0000003f 
+ 00005834  0x00001510 istore  0x00000001 , 0x00000005 
+ 00005835  0x00001511 rtn 
+ 00005836  0x00001515 add  0x00000011 , 0x00000030 , 0x00000006 
+ 00005837  0x00001516 ifetch  0x00000005 , 0x00000006 
+ 00005838  0x00001517 force  0x00000000 , 0x00000002 
+ 00005839  0x00001518 force  0x00000025 , 0x00000039 
+ 00005840  0x0000151a bbit0  0x00000000 , 0x000016d2 
+ 00005841  0x0000151b increase  0x00000001 , 0x00000002 
+ 00005842  0x0000151d rshift  0x0000003f , 0x0000003f 
+ 00005843  0x0000151e loop  0x000016d0 
+ 00005844  0x0000151f add  0x00000002 , 0xffffffff , 0x0000003f 
+ 00005845  0x00001520 add  0x00000011 , 0x00000022 , 0x00000005 
+ 00005846  0x00001521 istore  0x00000001 , 0x00000005 
+ 00005847  0x00001522 rtn 
+ 00005848  0x00001525 bpatchx  0x000000ac , 0x00004035 
+ 00005849  0x00001526 fetch  0x00000001 , 0x0000029f 
+ 00005850  0x00001527 iforce  0x00000007 
+ 00005851  0x00001528 fetcht  0x00000005 , 0x000002b7 
+ 00005852  0x00001529 qisolate1  0x00000002 
+ 00005853  0x0000152a branch  0x000016ed , 0x00000001 
+ 00005854  0x0000152c fetch  0x00000001 , 0x000002a9 
+ 00005855  0x0000152d isub  0x00000007 , 0x0000003f 
+ 00005856  0x0000152e branch  0x000016e3 , 0x00000002 
+ 00005857  0x0000152f sub  0x0000003f , 0xffffffff , 0x00000007 
+ 00005858  0x00001530 branch  0x000016de 
+ 00005859  0x00001532 copy  0x00000007 , 0x00000039 
+ 00005860  0x00001533 force  0x00000000 , 0x00000007 
+ 00005861  0x00001535 qisolate1  0x00000002 
+ 00005862  0x00001536 branch  0x000016e8 , 0x00000001 
+ 00005863  0x00001537 increase  0x00000001 , 0x00000039 
+ 00005864  0x00001539 deposit  0x00000039 
+ 00005865  0x0000153a branch  0x000016ed , 0x00000034 
+ 00005866  0x0000153b increase  0x00000001 , 0x00000007 
+ 00005867  0x0000153c increase  0xffffffff , 0x00000039 
+ 00005868  0x0000153d branch  0x000016e5 
+ 00005869  0x0000153f deposit  0x00000007 
+ 00005870  0x00001540 store  0x00000001 , 0x00000016 
+ 00005871  0x00001541 rtn 
+ 00005872  0x00001545 branch  0x000016f3 , 0x00000029 
+ 00005873  0x00001546 until  0x0000003e , 0x00000003 
+ 00005874  0x00001547 rtn 
+ 00005875  0x0000154a arg  0x00000ea0 , 0x0000000b 
+ 00005876  0x0000154b until  0x00000023 , 0x00000026 
+ 00005877  0x0000154c rtn 
+ 00005878  0x0000154f disable  0x00000010 
+ 00005879  0x00001550 fetch  0x00000002 , 0x000043e5 
+ 00005880  0x00001551 copy  0x0000003f , 0x0000000b 
+ 00005881  0x00001552 branch  0x00001700 
+ 00005882  0x00001556 bpatchx  0x000000ad , 0x00004035 
+ 00005883  0x00001557 call  0x00001764 
+ 00005884  0x00001558 enable  0x00000010 
+ 00005885  0x00001559 fetch  0x00000002 , 0x00000295 
+ 00005886  0x0000155a fetcht  0x00000004 , 0x000043bc 
+ 00005887  0x0000155b iadd  0x00000002 , 0x0000000b 
+ 00005888  0x0000155d call  0x00001673 
+ 00005889  0x0000155f bpatchx  0x000000ae , 0x00004035 
+ 00005890  0x00001560 call  0x0000166a 
+ 00005891  0x00001561 bmark0  0x0000002f , 0x00001708 
+ 00005892  0x00001562 pulse  0x00000039 
+ 00005893  0x00001563 nop  0x0000001e 
+ 00005894  0x00001564 call  0x0000166a 
+ 00005895  0x00001565 lshift3  0x0000000b , 0x0000000b 
+ 00005896  0x00001567 disable  0x0000002d 
+ 00005897  0x00001568 enable  0x0000000d 
+ 00005898  0x00001569 enable  0x00000021 
+ 00005899  0x0000156a disable  0x00000020 
+ 00005900  0x0000156b copy  0x0000000b , 0x0000001b 
+ 00005901  0x0000156c correlate  0x0000003e , 0x00000003 
+ 00005902  0x0000156d branch  0x00001711 , 0x0000002e 
+ 00005903  0x0000156e copy  0x0000001a , 0x00000002 
+ 00005904  0x0000156f storet  0x00000006 , 0x00000097 
+ 00005905  0x00001571 nbranch  0x0000179f , 0x00000018 
+ 00005906  0x00001572 bpatchx  0x000000af , 0x00004035 
+ 00005907  0x00001573 enable  0x00000010 
+ 00005908  0x00001574 arg  0x00004ea9 , 0x00000002 
+ 00005909  0x00001575 fetch  0x00000001 , 0x000041f0 
+ 00005910  0x00001576 imul32  0x00000002 , 0x0000001b 
+ 00005911  0x00001577 call  0x00004d0d 
+ 00005912  0x00001578 branch  0x0000171e , 0x0000002e 
+ 00005913  0x00001579 call  0x000017a3 
+ 00005914  0x0000157a fetch  0x00000001 , 0x00000287 
+ 00005915  0x0000157b bbit0  0x00000003 , 0x0000171e 
+ 00005916  0x0000157c fetcht  0x00000006 , 0x00000097 
+ 00005917  0x0000157d call  0x00001444 , 0x0000002b 
+ 00005918  0x0000157f call  0x0000127f 
+ 00005919  0x00001580 enable  0x00000007 
+ 00005920  0x00001581 enable  0x00000009 
+ 00005921  0x00001582 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005922  0x00001583 rshift3  0x0000000c , 0x0000003f 
+ 00005923  0x00001584 store  0x00000001 , 0x0000016b 
+ 00005924  0x00001585 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005925  0x00001586 rshift3  0x0000000c , 0x0000003f 
+ 00005926  0x00001587 store  0x00000001 , 0x0000016c 
+ 00005927  0x00001588 copy  0x0000003f , 0x00000039 
+ 00005928  0x00001589 branch  0x00001743 , 0x00000005 
+ 00005929  0x0000158b bmark1  0x00000032 , 0x0000172f 
+ 00005930  0x0000158e parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005931  0x0000158f rshift3  0x0000000c , 0x0000003f 
+ 00005932  0x00001590 istore  0x00000001 , 0x00000005 
+ 00005933  0x00001591 loop  0x0000172a 
+ 00005934  0x00001592 branch  0x00001743 
+ 00005935  0x00001595 copy  0x00000005 , 0x00000012 
+ 00005936  0x00001596 call  0x000018c0 
+ 00005937  0x00001598 fetchr  0x00000011 , 0x00000001 , 0x0000016c 
+ 00005938  0x00001599 increase  0xfffffffc , 0x00000011 
+ 00005939  0x0000159a nbranch  0x00001797 , 0x00000002 
+ 00005940  0x0000159c call  0x00001769 
+ 00005941  0x0000159d copy  0x00000012 , 0x00000005 
+ 00005942  0x0000159e arg  0x00000000 , 0x00000002 
+ 00005943  0x0000159f fetchr  0x00000039 , 0x00000001 , 0x0000016c 
+ 00005944  0x000015a0 increase  0xfffffffc , 0x00000039 
+ 00005945  0x000015a1 branch  0x00001741 , 0x00000005 
+ 00005946  0x000015a4 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005947  0x000015a5 rshift3  0x0000000c , 0x0000003f 
+ 00005948  0x000015a6 istore  0x00000001 , 0x00000005 
+ 00005949  0x000015a7 increase  0x00000001 , 0x00000002 
+ 00005950  0x000015a8 and  0x00000002 , 0x0000000f , 0x0000003e 
+ 00005951  0x000015a9 call  0x00001786 , 0x00000005 
+ 00005952  0x000015aa loop  0x0000173a 
+ 00005953  0x000015ac call  0x0000178e 
+ 00005954  0x000015ad copy  0x00000012 , 0x00000005 
+ 00005955  0x000015b1 bpatchx  0x000000b0 , 0x00004036 
+ 00005956  0x000015b2 parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00005957  0x000015b3 rshift32  0x0000003f , 0x0000003f 
+ 00005958  0x000015b4 rshift16  0x0000003f , 0x0000003f 
+ 00005959  0x000015b5 istore  0x00000003 , 0x00000005 
+ 00005960  0x000015b6 enable  0x00000010 
+ 00005961  0x000015b7 call  0x000017b1 
+ 00005962  0x000015b8 branch  0x0000179b , 0x00000006 
+ 00005963  0x000015b9 bmark0  0x00000032 , 0x00001755 
+ 00005964  0x000015ba fetch  0x00000001 , 0x0000016c 
+ 00005965  0x000015bb branch  0x00001755 , 0x00000034 
+ 00005966  0x000015bc increase  0xfffffffc , 0x0000003f 
+ 00005967  0x000015bd store  0x00000001 , 0x0000016c 
+ 00005968  0x000015be call  0x00006dbb 
+ 00005969  0x000015bf fetch  0x00000001 , 0x00008108 
+ 00005970  0x000015c0 bbit0  0x00000007 , 0x00001797 
+ 00005971  0x000015c1 force  0x0000000c , 0x00000038 
+ 00005972  0x000015c2 storer  0x0000002f , 0x00000004 , 0x00000273 
+ 00005973  0x000015c4 call  0x00004d0c 
+ 00005974  0x000015c5 enable  0x0000002d 
+ 00005975  0x000015c6 set0  0x00000030 , 0x00000000 
+ 00005976  0x000015c8 call  0x00006dbd 
+ 00005977  0x000015c9 fetch  0x00000001 , 0x000002bc 
+ 00005978  0x000015ca nsetflag  0x0000003c , 0x00000007 , 0x0000003f 
+ 00005979  0x000015cb store  0x00000001 , 0x000002bc 
+ 00005980  0x000015cd bpatchx  0x000000b1 , 0x00004036 
+ 00005981  0x000015ce fetcht  0x00000001 , 0x00000017 
+ 00005982  0x000015cf add  0x00000002 , 0x00000002 , 0x00000011 
+ 00005983  0x000015d0 bmark1  0x0000002d , 0x00001761 
+ 00005984  0x000015d1 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00005985  0x000015d3 disable  0x0000000d 
+ 00005986  0x000015d4 call  0x0000115d 
+ 00005987  0x000015d5 branch  0x000011c6 
+ 00005988  0x000015d9 rtnmark0  0x00000032 
+ 00005989  0x000015da call  0x00006e2f 
+ 00005990  0x000015db force  0x0000000c , 0x00000038 
+ 00005991  0x000015dc call  0x00006e37 
+ 00005992  0x000015dd branch  0x00006e36 
+ 00005993  0x000015e1 jam  0x00000000 , 0x000080d5 
+ 00005994  0x000015e2 jam  0x00000001 , 0x000080d6 
+ 00005995  0x000015e3 fetch  0x00000001 , 0x0000016b 
+ 00005996  0x000015e4 and_into  0x00000003 , 0x0000003f 
+ 00005997  0x000015e5 store  0x00000001 , 0x000080d7 
+ 00005998  0x000015e7 setarg  0x0000016d 
+ 00005999  0x000015e8 store  0x00000002 , 0x000080d1 
+ 00006000  0x000015e9 store  0x00000002 , 0x000080d3 
+ 00006001  0x000015eb fetchr  0x00000011 , 0x00000001 , 0x0000016c 
+ 00006002  0x000015ec increase  0xfffffffc , 0x00000011 
+ 00006003  0x000015ee fetcht  0x00000005 , 0x000046a4 
+ 00006004  0x000015ef isolate1  0x0000000f , 0x00000000 
+ 00006005  0x000015f0 call  0x0000177c , 0x00000001 
+ 00006006  0x000015f1 call  0x00006cc9 
+ 00006007  0x000015f2 setarg  0x00000000 
+ 00006008  0x000015f3 store  0x00000002 , 0x000080da 
+ 00006009  0x000015f4 jam  0x00000006 , 0x0000800a 
+ 00006010  0x000015f5 jam  0x00000007 , 0x0000800a 
+ 00006011  0x000015f6 rtn 
+ 00006012  0x000015f9 sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00006013  0x000015fa branch  0x00001781 , 0x00000005 
+ 00006014  0x000015fb increase  0xffffffff , 0x00000002 
+ 00006015  0x000015fc set1  0x00000027 , 0x00000002 
+ 00006016  0x000015fd rtn 
+ 00006017  0x00001600 setarg  0x00ffffff 
+ 00006018  0x00001601 lshift16  0x0000003f , 0x0000003f 
+ 00006019  0x00001602 arg  0x0000ffff , 0x00000002 
+ 00006020  0x00001603 ior  0x00000002 , 0x00000002 
+ 00006021  0x00001604 rtn 
+ 00006022  0x00001607 copy  0x00000005 , 0x00000012 
+ 00006023  0x00001608 fetch  0x00000001 , 0x0000016c 
+ 00006024  0x00001609 increase  0xfffffffc , 0x0000003f 
+ 00006025  0x0000160a isub  0x00000002 , 0x0000003e 
+ 00006026  0x0000160b rtn  0x00000005 
+ 00006027  0x0000160c storet  0x00000002 , 0x000080da 
+ 00006028  0x0000160d copy  0x00000012 , 0x00000005 
+ 00006029  0x0000160e rtn 
+ 00006030  0x00001611 parse  0x00000003 , 0x00000000 , 0x00000020 
+ 00006031  0x00001612 rshift32  0x0000003f , 0x0000003f 
+ 00006032  0x00001613 rshift8  0x0000003f , 0x0000003f 
+ 00006033  0x00001614 istore  0x00000004 , 0x00000005 
+ 00006034  0x00001615 copy  0x00000005 , 0x00000012 
+ 00006035  0x00001617 force  0x00000000 , 0x00000038 
+ 00006036  0x00001618 copy  0x0000003f , 0x0000002f 
+ 00006037  0x00001619 storet  0x00000002 , 0x000080da 
+ 00006038  0x0000161a rtn 
+ 00006039  0x0000161d branch  0x000017a1 
+ 00006040  0x00001620 call  0x000017b1 
+ 00006041  0x00001621 call  0x00000e7c 
+ 00006042  0x00001622 branch  0x00001755 
+ 00006043  0x00001625 call  0x00004d0e 
+ 00006044  0x00001626 bmark1  0x00000030 , 0x0000179f 
+ 00006045  0x00001627 set1  0x00000030 , 0x00000000 
+ 00006046  0x00001628 branch  0x00001758 
+ 00006047  0x0000162c set0  0x00000030 , 0x00000000 
+ 00006048  0x0000162d branch  0x000017a1 
+ 00006049  0x00001630 call  0x00006dbd 
+ 00006050  0x00001631 branch  0x00000e7c 
+ 00006051  0x00001634 bmark1  0x0000002f , 0x000017a9 
+ 00006052  0x00001635 bmark1  0x0000002d , 0x000017ad 
+ 00006053  0x00001636 fetch  0x00000002 , 0x00000165 
+ 00006054  0x00001637 copy  0x0000003f , 0x00000029 
+ 00006055  0x00001638 copy  0x00000021 , 0x00000028 
+ 00006056  0x00001639 rtn 
+ 00006057  0x0000163d fetch  0x00000002 , 0x00000169 
+ 00006058  0x0000163e copy  0x0000003f , 0x00000029 
+ 00006059  0x0000163f add  0x00000021 , 0x00000001 , 0x00000028 
+ 00006060  0x00001640 rtn 
+ 00006061  0x00001643 fetch  0x00000002 , 0x00000167 
+ 00006062  0x00001644 copy  0x0000003f , 0x00000029 
+ 00006063  0x00001645 copy  0x00000021 , 0x00000028 
+ 00006064  0x00001646 rtn 
+ 00006065  0x0000164a fetch  0x00000001 , 0x0000016c 
+ 00006066  0x0000164b add  0x0000003f , 0x00000005 , 0x00000002 
+ 00006067  0x0000164c lshift3  0x00000002 , 0x00000002 
+ 00006068  0x0000164d fetch  0x00000001 , 0x000002bc 
+ 00006069  0x0000164e bmark1  0x0000002f , 0x000017b8 
+ 00006070  0x0000164f bbit1  0x00000000 , 0x000017ba 
+ 00006071  0x00001650 bbit1  0x00000001 , 0x000017bb 
+ 00006072  0x00001652 branch  0x000017bd , 0x0000003c 
+ 00006073  0x00001653 branch  0x000017c0 
+ 00006074  0x00001656 branch  0x000017c5 
+ 00006075  0x00001659 rshift  0x00000002 , 0x00000002 
+ 00006076  0x0000165a branch  0x000017c5 
+ 00006077  0x0000165d add  0x00000002 , 0x00000003 , 0x00000002 
+ 00006078  0x0000165e lshift  0x00000002 , 0x00000002 
+ 00006079  0x0000165f branch  0x000017c2 
+ 00006080  0x00001662 add  0x00000002 , 0x00000003 , 0x00000002 
+ 00006081  0x00001663 lshift3  0x00000002 , 0x00000002 
+ 00006082  0x00001665 setarg  0x00000028 
+ 00006083  0x00001666 iadd  0x00000002 , 0x00000002 
+ 00006084  0x00001667 branch  0x000017c5 
+ 00006085  0x0000166a fetch  0x00000001 , 0x000041f0 
+ 00006086  0x0000166b imul32  0x00000002 , 0x00000002 
+ 00006087  0x0000166c arg  0x00004e20 , 0x00000011 
+ 00006088  0x0000166d imul32  0x00000011 , 0x0000003f 
+ 00006089  0x0000166e isub  0x00000002 , 0x00000002 
+ 00006090  0x0000166f copy  0x0000001b , 0x0000003f 
+ 00006091  0x00001670 isub  0x00000002 , 0x0000001b 
+ 00006092  0x00001671 rtn 
+ 00006093  0x00001674 call  0x000017e4 
+ 00006094  0x00001675 fetcht  0x00000001 , 0x00000017 
+ 00006095  0x00001676 call  0x0000118b 
+ 00006096  0x00001677 call  0x000011a2 
+ 00006097  0x00001678 enable  0x00000010 
+ 00006098  0x00001679 arg  0x0000157c , 0x0000000b 
+ 00006099  0x0000167a branch  0x00001701 
+ 00006100  0x0000167e bpatchx  0x000000b2 , 0x00004036 
+ 00006101  0x0000167f fetch  0x00000001 , 0x000002bd 
+ 00006102  0x00001680 call  0x00001637 
+ 00006103  0x00001681 call  0x000017e4 
+ 00006104  0x00001683 fetch  0x00000001 , 0x000002bc 
+ 00006105  0x00001684 call  0x00001637 
+ 00006106  0x00001686 fetcht  0x00000001 , 0x00000017 
+ 00006107  0x00001687 call  0x0000118b 
+ 00006108  0x00001688 call  0x000011a2 
+ 00006109  0x00001689 enable  0x00000010 
+ 00006110  0x0000168a arg  0x0000157c , 0x0000000b 
+ 00006111  0x0000168b bmark0  0x0000002f , 0x00001701 
+ 00006112  0x0000168c arg  0x00002134 , 0x0000000b 
+ 00006113  0x0000168d branch  0x00001701 
+ 00006114  0x00001690 call  0x000017e4 
+ 00006115  0x00001691 branch  0x00000e7c 
+ 00006116  0x00001694 bpatchx  0x000000b3 , 0x00004036 
+ 00006117  0x00001695 call  0x0000166a 
+ 00006118  0x00001696 call  0x00001678 
+ 00006119  0x00001697 call  0x00004d13 
+ 00006120  0x00001698 set1  0x00000000 , 0x00000015 
+ 00006121  0x00001699 enable  0x0000001d 
+ 00006122  0x0000169a enable  0x00000020 
+ 00006123  0x0000169b disable  0x00000021 
+ 00006124  0x0000169c call  0x000016f0 
+ 00006125  0x0000169d disable  0x0000003a 
+ 00006126  0x0000169e bmark1  0x0000002f , 0x00001826 
+ 00006127  0x0000169f bmark1  0x0000002d , 0x00001838 
+ 00006128  0x000016a0 rshift16  0x00000009 , 0x0000003f 
+ 00006129  0x000016a1 rshift8  0x0000003f , 0x0000003f 
+ 00006130  0x000016a2 rshift4  0x0000003f , 0x0000003f 
+ 00006131  0x000016a3 inject  0x00000003 , 0x00000028 
+ 00006132  0x000016a5 enable  0x00000007 
+ 00006133  0x000016a6 enable  0x00000009 
+ 00006134  0x000016a7 bpatchx  0x000000b4 , 0x00004036 
+ 00006135  0x000016a8 fetch  0x00000001 , 0x000041f5 
+ 00006136  0x000016a9 inject  0x00000003 , 0x00000008 
+ 00006137  0x000016aa ifetch  0x00000001 , 0x00000006 
+ 00006138  0x000016ab copy  0x0000003f , 0x00000039 
+ 00006139  0x000016ac inject  0x00000003 , 0x00000008 
+ 00006140  0x000016ad sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00006141  0x000016ae branch  0x00001805 , 0x00000005 
+ 00006142  0x000016b0 fetch  0x00000001 , 0x0000800a 
+ 00006143  0x000016b1 branch  0x00001801 , 0x00000034 
+ 00006144  0x000016b2 bmark1  0x00000032 , 0x0000181b 
+ 00006145  0x000016b4 arg  0x000041f7 , 0x00000006 
+ 00006146  0x000016b6 ifetch  0x00000001 , 0x00000006 
+ 00006147  0x000016b7 inject  0x00000003 , 0x00000008 
+ 00006148  0x000016b8 loop  0x00001802 
+ 00006149  0x000016bb enable  0x00000008 
+ 00006150  0x000016bc inject  0x00000003 , 0x00000018 
+ 00006151  0x000016bd disable  0x00000008 
+ 00006152  0x000016be bmark0  0x0000002f , 0x0000180c 
+ 00006153  0x000016bf disable  0x00000007 
+ 00006154  0x000016c0 setarg  0x00000000 
+ 00006155  0x000016c1 inject  0x00000003 , 0x00000003 
+ 00006156  0x000016c3 until  0x0000003e , 0x00000027 
+ 00006157  0x000016c4 nop  0x00000064 
+ 00006158  0x000016c5 disable  0x0000001d 
+ 00006159  0x000016c6 disable  0x00000038 
+ 00006160  0x000016c7 call  0x0000115d 
+ 00006161  0x000016c8 call  0x00004d11 
+ 00006162  0x000016ca fetch  0x00000001 , 0x000041f5 
+ 00006163  0x000016cb and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00006164  0x000016cc rtnne  0x00000003 
+ 00006165  0x000016cd fetch  0x00000001 , 0x0000439c 
+ 00006166  0x000016ce beq  0x00000002 , 0x00001901 
+ 00006167  0x000016cf rtnne  0x00000005 
+ 00006168  0x000016d0 fetch  0x00000001 , 0x000041f7 
+ 00006169  0x000016d1 beq  0x00000005 , 0x000018fc 
+ 00006170  0x000016d2 rtn 
+ 00006171  0x000016d6 increase  0xfffffffc , 0x00000039 
+ 00006172  0x000016d7 copy  0x00000039 , 0x00000002 
+ 00006173  0x000016d8 call  0x00006da8 
+ 00006174  0x000016d9 arg  0x000041f7 , 0x00000006 
+ 00006175  0x000016db ifetch  0x00000001 , 0x00000006 
+ 00006176  0x000016dc inject  0x00000003 , 0x00000008 
+ 00006177  0x000016dd loop  0x0000181f 
+ 00006178  0x000016de call  0x00006dad 
+ 00006179  0x000016df copy  0x0000002f , 0x0000003f 
+ 00006180  0x000016e0 inject  0x00000003 , 0x00000020 
+ 00006181  0x000016e1 branch  0x00001805 
+ 00006182  0x000016e4 arg  0x0000000a , 0x00000039 
+ 00006183  0x000016e6 setarg  0x0000003c 
+ 00006184  0x000016e7 inject  0x00000003 , 0x00000008 
+ 00006185  0x000016e8 loop  0x00001827 
+ 00006186  0x000016e9 disable  0x0000001d 
+ 00006187  0x000016ea enable  0x00000038 
+ 00006188  0x000016eb rshift16  0x00000009 , 0x0000003f 
+ 00006189  0x000016ec rshift16  0x0000003f , 0x0000003f 
+ 00006190  0x000016ed rshift4  0x0000003f , 0x0000003f 
+ 00006191  0x000016ee inject  0x00000003 , 0x00000020 
+ 00006192  0x000016ef bmark1  0x0000002e , 0x00001835 
+ 00006193  0x000016f1 setarg  0x00000001 
+ 00006194  0x000016f2 inject  0x00000003 , 0x00000005 
+ 00006195  0x000016f3 enable  0x0000003a 
+ 00006196  0x000016f4 branch  0x000017f4 
+ 00006197  0x000016f7 setarg  0x00000000 
+ 00006198  0x000016f8 inject  0x00000003 , 0x00000005 
+ 00006199  0x000016f9 branch  0x000017f4 
+ 00006200  0x000016fc fetch  0x00000001 , 0x000041f0 
+ 00006201  0x000016fd rshift  0x0000003f , 0x00000039 
+ 00006202  0x000016ff nop  0x00000002 
+ 00006203  0x00001700 loop  0x0000183a 
+ 00006204  0x00001702 rshift16  0x00000009 , 0x0000003f 
+ 00006205  0x00001703 rshift8  0x0000003f , 0x0000003f 
+ 00006206  0x00001704 rshift4  0x0000003f , 0x00000002 
+ 00006207  0x00001705 copy  0x00000002 , 0x0000003f 
+ 00006208  0x00001706 inject  0x00000003 , 0x00000008 
+ 00006209  0x00001707 copy  0x00000002 , 0x0000003f 
+ 00006210  0x00001708 inject  0x00000003 , 0x00000028 
+ 00006211  0x00001709 branch  0x000017f4 
+ 00006212  0x0000170d arg  0x00001848 , 0x00000013 
+ 00006213  0x0000170e arg  0x0000185c , 0x00000012 
+ 00006214  0x0000170f arg  0x00000005 , 0x00000007 
+ 00006215  0x00001710 branch  0x000018a0 
+ 00006216  0x00001713 add  0x00000011 , 0x00000004 , 0x00000006 
+ 00006217  0x00001714 ifetcht  0x00000004 , 0x00000006 
+ 00006218  0x00001715 add  0x00000011 , 0x00000037 , 0x00000006 
+ 00006219  0x00001716 ifetch  0x00000001 , 0x00000006 
+ 00006220  0x00001717 add  0x00000011 , 0x0000002b , 0x00000005 
+ 00006221  0x00001718 istore  0x00000001 , 0x00000005 
+ 00006222  0x00001719 ifetch  0x00000002 , 0x00000006 
+ 00006223  0x0000171a lshift2  0x0000003f , 0x0000003f 
+ 00006224  0x0000171b iadd  0x00000002 , 0x0000000b 
+ 00006225  0x0000171c add  0x00000011 , 0x00000004 , 0x00000005 
+ 00006226  0x0000171d deposit  0x0000000b 
+ 00006227  0x0000171e istore  0x00000004 , 0x00000005 
+ 00006228  0x0000171f ifetch  0x00000002 , 0x00000006 
+ 00006229  0x00001720 lshift2  0x0000003f , 0x0000003f 
+ 00006230  0x00001721 add  0x00000011 , 0x00000002 , 0x00000005 
+ 00006231  0x00001722 istore  0x00000002 , 0x00000005 
+ 00006232  0x00001723 ifetch  0x00000004 , 0x00000006 
+ 00006233  0x00001724 add  0x00000011 , 0x0000002c , 0x00000005 
+ 00006234  0x00001725 istore  0x00000004 , 0x00000005 
+ 00006235  0x00001726 branch  0x000019df 
+ 00006236  0x00001729 ifetch  0x00000001 , 0x00000011 
+ 00006237  0x0000172a set0  0x00000003 , 0x0000003f 
+ 00006238  0x0000172b istore  0x00000001 , 0x00000011 
+ 00006239  0x0000172c fetch  0x00000002 , 0x000002b5 
+ 00006240  0x0000172d store  0x00000002 , 0x00004394 
+ 00006241  0x0000172e storer  0x00000011 , 0x00000002 , 0x00000970 
+ 00006242  0x0000172f jam  0x00000044 , 0x0000095b 
+ 00006243  0x00001730 call  0x000078dc 
+ 00006244  0x00001731 fetchr  0x00000011 , 0x00000002 , 0x00000970 
+ 00006245  0x00001732 add  0x00000011 , 0x0000002e , 0x00000006 
+ 00006246  0x00001733 ifetch  0x00000002 , 0x00000006 
+ 00006247  0x00001734 store  0x00000002 , 0x00004394 
+ 00006248  0x00001735 rtn 
+ 00006249  0x00001738 arg  0x00000000 , 0x00000013 
+ 00006250  0x00001739 arg  0x0000186d , 0x00000012 
+ 00006251  0x0000173a arg  0x00000006 , 0x00000007 
+ 00006252  0x0000173b branch  0x000018a0 
+ 00006253  0x0000173e add  0x00000011 , 0x00000037 , 0x00000006 
+ 00006254  0x0000173f ifetch  0x00000005 , 0x00000006 
+ 00006255  0x00001740 add  0x00000011 , 0x00000030 , 0x00000005 
+ 00006256  0x00001741 istore  0x00000005 , 0x00000005 
+ 00006257  0x00001742 branch  0x000016cc 
+ 00006258  0x00001746 arg  0x00000000 , 0x00000013 
+ 00006259  0x00001747 arg  0x00001876 , 0x00000012 
+ 00006260  0x00001748 arg  0x00000007 , 0x00000007 
+ 00006261  0x00001749 branch  0x000018a0 
+ 00006262  0x0000174c add  0x00000011 , 0x00000037 , 0x00000006 
+ 00006263  0x0000174d ifetch  0x00000001 , 0x00000006 
+ 00006264  0x0000174e call  0x00001883 
+ 00006265  0x0000174f istore  0x00000001 , 0x00000005 
+ 00006266  0x00001750 add  0x00000011 , 0x00000038 , 0x00000006 
+ 00006267  0x00001751 ifetch  0x00000001 , 0x00000006 
+ 00006268  0x00001752 call  0x00001891 
+ 00006269  0x00001753 istore  0x00000001 , 0x00000005 
+ 00006270  0x00001754 storer  0x00000011 , 0x00000002 , 0x00000970 
+ 00006271  0x00001755 jam  0x00000042 , 0x0000095b 
+ 00006272  0x00001756 call  0x000078dc 
+ 00006273  0x00001757 fetchr  0x00000011 , 0x00000002 , 0x00000970 
+ 00006274  0x00001758 rtn 
+ 00006275  0x0000175b call  0x0000188b , 0x00000034 
+ 00006276  0x0000175c add  0x00000011 , 0x00000035 , 0x00000005 
+ 00006277  0x0000175d nrtn  0x00000029 
+ 00006278  0x0000175e fetcht  0x00000001 , 0x00004442 
+ 00006279  0x0000175f isolate1  0x00000007 , 0x00000002 
+ 00006280  0x00001760 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00006281  0x00001761 add  0x00000011 , 0x00000036 , 0x00000005 
+ 00006282  0x00001762 rtn 
+ 00006283  0x00001765 add  0x00000011 , 0x00000035 , 0x00000006 
+ 00006284  0x00001766 ifetch  0x00000001 , 0x00000006 
+ 00006285  0x00001767 nrtn  0x00000029 
+ 00006286  0x00001768 add  0x00000011 , 0x00000036 , 0x00000006 
+ 00006287  0x00001769 ifetch  0x00000001 , 0x00000006 
+ 00006288  0x0000176a rtn 
+ 00006289  0x0000176d call  0x0000189a , 0x00000034 
+ 00006290  0x0000176e fetcht  0x00000001 , 0x00004442 
+ 00006291  0x0000176f isolate1  0x00000007 , 0x00000002 
+ 00006292  0x00001770 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00006293  0x00001771 add  0x00000011 , 0x00000036 , 0x00000005 
+ 00006294  0x00001772 nrtn  0x00000029 
+ 00006295  0x00001773 set0  0x00000007 , 0x0000003f 
+ 00006296  0x00001774 add  0x00000011 , 0x00000035 , 0x00000005 
+ 00006297  0x00001775 rtn 
+ 00006298  0x00001778 add  0x00000011 , 0x00000036 , 0x00000006 
+ 00006299  0x00001779 ifetch  0x00000001 , 0x00000006 
+ 00006300  0x0000177a nrtn  0x00000029 
+ 00006301  0x0000177b add  0x00000011 , 0x00000035 , 0x00000006 
+ 00006302  0x0000177c ifetch  0x00000001 , 0x00000006 
+ 00006303  0x0000177d rtn 
+ 00006304  0x00001783 ifetch  0x00000001 , 0x00000011 
+ 00006305  0x00001784 qisolate0  0x0000003f 
+ 00006306  0x00001785 rtn  0x00000001 
+ 00006307  0x00001786 add  0x00000011 , 0x0000001a , 0x00000006 
+ 00006308  0x00001787 ifetcht  0x00000002 , 0x00000006 
+ 00006309  0x00001788 add  0x00000011 , 0x00000020 , 0x00000006 
+ 00006310  0x00001789 ifetch  0x00000002 , 0x00000006 
+ 00006311  0x0000178b isub  0x00000002 , 0x0000003f 
+ 00006312  0x0000178c branch  0x000018af , 0x00000005 
+ 00006313  0x0000178d nbranch  0x000018b4 , 0x00000002 
+ 00006314  0x0000178e sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00006315  0x0000178f branch  0x000018ad , 0x00000005 
+ 00006316  0x00001790 rtn 
+ 00006317  0x00001793 copy  0x00000013 , 0x0000003f 
+ 00006318  0x00001794 branch  0x00007e7a 
+ 00006319  0x00001797 ifetch  0x00000001 , 0x00000011 
+ 00006320  0x00001798 qset0  0x0000003f 
+ 00006321  0x00001799 istore  0x00000001 , 0x00000011 
+ 00006322  0x0000179a copy  0x00000012 , 0x0000003f 
+ 00006323  0x0000179b branch  0x00007e7a 
+ 00006324  0x0000179e add  0x00000011 , 0x0000001a , 0x00000006 
+ 00006325  0x0000179f ifetch  0x00000002 , 0x00000006 
+ 00006326  0x000017a0 add  0x00000011 , 0x00000020 , 0x00000006 
+ 00006327  0x000017a1 ifetch  0x00000002 , 0x00000006 
+ 00006328  0x000017a2 isub  0x00000002 , 0x0000003f 
+ 00006329  0x000017a3 arg  0x0000ffff , 0x00000002 
+ 00006330  0x000017a4 isub  0x00000002 , 0x0000003e 
+ 00006331  0x000017a5 branch  0x000018af , 0x00000005 
+ 00006332  0x000017a6 arg  0x0000f000 , 0x00000002 
+ 00006333  0x000017a7 isub  0x00000002 , 0x0000003e 
+ 00006334  0x000017a8 nbranch  0x000018af , 0x00000002 
+ 00006335  0x000017a9 rtn 
+ 00006336  0x000017ad fetcht  0x00000001 , 0x0000029e 
+ 00006337  0x000017ae fetch  0x00000001 , 0x0000016b 
+ 00006338  0x000017b1 rshift  0x0000003f , 0x0000003f 
+ 00006339  0x000017b2 ixor  0x00000002 , 0x0000003f 
+ 00006340  0x000017b3 isolate1  0x00000002 , 0x0000003f 
+ 00006341  0x000017b4 setflag  0x00000001 , 0x0000000f , 0x00000000 
+ 00006342  0x000017b5 rtn 
+ 00006343  0x000017b9 bpatchx  0x000000b5 , 0x00004036 
+ 00006344  0x000017ba call  0x000019dc 
+ 00006345  0x000017bb rtnmark1  0x00000030 
+ 00006346  0x000017bc call  0x000018ee 
+ 00006347  0x000017bd fetch  0x00000001 , 0x0000016b 
+ 00006348  0x000017be isolate1  0x00000004 , 0x0000003f 
+ 00006349  0x000017bf setflag  0x00000001 , 0x0000002a , 0x00000000 
+ 00006350  0x000017c0 rshift  0x0000003f , 0x0000003f 
+ 00006351  0x000017c1 ixor  0x00000002 , 0x0000003f 
+ 00006352  0x000017c2 isolate1  0x00000002 , 0x0000003f 
+ 00006353  0x000017c3 setflag  0x00000001 , 0x0000000f , 0x00000000 
+ 00006354  0x000017c4 rtnmark1  0x0000000f 
+ 00006355  0x000017c5 fetch  0x00000001 , 0x0000016c 
+ 00006356  0x000017c6 branch  0x000018e0 , 0x00000034 
+ 00006357  0x000017c7 fetch  0x00000001 , 0x00000287 
+ 00006358  0x000017c8 bbit0  0x00000004 , 0x000018e0 
+ 00006359  0x000017c9 fetcht  0x00000004 , 0x00000273 
+ 00006360  0x000017ca fetch  0x00000004 , 0x000046a9 
+ 00006361  0x000017cb isub  0x00000002 , 0x0000003e 
+ 00006362  0x000017cc branch  0x0000137c , 0x00000005 
+ 00006363  0x000017cd storet  0x00000004 , 0x000046a9 
+ 00006364  0x000017ce fetch  0x00000005 , 0x000046a4 
+ 00006365  0x000017cf increase  0x00000001 , 0x0000003f 
+ 00006366  0x000017d0 set1  0x00000027 , 0x0000003f 
+ 00006367  0x000017d1 store  0x00000005 , 0x000046a4 
+ 00006368  0x000017d4 fetcht  0x00000001 , 0x0000029e 
+ 00006369  0x000017d5 setflip  0x00000002 , 0x00000002 
+ 00006370  0x000017d6 storet  0x00000001 , 0x0000029e 
+ 00006371  0x000017d7 fetch  0x00000001 , 0x000043c0 
+ 00006372  0x000017d8 rtnbit0  0x00000006 
+ 00006373  0x000017d9 bpatchx  0x000000b6 , 0x00004036 
+ 00006374  0x000017da fetch  0x00000001 , 0x0000016c 
+ 00006375  0x000017db rtn  0x00000034 
+ 00006376  0x000017dc fetch  0x00000001 , 0x0000016b 
+ 00006377  0x000017dd compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00006378  0x000017de branch  0x00001ed7 , 0x00000001 
+ 00006379  0x000017df compare  0x00000002 , 0x0000003f , 0x00000003 
+ 00006380  0x000017e0 branch  0x00001ec5 , 0x00000001 
+ 00006381  0x000017e1 rtn 
+ 00006382  0x000017e5 bpatchx  0x000000b7 , 0x00004036 
+ 00006383  0x000017e6 fetcht  0x00000001 , 0x0000029e 
+ 00006384  0x000017e7 isolate0  0x00000005 , 0x00000002 
+ 00006385  0x000017e8 rtn  0x00000001 
+ 00006386  0x000017e9 fetch  0x00000001 , 0x0000016b 
+ 00006387  0x000017ea lshift  0x0000003f , 0x0000003f 
+ 00006388  0x000017eb ixor  0x00000002 , 0x0000003f 
+ 00006389  0x000017ec rtnbit0  0x00000003 
+ 00006390  0x000017ed set0  0x00000005 , 0x00000002 
+ 00006391  0x000017ee setflip  0x00000003 , 0x00000002 
+ 00006392  0x000017ef storet  0x00000001 , 0x0000029e 
+ 00006393  0x000017f0 compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00006394  0x000017f1 nrtn  0x00000001 
+ 00006395  0x000017f2 rtn 
+ 00006396  0x000017f6 fetch  0x00000001 , 0x00000287 
+ 00006397  0x000017f7 set1  0x00000004 , 0x0000003f 
+ 00006398  0x000017f8 store  0x00000001 , 0x00000287 
+ 00006399  0x000017f9 set1  0x00000032 , 0x00000000 
+ 00006400  0x000017fa rtn 
+ 00006401  0x000017fd bpatchx  0x000000b8 , 0x00004037 
+ 00006402  0x000017fe jam  0x00000000 , 0x0000439c 
+ 00006403  0x000017ff arg  0x00000000 , 0x0000003f 
+ 00006404  0x00001800 store  0x00000004 , 0x000046a9 
+ 00006405  0x00001801 store  0x00000005 , 0x0000469f 
+ 00006406  0x00001802 set1  0x00000027 , 0x0000003f 
+ 00006407  0x00001803 store  0x00000005 , 0x000046a4 
+ 00006408  0x00001804 fetch  0x00000001 , 0x00000287 
+ 00006409  0x00001805 set0  0x00000004 , 0x0000003f 
+ 00006410  0x00001806 store  0x00000001 , 0x00000287 
+ 00006411  0x00001807 set0  0x00000032 , 0x00000000 
+ 00006412  0x00001808 rtn 
+ 00006413  0x0000180e arg  0x00000001 , 0x00000011 
+ 00006414  0x0000180f fetch  0x00000001 , 0x0000016b 
+ 00006415  0x00001810 rtnbit1  0x00000006 
+ 00006416  0x00001811 arg  0x00000000 , 0x00000011 
+ 00006417  0x00001812 rtn 
+ 00006418  0x00001816 copy  0x00000006 , 0x00000005 
+ 00006419  0x00001817 fetcht  0x00000002 , 0x00004444 
+ 00006420  0x00001818 copy  0x00000005 , 0x00000006 
+ 00006421  0x00001819 rtn 
+ 00006422  0x0000181d bpatchx  0x000000b9 , 0x00004037 
+ 00006423  0x0000181e fetch  0x00000001 , 0x0000029e 
+ 00006424  0x0000181f rtnbit1  0x00000005 
+ 00006425  0x00001820 call  0x00001937 
+ 00006426  0x00001821 call  0x00001b0d 
+ 00006427  0x00001822 branch  0x0000195b , 0x00000034 
+ 00006428  0x00001823 ifetch  0x00000002 , 0x00000006 
+ 00006429  0x00001824 ifetcht  0x00000002 , 0x00000006 
+ 00006430  0x00001825 copy  0x00000002 , 0x00000011 
+ 00006431  0x00001826 isub  0x00000011 , 0x0000003f 
+ 00006432  0x00001827 call  0x00001912 
+ 00006433  0x00001828 call  0x00007ebb 
+ 00006434  0x00001829 copy  0x0000003f , 0x00000002 
+ 00006435  0x0000182a ifetchr  0x00000001 , 0x00000001 , 0x00000006 
+ 00006436  0x0000182b copy  0x00000011 , 0x0000003f 
+ 00006437  0x0000182c iadd  0x00000006 , 0x0000003f 
+ 00006438  0x0000182d store  0x00000002 , 0x0000097b 
+ 00006439  0x0000182e call  0x0000194b 
+ 00006440  0x0000182f call  0x0000195d 
+ 00006441  0x00001831 call  0x00001b0d 
+ 00006442  0x00001832 ifetch  0x00000002 , 0x00000006 
+ 00006443  0x00001833 copy  0x0000003f , 0x00000011 
+ 00006444  0x00001834 copy  0x00000006 , 0x00000013 
+ 00006445  0x00001835 ifetcht  0x00000002 , 0x00000006 
+ 00006446  0x00001836 copy  0x00000002 , 0x00000012 
+ 00006447  0x00001837 isub  0x00000012 , 0x0000003f 
+ 00006448  0x00001838 call  0x00001912 
+ 00006449  0x00001839 call  0x00007ebb 
+ 00006450  0x0000183a iadd  0x00000012 , 0x0000003f 
+ 00006451  0x0000183b istore  0x00000002 , 0x00000013 
+ 00006452  0x0000183c isub  0x00000011 , 0x0000003e 
+ 00006453  0x0000183d nrtn  0x00000005 
+ 00006454  0x0000183e branch  0x00001b26 
+ 00006455  0x00001842 call  0x0000193e 
+ 00006456  0x00001843 rtnmark1  0x00000029 
+ 00006457  0x00001844 fetch  0x00000001 , 0x000043c0 
+ 00006458  0x00001845 bbit0  0x00000002 , 0x00001949 
+ 00006459  0x00001846 call  0x00001b10 
+ 00006460  0x00001847 branch  0x00001949 , 0x00000034 
+ 00006461  0x00001848 branch  0x00001947 
+ 00006462  0x0000184c call  0x00001b0d 
+ 00006463  0x0000184d branch  0x00001949 , 0x00000034 
+ 00006464  0x0000184e ifetch  0x00000002 , 0x00000006 
+ 00006465  0x0000184f ifetcht  0x00000002 , 0x00000006 
+ 00006466  0x00001850 isub  0x00000002 , 0x00000011 
+ 00006467  0x00001851 call  0x00001912 
+ 00006468  0x00001852 copy  0x00000002 , 0x0000003f 
+ 00006469  0x00001853 isub  0x00000011 , 0x0000003e 
+ 00006470  0x00001854 branch  0x00001949 , 0x00000002 
+ 00006471  0x00001856 set1  0x00000029 , 0x00000000 
+ 00006472  0x00001857 rtn 
+ 00006473  0x0000185a set0  0x00000029 , 0x00000000 
+ 00006474  0x0000185b rtn 
+ 00006475  0x0000185e copy  0x00000011 , 0x0000003f 
+ 00006476  0x0000185f rtn  0x00000034 
+ 00006477  0x00001860 arg  0x00000001 , 0x00000001 
+ 00006478  0x00001861 rtn 
+ 00006479  0x00001865 bpatchx  0x000000ba , 0x00004037 
+ 00006480  0x00001866 increase  0x00000001 , 0x00000002 
+ 00006481  0x00001867 call  0x00001a0e 
+ 00006482  0x00001868 increase  0xfffffffe , 0x00000006 
+ 00006483  0x00001869 ifetch  0x00000002 , 0x00000006 
+ 00006484  0x0000186a arg  0x00002902 , 0x00000002 
+ 00006485  0x0000186b isub  0x00000002 , 0x0000003e 
+ 00006486  0x0000186c nrtn  0x00000005 
+ 00006487  0x0000186d increase  0x00000001 , 0x00000006 
+ 00006488  0x0000186e copy  0x00000006 , 0x00000011 
+ 00006489  0x0000186f ifetch  0x00000001 , 0x00000006 
+ 00006490  0x00001870 rtn 
+ 00006491  0x00001874 force  0x00000000 , 0x00000002 
+ 00006492  0x00001875 force  0x00000001 , 0x00000001 
+ 00006493  0x00001878 bpatchx  0x000000bb , 0x00004037 
+ 00006494  0x00001879 storet  0x00000001 , 0x000041f6 
+ 00006495  0x0000187a fetcht  0x00000001 , 0x0000029e 
+ 00006496  0x0000187b set1  0x00000005 , 0x00000002 
+ 00006497  0x0000187c and  0x00000002 , 0x000000fc , 0x0000003f 
+ 00006498  0x0000187d ior  0x00000001 , 0x0000003f 
+ 00006499  0x0000187e store  0x00000001 , 0x0000029e 
+ 00006500  0x0000187f and_into  0x0000001f , 0x0000003f 
+ 00006501  0x00001880 isolate1  0x00000029 , 0x00000000 
+ 00006502  0x00001881 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00006503  0x00001882 store  0x00000001 , 0x000041f5 
+ 00006504  0x00001884 fetch  0x00000001 , 0x000041f5 
+ 00006505  0x00001885 compare  0x00000001 , 0x00000001 , 0x00000003 
+ 00006506  0x00001886 nbranch  0x0000196d , 0x00000001 
+ 00006507  0x00001887 fetch  0x00000001 , 0x000041f6 
+ 00006508  0x00001888 rtn  0x00000034 
+ 00006509  0x0000188b bmark1  0x00000032 , 0x00001973 
+ 00006510  0x0000188c fetchr  0x00000039 , 0x00000001 , 0x000041f6 
+ 00006511  0x0000188d fetch  0x00000002 , 0x0000097b 
+ 00006512  0x0000188e copy  0x0000003f , 0x00000006 
+ 00006513  0x0000188f arg  0x000041f7 , 0x00000005 
+ 00006514  0x00001890 branch  0x00007dc7 
+ 00006515  0x00001893 call  0x00006e2f 
+ 00006516  0x00001894 branch  0x00006d8f 
+ 00006517  0x00001897 arg  0x00000000 , 0x00000007 
+ 00006518  0x00001898 branch  0x00001566 
+ 00006519  0x0000189b arg  0x00000000 , 0x00000007 
+ 00006520  0x0000189c branch  0x0000156a 
+ 00006521  0x000018a0 bpatchx  0x000000bc , 0x00004037 
+ 00006522  0x000018a1 rtnmark1  0x0000000f 
+ 00006523  0x000018a2 rtnmark1  0x00000030 
+ 00006524  0x000018a3 fetch  0x00000001 , 0x0000016b 
+ 00006525  0x000018a4 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00006526  0x000018a5 store  0x00000001 , 0x000043d3 
+ 00006527  0x000018a6 fetch  0x00000001 , 0x0000016c 
+ 00006528  0x000018a7 rtn  0x00000034 
+ 00006529  0x000018a8 setarg  0x0000016d 
+ 00006530  0x000018a9 store  0x00000002 , 0x000043d8 
+ 00006531  0x000018aa bpatchx  0x000000bd , 0x00004037 
+ 00006532  0x000018ab fetch  0x00000001 , 0x000043d3 
+ 00006533  0x000018ac beq  0x00000003 , 0x000020b8 
+ 00006534  0x000018ae call  0x00001993 
+ 00006535  0x000018af nbranch  0x00001975 , 0x00000028 
+ 00006536  0x000018b0 call  0x00001977 
+ 00006537  0x000018b1 setarg  0x00000000 
+ 00006538  0x000018b2 store  0x00000002 , 0x000043d6 
+ 00006539  0x000018b3 fetch  0x00000002 , 0x000043d8 
+ 00006540  0x000018b4 add  0x0000003f , 0x00000002 , 0x00000006 
+ 00006541  0x000018b5 bpatchx  0x000000be , 0x00004037 
+ 00006542  0x000018b6 ifetch  0x00000002 , 0x00000006 
+ 00006543  0x000018b7 beq  0x00000004 , 0x00001c7d 
+ 00006544  0x000018b8 beq  0x00000006 , 0x00001f39 
+ 00006545  0x000018b9 beq  0x00000005 , 0x00001efb 
+ 00006546  0x000018ba rtn 
+ 00006547  0x000018be fetch  0x00000001 , 0x000043d3 
+ 00006548  0x000018bf beq  0x00000002 , 0x000019a2 
+ 00006549  0x000018c0 beq  0x00000001 , 0x000019b9 
+ 00006550  0x000018c1 rtn 
+ 00006551  0x000018c7 call  0x00007ec5 
+ 00006552  0x000018c8 arg  0x00000004 , 0x00000002 
+ 00006553  0x000018c9 isub  0x0000003f , 0x0000003e 
+ 00006554  0x000018ca rtn  0x00000005 
+ 00006555  0x000018cb arg  0x00000005 , 0x00000002 
+ 00006556  0x000018cc isub  0x0000003f , 0x0000003e 
+ 00006557  0x000018cd rtn  0x00000005 
+ 00006558  0x000018ce arg  0x00000006 , 0x00000002 
+ 00006559  0x000018cf isub  0x0000003f , 0x0000003e 
+ 00006560  0x000018d0 rtn  0x00000005 
+ 00006561  0x000018d1 branch  0x00007ec7 
+ 00006562  0x000018d5 fetch  0x00000002 , 0x000043d8 
+ 00006563  0x000018d6 copy  0x0000003f , 0x00000006 
+ 00006564  0x000018d7 ifetch  0x00000002 , 0x00000006 
+ 00006565  0x000018d8 store  0x00000002 , 0x000043d4 
+ 00006566  0x000018d9 ifetch  0x00000002 , 0x00000006 
+ 00006567  0x000018da call  0x00001997 
+ 00006568  0x000018db nrtn  0x00000028 
+ 00006569  0x000018dc fetcht  0x00000001 , 0x0000016c 
+ 00006570  0x000018dd storet  0x00000002 , 0x000043d6 
+ 00006571  0x000018de fetch  0x00000002 , 0x000043d4 
+ 00006572  0x000018df increase  0x00000004 , 0x0000003f 
+ 00006573  0x000018e0 isub  0x00000002 , 0x0000003e 
+ 00006574  0x000018e1 branch  0x00007ec5 , 0x00000005 
+ 00006575  0x000018e2 fetchr  0x00000039 , 0x00000001 , 0x0000016c 
+ 00006576  0x000018e3 arg  0x00001000 , 0x00000005 
+ 00006577  0x000018e4 fetch  0x00000002 , 0x000043d8 
+ 00006578  0x000018e5 copy  0x0000003f , 0x00000006 
+ 00006579  0x000018e6 call  0x00007dc7 
+ 00006580  0x000018e7 branch  0x00007ec7 
+ 00006581  0x000018ed call  0x00007ec5 
+ 00006582  0x000018ee fetch  0x00000002 , 0x000043d6 
+ 00006583  0x000018ef nrtn  0x00000034 
+ 00006584  0x000018f0 branch  0x00007ec7 
+ 00006585  0x000018f3 call  0x000019b5 
+ 00006586  0x000018f4 nrtn  0x00000028 
+ 00006587  0x000018f5 fetch  0x00000002 , 0x000043d6 
+ 00006588  0x000018f6 arg  0x00001000 , 0x00000005 
+ 00006589  0x000018f7 iadd  0x00000005 , 0x00000011 
+ 00006590  0x000018f8 fetcht  0x00000001 , 0x0000016c 
+ 00006591  0x000018f9 iadd  0x00000002 , 0x0000003f 
+ 00006592  0x000018fa store  0x00000002 , 0x000043d6 
+ 00006593  0x000018fb fetchr  0x00000039 , 0x00000001 , 0x0000016c 
+ 00006594  0x000018fc copy  0x00000011 , 0x00000005 
+ 00006595  0x000018fd fetch  0x00000002 , 0x000043d8 
+ 00006596  0x000018fe copy  0x0000003f , 0x00000006 
+ 00006597  0x000018ff call  0x00007dc7 
+ 00006598  0x00001900 setarg  0x00001000 
+ 00006599  0x00001901 store  0x00000002 , 0x000043d8 
+ 00006600  0x00001902 fetch  0x00000002 , 0x000043d4 
+ 00006601  0x00001903 increase  0x00000004 , 0x0000003f 
+ 00006602  0x00001904 fetcht  0x00000002 , 0x000043d6 
+ 00006603  0x00001905 isub  0x00000002 , 0x0000003e 
+ 00006604  0x00001906 branch  0x00007ec5 , 0x00000005 
+ 00006605  0x00001907 branch  0x00007ec7 
+ 00006606  0x0000190e call  0x00007d5e 
+ 00006607  0x0000190f arg  0x00004359 , 0x00000005 
+ 00006608  0x00001910 branch  0x00001ebf 
+ 00006609  0x00001915 fetch  0x00000002 , 0x0000446b 
+ 00006610  0x00001916 branch  0x00007e7a 
+ 00006611  0x00001919 fetcht  0x00000004 , 0x000002a3 
+ 00006612  0x0000191a call  0x0000136b 
+ 00006613  0x0000191b isub  0x00000002 , 0x0000000b 
+ 00006614  0x0000191c deposit  0x0000000b 
+ 00006615  0x0000191d fetcht  0x00000002 , 0x000002b5 
+ 00006616  0x0000191e lshift4  0x00000002 , 0x00000002 
+ 00006617  0x0000191f lshift  0x00000002 , 0x00000002 
+ 00006618  0x00001920 isub  0x00000002 , 0x0000003f 
+ 00006619  0x00001921 rtn 
+ 00006620  0x00001924 call  0x0000136b 
+ 00006621  0x00001925 store  0x00000004 , 0x000002a3 
+ 00006622  0x00001926 rtn 
+ 00006623  0x0000192b bpatchx  0x000000bf , 0x00004037 
+ 00006624  0x0000192c add  0x00000011 , 0x00000050 , 0x00000006 
+ 00006625  0x0000192d ifetch  0x00000001 , 0x00000006 
+ 00006626  0x0000192e call  0x00001692 
+ 00006627  0x0000192f add  0x00000011 , 0x00000002 , 0x00000006 
+ 00006628  0x00001930 ifetch  0x00000002 , 0x00000006 
+ 00006629  0x00001931 imul32  0x00000002 , 0x0000003f 
+ 00006630  0x00001932 fetcht  0x00000002 , 0x00000163 
+ 00006631  0x00001933 imul32  0x00000002 , 0x0000003f 
+ 00006632  0x00001934 arg  0x000f4240 , 0x00000002 
+ 00006633  0x00001935 idiv  0x00000002 
+ 00006634  0x00001936 arg  0x00000682 , 0x00000002 
+ 00006635  0x00001937 fetch  0x00000001 , 0x000041f0 
+ 00006636  0x00001938 imul32  0x00000002 , 0x00000002 
+ 00006637  0x00001939 add  0x00000011 , 0x0000002b , 0x00000006 
+ 00006638  0x0000193a ifetch  0x00000001 , 0x00000006 
+ 00006639  0x0000193b imul32  0x00000002 , 0x0000003f 
+ 00006640  0x0000193c iadd  0x00000002 , 0x0000003f 
+ 00006641  0x0000193d store  0x00000004 , 0x000043bc 
+ 00006642  0x0000193e fetch  0x00000002 , 0x000040c8 
+ 00006643  0x0000193f call  0x00007e64 
+ 00006644  0x00001940 quotient  0x00000002 
+ 00006645  0x00001941 iadd  0x00000002 , 0x0000003f 
+ 00006646  0x00001942 add  0x00000011 , 0x0000000e , 0x00000005 
+ 00006647  0x00001943 istore  0x00000002 , 0x00000005 
+ 00006648  0x00001944 rtn 
+ 00006649  0x00001949 bpatchx  0x000000c0 , 0x00004038 
+ 00006650  0x0000194a fetch  0x00000002 , 0x0000099e 
+ 00006651  0x0000194b iforce  0x00000012 
+ 00006652  0x0000194c fetch  0x00000002 , 0x000009a0 
+ 00006653  0x0000194d iforce  0x00000013 
+ 00006654  0x0000194e fetch  0x00000002 , 0x00004396 
+ 00006655  0x0000194f iforce  0x00000006 
+ 00006656  0x00001950 enable  0x00000028 
+ 00006657  0x00001951 rtn 
+ 00006658  0x00001955 ifetch  0x00000002 , 0x00000006 
+ 00006659  0x00001956 and_into  0x000000ff , 0x0000003f 
+ 00006660  0x00001957 rtn  0x00000034 
+ 00006661  0x00001958 isub  0x00000012 , 0x0000003e 
+ 00006662  0x00001959 nrtn  0x00000002 
+ 00006663  0x0000195a isub  0x00000013 , 0x0000003e 
+ 00006664  0x0000195b rtn  0x00000005 
+ 00006665  0x0000195c branch  0x00001a0c , 0x00000002 
+ 00006666  0x0000195d force  0x00000001 , 0x0000003e 
+ 00006667  0x0000195e rtn 
+ 00006668  0x00001960 force  0x00000000 , 0x0000003f 
+ 00006669  0x00001961 rtn 
+ 00006670  0x00001966 call  0x00001a11 
+ 00006671  0x00001967 branch  0x00001a1e , 0x00000005 
+ 00006672  0x00001968 rtn 
+ 00006673  0x0000196b bpatchx  0x000000c1 , 0x00004038 
+ 00006674  0x0000196c fetch  0x00000002 , 0x00004396 
+ 00006675  0x0000196d iforce  0x00000006 
+ 00006676  0x0000196f ifetch  0x00000002 , 0x00000006 
+ 00006677  0x00001970 and_into  0x000000ff , 0x0000003f 
+ 00006678  0x00001971 rtn  0x00000034 
+ 00006679  0x00001972 isub  0x00000002 , 0x0000003e 
+ 00006680  0x00001973 rtn  0x00000005 
+ 00006681  0x00001974 ifetch  0x00000001 , 0x00000006 
+ 00006682  0x00001975 iadd  0x00000006 , 0x00000006 
+ 00006683  0x00001976 ifetch  0x00000001 , 0x00000006 
+ 00006684  0x00001977 iadd  0x00000006 , 0x00000006 
+ 00006685  0x00001978 branch  0x00001a14 
+ 00006686  0x0000197a ifetch  0x00000001 , 0x00000006 
+ 00006687  0x0000197b iadd  0x00000006 , 0x00000006 
+ 00006688  0x0000197c rtn 
+ 00006689  0x00001981 bpatchx  0x000000c2 , 0x00004038 
+ 00006690  0x00001982 fetch  0x00000002 , 0x00004396 
+ 00006691  0x00001983 iforce  0x00000006 
+ 00006692  0x00001985 ifetch  0x00000002 , 0x00000006 
+ 00006693  0x00001986 and_into  0x000000ff , 0x0000003f 
+ 00006694  0x00001987 rtn  0x00000034 
+ 00006695  0x00001988 ifetch  0x00000001 , 0x00000006 
+ 00006696  0x00001989 iadd  0x00000006 , 0x00000006 
+ 00006697  0x0000198a increase  0xfffffffe , 0x00000006 
+ 00006698  0x0000198b ifetch  0x00000002 , 0x00000006 
+ 00006699  0x0000198c isub  0x00000002 , 0x0000003e 
+ 00006700  0x0000198d rtn  0x00000005 
+ 00006701  0x0000198e ifetch  0x00000001 , 0x00000006 
+ 00006702  0x0000198f iadd  0x00000006 , 0x00000006 
+ 00006703  0x00001990 branch  0x00001a24 
+ 00006704  0x00001996 fetch  0x00000002 , 0x00004396 
+ 00006705  0x00001997 iforce  0x00000006 
+ 00006706  0x00001999 ifetch  0x00000002 , 0x00000006 
+ 00006707  0x0000199a and_into  0x000000ff , 0x0000003f 
+ 00006708  0x0000199b rtn  0x00000034 
+ 00006709  0x0000199c add  0x0000003f , 0x00000001 , 0x00000002 
+ 00006710  0x0000199d ifetch  0x00000001 , 0x00000006 
+ 00006711  0x0000199e iadd  0x00000006 , 0x00000006 
+ 00006712  0x0000199f ifetch  0x00000001 , 0x00000006 
+ 00006713  0x000019a0 iadd  0x00000006 , 0x00000006 
+ 00006714  0x000019a1 copy  0x00000006 , 0x00000005 
+ 00006715  0x000019a2 branch  0x00001a32 
+ 00006716  0x000019a6 fetch  0x00000002 , 0x000009b4 
+ 00006717  0x000019a7 branch  0x00001a40 
+ 00006718  0x000019aa bpatchx  0x000000c3 , 0x00004038 
+ 00006719  0x000019ab fetch  0x00000002 , 0x00004396 
+ 00006720  0x000019ad iforce  0x00000006 
+ 00006721  0x000019af ifetch  0x00000002 , 0x00000006 
+ 00006722  0x000019b0 and_into  0x000000ff , 0x0000003f 
+ 00006723  0x000019b1 branch  0x00001a4b , 0x00000034 
+ 00006724  0x000019b2 isub  0x00000002 , 0x0000003e 
+ 00006725  0x000019b3 branch  0x00001a4c , 0x00000005 
+ 00006726  0x000019b4 ifetch  0x00000001 , 0x00000006 
+ 00006727  0x000019b5 iadd  0x00000006 , 0x00000006 
+ 00006728  0x000019b6 ifetch  0x00000001 , 0x00000006 
+ 00006729  0x000019b7 iadd  0x00000006 , 0x00000006 
+ 00006730  0x000019b8 branch  0x00001a41 
+ 00006731  0x000019ba branch  0x00007ecf 
+ 00006732  0x000019bd ifetch  0x00000001 , 0x00000006 
+ 00006733  0x000019be store  0x00000001 , 0x000009ba 
+ 00006734  0x000019bf copy  0x0000003f , 0x00000039 
+ 00006735  0x000019c0 arg  0x000009bb , 0x00000005 
+ 00006736  0x000019c1 call  0x00007dc7 
+ 00006737  0x000019c2 ifetch  0x00000001 , 0x00000006 
+ 00006738  0x000019c3 store  0x00000001 , 0x000009b3 
+ 00006739  0x000019c4 call  0x00007d5e 
+ 00006740  0x000019c5 branch  0x00007ed1 
+ 00006741  0x000019c9 bpatchx  0x000000c4 , 0x00004038 
+ 00006742  0x000019ca call  0x00001a58 
+ 00006743  0x000019cb branch  0x00001a6a 
+ 00006744  0x000019ce arg  0x00002a00 , 0x00000002 
+ 00006745  0x000019cf call  0x00001a21 
+ 00006746  0x000019d0 rtn  0x00000034 
+ 00006747  0x000019d1 ifetch  0x00000001 , 0x00000006 
+ 00006748  0x000019d2 copy  0x00000006 , 0x00000005 
+ 00006749  0x000019d3 fetcht  0x00000001 , 0x000042f7 
+ 00006750  0x000019d4 copy  0x00000002 , 0x00000039 
+ 00006751  0x000019d5 isub  0x00000002 , 0x0000003e 
+ 00006752  0x000019d6 nbranch  0x00001a67 , 0x00000002 
+ 00006753  0x000019d7 isub  0x00000002 , 0x00000002 
+ 00006754  0x000019d8 arg  0x000042f8 , 0x00000006 
+ 00006755  0x000019d9 call  0x00007dc7 
+ 00006756  0x000019da copy  0x00000002 , 0x00000039 
+ 00006757  0x000019db ncall  0x00001aa2 , 0x00000005 
+ 00006758  0x000019dc rtn 
+ 00006759  0x000019de copy  0x0000003f , 0x00000039 
+ 00006760  0x000019df arg  0x000042f8 , 0x00000006 
+ 00006761  0x000019e0 branch  0x00007dc7 
+ 00006762  0x000019e4 arg  0x00004407 , 0x00000013 
+ 00006763  0x000019e5 arg  0x000043e8 , 0x00000011 
+ 00006764  0x000019e6 call  0x00001a77 
+ 00006765  0x000019e7 setarg  0x00000000 
+ 00006766  0x000019e8 setflag  0x00000028 , 0x00000000 , 0x0000003f 
+ 00006767  0x000019e9 store  0x00000001 , 0x0000095c 
+ 00006768  0x000019ea arg  0x00004427 , 0x00000013 
+ 00006769  0x000019eb arg  0x00004408 , 0x00000011 
+ 00006770  0x000019ec call  0x00001a77 
+ 00006771  0x000019ed rtn  0x00000028 
+ 00006772  0x000019ee fetch  0x00000001 , 0x0000095c 
+ 00006773  0x000019ef branch  0x0000137c , 0x00000034 
+ 00006774  0x000019f0 rtn 
+ 00006775  0x000019f4 bpatchx  0x000000c5 , 0x00004038 
+ 00006776  0x000019f5 call  0x00007ec5 
+ 00006777  0x000019f6 call  0x00007da1 
+ 00006778  0x000019f7 arg  0x00000000 , 0x00000012 
+ 00006779  0x000019f8 arg  0x0000098f , 0x00000005 
+ 00006780  0x000019f9 call  0x00001a91 
+ 00006781  0x000019fa fetch  0x00000001 , 0x000042f7 
+ 00006782  0x000019fb add  0x0000003f , 0x00000001 , 0x00000002 
+ 00006783  0x000019fc iadd  0x00000012 , 0x00000011 
+ 00006784  0x000019fd increase  0x00000002 , 0x00000011 
+ 00006785  0x000019fe sub  0x00000011 , 0x0000001f , 0x0000003e 
+ 00006786  0x000019ff nbranch  0x00001a8f , 0x00000002 
+ 00006787  0x00001a00 istoret  0x00000001 , 0x00000005 
+ 00006788  0x00001a01 arg  0x00000009 , 0x00000002 
+ 00006789  0x00001a02 istoret  0x00000001 , 0x00000005 
+ 00006790  0x00001a03 iforce  0x00000039 
+ 00006791  0x00001a04 call  0x00007dc7 
+ 00006792  0x00001a05 copy  0x00000011 , 0x00000012 
+ 00006793  0x00001a07 deposit  0x00000012 
+ 00006794  0x00001a08 store  0x00000001 , 0x0000098e 
+ 00006795  0x00001a09 arg  0x0000098e , 0x00000006 
+ 00006796  0x00001a0a setarg  0xffffffe0 
+ 00006797  0x00001a0b iadd  0x00000013 , 0x00000005 
+ 00006798  0x00001a0c branch  0x00007d7d 
+ 00006799  0x00001a0f call  0x00007ec7 
+ 00006800  0x00001a10 branch  0x00001a89 
+ 00006801  0x00001a13 ifetch  0x00000001 , 0x00000011 
+ 00006802  0x00001a14 rtn  0x00000034 
+ 00006803  0x00001a15 pincrease  0x00000001 
+ 00006804  0x00001a16 ifetcht  0x00000001 , 0x00000006 
+ 00006805  0x00001a17 sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00006806  0x00001a18 branch  0x00001aa0 , 0x00000005 
+ 00006807  0x00001a19 iadd  0x00000012 , 0x00000012 
+ 00006808  0x00001a1a copy  0x00000011 , 0x00000006 
+ 00006809  0x00001a1b iforce  0x00000039 
+ 00006810  0x00001a1c call  0x00007dc7 
+ 00006811  0x00001a1d copy  0x00000006 , 0x00000011 
+ 00006812  0x00001a1f deposit  0x00000011 
+ 00006813  0x00001a20 isub  0x00000013 , 0x0000003e 
+ 00006814  0x00001a21 rtn  0x00000002 
+ 00006815  0x00001a22 branch  0x00001a91 
+ 00006816  0x00001a25 iadd  0x00000011 , 0x00000011 
+ 00006817  0x00001a26 branch  0x00001a9c 
+ 00006818  0x00001a2a setarg  0x00000020 
+ 00006819  0x00001a2b istore  0x00000001 , 0x00000005 
+ 00006820  0x00001a2c loop  0x00001aa2 
+ 00006821  0x00001a2d rtn 
+ 00006822  0x00001a31 bpatchx  0x000000c6 , 0x00004038 
+ 00006823  0x00001a32 disable  0x0000002b 
+ 00006824  0x00001a33 branch  0x00001aaa , 0x0000002e 
+ 00006825  0x00001a34 nbranch  0x00001ab8 , 0x0000002d 
+ 00006826  0x00001a36 call  0x00001512 
+ 00006827  0x00001a37 fetch  0x00000002 , 0x000040c8 
+ 00006828  0x00001a38 store  0x00000002 , 0x00000295 
+ 00006829  0x00001a3a nbranch  0x00001525 , 0x0000002d 
+ 00006830  0x00001a3b bmark1  0x0000000f , 0x00001525 
+ 00006831  0x00001a3d fetch  0x00000001 , 0x0000016c 
+ 00006832  0x00001a3e nbranch  0x00001525 , 0x00000034 
+ 00006833  0x00001a3f fetch  0x00000001 , 0x000041f6 
+ 00006834  0x00001a40 nbranch  0x00001525 , 0x00000034 
+ 00006835  0x00001a42 fetch  0x00000001 , 0x000043c0 
+ 00006836  0x00001a43 bbit1  0x00000005 , 0x00001525 
+ 00006837  0x00001a45 fetch  0x00000001 , 0x00000287 
+ 00006838  0x00001a46 bbit1  0x00000005 , 0x00001525 
+ 00006839  0x00001a47 branch  0x00001504 
+ 00006840  0x00001a4a fetcht  0x00000002 , 0x000040c8 
+ 00006841  0x00001a4b rshift  0x00000002 , 0x00000002 
+ 00006842  0x00001a4c fetch  0x00000002 , 0x00000295 
+ 00006843  0x00001a4d iadd  0x00000002 , 0x0000003f 
+ 00006844  0x00001a4e store  0x00000002 , 0x00000295 
+ 00006845  0x00001a4f branch  0x0000151d 
+ 00006846  0x00001a53 arg  0x00000000 , 0x00000007 
+ 00006847  0x00001a54 branch  0x00001ad6 
+ 00006848  0x00001a57 arg  0x00000000 , 0x00000007 
+ 00006849  0x00001a58 branch  0x00001ada 
+ 00006850  0x00001a5b arg  0x00000001 , 0x00000007 
+ 00006851  0x00001a5c branch  0x00001ad6 
+ 00006852  0x00001a5f arg  0x00000001 , 0x00000007 
+ 00006853  0x00001a60 branch  0x00001ada 
+ 00006854  0x00001a63 arg  0x00000002 , 0x00000007 
+ 00006855  0x00001a64 branch  0x00001ad6 
+ 00006856  0x00001a67 arg  0x00000002 , 0x00000007 
+ 00006857  0x00001a68 branch  0x00001ada 
+ 00006858  0x00001a6b arg  0x00000003 , 0x00000007 
+ 00006859  0x00001a6c branch  0x00001ad6 
+ 00006860  0x00001a6f arg  0x00000003 , 0x00000007 
+ 00006861  0x00001a70 branch  0x00001ada 
+ 00006862  0x00001a73 arg  0x00000004 , 0x00000007 
+ 00006863  0x00001a74 branch  0x00001ad6 
+ 00006864  0x00001a77 arg  0x00000004 , 0x00000007 
+ 00006865  0x00001a78 branch  0x00001ada 
+ 00006866  0x00001a7b arg  0x00000005 , 0x00000007 
+ 00006867  0x00001a7c branch  0x00001ad6 
+ 00006868  0x00001a7f arg  0x00000005 , 0x00000007 
+ 00006869  0x00001a80 branch  0x00001ada 
+ 00006870  0x00001a84 fetch  0x00000001 , 0x000043c0 
+ 00006871  0x00001a85 qset1  0x0000003f 
+ 00006872  0x00001a86 store  0x00000001 , 0x000043c0 
+ 00006873  0x00001a87 rtn 
+ 00006874  0x00001a8a fetch  0x00000001 , 0x000043c0 
+ 00006875  0x00001a8b qset0  0x0000003f 
+ 00006876  0x00001a8c store  0x00000001 , 0x000043c0 
+ 00006877  0x00001a8d rtn 
+ 00006878  0x00001a90 setarg  0x00112233 
+ 00006879  0x00001a91 store  0x00000003 , 0x000043c1 
+ 00006880  0x00001a92 setarg  0x00445566 
+ 00006881  0x00001a93 istore  0x00000003 , 0x00000005 
+ 00006882  0x00001a94 setarg  0x00778899 
+ 00006883  0x00001a95 istore  0x00000003 , 0x00000005 
+ 00006884  0x00001a96 setarg  0x00001122 
+ 00006885  0x00001a97 istore  0x00000003 , 0x00000005 
+ 00006886  0x00001a98 setarg  0x00334455 
+ 00006887  0x00001a99 istore  0x00000003 , 0x00000005 
+ 00006888  0x00001a9a setarg  0x00000066 
+ 00006889  0x00001a9b istore  0x00000001 , 0x00000005 
+ 00006890  0x00001a9c rtn 
+ 00006891  0x00001aa0 setarg  0x01000302 
+ 00006892  0x00001aa1 store  0x00000004 , 0x00004350 
+ 00006893  0x00001aa2 setarg  0x00010010 
+ 00006894  0x00001aa3 store  0x00000003 , 0x00004354 
+ 00006895  0x00001aa4 jam  0x00000001 , 0x0000439d 
+ 00006896  0x00001aa5 rtn 
+ 00006897  0x00001aaa arg  0x00000000 , 0x00000011 
+ 00006898  0x00001aab arg  0x00000001 , 0x00000001 
+ 00006899  0x00001aac branch  0x00001b02 
+ 00006900  0x00001ab1 arg  0x00000003 , 0x00000001 
+ 00006901  0x00001ab2 call  0x00001b02 
+ 00006902  0x00001ab3 copy  0x00000012 , 0x0000003f 
+ 00006903  0x00001ab4 istore  0x00000001 , 0x00000005 
+ 00006904  0x00001ab5 rtn 
+ 00006905  0x00001aba force  0x00000002 , 0x00000001 
+ 00006906  0x00001abb increase  0x00000004 , 0x00000011 
+ 00006907  0x00001abc call  0x00001b02 
+ 00006908  0x00001abd increase  0xfffffffc , 0x00000011 
+ 00006909  0x00001abe copy  0x00000011 , 0x0000003f 
+ 00006910  0x00001abf istore  0x00000002 , 0x00000005 
+ 00006911  0x00001ac0 copy  0x00000012 , 0x0000003f 
+ 00006912  0x00001ac1 istore  0x00000002 , 0x00000005 
+ 00006913  0x00001ac2 rtn 
+ 00006914  0x00001ac7 bpatchx  0x000000c7 , 0x00004038 
+ 00006915  0x00001ac8 increase  0x00000005 , 0x00000011 
+ 00006916  0x00001ac9 call  0x000052ff 
+ 00006917  0x00001aca increase  0xfffffffb , 0x00000011 
+ 00006918  0x00001acb copy  0x00000011 , 0x0000003f 
+ 00006919  0x00001acc istore  0x00000002 , 0x00000005 
+ 00006920  0x00001acd setarg  0x00000000 
+ 00006921  0x00001ace istore  0x00000002 , 0x00000005 
+ 00006922  0x00001acf copy  0x00000001 , 0x0000003f 
+ 00006923  0x00001ad0 istore  0x00000001 , 0x00000005 
+ 00006924  0x00001ad1 rtn 
+ 00006925  0x00001ad5 call  0x00005339 
+ 00006926  0x00001ad6 copy  0x0000003f , 0x00000006 
+ 00006927  0x00001ad7 rtn 
+ 00006928  0x00001ada fetch  0x00000002 , 0x000044f1 
+ 00006929  0x00001adb rtn 
+ 00006930  0x00001ade call  0x00001b15 
+ 00006931  0x00001adf copy  0x0000003f , 0x00000006 
+ 00006932  0x00001ae0 rtn 
+ 00006933  0x00001ae4 fetch  0x00000002 , 0x000044f4 
+ 00006934  0x00001ae5 rtn 
+ 00006935  0x00001ae9 call  0x00001b0d 
+ 00006936  0x00001aea increase  0x00000005 , 0x00000006 
+ 00006937  0x00001aeb rtn 
+ 00006938  0x00001aee call  0x00001b0d 
+ 00006939  0x00001aef increase  0x00000009 , 0x00000006 
+ 00006940  0x00001af0 rtn 
+ 00006941  0x00001af3 call  0x00001b12 
+ 00006942  0x00001af4 increase  0x00000009 , 0x00000006 
+ 00006943  0x00001af5 rtn 
+ 00006944  0x00001af8 call  0x00001b12 
+ 00006945  0x00001af9 increase  0x00000005 , 0x00000006 
+ 00006946  0x00001afa rtn 
+ 00006947  0x00001afe branch  0x0000534f 
+ 00006948  0x00001b02 branch  0x00005352 
+ 00006949  0x00001b06 branch  0x00005355 
+ 00006950  0x00001b0a branch  0x0000533e 
+ 00006951  0x00001b0e store  0x00000008 , 0x0000444c 
+ 00006952  0x00001b0f branch  0x00001b39 
+ 00006953  0x00001b13 and  0x00000002 , 0x000000ff , 0x00000011 
+ 00006954  0x00001b14 call  0x00001b2d 
+ 00006955  0x00001b15 rshift8  0x00000002 , 0x00000011 
+ 00006956  0x00001b16 branch  0x00001b33 
+ 00006957  0x00001b19 storer  0x00000011 , 0x00000001 , 0x00004442 
+ 00006958  0x00001b1a isolate1  0x00000001 , 0x00000011 
+ 00006959  0x00001b1b call  0x00001b35 , 0x00000001 
+ 00006960  0x00001b1c isolate1  0x00000002 , 0x00000011 
+ 00006961  0x00001b1d call  0x00001b37 , 0x00000001 
+ 00006962  0x00001b1e rtn 
+ 00006963  0x00001b21 storer  0x00000011 , 0x00000001 , 0x00004443 
+ 00006964  0x00001b22 branch  0x00001b2e 
+ 00006965  0x00001b26 arg  0x00000008 , 0x00000007 
+ 00006966  0x00001b27 branch  0x00001b3b 
+ 00006967  0x00001b2b arg  0x0000000b , 0x00000007 
+ 00006968  0x00001b2c branch  0x00001b3b 
+ 00006969  0x00001b30 arg  0x00000005 , 0x00000007 
+ 00006970  0x00001b31 branch  0x00001b3b 
+ 00006971  0x00001b35 fetch  0x00000008 , 0x0000443a 
+ 00006972  0x00001b36 qset1  0x0000003f 
+ 00006973  0x00001b37 store  0x00000008 , 0x0000443a 
+ 00006974  0x00001b38 rtn 
+ 00006975  0x00001b3f jam  0x00000001 , 0x000002bc 
+ 00006976  0x00001b40 jam  0x00000001 , 0x000002bd 
+ 00006977  0x00001b41 call  0x00001651 
+ 00006978  0x00001b42 call  0x00001b45 
+ 00006979  0x00001b43 call  0x00001bc3 
+ 00006980  0x00001b44 branch  0x0000165e 
+ 00006981  0x00001b47 bpatchx  0x000000c8 , 0x00004039 
+ 00006982  0x00001b48 fetch  0x00000001 , 0x000043e2 
+ 00006983  0x00001b49 rtnne  0x00000001 
+ 00006984  0x00001b4a arg  0x00000002 , 0x00000007 
+ 00006985  0x00001b4b call  0x00007de9 
+ 00006986  0x00001b4c nrtn  0x00000034 
+ 00006987  0x00001b4d fetch  0x00000002 , 0x000043e3 
+ 00006988  0x00001b4e fetcht  0x00000002 , 0x000043e5 
+ 00006989  0x00001b4f isub  0x00000002 , 0x0000003f 
+ 00006990  0x00001b50 arg  0x00000002 , 0x00000007 
+ 00006991  0x00001b51 call  0x00007ddb 
+ 00006992  0x00001b52 disable  0x00000029 
+ 00006993  0x00001b53 call  0x00001be4 
+ 00006994  0x00001b54 call  0x00001b64 
+ 00006995  0x00001b55 nrtn  0x0000002d 
+ 00006996  0x00001b56 bpatchx  0x000000c9 , 0x00004039 
+ 00006997  0x00001b57 fetch  0x00000006 , 0x0000016d 
+ 00006998  0x00001b58 store  0x00000006 , 0x00000297 
+ 00006999  0x00001b5b fetch  0x00000001 , 0x00000002 
+ 00007000  0x00001b5c increase  0x00000001 , 0x0000003f 
+ 00007001  0x00001b5d store  0x00000001 , 0x00000002 
+ 00007002  0x00001b5e call  0x00001b6b 
+ 00007003  0x00001b5f rtn  0x00000029 
+ 00007004  0x00001b60 call  0x00001c0b 
+ 00007005  0x00001b61 nrtn  0x0000002d 
+ 00007006  0x00001b62 fetch  0x00000001 , 0x00000004 
+ 00007007  0x00001b63 increase  0x00000001 , 0x0000003f 
+ 00007008  0x00001b64 store  0x00000001 , 0x00000004 
+ 00007009  0x00001b65 fetch  0x00000009 , 0x00000173 
+ 00007010  0x00001b66 store  0x00000009 , 0x00000a01 
+ 00007011  0x00001b67 rtn 
+ 00007012  0x00001b6b bpatchx  0x000000ca , 0x00004039 
+ 00007013  0x00001b6c call  0x00001c56 
+ 00007014  0x00001b6d call  0x000016f6 
+ 00007015  0x00001b6e fetch  0x00000001 , 0x00000001 
+ 00007016  0x00001b6f increase  0x00000001 , 0x0000003f 
+ 00007017  0x00001b70 store  0x00000001 , 0x00000001 
+ 00007018  0x00001b71 rtn 
+ 00007019  0x00001b75 bpatchx  0x000000cb , 0x00004039 
+ 00007020  0x00001b76 fetch  0x00000001 , 0x000002e0 
+ 00007021  0x00001b77 rtnne  0x0000001b 
+ 00007022  0x00001b78 fetch  0x00000006 , 0x00000297 
+ 00007023  0x00001b79 fetcht  0x00000006 , 0x0000436b 
+ 00007024  0x00001b7a isub  0x00000002 , 0x0000003e 
+ 00007025  0x00001b7b nrtn  0x00000005 
+ 00007026  0x00001b7c call  0x00000a48 
+ 00007027  0x00001b7d nrtn  0x00000005 
+ 00007028  0x00001b7e call  0x00001b7b 
+ 00007029  0x00001b7f call  0x000015ae 
+ 00007030  0x00001b80 jam  0x00000000 , 0x000041db 
+ 00007031  0x00001b81 jam  0x00000000 , 0x000002d7 
+ 00007032  0x00001b82 jam  0x00000000 , 0x000043e2 
+ 00007033  0x00001b83 jam  0x00000000 , 0x000002e0 
+ 00007034  0x00001b84 branch  0x00000a30 
+ 00007035  0x00001b87 bpatchx  0x000000cc , 0x00004039 
+ 00007036  0x00001b88 force  0xffffffff , 0x0000003f 
+ 00007037  0x00001b89 setsect  0x00000002 , 0x00000001 
+ 00007038  0x00001b8a store  0x00000005 , 0x000002b7 
+ 00007039  0x00001b8b arg  0x00000287 , 0x00000011 
+ 00007040  0x00001b8c call  0x000016cc 
+ 00007041  0x00001b8d force  0x00000004 , 0x00000039 
+ 00007042  0x00001b8e arg  0x000002ab , 0x00000005 
+ 00007043  0x00001b8f call  0x00005a90 
+ 00007044  0x00001b90 fetch  0x00000002 , 0x00004378 
+ 00007045  0x00001b91 store  0x00000002 , 0x000002b5 
+ 00007046  0x00001b93 random  0x0000003f 
+ 00007047  0x00001b94 and_into  0x0000000f , 0x0000003f 
+ 00007048  0x00001b95 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00007049  0x00001b96 branch  0x00001b86 , 0x00000002 
+ 00007050  0x00001b97 store  0x00000001 , 0x000002a0 
+ 00007051  0x00001b98 store  0x00000001 , 0x000005a8 
+ 00007052  0x00001b99 bpatchx  0x000000cd , 0x00004039 
+ 00007053  0x00001b9a fetcht  0x00000002 , 0x000041f3 
+ 00007054  0x00001b9b storet  0x00000002 , 0x00000289 
+ 00007055  0x00001b9c copy  0x00000002 , 0x00000013 
+ 00007056  0x00001b9d add  0x00000022 , 0x00000007 , 0x0000003f 
+ 00007057  0x00001b9e idiv  0x00000013 
+ 00007058  0x00001b9f call  0x00007e64 
+ 00007059  0x00001ba0 remainder  0x00000011 
+ 00007060  0x00001ba1 isub  0x00000011 , 0x0000003f 
+ 00007061  0x00001ba2 iadd  0x00000013 , 0x0000003f 
+ 00007062  0x00001ba3 fetcht  0x00000002 , 0x000041f1 
+ 00007063  0x00001ba4 iadd  0x00000002 , 0x0000003f 
+ 00007064  0x00001ba5 store  0x00000004 , 0x0000028b 
+ 00007065  0x00001ba6 isub  0x00000022 , 0x00000011 
+ 00007066  0x00001ba7 increase  0xfffffffa , 0x00000011 
+ 00007067  0x00001ba8 arg  0x00002205 , 0x00000012 
+ 00007068  0x00001ba9 fetch  0x00000001 , 0x00004371 
+ 00007069  0x00001baa nsetflag  0x00000034 , 0x00000006 , 0x00000012 
+ 00007070  0x00001bab fetch  0x00000001 , 0x0000436a 
+ 00007071  0x00001bac nsetflag  0x00000034 , 0x00000007 , 0x00000012 
+ 00007072  0x00001bad copy  0x00000012 , 0x0000003f 
+ 00007073  0x00001bae store  0x00000002 , 0x000041f5 
+ 00007074  0x00001baf fetch  0x00000006 , 0x0000437a 
+ 00007075  0x00001bb0 istore  0x00000006 , 0x00000005 
+ 00007076  0x00001bb1 fetch  0x00000006 , 0x00000297 
+ 00007077  0x00001bb2 istore  0x00000006 , 0x00000005 
+ 00007078  0x00001bb3 fetch  0x00000004 , 0x000002ab 
+ 00007079  0x00001bb4 istore  0x00000004 , 0x00000005 
+ 00007080  0x00001bb5 random  0x0000003f 
+ 00007081  0x00001bb6 istore  0x00000002 , 0x00000005 
+ 00007082  0x00001bb7 random  0x0000003f 
+ 00007083  0x00001bb8 istore  0x00000001 , 0x00000005 
+ 00007084  0x00001bb9 force  0x00000002 , 0x0000003f 
+ 00007085  0x00001bba istore  0x00000001 , 0x00000005 
+ 00007086  0x00001bbb rshift2  0x00000011 , 0x0000003f 
+ 00007087  0x00001bbc istore  0x00000002 , 0x00000005 
+ 00007088  0x00001bbd rshift2  0x00000013 , 0x0000003f 
+ 00007089  0x00001bbe istore  0x00000002 , 0x00000005 
+ 00007090  0x00001bbf bpatchx  0x000000ce , 0x00004039 
+ 00007091  0x00001bc0 setarg  0x00000000 
+ 00007092  0x00001bc1 istore  0x00000002 , 0x00000005 
+ 00007093  0x00001bc2 fetch  0x00000002 , 0x00004378 
+ 00007094  0x00001bc3 istore  0x00000002 , 0x00000005 
+ 00007095  0x00001bc4 fetch  0x00000005 , 0x000002b7 
+ 00007096  0x00001bc5 istore  0x00000005 , 0x00000005 
+ 00007097  0x00001bc6 fetch  0x00000001 , 0x000002a0 
+ 00007098  0x00001bc7 arg  0x000000a0 , 0x00000002 
+ 00007099  0x00001bc8 ior  0x00000002 , 0x0000003f 
+ 00007100  0x00001bc9 istore  0x00000001 , 0x00000005 
+ 00007101  0x00001bca call  0x000017e2 
+ 00007102  0x00001bcb setarg  0x000041f5 
+ 00007103  0x00001bcc add  0x0000003f , 0x00000012 , 0x00000006 
+ 00007104  0x00001bcd ifetch  0x00000003 , 0x00000006 
+ 00007105  0x00001bce store  0x00000003 , 0x000002af 
+ 00007106  0x00001bcf rtn 
+ 00007107  0x00001bd4 jam  0x00000024 , 0x00000016 
+ 00007108  0x00001bd5 jam  0x00000000 , 0x0000098e 
+ 00007109  0x00001bd7 fetch  0x00000001 , 0x00004427 
+ 00007110  0x00001bd8 rtn  0x00000034 
+ 00007111  0x00001bd9 arg  0x00000000 , 0x00000007 
+ 00007112  0x00001bda call  0x00007de9 
+ 00007113  0x00001bdb nrtn  0x00000034 
+ 00007114  0x00001bdc bpatchx  0x000000cf , 0x00004039 
+ 00007115  0x00001bde enable  0x00000010 
+ 00007116  0x00001bdf call  0x00001be4 
+ 00007117  0x00001be0 call  0x00001c56 
+ 00007118  0x00001be1 call  0x00001bed 
+ 00007119  0x00001be2 nbranch  0x00001bd7 , 0x0000002d 
+ 00007120  0x00001be3 fetch  0x00000001 , 0x00000003 
+ 00007121  0x00001be4 increase  0x00000001 , 0x0000003f 
+ 00007122  0x00001be5 store  0x00000001 , 0x00000003 
+ 00007123  0x00001be6 fetch  0x00000001 , 0x0000016b 
+ 00007124  0x00001be7 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00007125  0x00001be8 beq  0x00000003 , 0x00001c1c 
+ 00007126  0x00001be9 beq  0x00000005 , 0x00001c2e 
+ 00007127  0x00001beb bpatchx  0x000000d0 , 0x0000403a 
+ 00007128  0x00001bec fetch  0x00000001 , 0x0000098e 
+ 00007129  0x00001bed fetcht  0x00000001 , 0x00004432 
+ 00007130  0x00001bee isub  0x00000002 , 0x0000003e 
+ 00007131  0x00001bef nbranch  0x00001bc5 , 0x00000005 
+ 00007132  0x00001bf0 random  0x0000003f 
+ 00007133  0x00001bf1 arg  0x000001ff , 0x00000002 
+ 00007134  0x00001bf2 iand  0x00000002 , 0x0000003f 
+ 00007135  0x00001bf3 add  0x0000003f , 0x000000fa , 0x0000003f 
+ 00007136  0x00001bf4 call  0x00007d81 
+ 00007137  0x00001bf5 arg  0x00000000 , 0x00000007 
+ 00007138  0x00001bf6 fetch  0x00000002 , 0x00004428 
+ 00007139  0x00001bf7 branch  0x00007ddb 
+ 00007140  0x00001bfb bpatchx  0x000000d1 , 0x0000403a 
+ 00007141  0x00001bfc disable  0x00000029 
+ 00007142  0x00001bfe setarg  0x008e89be 
+ 00007143  0x00001bff lshift8  0x0000003f , 0x0000003f 
+ 00007144  0x00001c00 or_into  0x000000d6 , 0x0000003f 
+ 00007145  0x00001c01 iforce  0x00000009 
+ 00007146  0x00001c02 setarg  0x00555555 
+ 00007147  0x00001c03 store  0x00000003 , 0x000002af 
+ 00007148  0x00001c04 branch  0x000010ac 
+ 00007149  0x00001c09 bpatchx  0x000000d2 , 0x0000403a 
+ 00007150  0x00001c0a fetch  0x00000001 , 0x0000442a 
+ 00007151  0x00001c0b fetcht  0x00000001 , 0x0000442b 
+ 00007152  0x00001c0c lshift4  0x00000002 , 0x00000002 
+ 00007153  0x00001c0d lshift2  0x00000002 , 0x00000002 
+ 00007154  0x00001c0e iadd  0x00000002 , 0x00000002 
+ 00007155  0x00001c0f storet  0x00000001 , 0x000041f5 
+ 00007156  0x00001c10 beq  0x00000001 , 0x00001bfe 
+ 00007157  0x00001c11 fetcht  0x00000001 , 0x000043e7 
+ 00007158  0x00001c12 add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00007159  0x00001c13 store  0x00000001 , 0x000041f6 
+ 00007160  0x00001c14 fetch  0x00000006 , 0x0000437a 
+ 00007161  0x00001c15 store  0x00000006 , 0x000041f7 
+ 00007162  0x00001c16 copy  0x00000002 , 0x00000039 
+ 00007163  0x00001c17 arg  0x000043e8 , 0x00000006 
+ 00007164  0x00001c18 call  0x00007dc7 
+ 00007165  0x00001c19 branch  0x00001c04 
+ 00007166  0x00001c1c setarg  0x0000000c 
+ 00007167  0x00001c1d store  0x00000001 , 0x000041f6 
+ 00007168  0x00001c1e fetch  0x00000006 , 0x0000437a 
+ 00007169  0x00001c1f store  0x00000006 , 0x000041f7 
+ 00007170  0x00001c20 fetch  0x00000006 , 0x000041dd 
+ 00007171  0x00001c21 istore  0x00000006 , 0x00000005 
+ 00007172  0x00001c23 bpatchx  0x000000d3 , 0x0000403a 
+ 00007173  0x00001c24 fetch  0x00000001 , 0x00000000 
+ 00007174  0x00001c25 increase  0x00000001 , 0x0000003f 
+ 00007175  0x00001c26 store  0x00000001 , 0x00000000 
+ 00007176  0x00001c27 arg  0x00000708 , 0x0000001b 
+ 00007177  0x00001c28 disable  0x0000002d 
+ 00007178  0x00001c29 branch  0x000017cd 
+ 00007179  0x00001c2d bpatchx  0x000000d4 , 0x0000403a 
+ 00007180  0x00001c2e fetch  0x00000001 , 0x00004433 
+ 00007181  0x00001c2f rtnne  0x00000001 
+ 00007182  0x00001c30 fetch  0x00000001 , 0x00000000 
+ 00007183  0x00001c31 increase  0x00000001 , 0x0000003f 
+ 00007184  0x00001c32 store  0x00000001 , 0x00000000 
+ 00007185  0x00001c33 arg  0x00000c03 , 0x00000002 
+ 00007186  0x00001c34 fetch  0x00000001 , 0x00004434 
+ 00007187  0x00001c35 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00007188  0x00001c36 copy  0x00000011 , 0x0000003f 
+ 00007189  0x00001c37 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00007190  0x00001c38 storet  0x00000002 , 0x000041f5 
+ 00007191  0x00001c39 fetch  0x00000006 , 0x0000437a 
+ 00007192  0x00001c3a istore  0x00000006 , 0x00000005 
+ 00007193  0x00001c3b fetch  0x00000006 , 0x00000297 
+ 00007194  0x00001c3c istore  0x00000006 , 0x00000005 
+ 00007195  0x00001c3d branch  0x000017cd 
+ 00007196  0x00001c40 fetch  0x00000006 , 0x00000173 
+ 00007197  0x00001c41 fetcht  0x00000006 , 0x0000437a 
+ 00007198  0x00001c42 isub  0x00000002 , 0x0000003e 
+ 00007199  0x00001c43 nrtn  0x00000005 
+ 00007200  0x00001c44 arg  0x00000004 , 0x00000002 
+ 00007201  0x00001c45 fetch  0x00000001 , 0x0000442b 
+ 00007202  0x00001c46 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00007203  0x00001c47 storet  0x00000001 , 0x000041f5 
+ 00007204  0x00001c48 fetcht  0x00000001 , 0x00004407 
+ 00007205  0x00001c49 add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00007206  0x00001c4a store  0x00000001 , 0x000041f6 
+ 00007207  0x00001c4b fetch  0x00000006 , 0x0000437a 
+ 00007208  0x00001c4c store  0x00000006 , 0x000041f7 
+ 00007209  0x00001c4d arg  0x00004408 , 0x00000006 
+ 00007210  0x00001c4e copy  0x00000002 , 0x00000039 
+ 00007211  0x00001c4f call  0x00007dc7 
+ 00007212  0x00001c50 call  0x000017e2 
+ 00007213  0x00001c51 branch  0x00001bd7 
+ 00007214  0x00001c54 fetch  0x00000006 , 0x00000173 
+ 00007215  0x00001c55 fetcht  0x00000006 , 0x0000437a 
+ 00007216  0x00001c56 isub  0x00000002 , 0x0000003e 
+ 00007217  0x00001c57 nrtn  0x00000005 
+ 00007218  0x00001c58 call  0x0000190d 
+ 00007219  0x00001c59 storer  0x00000011 , 0x00000001 , 0x0000436a 
+ 00007220  0x00001c5a fetch  0x00000006 , 0x0000016d 
+ 00007221  0x00001c5b store  0x00000006 , 0x00000297 
+ 00007222  0x00001c5c fetch  0x00000008 , 0x00000179 
+ 00007223  0x00001c5d store  0x00000008 , 0x000002ab 
+ 00007224  0x00001c5e fetcht  0x00000002 , 0x00000181 
+ 00007225  0x00001c5f bpatchx  0x000000d5 , 0x0000403a 
+ 00007226  0x00001c60 lshift2  0x00000002 , 0x00000002 
+ 00007227  0x00001c61 fetch  0x00000002 , 0x00000183 
+ 00007228  0x00001c62 lshift2  0x0000003f , 0x0000003f 
+ 00007229  0x00001c63 store  0x00000002 , 0x00000289 
+ 00007230  0x00001c64 store  0x00000004 , 0x0000028b 
+ 00007231  0x00001c65 isub  0x00000002 , 0x0000003f 
+ 00007232  0x00001c66 add  0x0000003f , 0xfffffffe , 0x00000028 
+ 00007233  0x00001c67 fetch  0x00000009 , 0x00000185 
+ 00007234  0x00001c68 store  0x00000009 , 0x000002b3 
+ 00007235  0x00001c69 fetch  0x00000001 , 0x0000018e 
+ 00007236  0x00001c6a and  0x0000003f , 0x0000001f , 0x00000002 
+ 00007237  0x00001c6b storet  0x00000001 , 0x000002a0 
+ 00007238  0x00001c6c rshift4  0x0000003f , 0x00000002 
+ 00007239  0x00001c6d rshift  0x00000002 , 0x00000002 
+ 00007240  0x00001c6e storet  0x00000001 , 0x000002d7 
+ 00007241  0x00001c6f arg  0x00000287 , 0x00000011 
+ 00007242  0x00001c70 call  0x000019df 
+ 00007243  0x00001c71 arg  0x00000287 , 0x00000011 
+ 00007244  0x00001c72 call  0x000016cc 
+ 00007245  0x00001c73 call  0x000015ba 
+ 00007246  0x00001c74 call  0x00000a48 
+ 00007247  0x00001c75 nrtn  0x00000005 
+ 00007248  0x00001c76 bpatchx  0x000000d6 , 0x0000403a 
+ 00007249  0x00001c77 call  0x0000105d 
+ 00007250  0x00001c78 call  0x00001f18 
+ 00007251  0x00001c79 jam  0x00000014 , 0x0000095b 
+ 00007252  0x00001c7a call  0x000078dc 
+ 00007253  0x00001c7b branch  0x00000a30 
+ 00007254  0x00001c7f bpatchx  0x000000d7 , 0x0000403a 
+ 00007255  0x00001c80 fetch  0x00000001 , 0x00000016 
+ 00007256  0x00001c81 beq  0x00000025 , 0x00001c5c 
+ 00007257  0x00001c82 beq  0x00000026 , 0x00001c62 
+ 00007258  0x00001c83 beq  0x00000027 , 0x00001c68 
+ 00007259  0x00001c84 branch  0x00001c68 
+ 00007260  0x00001c87 fetcht  0x00000001 , 0x00004432 
+ 00007261  0x00001c88 isolate1  0x00000001 , 0x00000002 
+ 00007262  0x00001c89 branch  0x00001c73 , 0x00000001 
+ 00007263  0x00001c8a isolate1  0x00000002 , 0x00000002 
+ 00007264  0x00001c8b branch  0x00001c78 , 0x00000001 
+ 00007265  0x00001c8c branch  0x00001c6e 
+ 00007266  0x00001c90 fetcht  0x00000001 , 0x00004432 
+ 00007267  0x00001c91 isolate1  0x00000002 , 0x00000002 
+ 00007268  0x00001c92 branch  0x00001c78 , 0x00000001 
+ 00007269  0x00001c93 isolate1  0x00000000 , 0x00000002 
+ 00007270  0x00001c94 branch  0x00001c6e , 0x00000001 
+ 00007271  0x00001c95 branch  0x00001c73 
+ 00007272  0x00001c99 fetcht  0x00000001 , 0x00004432 
+ 00007273  0x00001c9a isolate1  0x00000000 , 0x00000002 
+ 00007274  0x00001c9b branch  0x00001c6e , 0x00000001 
+ 00007275  0x00001c9c isolate1  0x00000001 , 0x00000002 
+ 00007276  0x00001c9d branch  0x00001c73 , 0x00000001 
+ 00007277  0x00001c9e branch  0x00001c78 
+ 00007278  0x00001ca1 jam  0x00000025 , 0x00000016 
+ 00007279  0x00001ca2 fetch  0x00000001 , 0x0000098e 
+ 00007280  0x00001ca3 set1  0x00000000 , 0x0000003f 
+ 00007281  0x00001ca4 store  0x00000001 , 0x0000098e 
+ 00007282  0x00001ca5 rtn 
+ 00007283  0x00001ca8 jam  0x00000026 , 0x00000016 
+ 00007284  0x00001ca9 fetch  0x00000001 , 0x0000098e 
+ 00007285  0x00001caa set1  0x00000001 , 0x0000003f 
+ 00007286  0x00001cab store  0x00000001 , 0x0000098e 
+ 00007287  0x00001cac rtn 
+ 00007288  0x00001caf jam  0x00000027 , 0x00000016 
+ 00007289  0x00001cb0 fetch  0x00000001 , 0x0000098e 
+ 00007290  0x00001cb1 set1  0x00000002 , 0x0000003f 
+ 00007291  0x00001cb2 store  0x00000001 , 0x0000098e 
+ 00007292  0x00001cb3 rtn 
+ 00007293  0x00001cb9 ifetch  0x00000003 , 0x00000006 
+ 00007294  0x00001cba store  0x00000003 , 0x00004436 
+ 00007295  0x00001cbb beq  0x00000002 , 0x00001c94 
+ 00007296  0x00001cbc beq  0x00000003 , 0x00001c9c 
+ 00007297  0x00001cbd beq  0x00000004 , 0x00001c9f 
+ 00007298  0x00001cbe beq  0x00000006 , 0x00001cc8 
+ 00007299  0x00001cbf beq  0x00000008 , 0x00001d15 
+ 00007300  0x00001cc0 beq  0x0000000a , 0x00001d93 
+ 00007301  0x00001cc1 beq  0x0000000c , 0x00001dc2 
+ 00007302  0x00001cc2 beq  0x00000010 , 0x00001dd8 
+ 00007303  0x00001cc3 beq  0x00000012 , 0x00001e1b 
+ 00007304  0x00001cc4 beq  0x00000016 , 0x00001e3f 
+ 00007305  0x00001cc5 beq  0x00000018 , 0x00001e52 
+ 00007306  0x00001cc6 beq  0x0000001e , 0x00001e57 
+ 00007307  0x00001cc7 beq  0x00000052 , 0x00001e5b 
+ 00007308  0x00001cc8 rtn 
+ 00007309  0x00001ccc force  0x00000003 , 0x00000011 
+ 00007310  0x00001ccd call  0x00001e80 
+ 00007311  0x00001cce setarg  0x00000002 
+ 00007312  0x00001ccf istore  0x00000001 , 0x00000005 
+ 00007313  0x00001cd0 fetch  0x00000002 , 0x00004380 
+ 00007314  0x00001cd1 istore  0x00000002 , 0x00000005 
+ 00007315  0x00001cd2 rtn 
+ 00007316  0x00001cd6 call  0x00001c9c 
+ 00007317  0x00001cd8 force  0x00000003 , 0x00000011 
+ 00007318  0x00001cd9 call  0x00001e80 
+ 00007319  0x00001cda setarg  0x00000003 
+ 00007320  0x00001cdb istore  0x00000001 , 0x00000005 
+ 00007321  0x00001cdc fetch  0x00000002 , 0x00004380 
+ 00007322  0x00001cdd istore  0x00000002 , 0x00000005 
+ 00007323  0x00001cde rtn 
+ 00007324  0x00001ce1 rshift8  0x0000003f , 0x0000003f 
+ 00007325  0x00001ce2 store  0x00000002 , 0x00004382 
+ 00007326  0x00001ce3 rtn 
+ 00007327  0x00001ce6 call  0x00001eb0 
+ 00007328  0x00001ce7 call  0x00007ec5 
+ 00007329  0x00001ce8 branch  0x00001ca2 
+ 00007330  0x00001ceb arg  0x00000003 , 0x0000000b 
+ 00007331  0x00001cec call  0x000019f9 
+ 00007332  0x00001cee call  0x00001a02 
+ 00007333  0x00001cef branch  0x00001cc6 , 0x00000034 
+ 00007334  0x00001cf0 nbranch  0x00001cc3 , 0x00000002 
+ 00007335  0x00001cf1 increase  0xfffffffe , 0x00000006 
+ 00007336  0x00001cf2 call  0x00007d5e 
+ 00007337  0x00001cf3 call  0x00007d55 
+ 00007338  0x00001cf4 nbranch  0x00001cb6 , 0x00000028 
+ 00007339  0x00001cf5 call  0x00007d43 
+ 00007340  0x00001cf6 call  0x00007ec7 
+ 00007341  0x00001cf7 storer  0x0000000b , 0x00000004 , 0x0000096c 
+ 00007342  0x00001cf8 force  0x00000014 , 0x00000011 
+ 00007343  0x00001cf9 call  0x00001e80 
+ 00007344  0x00001cfa fetchr  0x0000000b , 0x00000004 , 0x0000096c 
+ 00007345  0x00001cfb call  0x00007d51 
+ 00007346  0x00001cfc setarg  0x00000005 
+ 00007347  0x00001cfd istore  0x00000001 , 0x00000005 
+ 00007348  0x00001cfe setarg  0x00000001 
+ 00007349  0x00001cff istore  0x00000001 , 0x00000005 
+ 00007350  0x00001d01 call  0x00007d58 
+ 00007351  0x00001d02 ifetch  0x00000002 , 0x00000006 
+ 00007352  0x00001d03 and_into  0x000000ff , 0x0000003f 
+ 00007353  0x00001d04 istore  0x00000002 , 0x00000005 
+ 00007354  0x00001d05 ifetch  0x00000001 , 0x00000006 
+ 00007355  0x00001d06 copy  0x0000003f , 0x00000039 
+ 00007356  0x00001d07 call  0x00007dd4 
+ 00007357  0x00001d08 call  0x00007d5b 
+ 00007358  0x00001d09 increase  0xffffffff , 0x0000000b 
+ 00007359  0x00001d0a branch  0x00001cc6 , 0x00000005 
+ 00007360  0x00001d0c ifetch  0x00000001 , 0x00000006 
+ 00007361  0x00001d0d iadd  0x00000006 , 0x00000006 
+ 00007362  0x00001d0e branch  0x00001ca4 
+ 00007363  0x00001d10 ifetch  0x00000001 , 0x00000006 
+ 00007364  0x00001d11 iadd  0x00000006 , 0x00000006 
+ 00007365  0x00001d12 branch  0x00001cc0 
+ 00007366  0x00001d14 branch  0x00001e74 , 0x00000028 
+ 00007367  0x00001d15 branch  0x00001ea3 
+ 00007368  0x00001d19 call  0x00001eb0 
+ 00007369  0x00001d1a ifetch  0x00000002 , 0x00000006 
+ 00007370  0x00001d1b store  0x00000002 , 0x0000435a 
+ 00007371  0x00001d1c call  0x00007d5e 
+ 00007372  0x00001d1d arg  0x000009a2 , 0x00000005 
+ 00007373  0x00001d1e fetch  0x00000002 , 0x000043d4 
+ 00007374  0x00001d1f increase  0xfffffff9 , 0x0000003f 
+ 00007375  0x00001d20 call  0x00001ec1 
+ 00007376  0x00001d21 branch  0x00001cdb 
+ 00007377  0x00001d25 disable  0x00000028 
+ 00007378  0x00001d26 fetcht  0x00000002 , 0x0000099e 
+ 00007379  0x00001d27 fetch  0x00000002 , 0x000009a0 
+ 00007380  0x00001d28 isub  0x00000002 , 0x0000003e 
+ 00007381  0x00001d29 nbranch  0x00001cd8 , 0x00000002 
+ 00007382  0x00001d2a deposit  0x00000002 
+ 00007383  0x00001d2b rtnne  0x00000000 
+ 00007384  0x00001d2d enable  0x00000028 
+ 00007385  0x00001d2e jam  0x00000001 , 0x000002d8 
+ 00007386  0x00001d2f branch  0x00001e75 
+ 00007387  0x00001d33 call  0x00001cd1 
+ 00007388  0x00001d34 rtn  0x00000028 
+ 00007389  0x00001d35 fetcht  0x00000002 , 0x0000435a 
+ 00007390  0x00001d36 setarg  0x00002800 
+ 00007391  0x00001d37 isub  0x00000002 , 0x0000003e 
+ 00007392  0x00001d38 branch  0x00001ce2 , 0x00000005 
+ 00007393  0x00001d39 branch  0x00001e74 
+ 00007394  0x00001d3d jam  0x00000000 , 0x00004439 
+ 00007395  0x00001d3e fetcht  0x00000002 , 0x0000099e 
+ 00007396  0x00001d3f storet  0x00000002 , 0x00000964 
+ 00007397  0x00001d40 call  0x00001a3e 
+ 00007398  0x00001d41 nbranch  0x00001e74 , 0x00000034 
+ 00007399  0x00001d43 fetcht  0x00000002 , 0x00000964 
+ 00007400  0x00001d44 call  0x00001a3e 
+ 00007401  0x00001d45 nbranch  0x00001cfb , 0x00000034 
+ 00007402  0x00001d46 copy  0x00000006 , 0x00000011 
+ 00007403  0x00001d47 fetch  0x00000001 , 0x000009b3 
+ 00007404  0x00001d48 copy  0x0000003f , 0x00000039 
+ 00007405  0x00001d49 fetcht  0x00000001 , 0x000009a2 
+ 00007406  0x00001d4a isub  0x00000002 , 0x0000003e 
+ 00007407  0x00001d4b nbranch  0x00001cf7 , 0x00000005 
+ 00007408  0x00001d4c arg  0x000009a3 , 0x00000012 
+ 00007409  0x00001d4d call  0x00007e66 
+ 00007410  0x00001d4f branch  0x00001cfe , 0x00000005 
+ 00007411  0x00001d51 fetch  0x00000002 , 0x000009bb 
+ 00007412  0x00001d52 fetcht  0x00000002 , 0x0000435a 
+ 00007413  0x00001d53 isub  0x00000002 , 0x0000003e 
+ 00007414  0x00001d54 branch  0x00001d06 , 0x00000005 
+ 00007415  0x00001d56 fetch  0x00000002 , 0x00000964 
+ 00007416  0x00001d57 increase  0x00000001 , 0x0000003f 
+ 00007417  0x00001d58 store  0x00000002 , 0x00000964 
+ 00007418  0x00001d59 branch  0x00001ce7 
+ 00007419  0x00001d5c fetch  0x00000001 , 0x00004439 
+ 00007420  0x00001d5d beq  0x00000001 , 0x00001d06 
+ 00007421  0x00001d5e branch  0x00001e74 
+ 00007422  0x00001d62 fetch  0x00000002 , 0x000009bb 
+ 00007423  0x00001d63 fetcht  0x00000002 , 0x0000435a 
+ 00007424  0x00001d64 isub  0x00000002 , 0x0000003e 
+ 00007425  0x00001d65 nbranch  0x00001cf7 , 0x00000005 
+ 00007426  0x00001d66 jam  0x00000001 , 0x00004439 
+ 00007427  0x00001d68 fetcht  0x00000002 , 0x00000964 
+ 00007428  0x00001d69 storet  0x00000002 , 0x000009b6 
+ 00007429  0x00001d6a branch  0x00001cf7 
+ 00007430  0x00001d6d fetch  0x00000001 , 0x00004439 
+ 00007431  0x00001d6e beq  0x00000000 , 0x00001cf7 
+ 00007432  0x00001d6f jam  0x00000002 , 0x00004439 
+ 00007433  0x00001d70 fetcht  0x00000002 , 0x00000964 
+ 00007434  0x00001d71 increase  0xffffffff , 0x00000002 
+ 00007435  0x00001d72 storet  0x00000002 , 0x000009b8 
+ 00007436  0x00001d75 arg  0x00000005 , 0x00000011 
+ 00007437  0x00001d76 call  0x00001e80 
+ 00007438  0x00001d77 setarg  0x00000007 
+ 00007439  0x00001d78 istore  0x00000001 , 0x00000005 
+ 00007440  0x00001d79 fetch  0x00000002 , 0x000009b6 
+ 00007441  0x00001d7a istore  0x00000002 , 0x00000005 
+ 00007442  0x00001d7b fetch  0x00000002 , 0x000009b8 
+ 00007443  0x00001d7c istore  0x00000002 , 0x00000005 
+ 00007444  0x00001d7d rtn 
+ 00007445  0x00001d82 call  0x00001eb0 
+ 00007446  0x00001d83 call  0x00001ebd 
+ 00007447  0x00001d84 branch  0x00001d18 
+ 00007448  0x00001d87 fetcht  0x00000002 , 0x0000099e 
+ 00007449  0x00001d88 storet  0x00000002 , 0x00000964 
+ 00007450  0x00001d89 call  0x000019f9 
+ 00007451  0x00001d8a call  0x00001a11 
+ 00007452  0x00001d8b increase  0xfffffffe , 0x00000006 
+ 00007453  0x00001d8c copy  0x00000006 , 0x0000003f 
+ 00007454  0x00001d8d store  0x00000002 , 0x000009b4 
+ 00007455  0x00001d8f fetcht  0x00000002 , 0x000009a3 
+ 00007456  0x00001d90 setarg  0x00002a00 
+ 00007457  0x00001d91 isub  0x00000002 , 0x0000003e 
+ 00007458  0x00001d92 branch  0x00001d7f , 0x00000005 
+ 00007459  0x00001d93 setarg  0x00002803 
+ 00007460  0x00001d94 isub  0x00000002 , 0x0000003e 
+ 00007461  0x00001d95 nbranch  0x00001d6b , 0x00000005 
+ 00007462  0x00001d96 arg  0x00000002 , 0x0000000b 
+ 00007463  0x00001d98 call  0x00001e86 
+ 00007464  0x00001d99 nbranch  0x00001d48 , 0x00000002 
+ 00007465  0x00001d9a fetcht  0x00000002 , 0x00000964 
+ 00007466  0x00001d9b call  0x00001a3c 
+ 00007467  0x00001d9c nbranch  0x00001d48 , 0x00000034 
+ 00007468  0x00001d9d call  0x00001e8a 
+ 00007469  0x00001d9e nbranch  0x00001d46 , 0x00000005 
+ 00007470  0x00001d9f nbranch  0x00001d4a , 0x00000028 
+ 00007471  0x00001da0 disable  0x00000028 
+ 00007472  0x00001da1 arg  0x00000014 , 0x00000011 
+ 00007473  0x00001da2 call  0x00001e80 
+ 00007474  0x00001da3 setarg  0x00000009 
+ 00007475  0x00001da4 istore  0x00000001 , 0x00000005 
+ 00007476  0x00001da5 copy  0x00000005 , 0x00000030 
+ 00007477  0x00001da6 increase  0x00000001 , 0x00000005 
+ 00007478  0x00001da8 call  0x00001d58 
+ 00007479  0x00001da9 call  0x00001e82 
+ 00007480  0x00001daa call  0x00001a3c 
+ 00007481  0x00001dab call  0x00001d5f 
+ 00007482  0x00001dac fetch  0x00000001 , 0x000009ba 
+ 00007483  0x00001dad add  0x0000003f , 0x00000005 , 0x00000011 
+ 00007484  0x00001dae istorer  0x00000011 , 0x00000001 , 0x00000030 
+ 00007485  0x00001db0 sub  0x00000011 , 0x00000007 , 0x0000003e 
+ 00007486  0x00001db1 ncall  0x00007ec9 , 0x00000005 
+ 00007487  0x00001db2 call  0x00007ecb , 0x00000005 
+ 00007488  0x00001db3 call  0x00001eb5 
+ 00007489  0x00001db4 idiv  0x00000011 
+ 00007490  0x00001db5 call  0x00007e64 
+ 00007491  0x00001db6 quotient  0x0000000b 
+ 00007492  0x00001db7 increase  0xffffffff , 0x0000000b 
+ 00007493  0x00001db8 branch  0x00001d48 , 0x00000005 
+ 00007494  0x00001dba call  0x00001e82 
+ 00007495  0x00001dbb branch  0x00001d27 
+ 00007496  0x00001dbd branch  0x00001e74 , 0x00000028 
+ 00007497  0x00001dbe branch  0x00001ea3 
+ 00007498  0x00001dc1 call  0x00001e95 
+ 00007499  0x00001dc2 call  0x00001e82 
+ 00007500  0x00001dc3 call  0x00001a3c 
+ 00007501  0x00001dc4 call  0x00001e09 
+ 00007502  0x00001dc5 nbranch  0x00001d48 , 0x00000034 
+ 00007503  0x00001dc7 call  0x00007d55 
+ 00007504  0x00001dc8 fetch  0x00000002 , 0x00000964 
+ 00007505  0x00001dc9 increase  0xffffffff , 0x0000003f 
+ 00007506  0x00001dca istore  0x00000002 , 0x00000005 
+ 00007507  0x00001dcb call  0x00001e9f 
+ 00007508  0x00001dcc call  0x00001d5f 
+ 00007509  0x00001dcd increase  0xffffffff , 0x0000000b 
+ 00007510  0x00001dce branch  0x00001d48 , 0x00000005 
+ 00007511  0x00001dcf branch  0x00001d46 
+ 00007512  0x00001dd3 fetch  0x00000002 , 0x00000964 
+ 00007513  0x00001dd4 istore  0x00000002 , 0x00000005 
+ 00007514  0x00001dd6 fetch  0x00000001 , 0x000009b3 
+ 00007515  0x00001dd7 copy  0x0000003f , 0x00000039 
+ 00007516  0x00001dd8 call  0x00007d58 
+ 00007517  0x00001dd9 call  0x00007dc7 
+ 00007518  0x00001dda branch  0x00007d5b 
+ 00007519  0x00001ddc call  0x00007d55 
+ 00007520  0x00001ddd fetch  0x00000002 , 0x00000964 
+ 00007521  0x00001dde istore  0x00000002 , 0x00000005 
+ 00007522  0x00001ddf call  0x00007d5b 
+ 00007523  0x00001de0 fetch  0x00000001 , 0x000009ba 
+ 00007524  0x00001de1 copy  0x0000003f , 0x00000039 
+ 00007525  0x00001de2 call  0x00007d55 
+ 00007526  0x00001de3 call  0x00007d58 
+ 00007527  0x00001de4 isub  0x00000039 , 0x00000006 
+ 00007528  0x00001de5 increase  0xffffffff , 0x00000006 
+ 00007529  0x00001de6 call  0x00007dc7 
+ 00007530  0x00001de7 branch  0x00007d5b 
+ 00007531  0x00001dec call  0x00001a21 
+ 00007532  0x00001ded branch  0x00001e74 , 0x00000034 
+ 00007533  0x00001dee copy  0x00000006 , 0x00000013 
+ 00007534  0x00001def increase  0xfffffffb , 0x00000006 
+ 00007535  0x00001df0 ifetch  0x00000002 , 0x00000006 
+ 00007536  0x00001df1 store  0x00000002 , 0x00000964 
+ 00007537  0x00001df2 arg  0x00000014 , 0x00000011 
+ 00007538  0x00001df3 call  0x00001e80 
+ 00007539  0x00001df4 setarg  0x00000009 
+ 00007540  0x00001df5 istore  0x00000001 , 0x00000005 
+ 00007541  0x00001df6 ifetch  0x00000001 , 0x00000013 
+ 00007542  0x00001df7 copy  0x0000003f , 0x00000039 
+ 00007543  0x00001df8 increase  0x00000002 , 0x0000003f 
+ 00007544  0x00001df9 istore  0x00000001 , 0x00000005 
+ 00007545  0x00001dfa fetch  0x00000002 , 0x00000964 
+ 00007546  0x00001dfb istore  0x00000002 , 0x00000005 
+ 00007547  0x00001dfc add  0x00000013 , 0x00000001 , 0x00000006 
+ 00007548  0x00001dfd call  0x00007dc7 
+ 00007549  0x00001dfe call  0x00007d5b 
+ 00007550  0x00001dff branch  0x00001ea3 
+ 00007551  0x00001e04 arg  0x00002a00 , 0x00000002 
+ 00007552  0x00001e05 call  0x00001a21 
+ 00007553  0x00001e06 rtn  0x00000034 
+ 00007554  0x00001e07 increase  0xfffffffb , 0x00000006 
+ 00007555  0x00001e08 ifetch  0x00000002 , 0x00000006 
+ 00007556  0x00001e09 store  0x00000002 , 0x00000964 
+ 00007557  0x00001e0a arg  0x00000014 , 0x00000011 
+ 00007558  0x00001e0b call  0x00001e80 
+ 00007559  0x00001e0c setarg  0x00000009 
+ 00007560  0x00001e0d istore  0x00000001 , 0x00000005 
+ 00007561  0x00001e0e fetch  0x00000001 , 0x000042f7 
+ 00007562  0x00001e0f copy  0x0000003f , 0x00000039 
+ 00007563  0x00001e10 increase  0x00000002 , 0x0000003f 
+ 00007564  0x00001e11 istore  0x00000001 , 0x00000005 
+ 00007565  0x00001e12 fetch  0x00000002 , 0x00000964 
+ 00007566  0x00001e13 istore  0x00000002 , 0x00000005 
+ 00007567  0x00001e14 arg  0x000042f8 , 0x00000006 
+ 00007568  0x00001e15 call  0x00007dc7 
+ 00007569  0x00001e16 call  0x00007d5b 
+ 00007570  0x00001e17 branch  0x00001ea3 
+ 00007571  0x00001e1c call  0x00001e39 
+ 00007572  0x00001e1d fetcht  0x00000002 , 0x00004437 
+ 00007573  0x00001e1e fetch  0x00000001 , 0x000043c0 
+ 00007574  0x00001e1f bbit1  0x00000003 , 0x00001db8 
+ 00007575  0x00001e23 call  0x00001a11 
+ 00007576  0x00001e24 nbranch  0x00001e74 , 0x00000005 
+ 00007577  0x00001e25 call  0x00001dbe , 0x00000028 
+ 00007578  0x00001e26 rtn  0x00000028 
+ 00007579  0x00001e27 call  0x00001a1e 
+ 00007580  0x00001e28 increase  0xfffffffe , 0x00000006 
+ 00007581  0x00001e29 ifetch  0x00000002 , 0x00000006 
+ 00007582  0x00001e2a arg  0x00002a00 , 0x00000002 
+ 00007583  0x00001e2b isub  0x00000002 , 0x0000003e 
+ 00007584  0x00001e2c branch  0x00001dae , 0x00000005 
+ 00007585  0x00001e2d ifetch  0x00000001 , 0x00000006 
+ 00007586  0x00001e2e sub  0x0000003f , 0x00000016 , 0x0000003e 
+ 00007587  0x00001e2f branch  0x00001da5 , 0x00000002 
+ 00007588  0x00001e30 force  0x00000016 , 0x0000003f 
+ 00007589  0x00001e32 copy  0x0000003f , 0x00000013 
+ 00007590  0x00001e33 call  0x00007d5e 
+ 00007591  0x00001e34 add  0x00000013 , 0x00000001 , 0x00000011 
+ 00007592  0x00001e35 call  0x00001e80 
+ 00007593  0x00001e36 setarg  0x0000000b 
+ 00007594  0x00001e37 istore  0x00000001 , 0x00000005 
+ 00007595  0x00001e38 copy  0x00000013 , 0x00000039 
+ 00007596  0x00001e39 call  0x00007d58 
+ 00007597  0x00001e3a branch  0x00007dd4 
+ 00007598  0x00001e3d call  0x00007d5e 
+ 00007599  0x00001e3e fetch  0x00000001 , 0x000042f7 
+ 00007600  0x00001e3f add  0x0000003f , 0x00000001 , 0x00000011 
+ 00007601  0x00001e40 call  0x00001e80 
+ 00007602  0x00001e41 setarg  0x0000000b 
+ 00007603  0x00001e42 istore  0x00000001 , 0x00000005 
+ 00007604  0x00001e43 fetch  0x00000001 , 0x000042f7 
+ 00007605  0x00001e44 copy  0x0000003f , 0x00000039 
+ 00007606  0x00001e45 arg  0x000042f8 , 0x00000006 
+ 00007607  0x00001e46 branch  0x00007dd4 
+ 00007608  0x00001e4a fetch  0x00000002 , 0x000043d1 
+ 00007609  0x00001e4b isub  0x00000002 , 0x0000003e 
+ 00007610  0x00001e4c nbranch  0x00001d97 , 0x00000005 
+ 00007611  0x00001e4d nbranch  0x00001d97 , 0x00000028 
+ 00007612  0x00001e4f jam  0x00000005 , 0x000002d8 
+ 00007613  0x00001e50 branch  0x00001e75 
+ 00007614  0x00001e53 increase  0xfffffffe , 0x00000006 
+ 00007615  0x00001e54 ifetch  0x00000002 , 0x00000006 
+ 00007616  0x00001e55 bbit1  0x0000000e , 0x00001dbc 
+ 00007617  0x00001e56 branch  0x00007ec7 
+ 00007618  0x00001e59 ifetch  0x00000002 , 0x00000006 
+ 00007619  0x00001e5a store  0x00000002 , 0x000009a2 
+ 00007620  0x00001e5c arg  0x00000014 , 0x00000011 
+ 00007621  0x00001e5d call  0x00001e80 
+ 00007622  0x00001e5e setarg  0x0000000d 
+ 00007623  0x00001e5f istore  0x00000001 , 0x00000005 
+ 00007624  0x00001e60 fetch  0x00000002 , 0x000009a2 
+ 00007625  0x00001e61 iforce  0x00000011 
+ 00007626  0x00001e62 fetcht  0x00000002 , 0x00004437 
+ 00007627  0x00001e63 call  0x00001a0e 
+ 00007628  0x00001e64 branch  0x00001e74 , 0x00000034 
+ 00007629  0x00001e65 ifetch  0x00000001 , 0x00000006 
+ 00007630  0x00001e66 isub  0x00000011 , 0x00000039 
+ 00007631  0x00001e67 nbranch  0x00001e74 , 0x00000002 
+ 00007632  0x00001e68 sub  0x00000039 , 0x00000016 , 0x0000003e 
+ 00007633  0x00001e69 branch  0x00001dd3 , 0x00000002 
+ 00007634  0x00001e6a force  0x00000016 , 0x00000039 
+ 00007635  0x00001e6c deposit  0x00000011 
+ 00007636  0x00001e6d iadd  0x00000006 , 0x00000006 
+ 00007637  0x00001e6e call  0x00007dc7 
+ 00007638  0x00001e6f call  0x00007d5b 
+ 00007639  0x00001e70 branch  0x00001ea3 
+ 00007640  0x00001e75 call  0x00001eb0 
+ 00007641  0x00001e76 call  0x00001ebd 
+ 00007642  0x00001e77 branch  0x00001ddb 
+ 00007643  0x00001e7e arg  0x00000002 , 0x0000000b 
+ 00007644  0x00001e7f fetcht  0x00000002 , 0x0000099e 
+ 00007645  0x00001e80 storet  0x00000002 , 0x00000964 
+ 00007646  0x00001e81 call  0x00001a11 
+ 00007647  0x00001e82 increase  0xfffffffe , 0x00000006 
+ 00007648  0x00001e83 copy  0x00000006 , 0x0000003f 
+ 00007649  0x00001e84 store  0x00000002 , 0x000009b4 
+ 00007650  0x00001e86 call  0x00001e86 
+ 00007651  0x00001e87 nbranch  0x00001e11 , 0x00000002 
+ 00007652  0x00001e88 fetcht  0x00000002 , 0x00000964 
+ 00007653  0x00001e89 call  0x00001a3c 
+ 00007654  0x00001e8a nbranch  0x00001e14 , 0x00000034 
+ 00007655  0x00001e8c call  0x00001e8a 
+ 00007656  0x00001e8d nbranch  0x00001e07 , 0x00000005 
+ 00007657  0x00001e8e copy  0x0000000b , 0x0000003f 
+ 00007658  0x00001e8f beq  0x00000000 , 0x00001e14 
+ 00007659  0x00001e90 nbranch  0x00001dfd , 0x00000028 
+ 00007660  0x00001e91 disable  0x00000028 
+ 00007661  0x00001e93 arg  0x00000014 , 0x00000011 
+ 00007662  0x00001e94 call  0x00001e80 
+ 00007663  0x00001e95 setarg  0x00000011 
+ 00007664  0x00001e96 istore  0x00000001 , 0x00000005 
+ 00007665  0x00001e97 fetch  0x00000001 , 0x000009b3 
+ 00007666  0x00001e98 add  0x0000003f , 0x00000004 , 0x00000011 
+ 00007667  0x00001e99 istorer  0x00000011 , 0x00000001 , 0x00000005 
+ 00007668  0x00001e9a call  0x00007d5b 
+ 00007669  0x00001e9b sub  0x00000011 , 0x00000006 , 0x0000003e 
+ 00007670  0x00001e9c ncall  0x00007ec9 , 0x00000005 
+ 00007671  0x00001e9d call  0x00007ecb , 0x00000005 
+ 00007672  0x00001e9e call  0x00001eb5 
+ 00007673  0x00001e9f idiv  0x00000011 
+ 00007674  0x00001ea0 call  0x00007e64 
+ 00007675  0x00001ea1 quotient  0x0000000b 
+ 00007676  0x00001ea2 branch  0x00001e03 
+ 00007677  0x00001ea4 call  0x00001e0b 
+ 00007678  0x00001ea5 nbranch  0x00001e14 , 0x00000034 
+ 00007679  0x00001ea6 fetch  0x00000002 , 0x00000964 
+ 00007680  0x00001ea7 increase  0xffffffff , 0x0000003f 
+ 00007681  0x00001ea8 store  0x00000002 , 0x000009b8 
+ 00007682  0x00001ea9 call  0x00001e9a 
+ 00007683  0x00001eab fetch  0x00000002 , 0x00000964 
+ 00007684  0x00001eac store  0x00000002 , 0x000009b6 
+ 00007685  0x00001ead call  0x00001e95 
+ 00007686  0x00001eae increase  0xffffffff , 0x0000000b 
+ 00007687  0x00001eb1 call  0x00001e82 
+ 00007688  0x00001eb2 branch  0x00001de2 
+ 00007689  0x00001eb5 fetch  0x00000001 , 0x000009ba 
+ 00007690  0x00001eb6 branch  0x00001e0c 
+ 00007691  0x00001eba fetch  0x00000001 , 0x000009b3 
+ 00007692  0x00001ebb branch  0x00001e0f , 0x0000002c 
+ 00007693  0x00001ebc increase  0xfffffffe , 0x0000003f 
+ 00007694  0x00001ebd rtn 
+ 00007695  0x00001ec0 increase  0xfffffff0 , 0x0000003f 
+ 00007696  0x00001ec1 rtn 
+ 00007697  0x00001ec4 fetch  0x00000002 , 0x00000964 
+ 00007698  0x00001ec5 store  0x00000002 , 0x000009b8 
+ 00007699  0x00001ec6 branch  0x00001e18 
+ 00007700  0x00001ec8 fetch  0x00000002 , 0x00000964 
+ 00007701  0x00001ec9 increase  0xffffffff , 0x0000003f 
+ 00007702  0x00001eca store  0x00000002 , 0x000009b8 
+ 00007703  0x00001ecb branch  0x00001e18 
+ 00007704  0x00001ecd branch  0x00001e74 , 0x00000028 
+ 00007705  0x00001ece call  0x00001e9a 
+ 00007706  0x00001ecf branch  0x00001ea3 
+ 00007707  0x00001ed5 copy  0x00000006 , 0x00000011 
+ 00007708  0x00001ed6 fetch  0x00000002 , 0x000043d4 
+ 00007709  0x00001ed7 add  0x0000003f , 0xfffffffd , 0x00000012 
+ 00007710  0x00001ed8 call  0x000019d1 
+ 00007711  0x00001eda call  0x00001e39 
+ 00007712  0x00001edb fetcht  0x00000002 , 0x00004437 
+ 00007713  0x00001edc call  0x00001a11 
+ 00007714  0x00001edd nbranch  0x00001e37 , 0x00000005 
+ 00007715  0x00001ede call  0x00001e33 , 0x00000028 
+ 00007716  0x00001edf rtn  0x00000028 
+ 00007717  0x00001ee1 fetch  0x00000001 , 0x000043c0 
+ 00007718  0x00001ee2 bbit0  0x00000004 , 0x00001e2e 
+ 00007719  0x00001ee4 fetcht  0x00000002 , 0x00004437 
+ 00007720  0x00001ee5 fetch  0x00000002 , 0x000043d1 
+ 00007721  0x00001ee6 isub  0x00000002 , 0x0000003e 
+ 00007722  0x00001ee7 nbranch  0x00001e2e , 0x00000005 
+ 00007723  0x00001ee8 call  0x00001e39 
+ 00007724  0x00001ee9 nbranch  0x00001e2e , 0x00000028 
+ 00007725  0x00001eea branch  0x00001dbc 
+ 00007726  0x00001eee force  0x00000001 , 0x00000011 
+ 00007727  0x00001eef call  0x00001e80 
+ 00007728  0x00001ef0 setarg  0x00000013 
+ 00007729  0x00001ef1 istore  0x00000001 , 0x00000005 
+ 00007730  0x00001ef2 rtn 
+ 00007731  0x00001ef5 increase  0xfffffffe , 0x00000006 
+ 00007732  0x00001ef6 ifetch  0x00000002 , 0x00000006 
+ 00007733  0x00001ef7 bbit1  0x0000000f , 0x00001dbc 
+ 00007734  0x00001ef8 branch  0x00007ec7 
+ 00007735  0x00001efb jam  0x00000001 , 0x000002d8 
+ 00007736  0x00001efc branch  0x00001e75 
+ 00007737  0x00001f00 call  0x00007ec7 
+ 00007738  0x00001f01 fetch  0x00000001 , 0x0000439d 
+ 00007739  0x00001f02 rtneq  0x00000000 
+ 00007740  0x00001f03 fetch  0x00000001 , 0x00004040 
+ 00007741  0x00001f04 rtnbit1  0x00000004 
+ 00007742  0x00001f05 branch  0x00007ec5 
+ 00007743  0x00001f09 add  0x00000006 , 0x00000002 , 0x00000011 
+ 00007744  0x00001f0a fetch  0x00000002 , 0x000043d4 
+ 00007745  0x00001f0b add  0x0000003f , 0xfffffffb , 0x00000012 
+ 00007746  0x00001f0c call  0x000019d1 
+ 00007747  0x00001f0d branch  0x00001e44 
+ 00007748  0x00001f11 fetch  0x00000002 , 0x000043d4 
+ 00007749  0x00001f12 copy  0x0000003f , 0x00000011 
+ 00007750  0x00001f13 call  0x00001e80 
+ 00007751  0x00001f14 setarg  0x00000017 
+ 00007752  0x00001f15 istore  0x00000001 , 0x00000005 
+ 00007753  0x00001f16 fetch  0x00000002 , 0x00004437 
+ 00007754  0x00001f17 istore  0x00000002 , 0x00000005 
+ 00007755  0x00001f18 fetch  0x00000002 , 0x000043d4 
+ 00007756  0x00001f19 add  0x0000003f , 0xfffffffb , 0x00000039 
+ 00007757  0x00001f1a fetch  0x00000002 , 0x000043d8 
+ 00007758  0x00001f1b add  0x0000003f , 0x00000007 , 0x00000006 
+ 00007759  0x00001f1c ifetch  0x00000002 , 0x00000006 
+ 00007760  0x00001f1d istore  0x00000002 , 0x00000005 
+ 00007761  0x00001f1e branch  0x00007dc7 
+ 00007762  0x00001f25 force  0x00000001 , 0x00000011 
+ 00007763  0x00001f26 call  0x00001e80 
+ 00007764  0x00001f27 setarg  0x00000019 
+ 00007765  0x00001f28 istore  0x00000001 , 0x00000005 
+ 00007766  0x00001f29 rtn 
+ 00007767  0x00001f2c fetch  0x00000001 , 0x00004435 
+ 00007768  0x00001f2d set0  0x00000000 , 0x0000003f 
+ 00007769  0x00001f2e store  0x00000001 , 0x00004435 
+ 00007770  0x00001f2f rtn 
+ 00007771  0x00001f32 copy  0x00000006 , 0x00000011 
+ 00007772  0x00001f33 fetch  0x00000002 , 0x000043d4 
+ 00007773  0x00001f34 add  0x0000003f , 0xfffffffd , 0x00000012 
+ 00007774  0x00001f35 branch  0x000019d1 
+ 00007775  0x00001f3b copy  0x00000002 , 0x00000013 
+ 00007776  0x00001f3c increase  0x00000003 , 0x00000011 
+ 00007777  0x00001f3d call  0x00001e80 
+ 00007778  0x00001f3e increase  0xfffffffd , 0x00000011 
+ 00007779  0x00001f3f setarg  0x0000001b 
+ 00007780  0x00001f40 istore  0x00000001 , 0x00000005 
+ 00007781  0x00001f41 copy  0x00000013 , 0x00000002 
+ 00007782  0x00001f42 istoret  0x00000002 , 0x00000005 
+ 00007783  0x00001f43 rtn 
+ 00007784  0x00001f47 fetch  0x00000001 , 0x00004435 
+ 00007785  0x00001f48 set1  0x00000000 , 0x0000003f 
+ 00007786  0x00001f49 store  0x00000001 , 0x00004435 
+ 00007787  0x00001f4a copy  0x00000002 , 0x00000013 
+ 00007788  0x00001f4b increase  0x00000003 , 0x00000011 
+ 00007789  0x00001f4c call  0x00001e80 
+ 00007790  0x00001f4d increase  0xfffffffd , 0x00000011 
+ 00007791  0x00001f4e setarg  0x0000001d 
+ 00007792  0x00001f4f istore  0x00000001 , 0x00000005 
+ 00007793  0x00001f50 copy  0x00000013 , 0x00000002 
+ 00007794  0x00001f51 istoret  0x00000002 , 0x00000005 
+ 00007795  0x00001f52 rtn 
+ 00007796  0x00001f58 jam  0x0000000a , 0x000002d8 
+ 00007797  0x00001f5a force  0x00000005 , 0x00000011 
+ 00007798  0x00001f5b call  0x00001e80 
+ 00007799  0x00001f5c setarg  0x00000001 
+ 00007800  0x00001f5d istore  0x00000001 , 0x00000005 
+ 00007801  0x00001f5e fetch  0x00000001 , 0x00004436 
+ 00007802  0x00001f5f istore  0x00000001 , 0x00000005 
+ 00007803  0x00001f60 fetch  0x00000002 , 0x00004437 
+ 00007804  0x00001f61 istore  0x00000002 , 0x00000005 
+ 00007805  0x00001f62 fetch  0x00000001 , 0x000002d8 
+ 00007806  0x00001f63 istore  0x00000001 , 0x00000005 
+ 00007807  0x00001f64 rtn 
+ 00007808  0x00001f68 force  0x00000004 , 0x00000012 
+ 00007809  0x00001f69 branch  0x00001af9 
+ 00007810  0x00001f6d fetcht  0x00000002 , 0x00000964 
+ 00007811  0x00001f6e increase  0x00000001 , 0x00000002 
+ 00007812  0x00001f6f storet  0x00000002 , 0x00000964 
+ 00007813  0x00001f70 rtn 
+ 00007814  0x00001f73 fetcht  0x00000002 , 0x00000964 
+ 00007815  0x00001f74 fetch  0x00000002 , 0x000009a0 
+ 00007816  0x00001f75 isub  0x00000002 , 0x0000003e 
+ 00007817  0x00001f76 rtn 
+ 00007818  0x00001f7a fetcht  0x00000001 , 0x000009a2 
+ 00007819  0x00001f7b arg  0x000009a3 , 0x00000011 
+ 00007820  0x00001f7d fetch  0x00000001 , 0x000009ba 
+ 00007821  0x00001f7e copy  0x0000003f , 0x00000039 
+ 00007822  0x00001f7f isub  0x00000002 , 0x0000003e 
+ 00007823  0x00001f80 nrtn  0x00000005 
+ 00007824  0x00001f81 arg  0x000009bb , 0x00000012 
+ 00007825  0x00001f82 branch  0x00007e66 
+ 00007826  0x00001f85 fetcht  0x00000001 , 0x00004359 
+ 00007827  0x00001f86 arg  0x0000435a , 0x00000011 
+ 00007828  0x00001f87 branch  0x00001e8c 
+ 00007829  0x00001f8b fetch  0x00000001 , 0x000009b3 
+ 00007830  0x00001f8c store  0x00000001 , 0x00000a01 
+ 00007831  0x00001f8d copy  0x0000003f , 0x00000039 
+ 00007832  0x00001f8e call  0x00007d58 
+ 00007833  0x00001f8f branch  0x00007dc7 
+ 00007834  0x00001f93 call  0x00007d55 
+ 00007835  0x00001f94 fetch  0x00000002 , 0x000009b6 
+ 00007836  0x00001f95 istore  0x00000002 , 0x00000005 
+ 00007837  0x00001f96 fetch  0x00000002 , 0x000009b8 
+ 00007838  0x00001f97 istore  0x00000002 , 0x00000005 
+ 00007839  0x00001f99 fetch  0x00000001 , 0x00000a01 
+ 00007840  0x00001f9a copy  0x0000003f , 0x00000039 
+ 00007841  0x00001f9b call  0x00007dc7 
+ 00007842  0x00001f9c branch  0x00007d5b 
+ 00007843  0x00001fa1 bpatchx  0x000000d8 , 0x0000403b 
+ 00007844  0x00001fa2 call  0x00007d55 
+ 00007845  0x00001fa3 call  0x00001b1d 
+ 00007846  0x00001fa4 copy  0x00000005 , 0x0000003f 
+ 00007847  0x00001fa5 isub  0x00000006 , 0x00000011 
+ 00007848  0x00001fa6 call  0x00001b20 
+ 00007849  0x00001fa7 copy  0x00000011 , 0x0000003f 
+ 00007850  0x00001fa8 istore  0x00000002 , 0x00000006 
+ 00007851  0x00001fa9 increase  0x00000004 , 0x00000011 
+ 00007852  0x00001faa call  0x00001b12 
+ 00007853  0x00001fab copy  0x00000011 , 0x0000003f 
+ 00007854  0x00001fac istore  0x00000001 , 0x00000006 
+ 00007855  0x00001fad rtn 
+ 00007856  0x00001fb1 rshift8  0x0000003f , 0x0000003f 
+ 00007857  0x00001fb2 store  0x00000002 , 0x0000099e 
+ 00007858  0x00001fb3 ifetch  0x00000002 , 0x00000006 
+ 00007859  0x00001fb4 store  0x00000002 , 0x000009a0 
+ 00007860  0x00001fb5 rtn 
+ 00007861  0x00001fb8 fetch  0x00000002 , 0x00004382 
+ 00007862  0x00001fb9 increase  0xfffffffe , 0x0000003f 
+ 00007863  0x00001fbd fetcht  0x00000002 , 0x00004380 
+ 00007864  0x00001fbe increase  0xfffffffe , 0x00000002 
+ 00007865  0x00001fbf call  0x00007ebb 
+ 00007866  0x00001fc0 arg  0x000000f0 , 0x00000002 
+ 00007867  0x00001fc1 call  0x00007ebb 
+ 00007868  0x00001fc3 rtn 
+ 00007869  0x00001fc6 call  0x00007d5e 
+ 00007870  0x00001fc7 arg  0x000009a2 , 0x00000005 
+ 00007871  0x00001fc9 fetch  0x00000002 , 0x000043d4 
+ 00007872  0x00001fca increase  0xfffffffb , 0x0000003f 
+ 00007873  0x00001fcc istore  0x00000001 , 0x00000005 
+ 00007874  0x00001fcd copy  0x0000003f , 0x00000039 
+ 00007875  0x00001fce call  0x00007d58 
+ 00007876  0x00001fcf branch  0x00007dc7 
+ 00007877  0x00001fd4 fetch  0x00000002 , 0x0000016f 
+ 00007878  0x00001fd5 rtnne  0x00000004 
+ 00007879  0x00001fd6 fetch  0x00000001 , 0x00004435 
+ 00007880  0x00001fd7 set1  0x00000001 , 0x0000003f 
+ 00007881  0x00001fd8 store  0x00000001 , 0x00004435 
+ 00007882  0x00001fd9 fetch  0x00000003 , 0x00000171 
+ 00007883  0x00001fda store  0x00000003 , 0x00004436 
+ 00007884  0x00001fdb set1  0x0000000f , 0x00000000 
+ 00007885  0x00001fdc beq  0x00000012 , 0x00001ee0 
+ 00007886  0x00001fdd beq  0x00000052 , 0x00001ee5 
+ 00007887  0x00001fde beq  0x00000018 , 0x00001e52 
+ 00007888  0x00001fdf beq  0x00000002 , 0x00001c94 
+ 00007889  0x00001fe0 beq  0x0000001e , 0x00001e57 
+ 00007890  0x00001fe1 set0  0x0000000f , 0x00000000 
+ 00007891  0x00001fe3 fetch  0x00000001 , 0x00004435 
+ 00007892  0x00001fe4 set0  0x00000001 , 0x0000003f 
+ 00007893  0x00001fe5 store  0x00000001 , 0x00004435 
+ 00007894  0x00001fe6 rtn 
+ 00007895  0x00001fe9 fetch  0x00000001 , 0x00004435 
+ 00007896  0x00001fea rtnbit0  0x00000001 
+ 00007897  0x00001feb set1  0x0000000f , 0x00000000 
+ 00007898  0x00001fec call  0x00001eef 
+ 00007899  0x00001fed call  0x00001ef5 
+ 00007900  0x00001fee call  0x00001ed3 , 0x00000028 
+ 00007901  0x00001fef fetch  0x00000001 , 0x00004436 
+ 00007902  0x00001ff0 beq  0x00000012 , 0x00001e1f 
+ 00007903  0x00001ff1 rtn 
+ 00007904  0x00001ff5 call  0x00001ee5 
+ 00007905  0x00001ff6 branch  0x00001ee2 
+ 00007906  0x00001ff9 call  0x00001ef5 
+ 00007907  0x00001ffa nrtn  0x00000028 
+ 00007908  0x00001ffb branch  0x00001e1f 
+ 00007909  0x00001fff call  0x00001ee8 
+ 00007910  0x00002000 arg  0x00000174 , 0x00000011 
+ 00007911  0x00002001 branch  0x000019d1 
+ 00007912  0x00002005 fetch  0x00000001 , 0x0000016c 
+ 00007913  0x00002006 add  0x0000003f , 0xfffffff9 , 0x00000012 
+ 00007914  0x00002007 increase  0xfffffffc , 0x0000003f 
+ 00007915  0x00002008 store  0x00000002 , 0x000043d6 
+ 00007916  0x00002009 fetcht  0x00000002 , 0x0000016d 
+ 00007917  0x0000200a storet  0x00000002 , 0x000043d4 
+ 00007918  0x0000200b rtn 
+ 00007919  0x0000200f fetchr  0x00000012 , 0x00000001 , 0x0000016c 
+ 00007920  0x00002010 fetch  0x00000002 , 0x000043d6 
+ 00007921  0x00002011 iadd  0x00000012 , 0x00000002 
+ 00007922  0x00002012 storet  0x00000002 , 0x000043d6 
+ 00007923  0x00002013 arg  0x0000016d , 0x00000011 
+ 00007924  0x00002014 branch  0x000019d1 
+ 00007925  0x00002019 call  0x00007ec7 
+ 00007926  0x0000201a fetch  0x00000002 , 0x000043d6 
+ 00007927  0x0000201b fetcht  0x00000002 , 0x000043d4 
+ 00007928  0x0000201c isub  0x00000002 , 0x0000003e 
+ 00007929  0x0000201d nrtn  0x00000005 
+ 00007930  0x0000201e branch  0x00007ec5 
+ 00007931  0x00002025 ifetch  0x00000001 , 0x00000006 
+ 00007932  0x00002026 ifetcht  0x00000001 , 0x00000006 
+ 00007933  0x00002027 ifetcht  0x00000002 , 0x00000006 
+ 00007934  0x00002028 beq  0x00000013 , 0x00001f00 
+ 00007935  0x00002029 rtn 
+ 00007936  0x0000202b ifetch  0x00000002 , 0x00000006 
+ 00007937  0x0000202c store  0x00000002 , 0x000043db 
+ 00007938  0x0000202d jam  0x00000040 , 0x0000095b 
+ 00007939  0x0000202e branch  0x000078dc 
+ 00007940  0x00002035 arg  0x0000000c , 0x00000011 
+ 00007941  0x00002036 arg  0x00000012 , 0x00000013 
+ 00007942  0x00002037 call  0x00001f0c 
+ 00007943  0x00002038 setarg  0x00000008 
+ 00007944  0x00002039 istore  0x00000002 , 0x00000005 
+ 00007945  0x0000203a fetch  0x00000008 , 0x00004372 
+ 00007946  0x0000203b istore  0x00000008 , 0x00000005 
+ 00007947  0x0000203c rtn 
+ 00007948  0x00002041 call  0x00001f14 
+ 00007949  0x00002042 arg  0x00000005 , 0x00000012 
+ 00007950  0x00002043 call  0x00001af9 
+ 00007951  0x00002044 copy  0x00000013 , 0x0000003f 
+ 00007952  0x00002045 istore  0x00000001 , 0x00000005 
+ 00007953  0x00002046 fetch  0x00000001 , 0x000043da 
+ 00007954  0x00002047 istore  0x00000001 , 0x00000005 
+ 00007955  0x00002048 rtn 
+ 00007956  0x0000204c fetch  0x00000001 , 0x000043da 
+ 00007957  0x0000204e pincrease  0x00000001 
+ 00007958  0x0000204f store  0x00000001 , 0x000043da 
+ 00007959  0x00002050 rtnne  0x00000000 
+ 00007960  0x00002053 jam  0x00000001 , 0x000043da 
+ 00007961  0x00002054 rtn 
+ 00007962  0x0000205a fetch  0x00000001 , 0x0000439d 
+ 00007963  0x0000205b beq  0x00000000 , 0x00001f29 
+ 00007964  0x0000205c beq  0x00000001 , 0x00001f2c 
+ 00007965  0x0000205d beq  0x00000002 , 0x00001f2e 
+ 00007966  0x0000205e beq  0x00000081 , 0x00001f22 
+ 00007967  0x0000205f beq  0x00000082 , 0x00001f24 
+ 00007968  0x00002060 beq  0x00000083 , 0x00001f27 
+ 00007969  0x00002061 rtn 
+ 00007970  0x00002064 jam  0x0000000d , 0x00004353 
+ 00007971  0x00002065 branch  0x00001f2a 
+ 00007972  0x00002067 jam  0x0000000d , 0x00004353 
+ 00007973  0x00002068 jam  0x00000001 , 0x00004351 
+ 00007974  0x00002069 rtn 
+ 00007975  0x0000206b jam  0x0000000d , 0x00004353 
+ 00007976  0x0000206c branch  0x00001f2f 
+ 00007977  0x0000206e jam  0x00000000 , 0x00004353 
+ 00007978  0x00002070 jam  0x00000003 , 0x00004351 
+ 00007979  0x00002071 rtn 
+ 00007980  0x00002073 jam  0x00000005 , 0x00004353 
+ 00007981  0x00002074 branch  0x00001f2a 
+ 00007982  0x00002076 jam  0x00000005 , 0x00004353 
+ 00007983  0x00002078 jam  0x00000000 , 0x00004351 
+ 00007984  0x00002079 rtn 
+ 00007985  0x0000207d fetch  0x00000001 , 0x000046bb 
+ 00007986  0x0000207e set1  0x00000000 , 0x0000003f 
+ 00007987  0x0000207f store  0x00000001 , 0x000046bb 
+ 00007988  0x00002080 rtn 
+ 00007989  0x00002083 fetch  0x00000001 , 0x000046bb 
+ 00007990  0x00002084 set0  0x00000000 , 0x0000003f 
+ 00007991  0x00002085 store  0x00000001 , 0x000046bb 
+ 00007992  0x00002086 rtn 
+ 00007993  0x00002089 ifetch  0x00000001 , 0x00000006 
+ 00007994  0x0000208a beq  0x00000001 , 0x00001f4d 
+ 00007995  0x0000208c beq  0x00000003 , 0x00001f74 
+ 00007996  0x0000208d beq  0x00000004 , 0x00001f95 
+ 00007997  0x0000208e beq  0x00000005 , 0x00001fa2 
+ 00007998  0x00002090 beq  0x00000007 , 0x0000200a 
+ 00007999  0x00002091 beq  0x00000008 , 0x00001ff6 
+ 00008000  0x00002092 beq  0x00000009 , 0x00002006 
+ 00008001  0x00002093 beq  0x0000000a , 0x0000200a 
+ 00008002  0x00002094 beq  0x0000000b , 0x0000200a 
+ 00008003  0x00002095 beq  0x0000000c , 0x0000200b 
+ 00008004  0x00002096 beq  0x0000000d , 0x00002010 
+ 00008005  0x00002097 rtn 
+ 00008006  0x0000209c force  0x00000002 , 0x00000011 
+ 00008007  0x0000209d call  0x000020b6 
+ 00008008  0x0000209e setarg  0x0000000b 
+ 00008009  0x0000209f istore  0x00000001 , 0x00000005 
+ 00008010  0x000020a0 fetch  0x00000001 , 0x00004353 
+ 00008011  0x000020a1 istore  0x00000001 , 0x00000005 
+ 00008012  0x000020a2 rtn 
+ 00008013  0x000020a5 store  0x00000001 , 0x00004349 
+ 00008014  0x000020a6 ifetch  0x00000006 , 0x00000006 
+ 00008015  0x000020a7 istore  0x00000006 , 0x00000005 
+ 00008016  0x000020a8 fetch  0x00000001 , 0x0000439d 
+ 00008017  0x000020a9 beq  0x00000000 , 0x00001fa7 
+ 00008018  0x000020aa call  0x00001f6f 
+ 00008019  0x000020ab fetch  0x00000001 , 0x000046b9 
+ 00008020  0x000020ac branch  0x00001f59 , 0x00000034 
+ 00008021  0x000020ad fetch  0x00000001 , 0x0000434c 
+ 00008022  0x000020ae bbit0  0x00000003 , 0x00003281 
+ 00008023  0x000020af fetch  0x00000001 , 0x0000439d 
+ 00008024  0x000020b0 bbit0  0x00000007 , 0x00003281 
+ 00008025  0x000020b2 jam  0x00000003 , 0x0000439b 
+ 00008026  0x000020b3 fetch  0x00000001 , 0x0000434a 
+ 00008027  0x000020b4 beq  0x00000000 , 0x00001f61 
+ 00008028  0x000020b5 beq  0x00000001 , 0x00001f61 
+ 00008029  0x000020b6 beq  0x00000003 , 0x00001f61 
+ 00008030  0x000020b7 fetch  0x00000001 , 0x0000439d 
+ 00008031  0x000020b8 beq  0x00000002 , 0x00001f64 
+ 00008032  0x000020b9 rtneq  0x00000083 
+ 00008033  0x000020bb arg  0x00000000 , 0x0000003f 
+ 00008034  0x000020bc store  0x00000004 , 0x0000439e 
+ 00008035  0x000020bd rtn 
+ 00008036  0x000020c0 fetch  0x00000001 , 0x000043c0 
+ 00008037  0x000020c1 bbit1  0x00000000 , 0x00001f6d 
+ 00008038  0x000020c3 arg  0x0000439e , 0x00000011 
+ 00008039  0x000020c4 copy  0x00000011 , 0x00000005 
+ 00008040  0x000020c5 arg  0x00000003 , 0x00000039 
+ 00008041  0x000020c6 call  0x00005a90 
+ 00008042  0x000020c7 fetch  0x00000002 , 0x000043a0 
+ 00008043  0x000020c8 and_into  0x00000007 , 0x0000003f 
+ 00008044  0x000020c9 store  0x00000002 , 0x000043a0 
+ 00008045  0x000020cb jam  0x00000034 , 0x0000095b 
+ 00008046  0x000020cc branch  0x000078dc 
+ 00008047  0x000020d1 force  0x00000007 , 0x00000011 
+ 00008048  0x000020d2 call  0x000020b6 
+ 00008049  0x000020d3 fetch  0x00000007 , 0x00004350 
+ 00008050  0x000020d4 istore  0x00000007 , 0x00000005 
+ 00008051  0x000020d5 rtn 
+ 00008052  0x000020d9 jam  0x00000005 , 0x0000439b 
+ 00008053  0x000020da arg  0x00004327 , 0x00000005 
+ 00008054  0x000020db call  0x00007d7f 
+ 00008055  0x000020dc fetch  0x00000001 , 0x0000439d 
+ 00008056  0x000020dd beq  0x00000083 , 0x00001f7c 
+ 00008057  0x000020de beq  0x00000004 , 0x00001f7f 
+ 00008058  0x000020df beq  0x00000084 , 0x00001f81 
+ 00008059  0x000020e0 branch  0x00001f84 
+ 00008060  0x000020e2 jam  0x00000002 , 0x00004398 
+ 00008061  0x000020e3 jam  0x00000008 , 0x00004399 
+ 00008062  0x000020e4 rtn 
+ 00008063  0x000020e8 jam  0x00000043 , 0x0000095b 
+ 00008064  0x000020e9 branch  0x000078dc 
+ 00008065  0x000020ed fetch  0x00000004 , 0x0000439e 
+ 00008066  0x000020ee branch  0x00001f7f , 0x00000034 
+ 00008067  0x000020ef branch  0x00001f7c 
+ 00008068  0x000020f3 jam  0x00000006 , 0x0000439b 
+ 00008069  0x000020f4 fetch  0x00000001 , 0x0000439d 
+ 00008070  0x000020f5 bbit1  0x00000007 , 0x00001f8d 
+ 00008071  0x000020f6 call  0x00006cba 
+ 00008072  0x000020f7 force  0x00000011 , 0x00000011 
+ 00008073  0x000020f8 call  0x000020b6 
+ 00008074  0x000020f9 setarg  0x00000003 
+ 00008075  0x000020fa istore  0x00000001 , 0x00000005 
+ 00008076  0x000020fb branch  0x00006e3c 
+ 00008077  0x000020ff arg  0x00004337 , 0x00000005 
+ 00008078  0x00002100 call  0x00005a8f 
+ 00008079  0x00002101 call  0x00006ae3 
+ 00008080  0x00002102 force  0x00000011 , 0x00000011 
+ 00008081  0x00002103 call  0x000020b6 
+ 00008082  0x00002104 setarg  0x00000003 
+ 00008083  0x00002105 istore  0x00000001 , 0x00000005 
+ 00008084  0x00002106 branch  0x00006b1f 
+ 00008085  0x0000210b copy  0x00000006 , 0x00000011 
+ 00008086  0x0000210c fetch  0x00000001 , 0x0000439d 
+ 00008087  0x0000210d bbit1  0x00000007 , 0x00001fa9 
+ 00008088  0x0000210e copy  0x00000011 , 0x00000006 
+ 00008089  0x0000210f call  0x00006cb2 
+ 00008090  0x00002110 branch  0x00001fbe , 0x00000005 
+ 00008091  0x00002112 jam  0x00000004 , 0x000002d9 
+ 00008092  0x00002114 force  0x00000002 , 0x00000011 
+ 00008093  0x00002115 call  0x000020b6 
+ 00008094  0x00002116 setarg  0x00000005 
+ 00008095  0x00002117 istore  0x00000001 , 0x00000005 
+ 00008096  0x00002118 fetch  0x00000001 , 0x000002d9 
+ 00008097  0x00002119 istore  0x00000001 , 0x00000005 
+ 00008098  0x0000211b force  0x0000000a , 0x00000007 
+ 00008099  0x0000211c call  0x00007dda 
+ 00008100  0x0000211d jam  0x00000000 , 0x0000439b 
+ 00008101  0x0000211e jam  0x00000030 , 0x0000095b 
+ 00008102  0x0000211f branch  0x000078dc 
+ 00008103  0x00002122 jam  0x00000005 , 0x000002d9 
+ 00008104  0x00002123 branch  0x00001f9c 
+ 00008105  0x00002127 arg  0x00000277 , 0x00000005 
+ 00008106  0x00002128 copy  0x00000011 , 0x00000006 
+ 00008107  0x00002129 call  0x00007d7f 
+ 00008108  0x0000212a fetch  0x00000001 , 0x0000439d 
+ 00008109  0x0000212b beq  0x00000083 , 0x00001fb5 
+ 00008110  0x0000212c beq  0x00000084 , 0x00001fb5 
+ 00008111  0x0000212d call  0x00006a6d 
+ 00008112  0x0000212e call  0x00001fc3 
+ 00008113  0x0000212f fetch  0x00000001 , 0x0000439d 
+ 00008114  0x00002130 rtnne  0x00000082 
+ 00008115  0x00002131 jam  0x0000003b , 0x0000095b 
+ 00008116  0x00002132 branch  0x000078dc 
+ 00008117  0x00002135 call  0x00006ad8 
+ 00008118  0x00002136 arg  0x000009be , 0x00000005 
+ 00008119  0x00002137 call  0x00006b1f 
+ 00008120  0x00002138 arg  0x000009be , 0x00000011 
+ 00008121  0x00002139 arg  0x00004327 , 0x00000012 
+ 00008122  0x0000213a arg  0x00000010 , 0x00000039 
+ 00008123  0x0000213b call  0x00007e66 
+ 00008124  0x0000213c nbranch  0x00001f9b , 0x00000005 
+ 00008125  0x0000213d branch  0x00001fc3 
+ 00008126  0x00002140 call  0x00006cae 
+ 00008127  0x00002141 jam  0x00000031 , 0x0000095b 
+ 00008128  0x00002142 call  0x000078dc 
+ 00008129  0x00002143 jam  0x00000001 , 0x00004326 
+ 00008130  0x00002144 jam  0x00000009 , 0x0000439b 
+ 00008131  0x00002147 force  0x00000011 , 0x00000011 
+ 00008132  0x00002148 call  0x000020b6 
+ 00008133  0x00002149 setarg  0x00000004 
+ 00008134  0x0000214a istore  0x00000001 , 0x00000005 
+ 00008135  0x0000214b arg  0x00004337 , 0x00000006 
+ 00008136  0x0000214c branch  0x00007d7f 
+ 00008137  0x0000214f force  0x00000011 , 0x00000011 
+ 00008138  0x00002150 call  0x000020b6 
+ 00008139  0x00002151 setarg  0x00000006 
+ 00008140  0x00002152 istore  0x00000001 , 0x00000005 
+ 00008141  0x00002153 fetch  0x00000001 , 0x000043c0 
+ 00008142  0x00002154 bbit1  0x00000001 , 0x00001fd1 
+ 00008143  0x00002155 arg  0x00004316 , 0x00000006 
+ 00008144  0x00002156 branch  0x00007d7f 
+ 00008145  0x00002159 arg  0x000043c1 , 0x00000006 
+ 00008146  0x0000215a branch  0x00007d7f 
+ 00008147  0x0000215e arg  0x000043a2 , 0x00000005 
+ 00008148  0x0000215f force  0x0000000a , 0x00000039 
+ 00008149  0x00002160 call  0x00005a90 
+ 00008150  0x00002161 force  0x0000000b , 0x00000011 
+ 00008151  0x00002162 call  0x000020b6 
+ 00008152  0x00002163 setarg  0x00000007 
+ 00008153  0x00002164 istore  0x00000001 , 0x00000005 
+ 00008154  0x00002165 fetch  0x00000002 , 0x000043a2 
+ 00008155  0x00002166 istore  0x00000002 , 0x00000005 
+ 00008156  0x00002167 fetch  0x00000008 , 0x000043a4 
+ 00008157  0x00002168 istore  0x00000008 , 0x00000005 
+ 00008158  0x00002169 rtn 
+ 00008159  0x0000216c force  0x00000011 , 0x00000011 
+ 00008160  0x0000216d call  0x000020b6 
+ 00008161  0x0000216e setarg  0x00000008 
+ 00008162  0x0000216f istore  0x00000001 , 0x00000005 
+ 00008163  0x00002170 setarg  0x00000000 
+ 00008164  0x00002171 istore  0x00000008 , 0x00000005 
+ 00008165  0x00002172 istore  0x00000008 , 0x00000005 
+ 00008166  0x00002173 rtn 
+ 00008167  0x00002177 force  0x00000008 , 0x00000011 
+ 00008168  0x00002178 call  0x000020b6 
+ 00008169  0x00002179 setarg  0x00000009 
+ 00008170  0x0000217a istore  0x00000001 , 0x00000005 
+ 00008171  0x0000217b fetch  0x00000001 , 0x00004371 
+ 00008172  0x0000217c istore  0x00000001 , 0x00000005 
+ 00008173  0x0000217d fetch  0x00000006 , 0x0000437a 
+ 00008174  0x0000217e istore  0x00000006 , 0x00000005 
+ 00008175  0x0000217f rtn 
+ 00008176  0x00002183 jam  0x00000008 , 0x000002d9 
+ 00008177  0x00002184 branch  0x00001f9c 
+ 00008178  0x00002187 fetch  0x00000001 , 0x00004355 
+ 00008179  0x00002188 fetcht  0x00000001 , 0x00004355 
+ 00008180  0x00002189 iand  0x00000002 , 0x0000003f 
+ 00008181  0x0000218a rtn 
+ 00008182  0x0000218d arg  0x000043ac , 0x00000005 
+ 00008183  0x0000218e call  0x00007d7f 
+ 00008184  0x0000218f call  0x00001ff2 
+ 00008185  0x00002190 isolate0  0x00000001 , 0x0000003f 
+ 00008186  0x00002191 branch  0x00001ff0 , 0x00000001 
+ 00008187  0x00002192 fetch  0x00000001 , 0x0000409a 
+ 00008188  0x00002193 rtnne  0x0000000a 
+ 00008189  0x00002194 call  0x00002000 
+ 00008190  0x00002195 nrtn  0x00000028 
+ 00008191  0x00002196 branch  0x0000328f 
+ 00008192  0x0000219a call  0x00007ec7 
+ 00008193  0x0000219b fetch  0x00000001 , 0x0000436a 
+ 00008194  0x0000219c rtneq  0x00000000 
+ 00008195  0x0000219d fetch  0x00000001 , 0x0000434e 
+ 00008196  0x0000219e rtnbit0  0x00000001 
+ 00008197  0x0000219f branch  0x00007ec5 
+ 00008198  0x000021a2 call  0x00001ff2 
+ 00008199  0x000021a3 isolate0  0x00000001 , 0x0000003f 
+ 00008200  0x000021a4 branch  0x00001ff0 , 0x00000001 
+ 00008201  0x000021a5 rtn 
+ 00008202  0x000021aa rtn 
+ 00008203  0x000021ad arg  0x00000880 , 0x00000005 
+ 00008204  0x000021ae call  0x00007d72 
+ 00008205  0x000021af jam  0x00000002 , 0x00004398 
+ 00008206  0x000021b0 jam  0x00000001 , 0x00004399 
+ 00008207  0x000021b1 rtn 
+ 00008208  0x000021b4 arg  0x00000930 , 0x00000005 
+ 00008209  0x000021b5 call  0x00007d7f 
+ 00008210  0x000021b6 jam  0x00000006 , 0x00004399 
+ 00008211  0x000021b7 jam  0x00000002 , 0x00004398 
+ 00008212  0x000021b8 rtn 
+ 00008213  0x000021bb force  0x00000041 , 0x00000011 
+ 00008214  0x000021bc call  0x000020b6 
+ 00008215  0x000021bd setarg  0x0000000c 
+ 00008216  0x000021be istore  0x00000001 , 0x00000005 
+ 00008217  0x000021bf arg  0x000046df , 0x00000006 
+ 00008218  0x000021c0 branch  0x00007d72 
+ 00008219  0x000021c3 call  0x00006a84 
+ 00008220  0x000021c4 force  0x00000011 , 0x00000011 
+ 00008221  0x000021c5 call  0x000020b6 
+ 00008222  0x000021c6 setarg  0x0000000d 
+ 00008223  0x000021c7 istore  0x00000001 , 0x00000005 
+ 00008224  0x000021c8 branch  0x00006b1f 
+ 00008225  0x000021cc fetch  0x00000001 , 0x0000439b 
+ 00008226  0x000021cd rtneq  0x000000ff 
+ 00008227  0x000021ce arg  0x00000003 , 0x00000002 
+ 00008228  0x000021cf isub  0x00000002 , 0x0000003e 
+ 00008229  0x000021d0 nrtn  0x00000002 
+ 00008230  0x000021d1 arg  0x0000000a , 0x00000007 
+ 00008231  0x000021d2 call  0x00007de9 
+ 00008232  0x000021d3 nrtn  0x00000034 
+ 00008233  0x000021d4 branch  0x00001ff0 
+ 00008234  0x000021d7 bpatchx  0x000000d9 , 0x0000403b 
+ 00008235  0x000021d8 call  0x00001b24 
+ 00008236  0x000021d9 nrtn  0x00000034 
+ 00008237  0x000021da fetch  0x00000001 , 0x0000439b 
+ 00008238  0x000021db beq  0x00000000 , 0x00002037 
+ 00008239  0x000021dc beq  0x00000001 , 0x0000203d 
+ 00008240  0x000021dd beq  0x00000002 , 0x00002037 
+ 00008241  0x000021de beq  0x00000003 , 0x0000203f 
+ 00008242  0x000021df beq  0x00000009 , 0x00002043 
+ 00008243  0x000021e0 beq  0x0000000b , 0x00002053 
+ 00008244  0x000021e1 beq  0x0000000c , 0x00002055 
+ 00008245  0x000021e2 beq  0x0000000d , 0x0000205c 
+ 00008246  0x000021e3 rtn 
+ 00008247  0x000021e7 fetch  0x00000001 , 0x0000439c 
+ 00008248  0x000021e8 rtnne  0x00000004 
+ 00008249  0x000021e9 jam  0x000000ff , 0x0000439c 
+ 00008250  0x000021ea jam  0x000000ff , 0x0000439b 
+ 00008251  0x000021eb jam  0x0000003f , 0x0000095b 
+ 00008252  0x000021ec branch  0x000078dc 
+ 00008253  0x000021f0 jam  0x00000002 , 0x0000439b 
+ 00008254  0x000021f1 branch  0x00001f46 
+ 00008255  0x000021f4 jam  0x00000004 , 0x0000439b 
+ 00008256  0x000021f5 setarg  0x00017700 
+ 00008257  0x000021f6 arg  0x0000000a , 0x00000007 
+ 00008258  0x000021f7 branch  0x00007ddb 
+ 00008259  0x000021fa fetch  0x00000001 , 0x0000439c 
+ 00008260  0x000021fb beq  0x00000004 , 0x00002046 
+ 00008261  0x000021fc rtn 
+ 00008262  0x000021ff fetch  0x00000001 , 0x0000439d 
+ 00008263  0x00002200 bbit1  0x00000007 , 0x00002051 
+ 00008264  0x00002202 jam  0x0000000b , 0x0000439b 
+ 00008265  0x00002203 call  0x00001fc9 
+ 00008266  0x00002205 jam  0x00000029 , 0x0000095b 
+ 00008267  0x00002206 call  0x000078dc 
+ 00008268  0x00002207 fetch  0x00000001 , 0x0000409a 
+ 00008269  0x00002208 rtnne  0x0000000a 
+ 00008270  0x00002209 call  0x00002000 
+ 00008271  0x0000220a rtn  0x00000028 
+ 00008272  0x0000220b branch  0x0000328f 
+ 00008273  0x0000220e jam  0x0000000c , 0x0000439b 
+ 00008274  0x0000220f branch  0x0000204a 
+ 00008275  0x00002212 jam  0x0000000c , 0x0000439b 
+ 00008276  0x00002213 branch  0x00001fd3 
+ 00008277  0x00002216 fetch  0x00000001 , 0x0000434f 
+ 00008278  0x00002217 fetcht  0x00000001 , 0x00004356 
+ 00008279  0x00002218 iand  0x00000002 , 0x0000003f 
+ 00008280  0x00002219 isolate0  0x00000001 , 0x0000003f 
+ 00008281  0x0000221a branch  0x0000205e , 0x00000001 
+ 00008282  0x0000221b jam  0x0000000d , 0x0000439b 
+ 00008283  0x0000221c branch  0x00001fdf 
+ 00008284  0x0000221f call  0x00001fe7 
+ 00008285  0x00002220 branch  0x0000205e 
+ 00008286  0x00002224 force  0x0000000a , 0x00000007 
+ 00008287  0x00002225 call  0x00007dda 
+ 00008288  0x00002226 jam  0x000000ff , 0x0000439c 
+ 00008289  0x00002227 jam  0x000000ff , 0x0000439b 
+ 00008290  0x00002228 jam  0x0000003e , 0x0000095b 
+ 00008291  0x00002229 branch  0x000078dc 
+ 00008292  0x0000222e bpatchx  0x000000da , 0x0000403b 
+ 00008293  0x0000222f fetch  0x00000001 , 0x0000439d 
+ 00008294  0x00002230 rtnbit0  0x00000007 
+ 00008295  0x00002231 fetch  0x00000001 , 0x00004398 
+ 00008296  0x00002232 rtnne  0x00000002 
+ 00008297  0x00002233 jam  0x00000000 , 0x00004398 
+ 00008298  0x00002234 fetch  0x00000001 , 0x00004399 
+ 00008299  0x00002235 beq  0x00000001 , 0x000020ac 
+ 00008300  0x00002236 beq  0x00000002 , 0x000020b3 
+ 00008301  0x00002237 beq  0x00000003 , 0x000020a4 
+ 00008302  0x00002238 beq  0x00000006 , 0x00002089 
+ 00008303  0x00002239 beq  0x00000007 , 0x00002080 
+ 00008304  0x0000223a beq  0x00000008 , 0x00002076 
+ 00008305  0x0000223b rtn 
+ 00008306  0x0000223e jam  0x00000000 , 0x00004398 
+ 00008307  0x0000223f jam  0x00000000 , 0x00004399 
+ 00008308  0x00002240 jam  0x00000000 , 0x0000439a 
+ 00008309  0x00002241 rtn 
+ 00008310  0x00002244 fetch  0x00000001 , 0x00004770 
+ 00008311  0x00002245 copy  0x0000003f , 0x00000007 
+ 00008312  0x00002246 increase  0x00000001 , 0x0000003f 
+ 00008313  0x00002247 store  0x00000001 , 0x00004770 
+ 00008314  0x00002248 fetch  0x00000004 , 0x0000439e 
+ 00008315  0x00002249 qisolate1  0x0000003f 
+ 00008316  0x0000224a setarg  0x00000080 
+ 00008317  0x0000224b setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00008318  0x0000224c store  0x00000001 , 0x00004771 
+ 00008319  0x0000224d branch  0x000020a8 
+ 00008320  0x00002250 fetch  0x00000001 , 0x0000439a 
+ 00008321  0x00002251 jam  0x00000000 , 0x0000439a 
+ 00008322  0x00002252 beq  0x00000001 , 0x00002085 
+ 00008323  0x00002253 jam  0x00000002 , 0x00004398 
+ 00008324  0x00002254 rtn 
+ 00008325  0x00002257 jam  0x00000031 , 0x0000095b 
+ 00008326  0x00002258 call  0x000078dc 
+ 00008327  0x00002259 jam  0x00000009 , 0x0000439b 
+ 00008328  0x0000225a branch  0x0000201b 
+ 00008329  0x0000225d fetch  0x00000001 , 0x0000087b 
+ 00008330  0x0000225e beq  0x00000003 , 0x0000208d 
+ 00008331  0x0000225f jam  0x00000002 , 0x00004398 
+ 00008332  0x00002260 rtn 
+ 00008333  0x00002263 call  0x00006aab 
+ 00008334  0x00002264 fetch  0x00000001 , 0x0000439d 
+ 00008335  0x00002265 beq  0x00000083 , 0x00002092 
+ 00008336  0x00002266 beq  0x00000084 , 0x00002092 
+ 00008337  0x00002267 call  0x00001f61 
+ 00008338  0x00002269 call  0x00006a98 
+ 00008339  0x0000226a arg  0x000009be , 0x00000011 
+ 00008340  0x0000226b arg  0x00000930 , 0x00000012 
+ 00008341  0x0000226c arg  0x00000010 , 0x00000039 
+ 00008342  0x0000226d call  0x00007e66 
+ 00008343  0x0000226e branch  0x0000209a , 0x00000005 
+ 00008344  0x00002270 jam  0x0000000b , 0x000002d9 
+ 00008345  0x00002271 branch  0x00001f9c 
+ 00008346  0x00002275 call  0x00006f58 
+ 00008347  0x00002276 nbranch  0x00002098 , 0x00000005 
+ 00008348  0x00002277 jam  0x00000001 , 0x00004326 
+ 00008349  0x00002278 fetch  0x00000001 , 0x0000439d 
+ 00008350  0x00002279 beq  0x00000081 , 0x00002085 
+ 00008351  0x0000227a beq  0x00000083 , 0x00002085 
+ 00008352  0x0000227b beq  0x00000084 , 0x00002085 
+ 00008353  0x0000227c jam  0x00000002 , 0x00004398 
+ 00008354  0x0000227d jam  0x00000007 , 0x00004399 
+ 00008355  0x0000227e rtn 
+ 00008356  0x00002281 fetch  0x00000001 , 0x0000439d 
+ 00008357  0x00002282 beq  0x00000083 , 0x000020a9 
+ 00008358  0x00002283 beq  0x00000084 , 0x000020a9 
+ 00008359  0x00002284 jam  0x00000000 , 0x00004771 
+ 00008360  0x00002286 branch  0x00001f84 
+ 00008361  0x00002289 jam  0x00000000 , 0x00004770 
+ 00008362  0x0000228a rtneq  0x00000084 
+ 00008363  0x0000228b branch  0x00001f64 
+ 00008364  0x0000228f jam  0x00000002 , 0x00004398 
+ 00008365  0x00002290 fetch  0x00000001 , 0x000046be 
+ 00008366  0x00002291 beq  0x00000003 , 0x000020b0 
+ 00008367  0x00002292 rtn 
+ 00008368  0x00002295 jam  0x00000002 , 0x00004399 
+ 00008369  0x00002296 jam  0x00000000 , 0x0000087b 
+ 00008370  0x00002297 branch  0x000075ec 
+ 00008371  0x0000229a jam  0x00000002 , 0x00004398 
+ 00008372  0x0000229b jam  0x00000003 , 0x00004399 
+ 00008373  0x0000229c branch  0x00002015 
+ 00008374  0x000022a1 force  0x00000006 , 0x00000012 
+ 00008375  0x000022a2 branch  0x00001af9 
+ 00008376  0x000022a7 fetch  0x00000001 , 0x0000016d 
+ 00008377  0x000022a8 beq  0x00000000 , 0x000020cf 
+ 00008378  0x000022a9 beq  0x00000001 , 0x000020d7 
+ 00008379  0x000022aa beq  0x00000002 , 0x000020df 
+ 00008380  0x000022ab beq  0x00000003 , 0x000020e3 
+ 00008381  0x000022ac beq  0x00000004 , 0x00002102 
+ 00008382  0x000022ad beq  0x00000005 , 0x00002107 
+ 00008383  0x000022ae beq  0x00000006 , 0x0000210b 
+ 00008384  0x000022af beq  0x00000007 , 0x00002110 
+ 00008385  0x000022b0 beq  0x00000008 , 0x00002111 
+ 00008386  0x000022b1 beq  0x00000009 , 0x00002112 
+ 00008387  0x000022b2 beq  0x0000000a , 0x00002113 
+ 00008388  0x000022b3 beq  0x0000000b , 0x00002117 
+ 00008389  0x000022b4 beq  0x0000000c , 0x00002118 
+ 00008390  0x000022b5 beq  0x0000000d , 0x0000211a 
+ 00008391  0x000022b6 beq  0x00000012 , 0x0000211b 
+ 00008392  0x000022b7 beq  0x00000013 , 0x0000211c 
+ 00008393  0x000022b8 beq  0x00000014 , 0x0000211d 
+ 00008394  0x000022b9 beq  0x00000015 , 0x0000211f 
+ 00008395  0x000022ba beq  0x00000016 , 0x0000212a 
+ 00008396  0x000022bb beq  0x00000018 , 0x0000212b 
+ 00008397  0x000022bc fetchr  0x00000013 , 0x00000001 , 0x0000016d 
+ 00008398  0x000022bd branch  0x0000214e 
+ 00008399  0x000022c2 ifetch  0x00000009 , 0x00000006 
+ 00008400  0x000022c3 store  0x00000009 , 0x000002be 
+ 00008401  0x000022c4 ifetch  0x00000002 , 0x00000006 
+ 00008402  0x000022c5 store  0x00000002 , 0x000002a7 
+ 00008403  0x000022c6 fetch  0x00000001 , 0x00000287 
+ 00008404  0x000022c7 set1  0x00000005 , 0x0000003f 
+ 00008405  0x000022c8 store  0x00000001 , 0x00000287 
+ 00008406  0x000022c9 rtn 
+ 00008407  0x000022ce ifetch  0x00000005 , 0x00000006 
+ 00008408  0x000022cf store  0x00000005 , 0x000002be 
+ 00008409  0x000022d0 ifetch  0x00000002 , 0x00000006 
+ 00008410  0x000022d1 store  0x00000002 , 0x000002a7 
+ 00008411  0x000022d3 fetch  0x00000001 , 0x00000287 
+ 00008412  0x000022d4 set1  0x00000006 , 0x0000003f 
+ 00008413  0x000022d5 store  0x00000001 , 0x00000287 
+ 00008414  0x000022d6 rtn 
+ 00008415  0x000022db setarg  0x00000014 
+ 00008416  0x000022dc store  0x00000002 , 0x000002b5 
+ 00008417  0x000022dd store  0x00000002 , 0x00004394 
+ 00008418  0x000022de rtn 
+ 00008419  0x000022e3 ifetch  0x00000008 , 0x00000006 
+ 00008420  0x000022e4 store  0x00000008 , 0x000043a4 
+ 00008421  0x000022e5 ifetch  0x00000002 , 0x00000006 
+ 00008422  0x000022e6 store  0x00000002 , 0x000043a2 
+ 00008423  0x000022e7 ifetch  0x00000008 , 0x00000006 
+ 00008424  0x000022e8 store  0x00000008 , 0x00004384 
+ 00008425  0x000022e9 ifetch  0x00000004 , 0x00000006 
+ 00008426  0x000022ea store  0x00000004 , 0x000046ad 
+ 00008427  0x000022eb call  0x0000213b 
+ 00008428  0x000022ec bpatchx  0x000000db , 0x0000403b 
+ 00008429  0x000022ed fetch  0x00000001 , 0x0000439b 
+ 00008430  0x000022ee beq  0x00000009 , 0x000020f5 
+ 00008431  0x000022ef fetch  0x00000001 , 0x000043c0 
+ 00008432  0x000022f0 bbit1  0x00000001 , 0x000020f8 
+ 00008433  0x000022f1 fetch  0x00000001 , 0x0000448b 
+ 00008434  0x000022f2 ncall  0x000060bc , 0x00000034 
+ 00008435  0x000022f3 fetch  0x00000001 , 0x00004326 
+ 00008436  0x000022f4 beq  0x00000000 , 0x000020fd 
+ 00008437  0x000022f6 jam  0x00000001 , 0x0000439c 
+ 00008438  0x000022f7 call  0x00002149 
+ 00008439  0x000022f8 branch  0x00006cc0 
+ 00008440  0x000022fa jam  0x00000001 , 0x00004326 
+ 00008441  0x000022fb arg  0x000043c1 , 0x00000006 
+ 00008442  0x000022fc arg  0x00004316 , 0x00000005 
+ 00008443  0x000022fd call  0x00007d7f 
+ 00008444  0x000022fe branch  0x000020f5 
+ 00008445  0x00002300 bpatchx  0x000000dc , 0x0000403b 
+ 00008446  0x00002301 jam  0x00000000 , 0x0000439c 
+ 00008447  0x00002302 jam  0x00000000 , 0x0000439b 
+ 00008448  0x00002303 jam  0x00000041 , 0x0000095b 
+ 00008449  0x00002304 branch  0x000078dc 
+ 00008450  0x00002308 ifetch  0x00000008 , 0x00000006 
+ 00008451  0x00002309 store  0x00000008 , 0x0000438c 
+ 00008452  0x0000230a ifetch  0x00000004 , 0x00000006 
+ 00008453  0x0000230b store  0x00000004 , 0x000046b1 
+ 00008454  0x0000230c branch  0x00006cc0 
+ 00008455  0x00002311 fetch  0x00000001 , 0x00000287 
+ 00008456  0x00002312 set1  0x00000004 , 0x0000003f 
+ 00008457  0x00002313 store  0x00000001 , 0x00000287 
+ 00008458  0x00002314 rtn 
+ 00008459  0x00002318 rtn  0x00000029 
+ 00008460  0x00002319 jam  0x00000032 , 0x0000095b 
+ 00008461  0x0000231a call  0x000078dc 
+ 00008462  0x0000231b jam  0x00000004 , 0x0000439c 
+ 00008463  0x0000231c branch  0x0000214c 
+ 00008464  0x00002321 rtn 
+ 00008465  0x00002326 branch  0x00002153 
+ 00008466  0x0000232b rtn 
+ 00008467  0x00002330 jam  0x00000002 , 0x0000439c 
+ 00008468  0x00002331 call  0x0000215a 
+ 00008469  0x00002332 jam  0x00000033 , 0x0000095b 
+ 00008470  0x00002333 branch  0x000078dc 
+ 00008471  0x00002338 rtn 
+ 00008472  0x0000233d rtn  0x00000029 
+ 00008473  0x0000233e branch  0x0000215c 
+ 00008474  0x00002343 rtn 
+ 00008475  0x00002348 branch  0x00002168 
+ 00008476  0x0000234d rtn 
+ 00008477  0x00002351 call  0x0000211f 
+ 00008478  0x00002352 branch  0x0000216c 
+ 00008479  0x00002355 ifetch  0x00000008 , 0x00000006 
+ 00008480  0x00002356 store  0x00000008 , 0x00004444 
+ 00008481  0x00002357 fetch  0x00000002 , 0x00004444 
+ 00008482  0x00002358 fetcht  0x00000002 , 0x00004450 
+ 00008483  0x00002359 call  0x00007ebb 
+ 00008484  0x0000235a store  0x00000002 , 0x00004444 
+ 00008485  0x0000235c fetch  0x00000002 , 0x00004448 
+ 00008486  0x0000235d fetcht  0x00000002 , 0x0000444c 
+ 00008487  0x0000235e call  0x00007ebb 
+ 00008488  0x0000235f store  0x00000002 , 0x00004448 
+ 00008489  0x00002360 rtn 
+ 00008490  0x00002365 branch  0x00002172 
+ 00008491  0x0000236a ifetch  0x00000002 , 0x00000006 
+ 00008492  0x0000236b store  0x00000002 , 0x000002be 
+ 00008493  0x0000236c ifetch  0x00000002 , 0x00000006 
+ 00008494  0x0000236d store  0x00000002 , 0x000002a7 
+ 00008495  0x0000236e rtn  0x00000034 
+ 00008496  0x0000236f fetch  0x00000001 , 0x00000287 
+ 00008497  0x00002370 set1  0x00000007 , 0x0000003f 
+ 00008498  0x00002371 store  0x00000001 , 0x00000287 
+ 00008499  0x00002372 rtn 
+ 00008500  0x00002378 arg  0x00000013 , 0x00000013 
+ 00008501  0x0000237c arg  0x00000002 , 0x00000011 
+ 00008502  0x0000237d arg  0x00000002 , 0x00000012 
+ 00008503  0x0000237e call  0x00001af4 
+ 00008504  0x0000237f copy  0x00000013 , 0x0000003f 
+ 00008505  0x00002380 istore  0x00000001 , 0x00000005 
+ 00008506  0x00002381 rtn 
+ 00008507  0x00002386 arg  0x0000438c , 0x00000005 
+ 00008508  0x00002387 force  0x00000008 , 0x00000039 
+ 00008509  0x00002388 call  0x00005a90 
+ 00008510  0x00002389 arg  0x000046b1 , 0x00000005 
+ 00008511  0x0000238a force  0x00000004 , 0x00000039 
+ 00008512  0x0000238b call  0x00005a90 
+ 00008513  0x0000238c arg  0x0000000d , 0x00000011 
+ 00008514  0x0000238d arg  0x00000004 , 0x00000012 
+ 00008515  0x0000238e call  0x00001af4 
+ 00008516  0x0000238f fetch  0x00000008 , 0x0000438c 
+ 00008517  0x00002390 istore  0x00000008 , 0x00000005 
+ 00008518  0x00002391 fetch  0x00000004 , 0x000046b1 
+ 00008519  0x00002392 istore  0x00000004 , 0x00000005 
+ 00008520  0x00002393 rtn 
+ 00008521  0x00002398 jam  0x00000005 , 0x0000439c 
+ 00008522  0x00002399 arg  0x00000005 , 0x00000012 
+ 00008523  0x0000239a branch  0x0000217c 
+ 00008524  0x0000239f arg  0x00000006 , 0x00000012 
+ 00008525  0x000023a0 branch  0x0000217c 
+ 00008526  0x000023a6 arg  0x00000002 , 0x00000011 
+ 00008527  0x000023a7 arg  0x00000007 , 0x00000012 
+ 00008528  0x000023a8 call  0x00001af4 
+ 00008529  0x000023a9 istorer  0x00000013 , 0x00000001 , 0x00000005 
+ 00008530  0x000023aa rtn 
+ 00008531  0x000023af arg  0x00000009 , 0x00000011 
+ 00008532  0x000023b0 arg  0x00000009 , 0x00000012 
+ 00008533  0x000023b1 call  0x00001af4 
+ 00008534  0x000023b2 fetch  0x00000008 , 0x0000443a 
+ 00008535  0x000023b3 or  0x0000003f , 0x00000001 , 0x0000003f 
+ 00008536  0x000023b4 istore  0x00000008 , 0x00000005 
+ 00008537  0x000023b5 rtn 
+ 00008538  0x000023ba arg  0x0000000b , 0x00000012 
+ 00008539  0x000023bb branch  0x0000217c 
+ 00008540  0x000023c0 arg  0x00000006 , 0x00000011 
+ 00008541  0x000023c1 arg  0x0000000c , 0x00000012 
+ 00008542  0x000023c2 call  0x00001af4 
+ 00008543  0x000023c3 fetch  0x00000005 , 0x000045fa 
+ 00008544  0x000023c4 istore  0x00000005 , 0x00000005 
+ 00008545  0x000023c5 rtn 
+ 00008546  0x000023c9 arg  0x00000002 , 0x00000011 
+ 00008547  0x000023ca arg  0x0000000d , 0x00000012 
+ 00008548  0x000023cb call  0x00001af4 
+ 00008549  0x000023cc setarg  0x00000006 
+ 00008550  0x000023cd istore  0x00000001 , 0x00000005 
+ 00008551  0x000023ce rtn 
+ 00008552  0x000023d3 arg  0x00000013 , 0x00000012 
+ 00008553  0x000023d4 branch  0x0000217c 
+ 00008554  0x000023d7 arg  0x00000014 , 0x00000012 
+ 00008555  0x000023d8 branch  0x0000216d 
+ 00008556  0x000023db arg  0x00000015 , 0x00000012 
+ 00008557  0x000023dd arg  0x00000009 , 0x00000011 
+ 00008558  0x000023de call  0x00001af4 
+ 00008559  0x000023df fetch  0x00000008 , 0x0000444c 
+ 00008560  0x000023e0 istore  0x00000008 , 0x00000005 
+ 00008561  0x000023e1 rtn 
+ 00008562  0x000023e6 arg  0x00000003 , 0x00000011 
+ 00008563  0x000023e7 arg  0x00000017 , 0x00000012 
+ 00008564  0x000023e8 call  0x00001af4 
+ 00008565  0x000023e9 fetch  0x00000001 , 0x00004442 
+ 00008566  0x000023ea and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00008567  0x000023eb istore  0x00000001 , 0x00000005 
+ 00008568  0x000023ec fetch  0x00000001 , 0x00004443 
+ 00008569  0x000023ed and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00008570  0x000023ee istore  0x00000001 , 0x00000005 
+ 00008571  0x000023ef rtn 
+ 00008572  0x000023f4 arg  0x00000001 , 0x00000011 
+ 00008573  0x000023f5 branch  0x00001af4 
+ 00008574  0x000023fb bpatchx  0x000000dd , 0x0000403b 
+ 00008575  0x000023fc bmark1  0x00000027 , 0x000023e1 
+ 00008576  0x000023fd branch  0x00002622 
+ 00008577  0x00002403 disable  0x00000009 
+ 00008578  0x00002404 disable  0x00000007 
+ 00008579  0x00002405 setarg  0x00555555 
+ 00008580  0x00002406 iforce  0x0000000f 
+ 00008581  0x00002407 fetch  0x00000001 , 0x0000483d 
+ 00008582  0x00002408 branch  0x0000166f 
+ 00008583  0x0000240b bpatchx  0x000000de , 0x0000403b 
+ 00008584  0x0000240c fetch  0x00000001 , 0x00004867 
+ 00008585  0x0000240d call  0x00001637 
+ 00008586  0x0000240e fetch  0x00000004 , 0x0000483f 
+ 00008587  0x0000240f iforce  0x00000009 
+ 00008588  0x00002410 call  0x000010ac 
+ 00008589  0x00002411 call  0x0000115d 
+ 00008590  0x00002412 fetcht  0x00000001 , 0x0000483d 
+ 00008591  0x00002413 call  0x00001674 
+ 00008592  0x00002415 call  0x00002181 
+ 00008593  0x00002416 bmark0  0x0000002f , 0x00002195 
+ 00008594  0x00002417 pulse  0x00000039 
+ 00008595  0x00002418 nop  0x0000001e 
+ 00008596  0x00002419 call  0x00002181 
+ 00008597  0x0000241b disable  0x0000002f 
+ 00008598  0x0000241c enable  0x0000000d 
+ 00008599  0x0000241d enable  0x00000021 
+ 00008600  0x0000241e disable  0x00000020 
+ 00008601  0x0000241f enable  0x00000010 
+ 00008602  0x00002420 fetch  0x00000002 , 0x0000483b 
+ 00008603  0x00002421 iforce  0x0000001b 
+ 00008604  0x00002422 correlate  0x0000003e , 0x00000003 
+ 00008605  0x00002423 nbranch  0x000021ef , 0x00000018 
+ 00008606  0x00002424 call  0x00004d0d 
+ 00008607  0x00002425 bmark1  0x0000002f , 0x000021a4 
+ 00008608  0x00002426 fetch  0x00000001 , 0x0000487a 
+ 00008609  0x00002427 nbranch  0x000021a4 , 0x00000034 
+ 00008610  0x00002428 disable  0x0000000d 
+ 00008611  0x00002429 enable  0x0000000b 
+ 00008612  0x0000242b enable  0x00000007 
+ 00008613  0x0000242c enable  0x00000009 
+ 00008614  0x0000242d call  0x000021ec 
+ 00008615  0x0000242e store  0x00000001 , 0x0000485d 
+ 00008616  0x0000242f fetcht  0x00000001 , 0x0000485c 
+ 00008617  0x00002430 isub  0x00000002 , 0x0000003e 
+ 00008618  0x00002431 nbranch  0x000021f1 , 0x00000005 
+ 00008619  0x00002432 bpatchx  0x000000df , 0x0000403b 
+ 00008620  0x00002433 disable  0x00000031 
+ 00008621  0x00002434 isolate1  0x0000002f , 0x00000000 
+ 00008622  0x00002435 call  0x000021de , 0x00000001 
+ 00008623  0x00002436 branch  0x000021f1 , 0x00000031 
+ 00008624  0x00002437 call  0x000021ec 
+ 00008625  0x00002438 store  0x00000001 , 0x000047a7 
+ 00008626  0x00002439 bmark1  0x00000027 , 0x000021b7 
+ 00008627  0x0000243a fetch  0x00000001 , 0x000047a7 
+ 00008628  0x0000243b fetcht  0x00000001 , 0x00004839 
+ 00008629  0x0000243c icompare  0x00000007 , 0x00000002 
+ 00008630  0x0000243d nbranch  0x000021f1 , 0x00000001 
+ 00008631  0x0000243f call  0x000021ec 
+ 00008632  0x00002440 isolate1  0x0000002f , 0x00000000 
+ 00008633  0x00002441 call  0x000021e7 , 0x00000001 
+ 00008634  0x00002442 istore  0x00000001 , 0x00000005 
+ 00008635  0x00002443 rshift3  0x0000003f , 0x0000003f 
+ 00008636  0x00002444 sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00008637  0x00002445 nbranch  0x000021f1 , 0x00000002 
+ 00008638  0x00002446 copy  0x0000003f , 0x00000039 
+ 00008639  0x00002447 branch  0x000021c3 , 0x00000005 
+ 00008640  0x00002449 call  0x000021ec 
+ 00008641  0x0000244a istore  0x00000001 , 0x00000005 
+ 00008642  0x0000244b loop  0x000021c0 
+ 00008643  0x0000244d bmark1  0x00000027 , 0x000021c8 
+ 00008644  0x0000244e copy  0x00000005 , 0x00000011 
+ 00008645  0x0000244f call  0x000021ec 
+ 00008646  0x00002450 store  0x00000001 , 0x00004882 
+ 00008647  0x00002451 copy  0x00000011 , 0x00000005 
+ 00008648  0x00002453 parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00008649  0x00002454 rshift32  0x0000003f , 0x0000003f 
+ 00008650  0x00002455 rshift16  0x0000003f , 0x0000003f 
+ 00008651  0x00002456 istore  0x00000003 , 0x00000005 
+ 00008652  0x00002457 fetch  0x00000001 , 0x0000487a 
+ 00008653  0x00002458 nbranch  0x000021dc , 0x00000034 
+ 00008654  0x00002459 disable  0x0000000b 
+ 00008655  0x0000245b isolate1  0x00000027 , 0x00000000 
+ 00008656  0x0000245c call  0x000025e5 , 0x00000001 
+ 00008657  0x0000245d branch  0x000021f1 , 0x00000006 
+ 00008658  0x0000245e call  0x00004d0c 
+ 00008659  0x0000245f enable  0x0000002f 
+ 00008660  0x00002460 call  0x0000175c 
+ 00008661  0x00002461 bpatchx  0x000000e0 , 0x0000403c 
+ 00008662  0x00002462 rtnmark1  0x00000027 
+ 00008663  0x00002463 fetch  0x00000001 , 0x00004882 
+ 00008664  0x00002464 fetcht  0x00000001 , 0x000048d1 
+ 00008665  0x00002465 isub  0x00000002 , 0x0000003e 
+ 00008666  0x00002466 call  0x00007ebd , 0x00000002 
+ 00008667  0x00002467 branch  0x000025e9 
+ 00008668  0x0000246a disable  0x0000000d 
+ 00008669  0x0000246b branch  0x000021cf 
+ 00008670  0x0000246f call  0x000021ec 
+ 00008671  0x00002470 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00008672  0x00002471 branch  0x00007ecd , 0x00000002 
+ 00008673  0x00002472 increase  0xfffffffe , 0x0000003f 
+ 00008674  0x00002473 bmark1  0x00000027 , 0x000021e5 
+ 00008675  0x00002474 branch  0x00007ecd , 0x00000034 
+ 00008676  0x00002475 increase  0xffffffff , 0x0000003f 
+ 00008677  0x00002477 store  0x00000001 , 0x00000964 
+ 00008678  0x00002478 rtn 
+ 00008679  0x0000247b and_into  0x00000007 , 0x0000003f 
+ 00008680  0x0000247c fetcht  0x00000001 , 0x00000964 
+ 00008681  0x0000247d lshift3  0x00000002 , 0x00000002 
+ 00008682  0x0000247e ior  0x00000002 , 0x0000003f 
+ 00008683  0x0000247f rtn 
+ 00008684  0x00002482 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00008685  0x00002483 rshift3  0x0000000c , 0x0000003f 
+ 00008686  0x00002484 rtn 
+ 00008687  0x00002487 isolate1  0x00000027 , 0x00000000 
+ 00008688  0x00002488 call  0x00002601 , 0x00000001 
+ 00008689  0x0000248a call  0x0000165e 
+ 00008690  0x0000248b disable  0x0000001b 
+ 00008691  0x0000248c disable  0x0000000b 
+ 00008692  0x0000248d branch  0x00000e7c 
+ 00008693  0x00002490 call  0x0000115d 
+ 00008694  0x00002491 fetcht  0x00000001 , 0x0000483d 
+ 00008695  0x00002492 branch  0x00001201 
+ 00008696  0x00002495 bpatchx  0x000000e1 , 0x0000403c 
+ 00008697  0x00002496 fetch  0x00000001 , 0x00004868 
+ 00008698  0x00002497 call  0x00001637 
+ 00008699  0x00002498 fetch  0x00000004 , 0x0000483f 
+ 00008700  0x00002499 iforce  0x00000009 
+ 00008701  0x0000249a call  0x00002181 
+ 00008702  0x0000249b call  0x000021f5 
+ 00008703  0x0000249c set1  0x00000000 , 0x00000015 
+ 00008704  0x0000249d enable  0x0000001d 
+ 00008705  0x0000249e enable  0x00000020 
+ 00008706  0x0000249f disable  0x00000021 
+ 00008707  0x000024a0 call  0x00004d13 
+ 00008708  0x000024a1 disable  0x0000003a 
+ 00008709  0x000024a2 bmark1  0x0000002f , 0x00002229 
+ 00008710  0x000024a3 bmark1  0x0000002d , 0x0000223b 
+ 00008711  0x000024a4 rshift16  0x00000009 , 0x0000003f 
+ 00008712  0x000024a5 rshift8  0x0000003f , 0x0000003f 
+ 00008713  0x000024a6 rshift4  0x0000003f , 0x0000003f 
+ 00008714  0x000024a7 inject  0x00000003 , 0x00000028 
+ 00008715  0x000024a9 bmark1  0x0000002f , 0x00002210 
+ 00008716  0x000024aa fetch  0x00000001 , 0x0000487a 
+ 00008717  0x000024ab nbranch  0x00002210 , 0x00000034 
+ 00008718  0x000024ac disable  0x0000001d 
+ 00008719  0x000024ad enable  0x0000001b 
+ 00008720  0x000024af enable  0x00000007 
+ 00008721  0x000024b0 enable  0x00000009 
+ 00008722  0x000024b1 fetch  0x00000001 , 0x0000483a 
+ 00008723  0x000024b2 iforce  0x00000039 
+ 00008724  0x000024b3 arg  0x000047e9 , 0x00000006 
+ 00008725  0x000024b5 ifetch  0x00000001 , 0x00000006 
+ 00008726  0x000024b6 inject  0x00000003 , 0x00000008 
+ 00008727  0x000024b7 loop  0x00002215 
+ 00008728  0x000024b8 enable  0x00000008 
+ 00008729  0x000024b9 inject  0x00000003 , 0x00000018 
+ 00008730  0x000024ba disable  0x00000008 
+ 00008731  0x000024bb bmark0  0x0000002f , 0x0000221f 
+ 00008732  0x000024bc disable  0x00000007 
+ 00008733  0x000024bd setarg  0x00000000 
+ 00008734  0x000024be inject  0x00000003 , 0x00000003 
+ 00008735  0x000024c0 until  0x0000003e , 0x00000027 
+ 00008736  0x000024c1 nop  0x00000064 
+ 00008737  0x000024c2 disable  0x0000003a 
+ 00008738  0x000024c3 disable  0x0000001d 
+ 00008739  0x000024c4 fetch  0x00000001 , 0x0000487a 
+ 00008740  0x000024c5 nbranch  0x00002226 , 0x00000034 
+ 00008741  0x000024c6 disable  0x0000001b 
+ 00008742  0x000024c8 disable  0x00000038 
+ 00008743  0x000024c9 call  0x0000115d 
+ 00008744  0x000024ca branch  0x00004d11 
+ 00008745  0x000024cd arg  0x0000000a , 0x00000039 
+ 00008746  0x000024cf setarg  0x0000003c 
+ 00008747  0x000024d0 inject  0x00000003 , 0x00000008 
+ 00008748  0x000024d1 loop  0x0000222a 
+ 00008749  0x000024d2 disable  0x0000001d 
+ 00008750  0x000024d3 enable  0x00000038 
+ 00008751  0x000024d4 rshift16  0x00000009 , 0x0000003f 
+ 00008752  0x000024d5 rshift16  0x0000003f , 0x0000003f 
+ 00008753  0x000024d6 rshift4  0x0000003f , 0x0000003f 
+ 00008754  0x000024d7 inject  0x00000003 , 0x00000020 
+ 00008755  0x000024d8 bmark1  0x0000002e , 0x00002238 
+ 00008756  0x000024da setarg  0x00000001 
+ 00008757  0x000024db inject  0x00000003 , 0x00000005 
+ 00008758  0x000024dc enable  0x0000003a 
+ 00008759  0x000024dd branch  0x0000220b 
+ 00008760  0x000024e0 setarg  0x00000000 
+ 00008761  0x000024e1 inject  0x00000003 , 0x00000005 
+ 00008762  0x000024e2 branch  0x0000220b 
+ 00008763  0x000024e5 fetch  0x00000001 , 0x000041f0 
+ 00008764  0x000024e6 rshift  0x0000003f , 0x00000039 
+ 00008765  0x000024e8 nop  0x00000002 
+ 00008766  0x000024e9 loop  0x0000223d 
+ 00008767  0x000024eb rshift16  0x00000009 , 0x0000003f 
+ 00008768  0x000024ec rshift8  0x0000003f , 0x0000003f 
+ 00008769  0x000024ed rshift4  0x0000003f , 0x00000002 
+ 00008770  0x000024ee copy  0x00000002 , 0x0000003f 
+ 00008771  0x000024ef inject  0x00000003 , 0x00000008 
+ 00008772  0x000024f0 copy  0x00000002 , 0x0000003f 
+ 00008773  0x000024f1 inject  0x00000003 , 0x00000028 
+ 00008774  0x000024f2 branch  0x0000220b 
+ 00008775  0x000024fb fetch  0x00000001 , 0x00004868 
+ 00008776  0x000024fc bbit1  0x00000002 , 0x00002266 
+ 00008777  0x000024fe fetch  0x00000001 , 0x00004838 
+ 00008778  0x000024ff increase  0x00000003 , 0x0000003f 
+ 00008779  0x00002500 store  0x00000001 , 0x0000483a 
+ 00008780  0x00002502 fetch  0x00000001 , 0x0000485c 
+ 00008781  0x00002503 store  0x00000001 , 0x000047e9 
+ 00008782  0x00002505 fetch  0x00000001 , 0x00004839 
+ 00008783  0x00002506 istore  0x00000001 , 0x00000005 
+ 00008784  0x00002508 fetch  0x00000001 , 0x00004838 
+ 00008785  0x0000250a lshift3  0x0000003f , 0x0000003f 
+ 00008786  0x0000250b fetcht  0x00000001 , 0x0000482e 
+ 00008787  0x0000250c and  0x00000002 , 0x00000003 , 0x00000002 
+ 00008788  0x0000250d lshift  0x00000002 , 0x00000002 
+ 00008789  0x0000250e ior  0x00000002 , 0x0000003f 
+ 00008790  0x0000250f fetcht  0x00000001 , 0x0000482f 
+ 00008791  0x00002510 iadd  0x00000002 , 0x0000003f 
+ 00008792  0x00002511 istore  0x00000001 , 0x00000005 
+ 00008793  0x00002513 fetch  0x00000001 , 0x00004838 
+ 00008794  0x00002514 iforce  0x00000039 
+ 00008795  0x00002515 arg  0x000047c9 , 0x00000006 
+ 00008796  0x00002516 call  0x00007dd4 
+ 00008797  0x00002518 rtnmark0  0x00000027 
+ 00008798  0x00002519 fetch  0x00000001 , 0x00000154 
+ 00008799  0x0000251a istore  0x00000001 , 0x00000005 
+ 00008800  0x0000251b fetch  0x00000001 , 0x00004868 
+ 00008801  0x0000251c rtnbit1  0x00000002 
+ 00008802  0x0000251d fetch  0x00000001 , 0x0000483a 
+ 00008803  0x0000251e increase  0x00000001 , 0x0000003f 
+ 00008804  0x0000251f store  0x00000001 , 0x0000483a 
+ 00008805  0x00002520 rtn 
+ 00008806  0x00002524 fetch  0x00000001 , 0x00004838 
+ 00008807  0x00002525 increase  0x00000004 , 0x0000003f 
+ 00008808  0x00002526 bmark0  0x00000027 , 0x0000226a 
+ 00008809  0x00002527 increase  0x00000001 , 0x0000003f 
+ 00008810  0x00002529 store  0x00000001 , 0x0000483a 
+ 00008811  0x0000252b fetch  0x00000001 , 0x0000485c 
+ 00008812  0x0000252c store  0x00000001 , 0x000047e9 
+ 00008813  0x0000252e fetch  0x00000001 , 0x0000483a 
+ 00008814  0x0000252f increase  0xfffffffe , 0x0000003f 
+ 00008815  0x00002530 istore  0x00000001 , 0x00000005 
+ 00008816  0x00002532 fetch  0x00000001 , 0x00004839 
+ 00008817  0x00002533 istore  0x00000001 , 0x00000005 
+ 00008818  0x00002534 setarg  0x00000000 
+ 00008819  0x00002535 branch  0x00002251 
+ 00008820  0x00002539 fetch  0x00000001 , 0x000047a8 
+ 00008821  0x0000253a rshift3  0x0000003f , 0x0000003f 
+ 00008822  0x0000253b store  0x00000001 , 0x0000482d 
+ 00008823  0x0000253d increase  0x00000001 , 0x0000003f 
+ 00008824  0x0000253e arg  0x000047a8 , 0x00000006 
+ 00008825  0x0000253f iadd  0x00000006 , 0x00000006 
+ 00008826  0x00002540 ifetch  0x00000003 , 0x00000006 
+ 00008827  0x00002541 store  0x00000003 , 0x00004830 
+ 00008828  0x00002543 fetch  0x00000001 , 0x000047a8 
+ 00008829  0x00002544 rshift  0x0000003f , 0x0000003f 
+ 00008830  0x00002545 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00008831  0x00002546 store  0x00000001 , 0x00004836 
+ 00008832  0x00002547 rtn 
+ 00008833  0x0000254b fetcht  0x00000001 , 0x0000483e 
+ 00008834  0x0000254c call  0x00002285 
+ 00008835  0x0000254d storet  0x00000001 , 0x0000483e 
+ 00008836  0x0000254e rtn 
+ 00008837  0x00002551 call  0x00002289 
+ 00008838  0x00002552 increase  0x00000001 , 0x00000002 
+ 00008839  0x00002553 and_into  0x00000003 , 0x00000002 
+ 00008840  0x00002554 rtn 
+ 00008841  0x00002557 fetch  0x00000001 , 0x0000483f 
+ 00008842  0x00002558 and_into  0x00000003 , 0x0000003f 
+ 00008843  0x00002559 mul32  0x0000003f , 0x00000004 , 0x00000011 
+ 00008844  0x0000255a setarg  0x00004843 
+ 00008845  0x0000255b iadd  0x00000011 , 0x0000003f 
+ 00008846  0x0000255c iadd  0x00000002 , 0x00000006 
+ 00008847  0x0000255d ifetch  0x00000001 , 0x00000006 
+ 00008848  0x0000255e store  0x00000001 , 0x0000483d 
+ 00008849  0x0000255f rtn 
+ 00008850  0x00002563 store  0x00000004 , 0x0000483f 
+ 00008851  0x00002566 arg  0x00000000 , 0x00000011 
+ 00008852  0x00002567 arg  0x00000004 , 0x00000039 
+ 00008853  0x00002568 arg  0x0000483f , 0x00000006 
+ 00008854  0x0000256a ifetch  0x00000001 , 0x00000006 
+ 00008855  0x0000256b iadd  0x00000011 , 0x00000011 
+ 00008856  0x0000256c loop  0x00002296 
+ 00008857  0x0000256d copy  0x00000011 , 0x0000003f 
+ 00008858  0x0000256e store  0x00000002 , 0x0000485a 
+ 00008859  0x0000256f fetch  0x00000001 , 0x0000485a 
+ 00008860  0x00002570 fetcht  0x00000001 , 0x0000485b 
+ 00008861  0x00002571 iadd  0x00000002 , 0x0000003f 
+ 00008862  0x00002572 store  0x00000001 , 0x0000485c 
+ 00008863  0x00002573 rtn 
+ 00008864  0x00002577 call  0x00007ec7 
+ 00008865  0x00002578 fetcht  0x00000004 , 0x00004853 
+ 00008866  0x00002579 copy  0x00000022 , 0x0000003f 
+ 00008867  0x0000257a isub  0x00000002 , 0x0000003e 
+ 00008868  0x0000257b ncall  0x000022af , 0x00000002 
+ 00008869  0x0000257c copy  0x0000003f , 0x00000012 
+ 00008870  0x0000257d fetch  0x00000004 , 0x00004853 
+ 00008871  0x0000257e fetcht  0x00000001 , 0x00004857 
+ 00008872  0x0000257f iadd  0x00000002 , 0x00000002 
+ 00008873  0x00002580 copy  0x00000012 , 0x0000003f 
+ 00008874  0x00002581 isub  0x00000002 , 0x0000003e 
+ 00008875  0x00002582 nrtn  0x00000002 
+ 00008876  0x00002583 set0  0x0000001c , 0x0000003f 
+ 00008877  0x00002584 store  0x00000004 , 0x00004853 
+ 00008878  0x00002585 branch  0x00007ec5 
+ 00008879  0x00002587 rtn  0x00000005 
+ 00008880  0x00002588 set1  0x0000001c , 0x0000003f 
+ 00008881  0x00002589 rtn 
+ 00008882  0x0000258b setarg  0x00000000 
+ 00008883  0x0000258c store  0x00000004 , 0x00004853 
+ 00008884  0x0000258d rtn 
+ 00008885  0x00002596 setsect  0x00000000 , 0x00001300 
+ 00008886  0x00002597 setsect  0x00000001 , 0x0001908b 
+ 00008887  0x00002598 setsect  0x00000002 , 0x00036150 
+ 00008888  0x00002599 setsect  0x00000003 , 0x00003d20 
+ 00008889  0x0000259a store  0x00000009 , 0x00004843 
+ 00008890  0x0000259b setsect  0x00000000 , 0x00003a1a 
+ 00008891  0x0000259c setsect  0x00000001 , 0x0000c453 
+ 00008892  0x0000259d setsect  0x00000002 , 0x0000d312 
+ 00008893  0x0000259e setsect  0x00000003 , 0x00000001 
+ 00008894  0x0000259f istore  0x00000007 , 0x00000005 
+ 00008895  0x000025a0 fetch  0x00000001 , 0x00004869 
+ 00008896  0x000025a1 rtn  0x00000034 
+ 00008897  0x000025a2 arg  0x0000486a , 0x00000006 
+ 00008898  0x000025a3 arg  0x00004843 , 0x00000005 
+ 00008899  0x000025a4 branch  0x00007d7f 
+ 00008900  0x000025ad setarg  0x004e001e 
+ 00008901  0x000025ae store  0x00000003 , 0x0000486b 
+ 00008902  0x000025af setarg  0x00032303 
+ 00008903  0x000025b0 istore  0x00000003 , 0x00000005 
+ 00008904  0x000025b1 setarg  0x00250642 
+ 00008905  0x000025b2 istore  0x00000003 , 0x00000005 
+ 00008906  0x000025b3 setarg  0x00094c06 
+ 00008907  0x000025b4 istore  0x00000003 , 0x00000005 
+ 00008908  0x000025b5 setarg  0x003c0927 
+ 00008909  0x000025b6 istore  0x00000003 , 0x00000005 
+ 00008910  0x000025b7 jam  0x00000001 , 0x00004869 
+ 00008911  0x000025b8 rtn 
+ 00008912  0x000025bc arg  0x00006978 , 0x00000002 
+ 00008913  0x000025bd bmark1  0x00000027 , 0x000022d6 
+ 00008914  0x000025be arg  0x000012c0 , 0x00000002 
+ 00008915  0x000025bf fetch  0x00000001 , 0x00004867 
+ 00008916  0x000025c0 bbit0  0x00000002 , 0x000022d6 
+ 00008917  0x000025c1 arg  0x00002ee0 , 0x00000002 
+ 00008918  0x000025c3 storet  0x00000002 , 0x0000483b 
+ 00008919  0x000025c4 rtn 
+ 00008920  0x000025c7 jam  0x00000001 , 0x00004867 
+ 00008921  0x000025c8 jam  0x00000001 , 0x00004868 
+ 00008922  0x000025c9 rtn 
+ 00008923  0x000025e7 jam  0x0000004e , 0x0000487f 
+ 00008924  0x000025e8 setarg  0x00101520 
+ 00008925  0x000025e9 store  0x00000003 , 0x0000487b 
+ 00008926  0x000025ea setarg  0x00000005 
+ 00008927  0x000025eb istore  0x00000001 , 0x00000005 
+ 00008928  0x000025ec rtn 
+ 00008929  0x000025f3 arg  0x00004887 , 0x00000013 
+ 00008930  0x000025f4 arg  0x00002683 , 0x00000012 
+ 00008931  0x000025f5 branch  0x00003203 
+ 00008932  0x000025f8 set1  0x00000026 , 0x00000000 
+ 00008933  0x000025f9 fetch  0x00000001 , 0x000048a5 
+ 00008934  0x000025fa set0  0x00000002 , 0x0000003f 
+ 00008935  0x000025fb set1  0x00000001 , 0x0000003f 
+ 00008936  0x000025fc store  0x00000001 , 0x000048a5 
+ 00008937  0x000025fd setarg  0x00000000 
+ 00008938  0x000025fe store  0x00000002 , 0x0000488b 
+ 00008939  0x000025ff fetch  0x00000002 , 0x00004885 
+ 00008940  0x00002600 store  0x00000002 , 0x00004887 
+ 00008941  0x00002601 jam  0x00000000 , 0x00004884 
+ 00008942  0x00002602 call  0x00002322 
+ 00008943  0x00002604 jam  0x00000000 , 0x0000482e 
+ 00008944  0x00002605 fetch  0x00000001 , 0x0000487f 
+ 00008945  0x00002606 store  0x00000001 , 0x0000483d 
+ 00008946  0x00002607 fetch  0x00000001 , 0x00004880 
+ 00008947  0x00002608 store  0x00000001 , 0x000041e8 
+ 00008948  0x00002609 fetch  0x00000004 , 0x0000487b 
+ 00008949  0x0000260a branch  0x00002292 
+ 00008950  0x0000260e bpatchx  0x000000e2 , 0x0000403c 
+ 00008951  0x0000260f fetch  0x00000001 , 0x00004883 
+ 00008952  0x00002610 beq  0x000000ff , 0x00002344 
+ 00008953  0x00002611 beq  0x00000001 , 0x000022fe 
+ 00008954  0x00002612 beq  0x00000002 , 0x00002300 
+ 00008955  0x00002613 beq  0x00000003 , 0x00002306 
+ 00008956  0x00002614 beq  0x00000004 , 0x0000230c 
+ 00008957  0x00002615 rtn 
+ 00008958  0x00002618 jam  0x000000ff , 0x000047c9 
+ 00008959  0x00002619 branch  0x0000230d 
+ 00008960  0x0000261c fetch  0x00000001 , 0x0000485e 
+ 00008961  0x0000261d branch  0x00002304 , 0x00000034 
+ 00008962  0x0000261e fetch  0x00000004 , 0x000048ad 
+ 00008963  0x0000261f call  0x00002292 
+ 00008964  0x00002621 jam  0x000000aa , 0x000047c9 
+ 00008965  0x00002622 branch  0x0000230d 
+ 00008966  0x00002625 jam  0x00000055 , 0x000047c9 
+ 00008967  0x00002626 fetch  0x00000001 , 0x0000485e 
+ 00008968  0x00002627 branch  0x0000230d , 0x00000034 
+ 00008969  0x00002628 fetch  0x00000004 , 0x00004895 
+ 00008970  0x00002629 store  0x00000004 , 0x000047cb 
+ 00008971  0x0000262a branch  0x0000230f 
+ 00008972  0x0000262d jam  0x00000022 , 0x000047c9 
+ 00008973  0x0000262f fetch  0x00000004 , 0x000048ad 
+ 00008974  0x00002630 store  0x00000004 , 0x000047cb 
+ 00008975  0x00002632 fetch  0x00000001 , 0x00004839 
+ 00008976  0x00002633 and_into  0x00000007 , 0x0000003f 
+ 00008977  0x00002634 store  0x00000001 , 0x000047ca 
+ 00008978  0x00002635 jam  0x00000000 , 0x000047cf 
+ 00008979  0x00002636 jam  0x00000007 , 0x00004838 
+ 00008980  0x00002637 call  0x00002247 
+ 00008981  0x00002638 call  0x00002662 
+ 00008982  0x00002639 nrtn  0x00000018 
+ 00008983  0x0000263a nrtn  0x0000002f 
+ 00008984  0x0000263b call  0x000025a0 
+ 00008985  0x0000263c call  0x00002679 
+ 00008986  0x0000263d bpatchx  0x000000e3 , 0x0000403c 
+ 00008987  0x0000263e fetch  0x00000001 , 0x00004883 
+ 00008988  0x0000263f rtneq  0x000000ff 
+ 00008989  0x00002640 beq  0x00000001 , 0x00002327 
+ 00008990  0x00002641 beq  0x00000002 , 0x00002329 
+ 00008991  0x00002642 beq  0x00000003 , 0x0000232f 
+ 00008992  0x00002643 beq  0x00000004 , 0x00002337 
+ 00008993  0x00002644 rtn 
+ 00008994  0x00002647 jam  0x00000002 , 0x00004883 
+ 00008995  0x00002648 fetch  0x00000001 , 0x0000485e 
+ 00008996  0x00002649 rtn  0x00000034 
+ 00008997  0x0000264a jam  0x00000001 , 0x00004883 
+ 00008998  0x0000264b rtn 
+ 00008999  0x0000264e jam  0x00000002 , 0x00004883 
+ 00009000  0x0000264f branch  0x0000265e 
+ 00009001  0x00002652 fetch  0x00000001 , 0x0000485e 
+ 00009002  0x00002653 branch  0x0000232d , 0x00000034 
+ 00009003  0x00002654 fetch  0x00000004 , 0x0000480f 
+ 00009004  0x00002655 store  0x00000004 , 0x00004895 
+ 00009005  0x00002657 jam  0x00000003 , 0x00004883 
+ 00009006  0x00002658 branch  0x0000265e 
+ 00009007  0x0000265b fetch  0x00000001 , 0x0000485e 
+ 00009008  0x0000265c branch  0x00002335 , 0x00000034 
+ 00009009  0x0000265d fetch  0x00000004 , 0x0000480f 
+ 00009010  0x0000265e fetcht  0x00000004 , 0x000048ad 
+ 00009011  0x0000265f isub  0x00000002 , 0x0000003e 
+ 00009012  0x00002660 nrtn  0x00000005 
+ 00009013  0x00002662 jam  0x00000004 , 0x00004883 
+ 00009014  0x00002663 branch  0x0000265e 
+ 00009015  0x00002666 fetch  0x00000001 , 0x0000485e 
+ 00009016  0x00002667 branch  0x0000233d , 0x00000034 
+ 00009017  0x00002668 fetch  0x00000004 , 0x0000480f 
+ 00009018  0x00002669 fetcht  0x00000004 , 0x00004895 
+ 00009019  0x0000266a isub  0x00000002 , 0x0000003e 
+ 00009020  0x0000266b nrtn  0x00000005 
+ 00009021  0x0000266d jam  0x000000ff , 0x00004883 
+ 00009022  0x0000266e jam  0x00000039 , 0x0000095b 
+ 00009023  0x0000266f call  0x000078dc 
+ 00009024  0x00002670 setarg  0x00000000 
+ 00009025  0x00002671 store  0x00000002 , 0x00004887 
+ 00009026  0x00002672 fetch  0x00000004 , 0x0000480f 
+ 00009027  0x00002673 call  0x00002292 
+ 00009028  0x00002675 fetch  0x00000001 , 0x000048a5 
+ 00009029  0x00002676 set0  0x00000001 , 0x0000003f 
+ 00009030  0x00002677 store  0x00000001 , 0x000048a5 
+ 00009031  0x00002678 branch  0x0000265e 
+ 00009032  0x00002693 jam  0x00000001 , 0x000048c3 
+ 00009033  0x00002694 jam  0x00000000 , 0x000048c2 
+ 00009034  0x00002695 rtn 
+ 00009035  0x00002698 fetch  0x00000001 , 0x000048c2 
+ 00009036  0x00002699 rtnbit1  0x00000001 
+ 00009037  0x0000269a set1  0x00000001 , 0x0000003f 
+ 00009038  0x0000269b store  0x00000001 , 0x000048c2 
+ 00009039  0x0000269c setarg  0x00000000 
+ 00009040  0x0000269d store  0x00000003 , 0x00004882 
+ 00009041  0x0000269e store  0x00000004 , 0x000048d9 
+ 00009042  0x0000269f jam  0x00000001 , 0x000048be 
+ 00009043  0x000026a0 branch  0x000022ef 
+ 00009044  0x000026a4 jam  0x00000001 , 0x000048be 
+ 00009045  0x000026a5 jam  0x00000008 , 0x00004838 
+ 00009046  0x000026a6 arg  0x00004885 , 0x00000006 
+ 00009047  0x000026a7 arg  0x000047c9 , 0x00000005 
+ 00009048  0x000026a8 branch  0x00007d79 
+ 00009049  0x000026ac call  0x000023fa 
+ 00009050  0x000026ad call  0x00002187 
+ 00009051  0x000026ae nbranch  0x000023fa , 0x0000002f 
+ 00009052  0x000026af call  0x00002367 
+ 00009053  0x000026b0 call  0x0000242c 
+ 00009054  0x000026b1 call  0x000023d6 
+ 00009055  0x000026b2 call  0x00003805 
+ 00009056  0x000026b3 fetch  0x00000001 , 0x0000485e 
+ 00009057  0x000026b4 rtn  0x00000034 
+ 00009058  0x000026b5 fetch  0x00000004 , 0x000048d9 
+ 00009059  0x000026b6 rtn  0x00000034 
+ 00009060  0x000026b7 branch  0x00002292 
+ 00009061  0x000026ba call  0x000023fa 
+ 00009062  0x000026bb branch  0x000021f1 
+ 00009063  0x000026be jam  0x00000005 , 0x000048cf 
+ 00009064  0x000026bf arg  0x000047a7 , 0x00000006 
+ 00009065  0x000026c0 arg  0x00004895 , 0x00000005 
+ 00009066  0x000026c1 call  0x00007d79 
+ 00009067  0x000026c2 bpatchx  0x000000e4 , 0x0000403c 
+ 00009068  0x000026c3 fetch  0x00000001 , 0x00004897 
+ 00009069  0x000026c4 beq  0x000000aa , 0x00002372 
+ 00009070  0x000026c5 beq  0x00000055 , 0x0000237f 
+ 00009071  0x000026c6 beq  0x00000022 , 0x0000239c 
+ 00009072  0x000026c7 beq  0x000000ff , 0x000025be 
+ 00009073  0x000026c8 rtn 
+ 00009074  0x000026cc fetch  0x00000001 , 0x00004898 
+ 00009075  0x000026cd beq  0x00000001 , 0x00002376 
+ 00009076  0x000026ce beq  0x00000002 , 0x0000237c 
+ 00009077  0x000026cf rtn 
+ 00009078  0x000026d2 jam  0x00000001 , 0x00004882 
+ 00009079  0x000026d4 jam  0x00000001 , 0x00004885 
+ 00009080  0x000026d6 jam  0x00000080 , 0x00004886 
+ 00009081  0x000026d7 fetch  0x00000006 , 0x000040a8 
+ 00009082  0x000026d8 store  0x00000006 , 0x00004887 
+ 00009083  0x000026d9 rtn 
+ 00009084  0x000026dc jam  0x00000001 , 0x00004883 
+ 00009085  0x000026de jam  0x00000002 , 0x00004885 
+ 00009086  0x000026df branch  0x00002378 
+ 00009087  0x000026e3 fetch  0x00000001 , 0x0000485e 
+ 00009088  0x000026e4 branch  0x00002385 , 0x00000034 
+ 00009089  0x000026e5 fetch  0x00000004 , 0x00004899 
+ 00009090  0x000026e6 fetcht  0x00000004 , 0x000040a8 
+ 00009091  0x000026e7 isub  0x00000002 , 0x0000003e 
+ 00009092  0x000026e8 nrtn  0x00000005 
+ 00009093  0x000026ea fetch  0x00000001 , 0x00004898 
+ 00009094  0x000026eb beq  0x00000001 , 0x00002389 
+ 00009095  0x000026ec beq  0x00000002 , 0x00002394 
+ 00009096  0x000026ed rtn 
+ 00009097  0x000026f0 fetch  0x00000001 , 0x00004882 
+ 00009098  0x000026f1 beq  0x00000001 , 0x0000238c 
+ 00009099  0x000026f2 rtn 
+ 00009100  0x000026f4 jam  0x00000002 , 0x00004882 
+ 00009101  0x000026f5 fetch  0x00000001 , 0x0000485e 
+ 00009102  0x000026f6 branch  0x00002377 , 0x00000034 
+ 00009103  0x000026f8 jam  0x00000001 , 0x00004885 
+ 00009104  0x000026fa jam  0x00000080 , 0x00004886 
+ 00009105  0x000026fb fetch  0x00000004 , 0x000048d9 
+ 00009106  0x000026fc store  0x00000004 , 0x00004887 
+ 00009107  0x000026fd branch  0x00007ec5 
+ 00009108  0x00002700 fetch  0x00000001 , 0x00004883 
+ 00009109  0x00002701 beq  0x00000001 , 0x00002397 
+ 00009110  0x00002702 rtn 
+ 00009111  0x00002704 jam  0x00000002 , 0x00004883 
+ 00009112  0x00002705 fetch  0x00000001 , 0x0000485e 
+ 00009113  0x00002706 branch  0x0000237d , 0x00000034 
+ 00009114  0x00002707 jam  0x00000002 , 0x00004885 
+ 00009115  0x00002708 branch  0x00002390 
+ 00009116  0x0000270c fetch  0x00000001 , 0x0000485e 
+ 00009117  0x0000270d branch  0x000023a2 , 0x00000034 
+ 00009118  0x0000270e fetch  0x00000004 , 0x00004899 
+ 00009119  0x0000270f fetcht  0x00000004 , 0x000048d9 
+ 00009120  0x00002710 isub  0x00000002 , 0x0000003e 
+ 00009121  0x00002711 nrtn  0x00000005 
+ 00009122  0x00002713 fetch  0x00000001 , 0x00004898 
+ 00009123  0x00002714 beq  0x00000001 , 0x000023a6 
+ 00009124  0x00002715 beq  0x00000002 , 0x000023b1 
+ 00009125  0x00002716 rtn 
+ 00009126  0x00002719 fetch  0x00000001 , 0x00004882 
+ 00009127  0x0000271a beq  0x00000002 , 0x000023a9 
+ 00009128  0x0000271b rtn 
+ 00009129  0x0000271d call  0x000023ca 
+ 00009130  0x0000271e call  0x00002377 
+ 00009131  0x0000271f fetch  0x00000001 , 0x00004884 
+ 00009132  0x00002720 or_into  0x00000001 , 0x0000003f 
+ 00009133  0x00002721 store  0x00000001 , 0x00004884 
+ 00009134  0x00002723 setarg  0x00000000 
+ 00009135  0x00002724 store  0x00000002 , 0x00004882 
+ 00009136  0x00002725 rtn 
+ 00009137  0x00002728 fetch  0x00000001 , 0x00004883 
+ 00009138  0x00002729 bne  0x00000000 , 0x000023b4 
+ 00009139  0x0000272a rtn 
+ 00009140  0x0000272c call  0x000023d0 
+ 00009141  0x0000272d call  0x0000237d 
+ 00009142  0x0000272e fetch  0x00000001 , 0x00004884 
+ 00009143  0x0000272f or_into  0x00000002 , 0x0000003f 
+ 00009144  0x00002730 store  0x00000001 , 0x00004884 
+ 00009145  0x00002731 call  0x000023ae 
+ 00009146  0x00002732 branch  0x000037ff 
+ 00009147  0x00002735 fetch  0x00000001 , 0x000048c3 
+ 00009148  0x00002736 rtnne  0x00000001 
+ 00009149  0x00002737 fetch  0x00000001 , 0x000048bd 
+ 00009150  0x00002738 nrtn  0x00000034 
+ 00009151  0x00002739 fetch  0x00000001 , 0x000047aa 
+ 00009152  0x0000273a beq  0x00000001 , 0x000023c3 
+ 00009153  0x0000273b beq  0x00000002 , 0x000023c7 
+ 00009154  0x0000273c rtn 
+ 00009155  0x0000273e fetch  0x00000001 , 0x000048d8 
+ 00009156  0x0000273f rtnbit0  0x00000000 
+ 00009157  0x00002741 disable  0x0000002f 
+ 00009158  0x00002742 rtn 
+ 00009159  0x00002744 fetch  0x00000001 , 0x000048d8 
+ 00009160  0x00002745 rtnbit0  0x00000001 
+ 00009161  0x00002746 branch  0x000023c5 
+ 00009162  0x00002749 fetch  0x00000001 , 0x000048bd 
+ 00009163  0x0000274a nrtn  0x00000034 
+ 00009164  0x0000274b fetch  0x00000001 , 0x000048d8 
+ 00009165  0x0000274c or_into  0x00000001 , 0x0000003f 
+ 00009166  0x0000274d store  0x00000001 , 0x000048d8 
+ 00009167  0x0000274e rtn 
+ 00009168  0x00002751 fetch  0x00000001 , 0x000048bd 
+ 00009169  0x00002752 nrtn  0x00000034 
+ 00009170  0x00002753 fetch  0x00000001 , 0x000048d8 
+ 00009171  0x00002754 or_into  0x00000002 , 0x0000003f 
+ 00009172  0x00002755 store  0x00000001 , 0x000048d8 
+ 00009173  0x00002756 rtn 
+ 00009174  0x0000275a fetch  0x00000001 , 0x00004884 
+ 00009175  0x0000275b rtn  0x00000034 
+ 00009176  0x0000275d fetch  0x00000001 , 0x00004898 
+ 00009177  0x0000275e beq  0x00000001 , 0x000023ca 
+ 00009178  0x0000275f beq  0x00000002 , 0x000023d0 
+ 00009179  0x00002760 rtn 
+ 00009180  0x00002774 set1  0x00000027 , 0x00000000 
+ 00009181  0x00002775 fetch  0x00000001 , 0x000041e8 
+ 00009182  0x00002776 store  0x00000001 , 0x000048d0 
+ 00009183  0x00002777 call  0x000022d0 
+ 00009184  0x00002778 branch  0x000025f4 
+ 00009185  0x0000277b fetch  0x00000002 , 0x0000488d 
+ 00009186  0x0000277c branch  0x00007e7a 
+ 00009187  0x0000277f jam  0x00000000 , 0x00004838 
+ 00009188  0x00002780 fetch  0x00000001 , 0x000048be 
+ 00009189  0x00002781 rtn  0x00000034 
+ 00009190  0x00002782 fetch  0x00000002 , 0x0000488f 
+ 00009191  0x00002783 branch  0x00007e7a 
+ 00009192  0x00002787 call  0x00002429 
+ 00009193  0x00002788 nbranch  0x000023fa , 0x0000002f 
+ 00009194  0x0000278a call  0x0000241b 
+ 00009195  0x0000278b nbranch  0x000023fa , 0x00000028 
+ 00009196  0x0000278c fetch  0x00000001 , 0x0000482d 
+ 00009197  0x0000278d branch  0x000023fa , 0x00000034 
+ 00009198  0x0000278e increase  0x00000002 , 0x0000003f 
+ 00009199  0x0000278f iforce  0x00000039 
+ 00009200  0x00002790 arg  0x000047a7 , 0x00000006 
+ 00009201  0x00002791 arg  0x00004895 , 0x00000005 
+ 00009202  0x00002792 call  0x00007dd4 
+ 00009203  0x00002793 jam  0x00000000 , 0x000048c0 
+ 00009204  0x00002794 fetch  0x00000001 , 0x000048bd 
+ 00009205  0x00002795 call  0x00002436 , 0x00000034 
+ 00009206  0x00002796 fetch  0x00000001 , 0x00004897 
+ 00009207  0x00002797 beq  0x00000001 , 0x000023ff 
+ 00009208  0x00002798 beq  0x00000002 , 0x0000240e 
+ 00009209  0x00002799 beq  0x000000ff , 0x000023fd 
+ 00009210  0x0000279b arg  0x000047a7 , 0x00000005 
+ 00009211  0x0000279c arg  0x00000042 , 0x00000039 
+ 00009212  0x0000279d branch  0x00007d9b 
+ 00009213  0x000027a0 call  0x000023d8 
+ 00009214  0x000027a1 branch  0x000025be 
+ 00009215  0x000027a4 call  0x000023ca 
+ 00009216  0x000027a5 call  0x0000255c 
+ 00009217  0x000027a6 fetch  0x00000001 , 0x000048b7 
+ 00009218  0x000027a7 fetcht  0x00000001 , 0x00004895 
+ 00009219  0x000027a8 isolate1  0x00000003 , 0x00000002 
+ 00009220  0x000027a9 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00009221  0x000027aa store  0x00000001 , 0x000048b7 
+ 00009222  0x000027ab beq  0x00000001 , 0x00002414 
+ 00009223  0x000027ac fetch  0x00000001 , 0x000048bf 
+ 00009224  0x000027ad fetcht  0x00000001 , 0x00004895 
+ 00009225  0x000027ae isolate1  0x00000004 , 0x00000002 
+ 00009226  0x000027af setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00009227  0x000027b0 store  0x00000001 , 0x000048bf 
+ 00009228  0x000027b1 fetch  0x00000002 , 0x00004891 
+ 00009229  0x000027b2 branch  0x00007e7a 
+ 00009230  0x000027b5 call  0x000023d0 
+ 00009231  0x000027b6 fetcht  0x00000001 , 0x00004895 
+ 00009232  0x000027b7 isolate1  0x00000003 , 0x00000002 
+ 00009233  0x000027b8 branch  0x00002419 , 0x00000001 
+ 00009234  0x000027b9 fetch  0x00000002 , 0x00004893 
+ 00009235  0x000027ba branch  0x00007e7a 
+ 00009236  0x000027bd fetch  0x00000001 , 0x0000409a 
+ 00009237  0x000027be sub  0x0000003f , 0x0000000e , 0x0000003e 
+ 00009238  0x000027bf call  0x000034f0 , 0x00000005 
+ 00009239  0x000027c0 fetch  0x00000004 , 0x0000489f 
+ 00009240  0x000027c1 branch  0x000025c4 
+ 00009241  0x000027c3 fetch  0x00000004 , 0x0000489f 
+ 00009242  0x000027c4 branch  0x000025c8 
+ 00009243  0x000027c8 call  0x00007ec7 
+ 00009244  0x000027c9 fetch  0x00000001 , 0x00004836 
+ 00009245  0x000027ca fetcht  0x00000001 , 0x00004837 
+ 00009246  0x000027cb isub  0x00000002 , 0x0000003e 
+ 00009247  0x000027cc ncall  0x00007ec5 , 0x00000005 
+ 00009248  0x000027cd fetch  0x00000001 , 0x00004836 
+ 00009249  0x000027ce store  0x00000001 , 0x00004837 
+ 00009250  0x000027cf fetch  0x00000003 , 0x00004830 
+ 00009251  0x000027d0 fetcht  0x00000003 , 0x00004833 
+ 00009252  0x000027d1 isub  0x00000002 , 0x0000003e 
+ 00009253  0x000027d2 ncall  0x00007ec5 , 0x00000005 
+ 00009254  0x000027d3 fetch  0x00000003 , 0x00004830 
+ 00009255  0x000027d4 store  0x00000003 , 0x00004833 
+ 00009256  0x000027d5 rtn 
+ 00009257  0x000027d8 call  0x000023fa 
+ 00009258  0x000027d9 call  0x00002187 
+ 00009259  0x000027da nrtn  0x0000002f 
+ 00009260  0x000027dd fetch  0x00000001 , 0x000047a7 
+ 00009261  0x000027de store  0x00000001 , 0x00004839 
+ 00009262  0x000027e0 call  0x00002274 
+ 00009263  0x000027e2 fetch  0x00000001 , 0x000047a8 
+ 00009264  0x000027e3 isolate1  0x00000000 , 0x0000003f 
+ 00009265  0x000027e4 branch  0x00002435 , 0x00000001 
+ 00009266  0x000027e6 call  0x000023e3 
+ 00009267  0x000027e7 call  0x00002247 
+ 00009268  0x000027e8 call  0x000021f8 
+ 00009269  0x000027ea branch  0x000021f1 
+ 00009270  0x000027ee jam  0x00000001 , 0x000048c1 
+ 00009271  0x000027f0 setarg  0x00000280 
+ 00009272  0x000027f1 arg  0x00000008 , 0x00000007 
+ 00009273  0x000027f2 branch  0x00007ddb 
+ 00009274  0x000027f9 jam  0x00000001 , 0x000048c0 
+ 00009275  0x000027fa jam  0x00000000 , 0x000048c4 
+ 00009276  0x000027fb jam  0x000000ff , 0x00004857 
+ 00009277  0x000027fc branch  0x000022b2 
+ 00009278  0x000027ff bpatchx  0x000000e5 , 0x0000403c 
+ 00009279  0x00002800 fetch  0x00000001 , 0x000048c0 
+ 00009280  0x00002801 rtn  0x00000034 
+ 00009281  0x00002802 call  0x000022a0 
+ 00009282  0x00002803 nrtn  0x00000028 
+ 00009283  0x00002804 call  0x0000244b 
+ 00009284  0x00002805 fetch  0x00000001 , 0x000048c4 
+ 00009285  0x00002806 increase  0x00000001 , 0x0000003f 
+ 00009286  0x00002807 and_into  0x00000001 , 0x0000003f 
+ 00009287  0x00002808 store  0x00000001 , 0x000048c4 
+ 00009288  0x00002809 beq  0x00000000 , 0x00002450 
+ 00009289  0x0000280a beq  0x00000001 , 0x00002453 
+ 00009290  0x0000280b rtn 
+ 00009291  0x0000280e fetch  0x00000001 , 0x000048cf 
+ 00009292  0x0000280f rtn  0x00000034 
+ 00009293  0x00002810 increase  0xffffffff , 0x0000003f 
+ 00009294  0x00002811 store  0x00000001 , 0x000048cf 
+ 00009295  0x00002812 rtn 
+ 00009296  0x00002815 fetch  0x00000001 , 0x000048cf 
+ 00009297  0x00002816 nrtn  0x00000034 
+ 00009298  0x00002817 branch  0x00002493 
+ 00009299  0x0000281a fetch  0x00000001 , 0x000048cf 
+ 00009300  0x0000281b nrtn  0x00000034 
+ 00009301  0x0000281c branch  0x00002348 
+ 00009302  0x00002820 fetch  0x00000001 , 0x000048d7 
+ 00009303  0x00002821 nrtn  0x00000034 
+ 00009304  0x00002822 fetch  0x00000001 , 0x000048d5 
+ 00009305  0x00002823 call  0x00002483 , 0x00000034 
+ 00009306  0x00002824 fetch  0x00000001 , 0x000048d2 
+ 00009307  0x00002825 rtnbit1  0x00000000 
+ 00009308  0x00002826 set1  0x00000000 , 0x0000003f 
+ 00009309  0x00002827 store  0x00000001 , 0x000048d2 
+ 00009310  0x00002828 jam  0x00000001 , 0x000048d1 
+ 00009311  0x00002829 jam  0x00000000 , 0x000048d6 
+ 00009312  0x0000282a setarg  0x00000000 
+ 00009313  0x0000282b store  0x00000002 , 0x000048d3 
+ 00009314  0x0000282c jam  0x00000060 , 0x00004857 
+ 00009315  0x0000282d branch  0x000022b2 
+ 00009316  0x00002830 fetch  0x00000001 , 0x000048c3 
+ 00009317  0x00002831 rtneq  0x00000000 
+ 00009318  0x00002832 fetch  0x00000001 , 0x000048d7 
+ 00009319  0x00002833 nrtn  0x00000034 
+ 00009320  0x00002834 fetch  0x00000001 , 0x000048d5 
+ 00009321  0x00002835 nrtn  0x00000034 
+ 00009322  0x00002836 fetch  0x00000001 , 0x000048d1 
+ 00009323  0x00002837 rtn  0x00000034 
+ 00009324  0x00002838 call  0x000022a0 
+ 00009325  0x00002839 nrtn  0x00000028 
+ 00009326  0x0000283a fetch  0x00000002 , 0x000048d3 
+ 00009327  0x0000283b increase  0x00000001 , 0x0000003f 
+ 00009328  0x0000283c store  0x00000002 , 0x000048d3 
+ 00009329  0x0000283d arg  0x000007d0 , 0x00000002 
+ 00009330  0x0000283e isub  0x00000002 , 0x0000003e 
+ 00009331  0x0000283f branch  0x0000247f , 0x00000002 
+ 00009332  0x00002840 call  0x0000244b 
+ 00009333  0x00002841 fetch  0x00000001 , 0x000048d6 
+ 00009334  0x00002842 increase  0x00000001 , 0x0000003f 
+ 00009335  0x00002843 and_into  0x00000001 , 0x0000003f 
+ 00009336  0x00002844 store  0x00000001 , 0x000048d6 
+ 00009337  0x00002845 beq  0x00000000 , 0x0000247c 
+ 00009338  0x00002846 beq  0x00000001 , 0x00002348 
+ 00009339  0x00002847 rtn 
+ 00009340  0x0000284a fetch  0x00000001 , 0x000048cf 
+ 00009341  0x0000284b nbranch  0x00002348 , 0x00000034 
+ 00009342  0x0000284c branch  0x00002544 
+ 00009343  0x0000284f jam  0x00000001 , 0x000048d5 
+ 00009344  0x00002850 branch  0x00002544 
+ 00009345  0x00002853 jam  0x00000000 , 0x000048d1 
+ 00009346  0x00002854 rtn 
+ 00009347  0x00002856 jam  0x00000001 , 0x000048d1 
+ 00009348  0x00002857 rtn 
+ 00009349  0x00002863 fetch  0x00000001 , 0x000048c2 
+ 00009350  0x00002864 rtnbit1  0x00000000 
+ 00009351  0x00002865 set1  0x00000000 , 0x0000003f 
+ 00009352  0x00002866 store  0x00000001 , 0x000048c2 
+ 00009353  0x00002867 fetch  0x00000001 , 0x000048d0 
+ 00009354  0x00002868 store  0x00000001 , 0x000041e8 
+ 00009355  0x00002869 jam  0x00000000 , 0x000048be 
+ 00009356  0x0000286a jam  0x00000000 , 0x00000bf9 
+ 00009357  0x0000286b jam  0x00000001 , 0x000048b7 
+ 00009358  0x0000286c jam  0x00000000 , 0x0000482e 
+ 00009359  0x0000286d fetch  0x00000004 , 0x000040a8 
+ 00009360  0x0000286e call  0x00002292 
+ 00009361  0x0000286f call  0x00002281 
+ 00009362  0x00002870 branch  0x000023fa 
+ 00009363  0x00002874 jam  0x00000000 , 0x000048be 
+ 00009364  0x00002876 jam  0x00000000 , 0x000048c3 
+ 00009365  0x00002877 jam  0x00000000 , 0x000048c2 
+ 00009366  0x00002878 rtn 
+ 00009367  0x0000287c fetch  0x00000001 , 0x000048c3 
+ 00009368  0x0000287d rtnne  0x00000000 
+ 00009369  0x0000287e call  0x00002485 
+ 00009370  0x0000287f call  0x00002547 
+ 00009371  0x00002880 branch  0x000023e8 
+ 00009372  0x0000288e bpatchx  0x000000e6 , 0x0000403c 
+ 00009373  0x0000288f fetch  0x00000001 , 0x000048c3 
+ 00009374  0x00002890 rtnne  0x00000001 
+ 00009375  0x00002891 call  0x0000234b 
+ 00009376  0x00002892 call  0x00002359 
+ 00009377  0x00002893 fetch  0x00000001 , 0x000048bd 
+ 00009378  0x00002894 nrtn  0x00000034 
+ 00009379  0x00002895 fetch  0x00000001 , 0x00004884 
+ 00009380  0x00002896 rtn  0x00000034 
+ 00009381  0x00002897 jam  0x00000000 , 0x000048c0 
+ 00009382  0x00002898 call  0x00002493 
+ 00009383  0x00002899 call  0x00002436 
+ 00009384  0x0000289a branch  0x000022b2 
+ 00009385  0x000028a7 fetch  0x00000001 , 0x000048c2 
+ 00009386  0x000028a8 rtnbit1  0x00000007 
+ 00009387  0x000028a9 set1  0x00000007 , 0x0000003f 
+ 00009388  0x000028aa store  0x00000001 , 0x000048c2 
+ 00009389  0x000028ab jam  0x00000000 , 0x000048c4 
+ 00009390  0x000028ac jam  0x00000001 , 0x000048be 
+ 00009391  0x000028ad setarg  0x00000000 
+ 00009392  0x000028ae store  0x00000003 , 0x000048ea 
+ 00009393  0x000028af store  0x00000007 , 0x000048c7 
+ 00009394  0x000028b0 call  0x00002536 
+ 00009395  0x000028b1 nrtn  0x00000005 
+ 00009396  0x000028b2 fetch  0x00000001 , 0x0000483e 
+ 00009397  0x000028b3 store  0x00000001 , 0x000048c6 
+ 00009398  0x000028b4 fetch  0x00000001 , 0x0000483d 
+ 00009399  0x000028b5 store  0x00000001 , 0x000048c5 
+ 00009400  0x000028b6 rtn 
+ 00009401  0x000028ba bpatchx  0x000000e7 , 0x0000403c 
+ 00009402  0x000028bb fetch  0x00000001 , 0x000048c3 
+ 00009403  0x000028bc rtnne  0x00000007 
+ 00009404  0x000028bd call  0x000024a9 
+ 00009405  0x000028be call  0x000024df 
+ 00009406  0x000028bf call  0x00002429 
+ 00009407  0x000028c0 nbranch  0x000023fa , 0x0000002f 
+ 00009408  0x000028c2 call  0x00002536 
+ 00009409  0x000028c3 call  0x000023ea , 0x00000005 
+ 00009410  0x000028c5 fetch  0x00000001 , 0x000048b7 
+ 00009411  0x000028c6 call  0x00002481 , 0x00000034 
+ 00009412  0x000028c9 jam  0x00000000 , 0x000048c3 
+ 00009413  0x000028ca fetch  0x00000001 , 0x000048c2 
+ 00009414  0x000028cb set1  0x00000000 , 0x0000003f 
+ 00009415  0x000028cc store  0x00000001 , 0x000048c2 
+ 00009416  0x000028ce fetch  0x00000001 , 0x000048be 
+ 00009417  0x000028cf sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00009418  0x000028d0 ncall  0x00002534 , 0x00000005 
+ 00009419  0x000028d2 call  0x000023fa 
+ 00009420  0x000028d3 call  0x00002436 
+ 00009421  0x000028d4 call  0x00002536 
+ 00009422  0x000028d5 branch  0x000024d8 , 0x00000005 
+ 00009423  0x000028d6 fetch  0x00000004 , 0x0000483f 
+ 00009424  0x000028d7 fetcht  0x00000004 , 0x000048e1 
+ 00009425  0x000028d8 isub  0x00000002 , 0x0000003e 
+ 00009426  0x000028d9 branch  0x000024db , 0x00000005 
+ 00009427  0x000028da fetch  0x00000004 , 0x0000483f 
+ 00009428  0x000028db fetcht  0x00000004 , 0x000048dd 
+ 00009429  0x000028dc isub  0x00000002 , 0x0000003e 
+ 00009430  0x000028dd branch  0x000024dd , 0x00000005 
+ 00009431  0x000028de rtn 
+ 00009432  0x000028e2 fetch  0x00000001 , 0x000048c6 
+ 00009433  0x000028e4 store  0x00000001 , 0x0000483e 
+ 00009434  0x000028e5 rtn 
+ 00009435  0x000028e8 fetch  0x00000001 , 0x000048cc 
+ 00009436  0x000028e9 branch  0x000024d9 
+ 00009437  0x000028ec fetch  0x00000001 , 0x000048c9 
+ 00009438  0x000028ed branch  0x000024d9 
+ 00009439  0x000028f1 fetch  0x00000001 , 0x000048c4 
+ 00009440  0x000028f2 increase  0x00000001 , 0x0000003f 
+ 00009441  0x000028f3 and_into  0x00000003 , 0x0000003f 
+ 00009442  0x000028f4 store  0x00000001 , 0x000048c4 
+ 00009443  0x000028f6 beq  0x00000000 , 0x00002502 
+ 00009444  0x000028f7 beq  0x00000001 , 0x0000251c 
+ 00009445  0x000028f8 beq  0x00000002 , 0x000024e8 
+ 00009446  0x000028f9 beq  0x00000003 , 0x0000251c 
+ 00009447  0x000028fa rtn 
+ 00009448  0x000028fd call  0x00002377 
+ 00009449  0x000028fe fetch  0x00000004 , 0x000048dd 
+ 00009450  0x000028ff branch  0x000024df , 0x00000034 
+ 00009451  0x00002900 call  0x00002292 
+ 00009452  0x00002901 fetch  0x00000001 , 0x000048ca 
+ 00009453  0x00002902 call  0x000024fd , 0x00000034 
+ 00009454  0x00002903 fetch  0x00000001 , 0x000048c8 
+ 00009455  0x00002904 store  0x00000001 , 0x0000483d 
+ 00009456  0x00002905 fetcht  0x00000001 , 0x000048eb 
+ 00009457  0x00002906 fetchr  0x00000011 , 0x00000002 , 0x000048f1 
+ 00009458  0x00002907 call  0x000025ca 
+ 00009459  0x00002908 storet  0x00000001 , 0x000048eb 
+ 00009460  0x00002909 call  0x000025d2 
+ 00009461  0x0000290a storet  0x00000001 , 0x000048e8 
+ 00009462  0x0000290b sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009463  0x0000290c nrtn  0x00000002 
+ 00009464  0x0000290d fetcht  0x00000001 , 0x000048c9 
+ 00009465  0x0000290e call  0x00002285 
+ 00009466  0x0000290f storet  0x00000001 , 0x000048c9 
+ 00009467  0x00002910 store  0x00000001 , 0x000048c8 
+ 00009468  0x00002911 rtn 
+ 00009469  0x00002914 jam  0x00000001 , 0x000048ca 
+ 00009470  0x00002915 arg  0x00000000 , 0x00000002 
+ 00009471  0x00002916 call  0x00002289 
+ 00009472  0x00002917 store  0x00000001 , 0x000048c8 
+ 00009473  0x00002918 rtn 
+ 00009474  0x0000291b call  0x0000237d 
+ 00009475  0x0000291c fetch  0x00000004 , 0x000048e1 
+ 00009476  0x0000291d branch  0x000024df , 0x00000034 
+ 00009477  0x0000291e call  0x00002292 
+ 00009478  0x0000291f fetch  0x00000001 , 0x000048cd 
+ 00009479  0x00002920 call  0x00002517 , 0x00000034 
+ 00009480  0x00002921 fetch  0x00000001 , 0x000048cb 
+ 00009481  0x00002922 store  0x00000001 , 0x0000483d 
+ 00009482  0x00002923 fetcht  0x00000001 , 0x000048ec 
+ 00009483  0x00002924 fetchr  0x00000011 , 0x00000002 , 0x000048f3 
+ 00009484  0x00002925 call  0x000025ca 
+ 00009485  0x00002926 storet  0x00000001 , 0x000048ec 
+ 00009486  0x00002927 call  0x000025d2 
+ 00009487  0x00002928 storet  0x00000001 , 0x000048e9 
+ 00009488  0x00002929 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009489  0x0000292a nrtn  0x00000002 
+ 00009490  0x0000292b fetcht  0x00000001 , 0x000048cc 
+ 00009491  0x0000292c call  0x00002285 
+ 00009492  0x0000292d storet  0x00000001 , 0x000048cc 
+ 00009493  0x0000292e store  0x00000001 , 0x000048cb 
+ 00009494  0x0000292f rtn 
+ 00009495  0x00002932 jam  0x00000001 , 0x000048cd 
+ 00009496  0x00002933 arg  0x00000000 , 0x00000002 
+ 00009497  0x00002934 call  0x00002289 
+ 00009498  0x00002935 store  0x00000001 , 0x000048cb 
+ 00009499  0x00002936 rtn 
+ 00009500  0x00002939 call  0x00002377 
+ 00009501  0x0000293a fetch  0x00000004 , 0x000040a8 
+ 00009502  0x0000293b call  0x00002292 
+ 00009503  0x0000293c fetch  0x00000001 , 0x000048c7 
+ 00009504  0x0000293d call  0x00002530 , 0x00000034 
+ 00009505  0x0000293e fetch  0x00000001 , 0x000048c5 
+ 00009506  0x0000293f store  0x00000001 , 0x0000483d 
+ 00009507  0x00002940 fetcht  0x00000001 , 0x000048ea 
+ 00009508  0x00002941 fetchr  0x00000011 , 0x00000002 , 0x000048ef 
+ 00009509  0x00002942 call  0x000025ca 
+ 00009510  0x00002943 storet  0x00000001 , 0x000048ea 
+ 00009511  0x00002944 call  0x000025d2 
+ 00009512  0x00002945 storet  0x00000001 , 0x000048e7 
+ 00009513  0x00002946 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009514  0x00002947 nrtn  0x00000002 
+ 00009515  0x00002948 fetcht  0x00000001 , 0x000048c6 
+ 00009516  0x00002949 call  0x00002285 
+ 00009517  0x0000294a storet  0x00000001 , 0x000048c6 
+ 00009518  0x0000294b store  0x00000001 , 0x000048c5 
+ 00009519  0x0000294c rtn 
+ 00009520  0x0000294f jam  0x00000001 , 0x000048c7 
+ 00009521  0x00002950 fetch  0x00000001 , 0x000048c5 
+ 00009522  0x00002951 store  0x00000001 , 0x0000483d 
+ 00009523  0x00002952 rtn 
+ 00009524  0x00002956 jam  0x00000000 , 0x000048be 
+ 00009525  0x00002957 rtn 
+ 00009526  0x0000295b fetch  0x00000004 , 0x0000483f 
+ 00009527  0x0000295c fetcht  0x00000004 , 0x000040a8 
+ 00009528  0x0000295d isub  0x00000002 , 0x0000003e 
+ 00009529  0x0000295e rtn 
+ 00009530  0x0000296b fetch  0x00000001 , 0x000048be 
+ 00009531  0x0000296c rtneq  0x00000002 
+ 00009532  0x0000296d fetch  0x00000001 , 0x000048c1 
+ 00009533  0x0000296e rtn  0x00000034 
+ 00009534  0x0000296f arg  0x00000008 , 0x00000007 
+ 00009535  0x00002970 call  0x00007de9 
+ 00009536  0x00002971 nrtn  0x00000034 
+ 00009537  0x00002972 jam  0x00000000 , 0x000048c1 
+ 00009538  0x00002973 jam  0x00000000 , 0x000048cf 
+ 00009539  0x00002974 call  0x00002456 
+ 00009540  0x00002977 jam  0x00000007 , 0x000048c3 
+ 00009541  0x00002978 jam  0x00000000 , 0x000048c2 
+ 00009542  0x00002979 branch  0x000023fa 
+ 00009543  0x00002980 fetch  0x00000001 , 0x000048b7 
+ 00009544  0x00002981 beq  0x00000001 , 0x00002608 
+ 00009545  0x00002982 fetch  0x00000001 , 0x000048bf 
+ 00009546  0x00002983 beq  0x00000001 , 0x0000255a 
+ 00009547  0x00002984 fetcht  0x00000004 , 0x000048b8 
+ 00009548  0x00002985 copy  0x00000022 , 0x0000003f 
+ 00009549  0x00002986 isub  0x00000002 , 0x0000003e 
+ 00009550  0x00002987 ncall  0x000022af , 0x00000002 
+ 00009551  0x00002988 copy  0x0000003f , 0x00000012 
+ 00009552  0x00002989 fetch  0x00000004 , 0x000048b8 
+ 00009553  0x0000298a fetcht  0x00000001 , 0x000048bc 
+ 00009554  0x0000298b iadd  0x00000002 , 0x00000002 
+ 00009555  0x0000298c copy  0x00000012 , 0x0000003f 
+ 00009556  0x0000298d isub  0x00000002 , 0x0000003e 
+ 00009557  0x0000298e nrtn  0x00000002 
+ 00009558  0x0000298f set0  0x0000001c , 0x0000003f 
+ 00009559  0x00002990 store  0x00000004 , 0x000048b8 
+ 00009560  0x00002991 jam  0x00000001 , 0x000048b7 
+ 00009561  0x00002992 branch  0x00002281 
+ 00009562  0x00002995 jam  0x00000000 , 0x000048bf 
+ 00009563  0x00002996 branch  0x00002281 
+ 00009564  0x00002999 copy  0x00000022 , 0x0000003f 
+ 00009565  0x0000299a store  0x00000004 , 0x000048b8 
+ 00009566  0x0000299b rtn 
+ 00009567  0x000029a1 arg  0x0000488b , 0x00000013 
+ 00009568  0x000029a2 arg  0x00002683 , 0x00000012 
+ 00009569  0x000029a3 branch  0x00003203 
+ 00009570  0x000029a7 bpatchx  0x000000e8 , 0x0000403d 
+ 00009571  0x000029a8 set1  0x00000026 , 0x00000000 
+ 00009572  0x000029a9 fetch  0x00000001 , 0x000048a5 
+ 00009573  0x000029aa set0  0x00000001 , 0x0000003f 
+ 00009574  0x000029ab set1  0x00000002 , 0x0000003f 
+ 00009575  0x000029ac store  0x00000001 , 0x000048a5 
+ 00009576  0x000029ad fetch  0x00000001 , 0x00004890 
+ 00009577  0x000029ae branch  0x00002577 , 0x00000034 
+ 00009578  0x000029af fetch  0x00000001 , 0x0000488f 
+ 00009579  0x000029b0 beq  0x00000001 , 0x0000256f 
+ 00009580  0x000029b1 beq  0x00000002 , 0x0000256f 
+ 00009581  0x000029b2 beq  0x00000003 , 0x0000257e 
+ 00009582  0x000029b3 beq  0x00000004 , 0x0000257e 
+ 00009583  0x000029b5 fetch  0x00000001 , 0x00004880 
+ 00009584  0x000029b6 store  0x00000001 , 0x000041e8 
+ 00009585  0x000029b7 fetcht  0x00000001 , 0x00004899 
+ 00009586  0x000029b8 storet  0x00000001 , 0x0000483e 
+ 00009587  0x000029b9 fetch  0x00000004 , 0x00004891 
+ 00009588  0x000029ba call  0x00002587 
+ 00009589  0x000029bb storet  0x00000001 , 0x00004899 
+ 00009590  0x000029bc rtn 
+ 00009591  0x000029bf jam  0x00000003 , 0x000041e8 
+ 00009592  0x000029c0 fetcht  0x00000001 , 0x0000489a 
+ 00009593  0x000029c1 storet  0x00000001 , 0x0000483e 
+ 00009594  0x000029c2 fetch  0x00000004 , 0x00004895 
+ 00009595  0x000029c3 call  0x00002587 
+ 00009596  0x000029c4 storet  0x00000001 , 0x0000489a 
+ 00009597  0x000029c5 rtn 
+ 00009598  0x000029c8 jam  0x00000003 , 0x000041e8 
+ 00009599  0x000029c9 fetcht  0x00000001 , 0x0000489b 
+ 00009600  0x000029ca storet  0x00000001 , 0x0000483e 
+ 00009601  0x000029cb fetch  0x00000004 , 0x000048ad 
+ 00009602  0x000029cc call  0x00002587 
+ 00009603  0x000029cd storet  0x00000001 , 0x0000489b 
+ 00009604  0x000029ce rtn 
+ 00009605  0x000029d1 fetch  0x00000004 , 0x0000480f 
+ 00009606  0x000029d2 store  0x00000004 , 0x00004895 
+ 00009607  0x000029d4 call  0x00002292 
+ 00009608  0x000029d5 branch  0x00002281 
+ 00009609  0x000029d9 bpatchx  0x000000e9 , 0x0000403d 
+ 00009610  0x000029da call  0x000025a3 
+ 00009611  0x000029db call  0x00002662 
+ 00009612  0x000029dc nbranch  0x000025aa , 0x00000018 
+ 00009613  0x000029dd nbranch  0x000025aa , 0x0000002f 
+ 00009614  0x000029de call  0x00002679 
+ 00009615  0x000029e0 fetch  0x00000001 , 0x000048a5 
+ 00009616  0x000029e1 set0  0x00000002 , 0x0000003f 
+ 00009617  0x000029e2 store  0x00000001 , 0x000048a5 
+ 00009618  0x000029e3 setarg  0x00000000 
+ 00009619  0x000029e4 store  0x00000002 , 0x00004887 
+ 00009620  0x000029e5 store  0x00000002 , 0x0000488d 
+ 00009621  0x000029e6 store  0x00000002 , 0x0000488b 
+ 00009622  0x000029e7 fetch  0x00000004 , 0x0000487b 
+ 00009623  0x000029e8 fetcht  0x00000004 , 0x0000483f 
+ 00009624  0x000029e9 isub  0x00000002 , 0x0000003e 
+ 00009625  0x000029ea branch  0x000022e4 , 0x00000005 
+ 00009626  0x000029eb fetch  0x00000004 , 0x000048ad 
+ 00009627  0x000029ec fetcht  0x00000004 , 0x0000483f 
+ 00009628  0x000029ed isub  0x00000002 , 0x0000003e 
+ 00009629  0x000029ee call  0x00002585 , 0x00000005 
+ 00009630  0x000029ef jam  0x0000003c , 0x0000095b 
+ 00009631  0x000029f0 call  0x000078dc 
+ 00009632  0x000029f2 arg  0x00000004 , 0x00000039 
+ 00009633  0x000029f3 arg  0x000047c9 , 0x00000005 
+ 00009634  0x000029f4 branch  0x00007d8c 
+ 00009635  0x000029f7 jam  0x000000ff , 0x000047c9 
+ 00009636  0x000029f8 fetch  0x00000001 , 0x00004839 
+ 00009637  0x000029f9 store  0x00000001 , 0x000047ca 
+ 00009638  0x000029fa fetch  0x00000004 , 0x000048ad 
+ 00009639  0x000029fb store  0x00000004 , 0x000047cb 
+ 00009640  0x000029fc jam  0x00000006 , 0x00004838 
+ 00009641  0x000029fd branch  0x00002247 
+ 00009642  0x00002a00 fetch  0x00000001 , 0x00004890 
+ 00009643  0x00002a01 branch  0x00002281 , 0x00000034 
+ 00009644  0x00002a02 fetch  0x00000002 , 0x0000488d 
+ 00009645  0x00002a03 increase  0x00000001 , 0x0000003f 
+ 00009646  0x00002a04 store  0x00000002 , 0x0000488d 
+ 00009647  0x00002a05 isolate1  0x00000003 , 0x0000003f 
+ 00009648  0x00002a06 fetch  0x00000001 , 0x0000488f 
+ 00009649  0x00002a07 beq  0x00000001 , 0x000025b6 
+ 00009650  0x00002a08 beq  0x00000002 , 0x000025b8 
+ 00009651  0x00002a09 beq  0x00000003 , 0x000025ba 
+ 00009652  0x00002a0a beq  0x00000004 , 0x000025bc 
+ 00009653  0x00002a0b branch  0x00002577 
+ 00009654  0x00002a0f branch  0x00002577 , 0x00000001 
+ 00009655  0x00002a10 branch  0x0000256f 
+ 00009656  0x00002a13 branch  0x0000257e , 0x00000001 
+ 00009657  0x00002a14 branch  0x0000256f 
+ 00009658  0x00002a17 branch  0x0000257e , 0x00000001 
+ 00009659  0x00002a18 branch  0x00002577 
+ 00009660  0x00002a1b branch  0x000022ef , 0x00000001 
+ 00009661  0x00002a1c branch  0x0000257e 
+ 00009662  0x00002a28 fetch  0x00000001 , 0x00004898 
+ 00009663  0x00002a29 beq  0x00000001 , 0x000025c2 
+ 00009664  0x00002a2a beq  0x00000002 , 0x000025c6 
+ 00009665  0x00002a2b rtn 
+ 00009666  0x00002a2d fetch  0x00000004 , 0x00004899 
+ 00009667  0x00002a2e store  0x00000004 , 0x000048d9 
+ 00009668  0x00002a30 store  0x00000004 , 0x000048dd 
+ 00009669  0x00002a31 rtn 
+ 00009670  0x00002a33 fetch  0x00000004 , 0x00004899 
+ 00009671  0x00002a34 store  0x00000004 , 0x000048d9 
+ 00009672  0x00002a36 store  0x00000004 , 0x000048e1 
+ 00009673  0x00002a37 rtn 
+ 00009674  0x00002a42 copy  0x00000011 , 0x0000003f 
+ 00009675  0x00002a43 iadd  0x00000002 , 0x00000005 
+ 00009676  0x00002a44 fetch  0x00000001 , 0x00000018 
+ 00009677  0x00002a45 istore  0x00000001 , 0x00000005 
+ 00009678  0x00002a46 increase  0x00000001 , 0x00000002 
+ 00009679  0x00002a47 fetch  0x00000001 , 0x00004881 
+ 00009680  0x00002a48 iand  0x00000002 , 0x00000002 
+ 00009681  0x00002a49 rtn 
+ 00009682  0x00002a4b fetch  0x00000001 , 0x00004881 
+ 00009683  0x00002a4c increase  0x00000001 , 0x0000003f 
+ 00009684  0x00002a4d store  0x00000002 , 0x00000987 
+ 00009685  0x00002a4e copy  0x0000003f , 0x00000039 
+ 00009686  0x00002a4f copy  0x00000011 , 0x00000006 
+ 00009687  0x00002a50 arg  0x00000000 , 0x0000003f 
+ 00009688  0x00002a52 ifetcht  0x00000001 , 0x00000006 
+ 00009689  0x00002a53 iadd  0x00000002 , 0x0000003f 
+ 00009690  0x00002a54 loop  0x000025d8 
+ 00009691  0x00002a55 fetcht  0x00000002 , 0x00000987 
+ 00009692  0x00002a56 idiv  0x00000002 
+ 00009693  0x00002a57 call  0x00007e64 
+ 00009694  0x00002a58 quotient  0x00000002 
+ 00009695  0x00002a59 rtnmark1  0x00000027 
+ 00009696  0x00002a5a copy  0x00000002 , 0x0000003f 
+ 00009697  0x00002a5b rtnmark0  0x00000026 
+ 00009698  0x00002a5c call  0x00001297 
+ 00009699  0x00002a5d copy  0x0000003f , 0x00000002 
+ 00009700  0x00002a5e rtn 
+ 00009701  0x00002a61 call  0x0000127f 
+ 00009702  0x00002a62 branch  0x00001293 
+ 00009703  0x00002a6c fetch  0x00000002 , 0x0000489d 
+ 00009704  0x00002a6d branch  0x000025fb 
+ 00009705  0x00002a70 copy  0x0000003f , 0x00000011 
+ 00009706  0x00002a71 fetcht  0x00000001 , 0x0000489c 
+ 00009707  0x00002a72 fetch  0x00000002 , 0x0000489d 
+ 00009708  0x00002a73 iadd  0x00000002 , 0x00000005 
+ 00009709  0x00002a74 copy  0x00000011 , 0x0000003f 
+ 00009710  0x00002a75 istore  0x00000001 , 0x00000005 
+ 00009711  0x00002a76 increase  0x00000001 , 0x00000002 
+ 00009712  0x00002a77 fetch  0x00000001 , 0x00004881 
+ 00009713  0x00002a78 iand  0x00000002 , 0x00000002 
+ 00009714  0x00002a79 storet  0x00000001 , 0x0000489c 
+ 00009715  0x00002a7a rtn 
+ 00009716  0x00002a85 fetch  0x00000002 , 0x000048ed 
+ 00009717  0x00002a86 call  0x000025fb 
+ 00009718  0x00002a87 fetch  0x00000002 , 0x000048ef 
+ 00009719  0x00002a88 call  0x000025fb 
+ 00009720  0x00002a89 fetch  0x00000002 , 0x000048f1 
+ 00009721  0x00002a8a call  0x000025fb 
+ 00009722  0x00002a8b fetch  0x00000002 , 0x000048f3 
+ 00009723  0x00002a8d rtn  0x00000034 
+ 00009724  0x00002a8e copy  0x0000003f , 0x00000005 
+ 00009725  0x00002a8f fetch  0x00000001 , 0x00004881 
+ 00009726  0x00002a90 increase  0x00000001 , 0x0000003f 
+ 00009727  0x00002a91 copy  0x0000003f , 0x00000039 
+ 00009728  0x00002a92 branch  0x00007d9b 
+ 00009729  0x00002a96 call  0x000025e5 
+ 00009730  0x00002a97 rtn  0x00000034 
+ 00009731  0x00002a98 fetcht  0x00000001 , 0x000048e6 
+ 00009732  0x00002a99 fetchr  0x00000011 , 0x00000002 , 0x000048ed 
+ 00009733  0x00002a9a call  0x000025ca 
+ 00009734  0x00002a9b storet  0x00000001 , 0x000048e6 
+ 00009735  0x00002a9c rtn 
+ 00009736  0x00002aa0 fetchr  0x00000011 , 0x00000002 , 0x000048ed 
+ 00009737  0x00002aa1 call  0x000025d2 
+ 00009738  0x00002aa2 storet  0x00000001 , 0x000048e5 
+ 00009739  0x00002aa3 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009740  0x00002aa4 nrtn  0x00000002 
+ 00009741  0x00002aa5 branch  0x00002281 
+ 00009742  0x00002aae fetch  0x00000004 , 0x000040a8 
+ 00009743  0x00002aaf store  0x00000004 , 0x000048ad 
+ 00009744  0x00002ab0 call  0x000022d0 
+ 00009745  0x00002ab1 branch  0x000025e7 
+ 00009746  0x00002ab4 setarg  0x00002fb2 
+ 00009747  0x00002ab5 store  0x00000003 , 0x000048b1 
+ 00009748  0x00002ab6 setarg  0x00100c0c 
+ 00009749  0x00002ab7 store  0x00000003 , 0x00004857 
+ 00009750  0x00002ab8 setarg  0x0000bb80 
+ 00009751  0x00002ab9 store  0x00000003 , 0x000048b4 
+ 00009752  0x00002aba jam  0x00000005 , 0x000048ca 
+ 00009753  0x00002abb rtn 
+ 00009754  0x00002abe setarg  0x0000f80c 
+ 00009755  0x00002abf store  0x00000003 , 0x000048b1 
+ 00009756  0x00002ac0 setarg  0x001c1919 
+ 00009757  0x00002ac1 store  0x00000003 , 0x00004857 
+ 00009758  0x00002ac2 setarg  0x00017700 
+ 00009759  0x00002ac3 store  0x00000003 , 0x000048b4 
+ 00009760  0x00002ac4 jam  0x0000000b , 0x000048ca 
+ 00009761  0x00002ac5 rtn 
+ 00009762  0x00002ac9 rtnmark0  0x00000026 
+ 00009763  0x00002aca fetch  0x00000001 , 0x000048a5 
+ 00009764  0x00002acb bbit1  0x00000001 , 0x000022f6 
+ 00009765  0x00002acc bbit1  0x00000002 , 0x00002589 
+ 00009766  0x00002acd fetch  0x00000001 , 0x000048c1 
+ 00009767  0x00002ace beq  0x00000001 , 0x000026cd 
+ 00009768  0x00002ad0 bpatchx  0x000000ea , 0x0000403d 
+ 00009769  0x00002ad1 call  0x00002638 
+ 00009770  0x00002ad2 nbranch  0x000026a8 , 0x00000028 
+ 00009771  0x00002ad4 call  0x0000264d 
+ 00009772  0x00002ad5 call  0x000026f5 
+ 00009773  0x00002ad6 fetch  0x00000001 , 0x0000409a 
+ 00009774  0x00002ad7 beq  0x00000008 , 0x0000482e 
+ 00009775  0x00002ad9 fetch  0x00000008 , 0x000048b4 
+ 00009776  0x00002ada store  0x00000008 , 0x0000485f 
+ 00009777  0x00002adb fetch  0x00000002 , 0x000048c6 
+ 00009778  0x00002adc store  0x00000002 , 0x000048c8 
+ 00009779  0x00002ade call  0x000026c2 
+ 00009780  0x00002adf nrtn  0x00000028 
+ 00009781  0x00002ae0 call  0x00007f52 
+ 00009782  0x00002ae1 fetch  0x00000003 , 0x000048b1 
+ 00009783  0x00002ae2 branch  0x000026bf 
+ 00009784  0x00002aea call  0x0000263b 
+ 00009785  0x00002aeb nrtn  0x00000028 
+ 00009786  0x00002aec branch  0x00002247 
+ 00009787  0x00002af0 fetch  0x00000002 , 0x0000489f 
+ 00009788  0x00002af1 call  0x00007e7a 
+ 00009789  0x00002af2 branch  0x00002641 , 0x00000028 
+ 00009790  0x00002af3 fetch  0x00000007 , 0x000047ca 
+ 00009791  0x00002af4 rtn  0x00000034 
+ 00009792  0x00002af5 branch  0x00007ec5 
+ 00009793  0x00002af8 jam  0x00000000 , 0x000048ab 
+ 00009794  0x00002af9 add  0x00000011 , 0x00000001 , 0x0000003f 
+ 00009795  0x00002afa store  0x00000001 , 0x00004838 
+ 00009796  0x00002afb call  0x00002649 
+ 00009797  0x00002afc store  0x00000001 , 0x000047c9 
+ 00009798  0x00002afd copy  0x00000012 , 0x00000006 
+ 00009799  0x00002afe copy  0x00000011 , 0x00000039 
+ 00009800  0x00002aff branch  0x00007dd4 
+ 00009801  0x00002b02 fetch  0x00000001 , 0x00004839 
+ 00009802  0x00002b03 and_into  0x00000007 , 0x0000003f 
+ 00009803  0x00002b04 store  0x00000001 , 0x00004839 
+ 00009804  0x00002b05 rtn 
+ 00009805  0x00002b0f jam  0x00000000 , 0x000048aa 
+ 00009806  0x00002b11 fetchr  0x0000000b , 0x00000002 , 0x0000015f 
+ 00009807  0x00002b12 until  0x00000023 , 0x00000026 
+ 00009808  0x00002b13 call  0x00002662 
+ 00009809  0x00002b14 fetch  0x00000001 , 0x0000482f 
+ 00009810  0x00002b15 beq  0x00000001 , 0x00002658 
+ 00009811  0x00002b16 nbranch  0x00002670 , 0x00000018 
+ 00009812  0x00002b17 nbranch  0x00002670 , 0x0000002f 
+ 00009813  0x00002b18 call  0x00002679 
+ 00009814  0x00002b19 fetch  0x00000001 , 0x0000409a 
+ 00009815  0x00002b1a beq  0x00000008 , 0x0000482a 
+ 00009816  0x00002b1c call  0x00002727 
+ 00009817  0x00002b1e call  0x000025a0 
+ 00009818  0x00002b1f fetch  0x00000001 , 0x0000482e 
+ 00009819  0x00002b20 increase  0x00000001 , 0x0000003f 
+ 00009820  0x00002b21 store  0x00000001 , 0x0000482e 
+ 00009821  0x00002b22 call  0x0000269b 
+ 00009822  0x00002b24 setarg  0x00000000 
+ 00009823  0x00002b25 store  0x00000001 , 0x000048a6 
+ 00009824  0x00002b26 store  0x00000002 , 0x000048a7 
+ 00009825  0x00002b27 rtn 
+ 00009826  0x00002b2a disable  0x0000002f 
+ 00009827  0x00002b2b call  0x000021f8 
+ 00009828  0x00002b2c fetch  0x00000001 , 0x0000482f 
+ 00009829  0x00002b2d beq  0x00000001 , 0x000021f1 
+ 00009830  0x00002b2e force  0x00000000 , 0x00000015 
+ 00009831  0x00002b2f fetch  0x00000004 , 0x0000483f 
+ 00009832  0x00002b30 iforce  0x00000009 
+ 00009833  0x00002b31 call  0x000010ac 
+ 00009834  0x00002b32 fetcht  0x00000001 , 0x00000017 
+ 00009835  0x00002b33 call  0x0000118b 
+ 00009836  0x00002b34 call  0x000011a2 
+ 00009837  0x00002b35 call  0x00002190 
+ 00009838  0x00002b36 call  0x000021f1 , 0x0000002f 
+ 00009839  0x00002b37 rtn 
+ 00009840  0x00002b3a fetch  0x00000001 , 0x000048ab 
+ 00009841  0x00002b3b nrtn  0x00000034 
+ 00009842  0x00002b3c fetch  0x00000002 , 0x000048a7 
+ 00009843  0x00002b3d increase  0x00000001 , 0x0000003f 
+ 00009844  0x00002b3e store  0x00000002 , 0x000048a7 
+ 00009845  0x00002b3f fetch  0x00000001 , 0x000048a8 
+ 00009846  0x00002b40 bbit1  0x00000004 , 0x00002680 
+ 00009847  0x00002b41 call  0x00002685 
+ 00009848  0x00002b42 branch  0x0000264e 
+ 00009849  0x00002b46 call  0x00002274 
+ 00009850  0x00002b47 fetch  0x00000001 , 0x0000482d 
+ 00009851  0x00002b48 rtn  0x00000034 
+ 00009852  0x00002b49 iforce  0x00000039 
+ 00009853  0x00002b4a arg  0x000047a9 , 0x00000006 
+ 00009854  0x00002b4b arg  0x0000480d , 0x00000005 
+ 00009855  0x00002b4c branch  0x00007dd4 
+ 00009856  0x00002b50 setarg  0x00000000 
+ 00009857  0x00002b51 store  0x00000002 , 0x000048a7 
+ 00009858  0x00002b52 jam  0x00000001 , 0x000048a9 
+ 00009859  0x00002b54 jam  0x0000003a , 0x0000095b 
+ 00009860  0x00002b55 branch  0x000078dc 
+ 00009861  0x00002b60 bpatchx  0x000000eb , 0x0000403d 
+ 00009862  0x00002b61 fetcht  0x00000001 , 0x000048aa 
+ 00009863  0x00002b62 fetch  0x00000001 , 0x000048ca 
+ 00009864  0x00002b63 isub  0x00000002 , 0x0000003e 
+ 00009865  0x00002b64 nbranch  0x000026a3 , 0x00000002 
+ 00009866  0x00002b65 increase  0x00000001 , 0x00000002 
+ 00009867  0x00002b66 storet  0x00000001 , 0x000048aa 
+ 00009868  0x00002b67 fetch  0x00000001 , 0x000048ca 
+ 00009869  0x00002b68 beq  0x00000005 , 0x00002692 
+ 00009870  0x00002b69 fetch  0x00000001 , 0x000048aa 
+ 00009871  0x00002b6a beq  0x00000006 , 0x0000269d 
+ 00009872  0x00002b6b beq  0x0000000c , 0x0000269d 
+ 00009873  0x00002b6c rtn 
+ 00009874  0x00002b70 fetch  0x00000001 , 0x000048aa 
+ 00009875  0x00002b71 beq  0x00000003 , 0x0000269d 
+ 00009876  0x00002b72 beq  0x00000006 , 0x0000269d 
+ 00009877  0x00002b73 rtn 
+ 00009878  0x00002b7d bmark1  0x0000002f , 0x00002699 
+ 00009879  0x00002b7e store  0x00000001 , 0x000047ea 
+ 00009880  0x00002b7f rtn 
+ 00009881  0x00002b81 store  0x00000001 , 0x000047eb 
+ 00009882  0x00002b82 rtn 
+ 00009883  0x00002b85 fetch  0x00000001 , 0x00004839 
+ 00009884  0x00002b86 rtnbit0  0x00000004 
+ 00009885  0x00002b88 fetch  0x00000001 , 0x00004839 
+ 00009886  0x00002b89 set0  0x00000004 , 0x0000003f 
+ 00009887  0x00002b8a store  0x00000001 , 0x00004839 
+ 00009888  0x00002b8b call  0x00002696 
+ 00009889  0x00002b8c call  0x0000272b 
+ 00009890  0x00002b8d branch  0x00002281 
+ 00009891  0x00002b90 call  0x0000271b 
+ 00009892  0x00002b91 call  0x0000272b 
+ 00009893  0x00002b92 branch  0x00002281 
+ 00009894  0x00002ba5 fetch  0x00000002 , 0x000048a1 
+ 00009895  0x00002ba6 branch  0x00007e7a 
+ 00009896  0x00002ba9 fetch  0x00000001 , 0x000048ab 
+ 00009897  0x00002baa call  0x000026ae , 0x00000034 
+ 00009898  0x00002bab fetch  0x00000001 , 0x000048c1 
+ 00009899  0x00002bac rtneq  0x00000001 
+ 00009900  0x00002bad call  0x000026a6 
+ 00009901  0x00002bae branch  0x000026bc 
+ 00009902  0x00002bb1 jam  0x00000001 , 0x00004839 
+ 00009903  0x00002bb2 jam  0x00000001 , 0x000048ab 
+ 00009904  0x00002bb3 call  0x00002649 
+ 00009905  0x00002bb4 store  0x00000001 , 0x000047c9 
+ 00009906  0x00002bb5 setarg  0x00000000 
+ 00009907  0x00002bb6 store  0x00000007 , 0x000047ca 
+ 00009908  0x00002bb7 fetch  0x00000004 , 0x000048ad 
+ 00009909  0x00002bb8 store  0x00000004 , 0x000047d1 
+ 00009910  0x00002bb9 jam  0x0000000c , 0x00004838 
+ 00009911  0x00002bba fetch  0x00000001 , 0x00004839 
+ 00009912  0x00002bbb set1  0x00000003 , 0x0000003f 
+ 00009913  0x00002bbc store  0x00000001 , 0x00004839 
+ 00009914  0x00002bbd call  0x00002247 
+ 00009915  0x00002bbe branch  0x0000262b 
+ 00009916  0x00002bc1 call  0x000026c2 
+ 00009917  0x00002bc2 nrtn  0x00000028 
+ 00009918  0x00002bc3 fetch  0x00000008 , 0x0000485f 
+ 00009919  0x00002bc5 call  0x00007e1f 
+ 00009920  0x00002bc6 storet  0x00000004 , 0x00004160 
+ 00009921  0x00002bc7 branch  0x00001464 
+ 00009922  0x00002bca bpatchx  0x000000ec , 0x0000403d 
+ 00009923  0x00002bcb enable  0x00000028 
+ 00009924  0x00002bcc call  0x00001436 
+ 00009925  0x00002bcd fetch  0x00000003 , 0x00004174 
+ 00009926  0x00002bce branch  0x00007ec7 , 0x00000034 
+ 00009927  0x00002bcf fetch  0x00000001 , 0x00004099 
+ 00009928  0x00002bd0 branch  0x00007ec7 , 0x00000034 
+ 00009929  0x00002bd1 fetch  0x00000001 , 0x000048c1 
+ 00009930  0x00002bd2 beq  0x00000001 , 0x00007ec7 
+ 00009931  0x00002bd4 fetch  0x00000002 , 0x000048a3 
+ 00009932  0x00002bd5 branch  0x00007e7a 
+ 00009933  0x00002be3 call  0x000022a0 
+ 00009934  0x00002be4 nrtn  0x00000028 
+ 00009935  0x00002be5 call  0x000026e2 
+ 00009936  0x00002be6 fetch  0x00000002 , 0x000048c2 
+ 00009937  0x00002be7 increase  0x00000001 , 0x0000003f 
+ 00009938  0x00002be8 store  0x00000002 , 0x000048c2 
+ 00009939  0x00002be9 fetcht  0x00000002 , 0x000048c4 
+ 00009940  0x00002bea isub  0x00000002 , 0x0000003e 
+ 00009941  0x00002beb call  0x000026d7 , 0x00000005 
+ 00009942  0x00002bec branch  0x00002628 
+ 00009943  0x00002bf0 jam  0x00000000 , 0x000048c1 
+ 00009944  0x00002bf1 setarg  0x00000000 
+ 00009945  0x00002bf2 store  0x00000002 , 0x000048c2 
+ 00009946  0x00002bf3 setarg  0x00000064 
+ 00009947  0x00002bf4 store  0x00000002 , 0x000048c4 
+ 00009948  0x00002bf6 jam  0x00000000 , 0x000048c0 
+ 00009949  0x00002bf7 fetch  0x00000001 , 0x00004858 
+ 00009950  0x00002bf9 store  0x00000001 , 0x00004857 
+ 00009951  0x00002bfa rtn 
+ 00009952  0x00002bfc fetch  0x00000001 , 0x00004859 
+ 00009953  0x00002bfd branch  0x000026de 
+ 00009954  0x00002c00 fetch  0x00000001 , 0x000048c0 
+ 00009955  0x00002c01 increase  0x00000001 , 0x0000003f 
+ 00009956  0x00002c02 store  0x00000001 , 0x000048c0 
+ 00009957  0x00002c03 beq  0x00000004 , 0x000026e0 
+ 00009958  0x00002c04 beq  0x00000005 , 0x000026dc 
+ 00009959  0x00002c05 rtn 
+ 00009960  0x00002c08 jam  0x00000001 , 0x000048c1 
+ 00009961  0x00002c09 setarg  0x00000000 
+ 00009962  0x00002c0a store  0x00000002 , 0x000048c2 
+ 00009963  0x00002c0b rtn 
+ 00009964  0x00002c16 arg  0x00000002 , 0x00000039 
+ 00009965  0x00002c17 arg  0x0000483f , 0x00000006 
+ 00009966  0x00002c19 call  0x00007ec5 
+ 00009967  0x00002c1a setarg  0x0000ffff 
+ 00009968  0x00002c1c ifetcht  0x00000002 , 0x00000006 
+ 00009969  0x00002c1d isub  0x00000002 , 0x0000003e 
+ 00009970  0x00002c1e ncall  0x00007ec7 , 0x00000005 
+ 00009971  0x00002c1f loop  0x000026f0 
+ 00009972  0x00002c20 rtn 
+ 00009973  0x00002c2b bpatchx  0x000000ed , 0x0000403d 
+ 00009974  0x00002c2c fetch  0x00000002 , 0x0000478f 
+ 00009975  0x00002c2d rtnbit1  0x0000000b 
+ 00009976  0x00002c2e rtnbit1  0x00000007 
+ 00009977  0x00002c2f rtnbit1  0x00000006 
+ 00009978  0x00002c30 fetchr  0x00000011 , 0x00000002 , 0x0000489d 
+ 00009979  0x00002c31 call  0x000025d2 
+ 00009980  0x00002c32 storet  0x00000001 , 0x000048cb 
+ 00009981  0x00002c33 fetch  0x00000001 , 0x000048d0 
+ 00009982  0x00002c34 bmark1  0x00000026 , 0x00002700 
+ 00009983  0x00002c35 fetch  0x00000001 , 0x000048d3 
+ 00009984  0x00002c37 isub  0x00000002 , 0x0000003e 
+ 00009985  0x00002c38 nbranch  0x0000271a , 0x00000002 
+ 00009986  0x00002c39 fetch  0x00000001 , 0x000048cd 
+ 00009987  0x00002c3a sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00009988  0x00002c3b nbranch  0x00002708 , 0x00000002 
+ 00009989  0x00002c3c fetch  0x00000001 , 0x000048cd 
+ 00009990  0x00002c3d beq  0x00000000 , 0x0000271b 
+ 00009991  0x00002c3e rtn 
+ 00009992  0x00002c41 fetch  0x00000001 , 0x000048cd 
+ 00009993  0x00002c42 fetcht  0x00000001 , 0x000048ce 
+ 00009994  0x00002c43 isub  0x00000002 , 0x0000003e 
+ 00009995  0x00002c44 nrtn  0x00000005 
+ 00009996  0x00002c45 jam  0x00000000 , 0x000048cd 
+ 00009997  0x00002c47 fetcht  0x00000001 , 0x000048cb 
+ 00009998  0x00002c48 fetch  0x00000001 , 0x000048cf 
+ 00009999  0x00002c49 bmark1  0x00000026 , 0x00002711 
+ 00010000  0x00002c4a fetch  0x00000001 , 0x000048d2 
+ 00010001  0x00002c4c isub  0x00000002 , 0x0000003e 
+ 00010002  0x00002c4d nrtn  0x00000002 
+ 00010003  0x00002c4e fetch  0x00000001 , 0x000048cc 
+ 00010004  0x00002c4f beq  0x00000000 , 0x00002722 
+ 00010005  0x00002c50 increase  0xffffffff , 0x0000003f 
+ 00010006  0x00002c51 store  0x00000001 , 0x000048cc 
+ 00010007  0x00002c52 beq  0x00000000 , 0x00002722 
+ 00010008  0x00002c55 jam  0x00000000 , 0x000041e8 
+ 00010009  0x00002c56 rtn 
+ 00010010  0x00002c59 jam  0x00000000 , 0x000048cd 
+ 00010011  0x00002c5b fetch  0x00000001 , 0x000048cc 
+ 00010012  0x00002c5c beq  0x00000002 , 0x00002720 
+ 00010013  0x00002c5d increase  0x00000001 , 0x0000003f 
+ 00010014  0x00002c5e store  0x00000001 , 0x000048cc 
+ 00010015  0x00002c5f beq  0x00000001 , 0x00002718 
+ 00010016  0x00002c61 jam  0x00000006 , 0x000041e8 
+ 00010017  0x00002c62 rtn 
+ 00010018  0x00002c65 jam  0x00000085 , 0x000041e8 
+ 00010019  0x00002c66 rtn 
+ 00010020  0x00002c69 jam  0x00000001 , 0x000048cc 
+ 00010021  0x00002c6a jam  0x00000000 , 0x000048cd 
+ 00010022  0x00002c6b rtn 
+ 00010023  0x00002c6e fetch  0x00000001 , 0x000048cd 
+ 00010024  0x00002c6f increase  0x00000001 , 0x0000003f 
+ 00010025  0x00002c70 store  0x00000001 , 0x000048cd 
+ 00010026  0x00002c71 rtn 
+ 00010027  0x00002c74 fetch  0x00000001 , 0x000048cd 
+ 00010028  0x00002c75 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00010029  0x00002c76 ncall  0x00002733 , 0x00000002 
+ 00010030  0x00002c77 fetch  0x00000001 , 0x000048cd 
+ 00010031  0x00002c78 rtneq  0x00000000 
+ 00010032  0x00002c79 increase  0xffffffff , 0x0000003f 
+ 00010033  0x00002c7a store  0x00000001 , 0x000048cd 
+ 00010034  0x00002c7b rtn 
+ 00010035  0x00002c7e jam  0x00000003 , 0x000048cd 
+ 00010036  0x00002c7f rtn 
+ 00010037  0x00002c8a fetch  0x00000001 , 0x00000be0 
+ 00010038  0x00002c8b store  0x00000001 , 0x000009f6 
+ 00010039  0x00002c8c copy  0x00000030 , 0x00000006 
+ 00010040  0x00002c8d call  0x00007d7e 
+ 00010041  0x00002c8e call  0x0000278d 
+ 00010042  0x00002c8f fetch  0x00000002 , 0x000049ef 
+ 00010043  0x00002c90 branch  0x00007e7a 
+ 00010044  0x00002c93 fetch  0x00000001 , 0x000009f7 
+ 00010045  0x00002c94 beq  0x00000000 , 0x00002744 
+ 00010046  0x00002c95 beq  0x00000080 , 0x00002d95 
+ 00010047  0x00002c96 beq  0x00000082 , 0x00002e95 
+ 00010048  0x00002c97 beq  0x000000d1 , 0x00002791 
+ 00010049  0x00002c98 beq  0x000000d0 , 0x000027ab 
+ 00010050  0x00002c99 beq  0x000000d5 , 0x000027ab 
+ 00010051  0x00002c9a rtn 
+ 00010052  0x00002c9e arg  0x000009fb , 0x00000006 
+ 00010053  0x00002c9f arg  0x00004b19 , 0x00000005 
+ 00010054  0x00002ca0 call  0x00007d7f 
+ 00010055  0x00002ca1 jam  0x00000000 , 0x0000496b 
+ 00010056  0x00002ca2 call  0x00002b0e 
+ 00010057  0x00002ca3 call  0x00002b00 
+ 00010058  0x00002ca4 call  0x0000275f 
+ 00010059  0x00002ca5 call  0x00002750 
+ 00010060  0x00002ca6 call  0x00002755 
+ 00010061  0x00002ca7 jam  0x00000000 , 0x0000496b 
+ 00010062  0x00002ca8 fetch  0x00000002 , 0x000049f1 
+ 00010063  0x00002ca9 branch  0x00007e7a 
+ 00010064  0x00002cac fetch  0x00000001 , 0x00000c3a 
+ 00010065  0x00002cad jam  0x00000004 , 0x0000496b 
+ 00010066  0x00002cae rtneq  0x00000001 
+ 00010067  0x00002caf jam  0x00000000 , 0x0000496b 
+ 00010068  0x00002cb0 rtn 
+ 00010069  0x00002cb3 setarg  0x00000080 
+ 00010070  0x00002cb4 store  0x00000001 , 0x00000a10 
+ 00010071  0x00002cb5 setarg  0x00000003 
+ 00010072  0x00002cb6 istore  0x00000001 , 0x00000005 
+ 00010073  0x00002cb7 setarg  0x00000000 
+ 00010074  0x00002cb8 istore  0x00000001 , 0x00000005 
+ 00010075  0x00002cb9 fetch  0x00000003 , 0x000009f8 
+ 00010076  0x00002cba istore  0x00000003 , 0x00000005 
+ 00010077  0x00002cbb jam  0x00000006 , 0x00000a0f 
+ 00010078  0x00002cbc branch  0x0000305d 
+ 00010079  0x00002cc0 fetch  0x00000002 , 0x00004a15 
+ 00010080  0x00002cc1 rtnbit1  0x00000002 
+ 00010081  0x00002cc2 call  0x00002e14 
+ 00010082  0x00002cc4 add  0x00000011 , 0x00000006 , 0x00000013 
+ 00010083  0x00002cc5 setarg  0xffffffff 
+ 00010084  0x00002cc6 istore  0x00000008 , 0x00000013 
+ 00010085  0x00002cc7 istore  0x00000008 , 0x00000005 
+ 00010086  0x00002cc8 ifetch  0x00000002 , 0x00000011 
+ 00010087  0x00002cc9 istore  0x00000002 , 0x00000013 
+ 00010088  0x00002cca copy  0x00000012 , 0x0000003f 
+ 00010089  0x00002ccb iadd  0x00000011 , 0x00000011 
+ 00010090  0x00002ccc loop  0x00002762 
+ 00010091  0x00002ccd fetch  0x00000002 , 0x00004a11 
+ 00010092  0x00002cce branch  0x00007e7a 
+ 00010093  0x00002cd2 setarg  0x00000082 
+ 00010094  0x00002cd3 store  0x00000001 , 0x00000a10 
+ 00010095  0x00002cd4 setarg  0x00000004 
+ 00010096  0x00002cd5 istore  0x00000001 , 0x00000005 
+ 00010097  0x00002cd6 fetch  0x00000001 , 0x000009f9 
+ 00010098  0x00002cd7 istore  0x00000001 , 0x00000005 
+ 00010099  0x00002cd8 jam  0x00000003 , 0x00000a0f 
+ 00010100  0x00002cd9 branch  0x0000305d 
+ 00010101  0x00002cdd setarg  0x00000082 
+ 00010102  0x00002cde store  0x00000001 , 0x00000a10 
+ 00010103  0x00002cdf setarg  0x0000004e 
+ 00010104  0x00002ce0 istore  0x00000001 , 0x00000005 
+ 00010105  0x00002ce1 fetch  0x00000002 , 0x000009f9 
+ 00010106  0x00002ce2 istore  0x00000002 , 0x00000005 
+ 00010107  0x00002ce3 jam  0x00000004 , 0x00000a0f 
+ 00010108  0x00002ce4 branch  0x0000305d 
+ 00010109  0x00002ce8 setarg  0x00000082 
+ 00010110  0x00002ce9 store  0x00000001 , 0x00000a10 
+ 00010111  0x00002cea setarg  0x00000060 
+ 00010112  0x00002ceb istore  0x00000001 , 0x00000005 
+ 00010113  0x00002cec fetch  0x00000004 , 0x000009f9 
+ 00010114  0x00002ced istore  0x00000004 , 0x00000005 
+ 00010115  0x00002cee jam  0x00000006 , 0x00000a0f 
+ 00010116  0x00002cef branch  0x0000305d 
+ 00010117  0x00002cf4 setarg  0x0000005e 
+ 00010118  0x00002cf5 store  0x00000001 , 0x00000a10 
+ 00010119  0x00002cf6 setarg  0x00000000 
+ 00010120  0x00002cf7 istore  0x00000001 , 0x00000005 
+ 00010121  0x00002cf8 fetch  0x00000002 , 0x000009f9 
+ 00010122  0x00002cf9 istore  0x00000002 , 0x00000005 
+ 00010123  0x00002cfa jam  0x00000004 , 0x00000a0f 
+ 00010124  0x00002cfb branch  0x0000305d 
+ 00010125  0x00002d00 fetchr  0x00000039 , 0x00000001 , 0x00000be0 
+ 00010126  0x00002d01 copy  0x00000030 , 0x00000011 
+ 00010127  0x00002d02 arg  0x00000050 , 0x00000012 
+ 00010128  0x00002d03 branch  0x000029e6 
+ 00010129  0x00002d09 call  0x000027ac 
+ 00010130  0x00002d0a nrtn  0x00000028 
+ 00010131  0x00002d0b fetch  0x00000002 , 0x000009fb 
+ 00010132  0x00002d0c arg  0x0000f01f , 0x00000002 
+ 00010133  0x00002d0d isub  0x00000002 , 0x0000003e 
+ 00010134  0x00002d0e branch  0x000027c0 , 0x00000005 
+ 00010135  0x00002d0f arg  0x0000f010 , 0x00000002 
+ 00010136  0x00002d10 isub  0x00000002 , 0x0000003e 
+ 00010137  0x00002d11 branch  0x000027c4 , 0x00000005 
+ 00010138  0x00002d12 arg  0x0000f011 , 0x00000002 
+ 00010139  0x00002d13 isub  0x00000002 , 0x0000003e 
+ 00010140  0x00002d14 branch  0x000027cd , 0x00000005 
+ 00010141  0x00002d15 arg  0x0000f012 , 0x00000002 
+ 00010142  0x00002d16 isub  0x00000002 , 0x0000003e 
+ 00010143  0x00002d17 branch  0x000027d6 , 0x00000005 
+ 00010144  0x00002d18 arg  0x00000534 , 0x00000002 
+ 00010145  0x00002d19 isub  0x00000002 , 0x0000003e 
+ 00010146  0x00002d1a branch  0x000027b7 , 0x00000005 
+ 00010147  0x00002d1b arg  0x00000533 , 0x00000002 
+ 00010148  0x00002d1c isub  0x00000002 , 0x0000003e 
+ 00010149  0x00002d1d branch  0x000027ba , 0x00000005 
+ 00010150  0x00002d1e arg  0x00000123 , 0x00000002 
+ 00010151  0x00002d1f isub  0x00000002 , 0x0000003e 
+ 00010152  0x00002d20 branch  0x000027bd , 0x00000005 
+ 00010153  0x00002d21 fetch  0x00000002 , 0x000049f5 
+ 00010154  0x00002d22 branch  0x00007e7a 
+ 00010155  0x00002d26 rtn 
+ 00010156  0x00002d29 call  0x00007ec7 
+ 00010157  0x00002d2a fetch  0x00000002 , 0x000009f8 
+ 00010158  0x00002d2b arg  0x000001a8 , 0x00000002 
+ 00010159  0x00002d2c isub  0x00000002 , 0x0000003e 
+ 00010160  0x00002d2d nrtn  0x00000005 
+ 00010161  0x00002d2e fetcht  0x00000001 , 0x000047a7 
+ 00010162  0x00002d2f fetch  0x00000001 , 0x000009fa 
+ 00010163  0x00002d30 isub  0x00000002 , 0x0000003e 
+ 00010164  0x00002d31 rtn  0x00000005 
+ 00010165  0x00002d32 store  0x00000001 , 0x000047a7 
+ 00010166  0x00002d33 branch  0x00007ec5 
+ 00010167  0x00002d36 call  0x00002828 
+ 00010168  0x00002d37 fetch  0x00000002 , 0x00004a05 
+ 00010169  0x00002d38 branch  0x00007e7a 
+ 00010170  0x00002d3c call  0x00002828 
+ 00010171  0x00002d3d fetch  0x00000002 , 0x00004a07 
+ 00010172  0x00002d3e branch  0x00007e7a 
+ 00010173  0x00002d41 call  0x00002822 
+ 00010174  0x00002d42 fetch  0x00000002 , 0x00004a09 
+ 00010175  0x00002d43 branch  0x00007e7a 
+ 00010176  0x00002d47 call  0x00002824 
+ 00010177  0x00002d49 fetch  0x00000004 , 0x000009fd 
+ 00010178  0x00002d4a store  0x00000004 , 0x000047a9 
+ 00010179  0x00002d4b branch  0x00002859 
+ 00010180  0x00002d4f call  0x0000281e 
+ 00010181  0x00002d50 call  0x000027ef 
+ 00010182  0x00002d51 rtn  0x00000034 
+ 00010183  0x00002d52 fetch  0x00000001 , 0x000009fd 
+ 00010184  0x00002d53 call  0x000027eb 
+ 00010185  0x00002d54 fetcht  0x00000008 , 0x000009fd 
+ 00010186  0x00002d55 istoret  0x00000008 , 0x00000005 
+ 00010187  0x00002d57 fetch  0x00000002 , 0x00004a13 
+ 00010188  0x00002d58 branch  0x00007e7a 
+ 00010189  0x00002d5b call  0x00002820 
+ 00010190  0x00002d5c call  0x000027ef 
+ 00010191  0x00002d5d rtn  0x00000034 
+ 00010192  0x00002d5e jam  0x00000059 , 0x00000a04 
+ 00010193  0x00002d5f fetch  0x00000001 , 0x000009fd 
+ 00010194  0x00002d60 call  0x000027eb 
+ 00010195  0x00002d61 fetch  0x00000008 , 0x000009fd 
+ 00010196  0x00002d62 istore  0x00000008 , 0x00000005 
+ 00010197  0x00002d63 branch  0x000027cb 
+ 00010198  0x00002d67 call  0x000027e8 
+ 00010199  0x00002d68 call  0x000027ef 
+ 00010200  0x00002d69 rtn  0x00000034 
+ 00010201  0x00002d6a fetch  0x00000001 , 0x000009fd 
+ 00010202  0x00002d6b rtn  0x00000034 
+ 00010203  0x00002d6c call  0x000027eb 
+ 00010204  0x00002d6d arg  0x00000000 , 0x00000002 
+ 00010205  0x00002d6e istoret  0x00000001 , 0x00000005 
+ 00010206  0x00002d6f fetch  0x00000001 , 0x000009f6 
+ 00010207  0x00002d70 sub  0x0000003f , 0x00000008 , 0x0000003e 
+ 00010208  0x00002d71 call  0x000027e2 , 0x00000005 
+ 00010209  0x00002d72 branch  0x000027cb 
+ 00010210  0x00002d75 call  0x000027ef 
+ 00010211  0x00002d76 fetch  0x00000001 , 0x000009fe 
+ 00010212  0x00002d77 call  0x000027eb 
+ 00010213  0x00002d78 arg  0x00000000 , 0x00000002 
+ 00010214  0x00002d79 istoret  0x00000001 , 0x00000005 
+ 00010215  0x00002d7a rtn 
+ 00010216  0x00002d7e fetch  0x00000001 , 0x000009f6 
+ 00010217  0x00002d7f beq  0x00000007 , 0x00002828 
+ 00010218  0x00002d80 branch  0x00002826 
+ 00010219  0x00002d83 pincrease  0xffffffff 
+ 00010220  0x00002d84 lshift3  0x0000003f , 0x0000003f 
+ 00010221  0x00002d85 iadd  0x00000005 , 0x00000005 
+ 00010222  0x00002d86 rtn 
+ 00010223  0x00002d8a call  0x00002e14 
+ 00010224  0x00002d8b add  0x00000011 , 0x00000004 , 0x00000011 
+ 00010225  0x00002d8c fetch  0x00000001 , 0x00004a2d 
+ 00010226  0x00002d8d imul32  0x00000012 , 0x0000003f 
+ 00010227  0x00002d8e iadd  0x00000011 , 0x00000011 
+ 00010228  0x00002d8f ifetch  0x00000002 , 0x00000011 
+ 00010229  0x00002d90 copy  0x0000003f , 0x00000005 
+ 00010230  0x00002d91 rtn 
+ 00010231  0x00002d97 setarg  0x000000d3 
+ 00010232  0x00002d98 store  0x00000001 , 0x00000a10 
+ 00010233  0x00002d99 setarg  0x000001a8 
+ 00010234  0x00002d9a istore  0x00000002 , 0x00000005 
+ 00010235  0x00002d9b fetch  0x00000001 , 0x000047a7 
+ 00010236  0x00002d9c istore  0x00000001 , 0x00000005 
+ 00010237  0x00002d9d istoret  0x00000002 , 0x00000005 
+ 00010238  0x00002d9e rtn 
+ 00010239  0x00002da3 arg  0x00000000 , 0x00000007 
+ 00010240  0x00002da4 arg  0x00000003 , 0x00000002 
+ 00010241  0x00002da5 arg  0x0000f009 , 0x00000011 
+ 00010242  0x00002da6 branch  0x00002830 
+ 00010243  0x00002db2 arg  0x00000100 , 0x00000011 
+ 00010244  0x00002db3 branch  0x00002830 
+ 00010245  0x00002db8 arg  0x00000000 , 0x00000007 
+ 00010246  0x00002dbd arg  0x0000f004 , 0x00000011 
+ 00010247  0x00002dbe branch  0x00002835 
+ 00010248  0x00002dc2 arg  0x00000000 , 0x00000007 
+ 00010249  0x00002dc9 arg  0x00000534 , 0x00000011 
+ 00010250  0x00002dca branch  0x00002830 
+ 00010251  0x00002dcd arg  0x00000000 , 0x00000007 
+ 00010252  0x00002dd4 arg  0x00000533 , 0x00000011 
+ 00010253  0x00002dd5 branch  0x00002830 
+ 00010254  0x00002dd8 arg  0x00000000 , 0x00000007 
+ 00010255  0x00002ddc call  0x00002ecb 
+ 00010256  0x00002ddd arg  0x00000121 , 0x00000011 
+ 00010257  0x00002dde branch  0x00002835 
+ 00010258  0x00002de1 arg  0x00000000 , 0x00000007 
+ 00010259  0x00002de5 call  0x00002ed9 
+ 00010260  0x00002de6 arg  0x00000122 , 0x00000011 
+ 00010261  0x00002de7 branch  0x00002835 
+ 00010262  0x00002dec lshift  0x00000002 , 0x00000002 
+ 00010263  0x00002ded or  0x00000002 , 0x00000011 , 0x00000002 
+ 00010264  0x00002dee arg  0x0000f009 , 0x00000011 
+ 00010265  0x00002def branch  0x00002835 
+ 00010266  0x00002df3 call  0x0000283c 
+ 00010267  0x00002df4 setarg  0x0000f009 
+ 00010268  0x00002df5 istore  0x00000002 , 0x00000005 
+ 00010269  0x00002df6 rtn 
+ 00010270  0x00002df9 arg  0x00000008 , 0x00000039 
+ 00010271  0x00002dfa branch  0x0000282a 
+ 00010272  0x00002dfd arg  0x00000008 , 0x00000039 
+ 00010273  0x00002dfe branch  0x0000282a 
+ 00010274  0x00002e01 arg  0x00000006 , 0x00000039 
+ 00010275  0x00002e02 branch  0x0000282a 
+ 00010276  0x00002e05 arg  0x00000004 , 0x00000039 
+ 00010277  0x00002e06 branch  0x0000282a 
+ 00010278  0x00002e09 arg  0x00000002 , 0x00000039 
+ 00010279  0x00002e0a branch  0x0000282a 
+ 00010280  0x00002e0d arg  0x00000001 , 0x00000039 
+ 00010281  0x00002e0e branch  0x0000282a 
+ 00010282  0x00002e12 add  0x00000039 , 0x00000006 , 0x0000003f 
+ 00010283  0x00002e13 store  0x00000001 , 0x00000a0f 
+ 00010284  0x00002e14 call  0x000027f7 
+ 00010285  0x00002e15 arg  0x000009fd , 0x00000006 
+ 00010286  0x00002e16 call  0x00007dd4 
+ 00010287  0x00002e17 branch  0x0000305d 
+ 00010288  0x00002e1f call  0x0000283c 
+ 00010289  0x00002e20 istorer  0x00000011 , 0x00000002 , 0x00000005 
+ 00010290  0x00002e21 istoret  0x00000001 , 0x00000005 
+ 00010291  0x00002e22 jam  0x00000007 , 0x00000a0f 
+ 00010292  0x00002e23 branch  0x0000283a 
+ 00010293  0x00002e2a call  0x0000283c 
+ 00010294  0x00002e2b istorer  0x00000011 , 0x00000002 , 0x00000005 
+ 00010295  0x00002e2c istoret  0x00000002 , 0x00000005 
+ 00010296  0x00002e2d jam  0x00000008 , 0x00000a0f 
+ 00010297  0x00002e2e branch  0x0000283a 
+ 00010298  0x00002e33 call  0x00002f2f 
+ 00010299  0x00002e34 branch  0x0000305d 
+ 00010300  0x00002e38 fetch  0x00000001 , 0x00004935 
+ 00010301  0x00002e39 store  0x00000001 , 0x00000c14 
+ 00010302  0x00002e3a setarg  0x000000f0 
+ 00010303  0x00002e3b store  0x00000002 , 0x00000c35 
+ 00010304  0x00002e3c fetch  0x00000001 , 0x000047a8 
+ 00010305  0x00002e3d pincrease  0x00000001 
+ 00010306  0x00002e3e store  0x00000001 , 0x000047a8 
+ 00010307  0x00002e3f beq  0x000000c0 , 0x0000284b 
+ 00010308  0x00002e40 setarg  0x000000d4 
+ 00010309  0x00002e41 store  0x00000001 , 0x00000a10 
+ 00010310  0x00002e42 setarg  0x000001a8 
+ 00010311  0x00002e43 istore  0x00000002 , 0x00000005 
+ 00010312  0x00002e44 fetch  0x00000001 , 0x000047a8 
+ 00010313  0x00002e45 istore  0x00000001 , 0x00000005 
+ 00010314  0x00002e46 rtn 
+ 00010315  0x00002e49 jam  0x00000080 , 0x000047a8 
+ 00010316  0x00002e4a rtn 
+ 00010317  0x00002e4d copy  0x00000022 , 0x00000002 
+ 00010318  0x00002e4e fetch  0x00000004 , 0x000047ad 
+ 00010319  0x00002e4f isub  0x00000002 , 0x0000003e 
+ 00010320  0x00002e50 call  0x0000285f , 0x00000002 
+ 00010321  0x00002e51 call  0x00002866 
+ 00010322  0x00002e52 isub  0x00000002 , 0x0000003e 
+ 00010323  0x00002e53 rtn  0x00000002 
+ 00010324  0x00002e54 call  0x0000285a 
+ 00010325  0x00002e55 fetch  0x00000004 , 0x000047a9 
+ 00010326  0x00002e56 pincrease  0x00000001 
+ 00010327  0x00002e57 store  0x00000004 , 0x000047a9 
+ 00010328  0x00002e58 branch  0x0000286a 
+ 00010329  0x00002e5c copy  0x00000022 , 0x0000003f 
+ 00010330  0x00002e5e store  0x00000004 , 0x000047ad 
+ 00010331  0x00002e5f fetch  0x00000001 , 0x000047b0 
+ 00010332  0x00002e60 and_into  0x0000000f , 0x0000003f 
+ 00010333  0x00002e61 store  0x00000001 , 0x000047b0 
+ 00010334  0x00002e62 rtn 
+ 00010335  0x00002e65 rtn  0x00000005 
+ 00010336  0x00002e66 copy  0x0000003f , 0x00000012 
+ 00010337  0x00002e67 setarg  0x00100000 
+ 00010338  0x00002e68 lshift8  0x0000003f , 0x0000003f 
+ 00010339  0x00002e69 iadd  0x00000002 , 0x00000002 
+ 00010340  0x00002e6a copy  0x00000012 , 0x0000003f 
+ 00010341  0x00002e6b rtn 
+ 00010342  0x00002e6e arg  0x00000014 , 0x00000039 
+ 00010343  0x00002e70 pincrease  0x000000a0 
+ 00010344  0x00002e71 loop  0x00002867 
+ 00010345  0x00002e72 rtn 
+ 00010346  0x00002e75 call  0x00002e14 
+ 00010347  0x00002e76 add  0x00000011 , 0x00000004 , 0x00000011 
+ 00010348  0x00002e77 jam  0x00000000 , 0x00004a2d 
+ 00010349  0x00002e7a call  0x00002f25 
+ 00010350  0x00002e7b ifetch  0x00000002 , 0x00000011 
+ 00010351  0x00002e7c branch  0x00002872 , 0x00000034 
+ 00010352  0x00002e7d copy  0x0000003f , 0x00000030 
+ 00010353  0x00002e7e call  0x0000287c 
+ 00010354  0x00002e80 call  0x00002f2a 
+ 00010355  0x00002e81 fetch  0x00000001 , 0x00004a2d 
+ 00010356  0x00002e82 pincrease  0x00000001 
+ 00010357  0x00002e83 store  0x00000001 , 0x00004a2d 
+ 00010358  0x00002e84 fetcht  0x00000001 , 0x00004a17 
+ 00010359  0x00002e85 isub  0x00000002 , 0x0000003f 
+ 00010360  0x00002e86 rtn  0x00000005 
+ 00010361  0x00002e87 copy  0x00000012 , 0x0000003f 
+ 00010362  0x00002e88 iadd  0x00000011 , 0x00000011 
+ 00010363  0x00002e89 branch  0x0000286d 
+ 00010364  0x00002e8c arg  0x00000028 , 0x00000039 
+ 00010365  0x00002e91 copy  0x00000039 , 0x0000003f 
+ 00010366  0x00002e92 store  0x00000001 , 0x00000c00 
+ 00010367  0x00002e93 ifetch  0x00000001 , 0x00000030 
+ 00010368  0x00002e94 ncall  0x00002886 , 0x00000034 
+ 00010369  0x00002e95 increase  0x00000008 , 0x00000030 
+ 00010370  0x00002e96 fetch  0x00000001 , 0x00000c00 
+ 00010371  0x00002e97 copy  0x0000003f , 0x00000039 
+ 00010372  0x00002e98 loop  0x0000287d 
+ 00010373  0x00002e99 rtn 
+ 00010374  0x00002e9c ifetcht  0x00000008 , 0x00000030 
+ 00010375  0x00002e9d storet  0x00000008 , 0x000009fd 
+ 00010376  0x00002e9e fetch  0x00000001 , 0x00000a04 
+ 00010377  0x00002e9f beq  0x00000059 , 0x000028a0 
+ 00010378  0x00002ea0 fetcht  0x00000004 , 0x000047a9 
+ 00010379  0x00002ea1 fetch  0x00000004 , 0x000009fe 
+ 00010380  0x00002ea2 isub  0x00000002 , 0x0000003e 
+ 00010381  0x00002ea3 fetch  0x00000001 , 0x00000a04 
+ 00010382  0x00002ea4 branch  0x00002890 , 0x00000005 
+ 00010383  0x00002ea5 rtn 
+ 00010384  0x00002ea8 store  0x00000001 , 0x000009f9 
+ 00010385  0x00002eaa fetch  0x00000002 , 0x000049fb 
+ 00010386  0x00002eab call  0x00007e7a 
+ 00010387  0x00002ead copy  0x00000030 , 0x0000003f 
+ 00010388  0x00002eae store  0x00000002 , 0x00000c08 
+ 00010389  0x00002eb0 fetchr  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00010390  0x00002eb1 ifetcht  0x00000001 , 0x00000030 
+ 00010391  0x00002eb2 call  0x00002816 
+ 00010392  0x00002eb4 fetcht  0x00000001 , 0x000009f9 
+ 00010393  0x00002eb5 fetchr  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00010394  0x00002eb6 call  0x00002803 
+ 00010395  0x00002eb8 fetch  0x00000002 , 0x00000c08 
+ 00010396  0x00002eb9 copy  0x0000003f , 0x00000030 
+ 00010397  0x00002eba setarg  0x00000000 
+ 00010398  0x00002ebb istore  0x00000001 , 0x00000030 
+ 00010399  0x00002ebc branch  0x000027cb 
+ 00010400  0x00002ec0 fetch  0x00000004 , 0x000047a9 
+ 00010401  0x00002ec1 arg  0x0000003c , 0x00000002 
+ 00010402  0x00002ec2 idiv  0x00000002 
+ 00010403  0x00002ec3 call  0x00007e64 
+ 00010404  0x00002ec4 remainder  0x0000003f 
+ 00010405  0x00002ec5 nrtn  0x00000034 
+ 00010406  0x00002ec7 fetch  0x00000004 , 0x000047a9 
+ 00010407  0x00002ec8 arg  0x00054600 , 0x00000002 
+ 00010408  0x00002ec9 isub  0x00000002 , 0x0000003f 
+ 00010409  0x00002ecb arg  0x00093a80 , 0x00000002 
+ 00010410  0x00002ecc idiv  0x00000002 
+ 00010411  0x00002ecd call  0x00007e64 
+ 00010412  0x00002ece remainder  0x0000003f 
+ 00010413  0x00002ecf arg  0x00015180 , 0x00000002 
+ 00010414  0x00002ed0 idiv  0x00000002 
+ 00010415  0x00002ed1 call  0x00007e64 
+ 00010416  0x00002ed2 remainder  0x00000011 
+ 00010417  0x00002ed3 quotient  0x00000007 
+ 00010418  0x00002ed5 setarg  0x00000000 
+ 00010419  0x00002ed6 qset1  0x0000003f 
+ 00010420  0x00002ed7 fetcht  0x00000001 , 0x00000a00 
+ 00010421  0x00002ed8 iand  0x00000002 , 0x0000003f 
+ 00010422  0x00002ed9 rtn  0x00000034 
+ 00010423  0x00002eda deposit  0x00000011 
+ 00010424  0x00002edb arg  0x0000003c , 0x00000002 
+ 00010425  0x00002edc idiv  0x00000002 
+ 00010426  0x00002edd call  0x00007e64 
+ 00010427  0x00002ede quotient  0x00000002 
+ 00010428  0x00002edf setarg  0x000001e0 
+ 00010429  0x00002ee0 iadd  0x00000002 , 0x00000002 
+ 00010430  0x00002ee1 fetch  0x00000002 , 0x000009fe 
+ 00010431  0x00002ee2 isub  0x00000002 , 0x0000003e 
+ 00010432  0x00002ee3 nrtn  0x00000005 
+ 00010433  0x00002ee4 fetch  0x00000001 , 0x00000a03 
+ 00010434  0x00002ee5 branch  0x00002890 
+ 00010435  0x00002eeb bpatchx  0x000000ee , 0x0000403d 
+ 00010436  0x00002eec jam  0x00000014 , 0x00000a74 
+ 00010437  0x00002eed fetch  0x00000001 , 0x0000498f 
+ 00010438  0x00002eee store  0x00000001 , 0x00000a75 
+ 00010439  0x00002ef0 fetch  0x00000001 , 0x00000bff 
+ 00010440  0x00002ef1 pincrease  0x0000000b 
+ 00010441  0x00002ef2 add  0x0000003f , 0xfffffffe , 0x00000039 
+ 00010442  0x00002efb store  0x00000001 , 0x00000a76 
+ 00010443  0x00002efc pincrease  0xffffffff 
+ 00010444  0x00002eff istore  0x00000001 , 0x00000005 
+ 00010445  0x00002f00 setarg  0x0000002a 
+ 00010446  0x00002f01 istore  0x00000001 , 0x00000005 
+ 00010447  0x00002f02 arg  0x00004b58 , 0x00000006 
+ 00010448  0x00002f03 call  0x00007dc7 
+ 00010449  0x00002f04 fetch  0x00000002 , 0x0000478f 
+ 00010450  0x00002f05 isolate1  0x00000009 , 0x0000003f 
+ 00010451  0x00002f06 call  0x00003017 , 0x00000001 
+ 00010452  0x00002f07 fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010453  0x00002f08 call  0x000028d7 
+ 00010454  0x00002f09 branch  0x000079aa 
+ 00010455  0x00002f0c add  0x00000011 , 0x00000002 , 0x00000006 
+ 00010456  0x00002f0d ifetch  0x00000002 , 0x00000006 
+ 00010457  0x00002f0e store  0x00000002 , 0x0000448c 
+ 00010458  0x00002f0f arg  0x00000a74 , 0x00000011 
+ 00010459  0x00002f10 rtn 
+ 00010460  0x00002f13 arg  0x000028de , 0x00000013 
+ 00010461  0x00002f14 branch  0x00002e1f 
+ 00010462  0x00002f17 add  0x00000011 , 0x00000016 , 0x00000006 
+ 00010463  0x00002f18 ifetch  0x00000001 , 0x00000006 
+ 00010464  0x00002f19 rtnne  0x00000001 
+ 00010465  0x00002f1a setarg  0x00000002 
+ 00010466  0x00002f1b add  0x00000011 , 0x00000016 , 0x00000005 
+ 00010467  0x00002f1c istore  0x00000001 , 0x00000005 
+ 00010468  0x00002f1d branch  0x00002a1a 
+ 00010469  0x00002f21 call  0x000028f3 
+ 00010470  0x00002f22 add  0x00000002 , 0x0000000d , 0x0000003f 
+ 00010471  0x00002f23 store  0x00000001 , 0x000047b1 
+ 00010472  0x00002f24 call  0x0000290a 
+ 00010473  0x00002f25 add  0x00000002 , 0x00000009 , 0x0000003f 
+ 00010474  0x00002f26 istore  0x00000001 , 0x00000005 
+ 00010475  0x00002f27 setarg  0x000000ff 
+ 00010476  0x00002f28 istore  0x00000001 , 0x00000005 
+ 00010477  0x00002f29 fetch  0x00000008 , 0x00000bec 
+ 00010478  0x00002f2a istore  0x00000008 , 0x00000005 
+ 00010479  0x00002f2b copy  0x00000011 , 0x00000006 
+ 00010480  0x00002f2c copy  0x00000002 , 0x00000039 
+ 00010481  0x00002f2d call  0x00007dd4 
+ 00010482  0x00002f2e branch  0x00002951 
+ 00010483  0x00002f31 setarg  0x000ea801 
+ 00010484  0x00002f32 store  0x00000003 , 0x00000bec 
+ 00010485  0x00002f33 setarg  0x00000007 
+ 00010486  0x00002f34 store  0x00000001 , 0x00000bef 
+ 00010487  0x00002f35 fetch  0x00000001 , 0x000048d4 
+ 00010488  0x00002f36 store  0x00000001 , 0x00000bf0 
+ 00010489  0x00002f37 fetch  0x00000001 , 0x00000a75 
+ 00010490  0x00002f38 store  0x00000001 , 0x00000bf1 
+ 00010491  0x00002f3a fetch  0x00000001 , 0x00000a74 
+ 00010492  0x00002f3b isolate1  0x00000007 , 0x0000003f 
+ 00010493  0x00002f3c call  0x00002901 
+ 00010494  0x00002f3d store  0x00000001 , 0x00000bf2 
+ 00010495  0x00002f3e storet  0x00000001 , 0x00000bf3 
+ 00010496  0x00002f3f rtn 
+ 00010497  0x00002f43 arg  0x00000a79 , 0x00000011 
+ 00010498  0x00002f44 arg  0x00000012 , 0x00000002 
+ 00010499  0x00002f45 setarg  0x00000021 
+ 00010500  0x00002f46 nrtn  0x00000001 
+ 00010501  0x00002f47 arg  0x00000a8b , 0x00000011 
+ 00010502  0x00002f48 fetcht  0x00000001 , 0x00000a76 
+ 00010503  0x00002f49 increase  0xffffffee , 0x00000002 
+ 00010504  0x00002f4a setarg  0x00000022 
+ 00010505  0x00002f4b rtn 
+ 00010506  0x00002f54 arg  0x000047b2 , 0x00000005 
+ 00010507  0x00002f55 setarg  0x00000002 
+ 00010508  0x00002f56 istore  0x00000001 , 0x00000005 
+ 00010509  0x00002f57 setarg  0x00000001 
+ 00010510  0x00002f58 istore  0x00000001 , 0x00000005 
+ 00010511  0x00002f59 setarg  0x00000002 
+ 00010512  0x00002f5a istore  0x00000001 , 0x00000005 
+ 00010513  0x00002f5b rtn 
+ 00010514  0x00002f60 arg  0x00001827 , 0x00000002 
+ 00010515  0x00002f61 setarg  0x00000003 
+ 00010516  0x00002f62 istore  0x00000001 , 0x00000005 
+ 00010517  0x00002f63 setarg  0x00000003 
+ 00010518  0x00002f64 istore  0x00000001 , 0x00000005 
+ 00010519  0x00002f65 istoret  0x00000002 , 0x00000005 
+ 00010520  0x00002f66 rtn 
+ 00010521  0x00002f69 branch  0x0000291a 
+ 00010522  0x00002f6c call  0x00001651 
+ 00010523  0x00002f6d call  0x00001be4 
+ 00010524  0x00002f6e call  0x00002924 
+ 00010525  0x00002f6f nrtn  0x0000002d 
+ 00010526  0x00002f70 fetch  0x00000001 , 0x00000002 
+ 00010527  0x00002f71 pincrease  0x00000001 
+ 00010528  0x00002f72 store  0x00000001 , 0x00000002 
+ 00010529  0x00002f73 fetch  0x00000002 , 0x000049ed 
+ 00010530  0x00002f74 call  0x00007e7a 
+ 00010531  0x00002f75 branch  0x0000165e 
+ 00010532  0x00002f78 fetch  0x00000002 , 0x000049f7 
+ 00010533  0x00002f79 branch  0x00007e7a 
+ 00010534  0x00002f7c call  0x00002928 
+ 00010535  0x00002f7d branch  0x000016f6 
+ 00010536  0x00002f80 fetch  0x00000001 , 0x000047d1 
+ 00010537  0x00002f81 pincrease  0x00000001 
+ 00010538  0x00002f82 store  0x00000001 , 0x000047d1 
+ 00010539  0x00002f83 store  0x00000001 , 0x00000016 
+ 00010540  0x00002f84 rtnne  0x00000028 
+ 00010541  0x00002f85 jam  0x00000025 , 0x000047d1 
+ 00010542  0x00002f86 jam  0x00000025 , 0x00000016 
+ 00010543  0x00002f87 rtn 
+ 00010544  0x00002f8b fetch  0x00000001 , 0x0000016b 
+ 00010545  0x00002f8c and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00010546  0x00002f8d beq  0x00000000 , 0x00002935 
+ 00010547  0x00002f8e beq  0x00000002 , 0x00002935 
+ 00010548  0x00002f8f rtn 
+ 00010549  0x00002f92 ifetcht  0x00000001 , 0x00000006 
+ 00010550  0x00002f93 sub  0x00000002 , 0x00000006 , 0x0000003e 
+ 00010551  0x00002f94 rtn  0x00000002 
+ 00010552  0x00002f95 sub  0x00000002 , 0x00000025 , 0x0000003e 
+ 00010553  0x00002f96 nrtn  0x00000002 
+ 00010554  0x00002f97 add  0x00000002 , 0xfffffffa , 0x00000011 
+ 00010555  0x00002f98 add  0x00000006 , 0x00000006 , 0x00000012 
+ 00010556  0x00002f9b ifetcht  0x00000001 , 0x00000012 
+ 00010557  0x00002f9c sub  0x00000002 , 0x00000001 , 0x0000003e 
+ 00010558  0x00002f9d rtn  0x00000002 
+ 00010559  0x00002f9e sub  0x00000002 , 0x0000001e , 0x0000003e 
+ 00010560  0x00002f9f nrtn  0x00000002 
+ 00010561  0x00002fa0 copy  0x00000002 , 0x0000003f 
+ 00010562  0x00002fa1 rtn  0x00000034 
+ 00010563  0x00002fa2 bpatchx  0x000000ef , 0x0000403d 
+ 00010564  0x00002fa3 ifetch  0x00000001 , 0x00000006 
+ 00010565  0x00002fa4 beq  0x000000ff , 0x00002c6a 
+ 00010566  0x00002fa5 beq  0x0000002a , 0x00002f3d 
+ 00010567  0x00002fa6 beq  0x00000007 , 0x00002ce2 
+ 00010568  0x00002fa8 add  0x00000002 , 0x00000001 , 0x0000003f 
+ 00010569  0x00002fa9 isub  0x00000011 , 0x0000003e 
+ 00010570  0x00002faa rtn  0x00000002 
+ 00010571  0x00002fab iadd  0x00000012 , 0x00000012 
+ 00010572  0x00002fac sub  0x00000002 , 0xffffffff , 0x0000003f 
+ 00010573  0x00002fad iadd  0x00000011 , 0x00000011 
+ 00010574  0x00002fae copy  0x00000011 , 0x0000003f 
+ 00010575  0x00002faf rtn  0x00000034 
+ 00010576  0x00002fb0 branch  0x0000293c 
+ 00010577  0x00002fb4 fetch  0x00000001 , 0x00000000 
+ 00010578  0x00002fb5 pincrease  0x00000001 
+ 00010579  0x00002fb6 store  0x00000001 , 0x00000000 
+ 00010580  0x00002fb7 bpatchx  0x000000f0 , 0x0000403e 
+ 00010581  0x00002fb8 call  0x00001651 
+ 00010582  0x00002fb9 arg  0x00000027 , 0x00000039 
+ 00010583  0x00002fba arg  0x000041f5 , 0x00000006 
+ 00010584  0x00002fbb arg  0x00000a97 , 0x00000005 
+ 00010585  0x00002fbc call  0x00007dc7 
+ 00010586  0x00002fbd jam  0x00000025 , 0x00000016 
+ 00010587  0x00002fbe arg  0x00000708 , 0x0000001b 
+ 00010588  0x00002fbf disable  0x0000002d 
+ 00010589  0x00002fc2 call  0x00001be4 
+ 00010590  0x00002fc3 call  0x0000296d 
+ 00010591  0x00002fc4 random  0x0000003f 
+ 00010592  0x00002fc5 arg  0x000001ff , 0x00000002 
+ 00010593  0x00002fc6 iand  0x00000002 , 0x0000003f 
+ 00010594  0x00002fc7 add  0x0000003f , 0x00000064 , 0x0000003f 
+ 00010595  0x00002fc8 call  0x00007d81 
+ 00010596  0x00002fc9 fetch  0x00000001 , 0x00000016 
+ 00010597  0x00002fca pincrease  0x00000001 
+ 00010598  0x00002fcb store  0x00000001 , 0x00000016 
+ 00010599  0x00002fcc bne  0x00000028 , 0x0000295d 
+ 00010600  0x00002fce arg  0x00000027 , 0x00000039 
+ 00010601  0x00002fcf arg  0x000041f5 , 0x00000005 
+ 00010602  0x00002fd0 arg  0x00000a97 , 0x00000006 
+ 00010603  0x00002fd1 call  0x00007dc7 
+ 00010604  0x00002fd2 branch  0x0000165e 
+ 00010605  0x00002fd5 arg  0x00000002 , 0x00000002 
+ 00010606  0x00002fd6 storet  0x00000001 , 0x000041f5 
+ 00010607  0x00002fd7 fetcht  0x00000001 , 0x000047b1 
+ 00010608  0x00002fd8 add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00010609  0x00002fd9 store  0x00000001 , 0x000041f6 
+ 00010610  0x00002fda fetch  0x00000006 , 0x0000437a 
+ 00010611  0x00002fdb store  0x00000006 , 0x000041f7 
+ 00010612  0x00002fdc copy  0x00000002 , 0x00000039 
+ 00010613  0x00002fdd arg  0x000047b2 , 0x00000006 
+ 00010614  0x00002fde call  0x00007dc7 
+ 00010615  0x00002fdf branch  0x000017e2 
+ 00010616  0x00002fea bpatchx  0x000000f1 , 0x0000403e 
+ 00010617  0x00002feb fetcht  0x00000002 , 0x00000be1 
+ 00010618  0x00002fec fetch  0x00000001 , 0x00000be0 
+ 00010619  0x00002fed copy  0x00000002 , 0x00000006 
+ 00010620  0x00002fee arg  0x000048f5 , 0x00000011 
+ 00010621  0x00002fef arg  0x00004905 , 0x00000030 
+ 00010622  0x00002ff0 call  0x00002bb1 
+ 00010623  0x00002ff1 call  0x00007ec7 
+ 00010624  0x00002ff2 copy  0x00000013 , 0x0000003f 
+ 00010625  0x00002ff3 iadd  0x00000030 , 0x00000006 
+ 00010626  0x00002ff4 fetcht  0x00000004 , 0x00004905 
+ 00010627  0x00002ff5 fetch  0x00000002 , 0x00000bfd 
+ 00010628  0x00002ff6 copy  0x0000003f , 0x00000011 
+ 00010629  0x00002ff8 arg  0x0000000a , 0x00000039 
+ 00010630  0x00002ffa ifetch  0x00000004 , 0x00000011 
+ 00010631  0x00002ffb branch  0x00002993 , 0x00000034 
+ 00010632  0x00002ffc isub  0x00000002 , 0x0000003e 
+ 00010633  0x00002ffd rtn  0x00000005 
+ 00010634  0x00002ffe increase  0x00000004 , 0x00000011 
+ 00010635  0x00002fff loop  0x00002986 
+ 00010636  0x00003000 fetch  0x00000002 , 0x00000bfd 
+ 00010637  0x00003001 copy  0x0000003f , 0x00000005 
+ 00010638  0x00003002 add  0x0000003f , 0x00000004 , 0x00000006 
+ 00010639  0x00003005 arg  0x00000024 , 0x00000039 
+ 00010640  0x00003006 call  0x00007dc7 
+ 00010641  0x00003007 istoret  0x00000004 , 0x00000005 
+ 00010642  0x00003008 branch  0x00007ec5 
+ 00010643  0x0000300a istoret  0x00000004 , 0x00000011 
+ 00010644  0x0000300b branch  0x00007ec5 
+ 00010645  0x0000300e call  0x0000299c 
+ 00010646  0x0000300f call  0x000029a0 
+ 00010647  0x00003010 call  0x000029a7 
+ 00010648  0x00003011 call  0x000029ab 
+ 00010649  0x00003012 call  0x000029af 
+ 00010650  0x00003013 call  0x000029b0 
+ 00010651  0x00003014 branch  0x000029b4 
+ 00010652  0x00003017 arg  0x0000001a , 0x00000002 
+ 00010653  0x00003018 arg  0x000049d3 , 0x00000011 
+ 00010654  0x00003019 arg  0x00000000 , 0x00000012 
+ 00010655  0x0000301a branch  0x00005e79 
+ 00010656  0x0000301d arg  0x00000013 , 0x00000002 
+ 00010657  0x0000301e arg  0x00004976 , 0x00000011 
+ 00010658  0x0000301f arg  0x0000001a , 0x00000012 
+ 00010659  0x00003020 call  0x00005e79 
+ 00010660  0x00003021 fetch  0x00000001 , 0x00004986 
+ 00010661  0x00003022 store  0x00000001 , 0x00004a31 
+ 00010662  0x00003023 rtn 
+ 00010663  0x00003026 arg  0x00000010 , 0x00000002 
+ 00010664  0x00003027 arg  0x00004b19 , 0x00000011 
+ 00010665  0x00003028 arg  0x0000002d , 0x00000012 
+ 00010666  0x00003029 branch  0x00005e79 
+ 00010667  0x0000302c arg  0x00000010 , 0x00000002 
+ 00010668  0x0000302d arg  0x00004827 , 0x00000011 
+ 00010669  0x0000302e arg  0x0000003d , 0x00000012 
+ 00010670  0x0000302f branch  0x00005e79 
+ 00010671  0x00003032 rtn 
+ 00010672  0x00003035 arg  0x00000003 , 0x00000002 
+ 00010673  0x00003036 arg  0x00004b52 , 0x00000011 
+ 00010674  0x00003037 arg  0x0000004e , 0x00000012 
+ 00010675  0x00003038 branch  0x00005e79 
+ 00010676  0x0000303b fetch  0x00000002 , 0x00004a15 
+ 00010677  0x0000303c rtnbit1  0x00000002 
+ 00010678  0x0000303d arg  0x00000040 , 0x00000002 
+ 00010679  0x0000303e arg  0x0000098e , 0x00000011 
+ 00010680  0x0000303f arg  0x00000051 , 0x00000012 
+ 00010681  0x00003040 call  0x00005e79 
+ 00010682  0x00003041 call  0x00002e14 
+ 00010683  0x00003042 arg  0x0000098e , 0x00000006 
+ 00010684  0x00003043 add  0x00000011 , 0x00000006 , 0x00000011 
+ 00010685  0x00003045 copy  0x00000011 , 0x00000005 
+ 00010686  0x00003046 call  0x00007d7f 
+ 00010687  0x00003047 copy  0x00000012 , 0x0000003f 
+ 00010688  0x00003048 iadd  0x00000011 , 0x00000011 
+ 00010689  0x00003049 loop  0x000029bd 
+ 00010690  0x0000304a rtn 
+ 00010691  0x0000304d call  0x000029c6 
+ 00010692  0x0000304e call  0x000029ca 
+ 00010693  0x0000304f branch  0x000029ce 
+ 00010694  0x00003052 arg  0x00000013 , 0x00000002 
+ 00010695  0x00003053 arg  0x00004976 , 0x00000011 
+ 00010696  0x00003054 arg  0x0000001a , 0x00000012 
+ 00010697  0x00003055 branch  0x00005e6b 
+ 00010698  0x00003058 arg  0x00000010 , 0x00000002 
+ 00010699  0x00003059 arg  0x00004b19 , 0x00000011 
+ 00010700  0x0000305a arg  0x0000002d , 0x00000012 
+ 00010701  0x0000305b branch  0x00005e6b 
+ 00010702  0x0000305e arg  0x00000010 , 0x00000002 
+ 00010703  0x0000305f arg  0x00004827 , 0x00000011 
+ 00010704  0x00003060 arg  0x0000003d , 0x00000012 
+ 00010705  0x00003061 branch  0x00005e6b 
+ 00010706  0x00003065 arg  0x00000003 , 0x00000002 
+ 00010707  0x00003066 arg  0x00004b52 , 0x00000011 
+ 00010708  0x00003067 arg  0x0000004e , 0x00000012 
+ 00010709  0x00003068 branch  0x00005e6b 
+ 00010710  0x0000306b call  0x000029db 
+ 00010711  0x0000306c arg  0x00000040 , 0x00000002 
+ 00010712  0x0000306d arg  0x0000098e , 0x00000011 
+ 00010713  0x0000306e arg  0x00000051 , 0x00000012 
+ 00010714  0x0000306f branch  0x00005e6b 
+ 00010715  0x00003072 call  0x00002e14 
+ 00010716  0x00003073 arg  0x0000098e , 0x00000005 
+ 00010717  0x00003074 add  0x00000011 , 0x00000006 , 0x00000011 
+ 00010718  0x00003076 copy  0x00000011 , 0x00000006 
+ 00010719  0x00003077 call  0x00007d7f 
+ 00010720  0x00003078 copy  0x00000012 , 0x0000003f 
+ 00010721  0x00003079 iadd  0x00000011 , 0x00000011 
+ 00010722  0x0000307a loop  0x000029de 
+ 00010723  0x0000307b rtn 
+ 00010724  0x00003081 arg  0x00000000 , 0x00000002 
+ 00010725  0x00003082 branch  0x000029ee 
+ 00010726  0x00003089 arg  0x00000001 , 0x00000002 
+ 00010727  0x0000308a branch  0x000029ee 
+ 00010728  0x00003091 arg  0x00000002 , 0x00000002 
+ 00010729  0x00003092 branch  0x000029ee 
+ 00010730  0x00003099 arg  0x00000003 , 0x00000002 
+ 00010731  0x0000309a branch  0x000029ee 
+ 00010732  0x000030a1 arg  0x00000004 , 0x00000002 
+ 00010733  0x000030a2 branch  0x000029ee 
+ 00010734  0x000030aa bpatchx  0x000000f2 , 0x0000403e 
+ 00010735  0x000030ab call  0x00007d3b 
+ 00010736  0x000030ac fetch  0x00000001 , 0x00004a15 
+ 00010737  0x000030ad bbit1  0x00000000 , 0x00007d47 
+ 00010738  0x000030ae call  0x00005fb7 
+ 00010739  0x000030af setarg  0x000000aa 
+ 00010740  0x000030b0 istore  0x00000001 , 0x00000003 
+ 00010741  0x000030b1 setarg  0x00000003 
+ 00010742  0x000030b2 istore  0x00000001 , 0x00000003 
+ 00010743  0x000030b3 add  0x00000039 , 0x00000004 , 0x0000003f 
+ 00010744  0x000030b4 istore  0x00000001 , 0x00000003 
+ 00010745  0x000030b5 istorer  0x00000002 , 0x00000002 , 0x00000003 
+ 00010746  0x000030b6 istorer  0x00000012 , 0x00000002 , 0x00000003 
+ 00010747  0x000030b7 copy  0x00000011 , 0x00000006 
+ 00010748  0x000030b8 call  0x00005fc5 
+ 00010749  0x000030b9 setarg  0x000000bb 
+ 00010750  0x000030ba istore  0x00000001 , 0x00000003 
+ 00010751  0x000030bb call  0x00005fbb 
+ 00010752  0x000030bc branch  0x00007d47 
+ 00010753  0x000030bf fetch  0x00000001 , 0x00004a15 
+ 00010754  0x000030c0 rtnbit1  0x00000000 
+ 00010755  0x000030c1 jam  0x0000000c , 0x0000807b 
+ 00010756  0x000030c2 jam  0x0000004d , 0x0000807c 
+ 00010757  0x000030c3 call  0x00002a0c 
+ 00010758  0x000030c4 arg  0x000e1000 , 0x00000002 
+ 00010759  0x000030c5 call  0x00005f70 
+ 00010760  0x000030c6 call  0x00005f7d 
+ 00010761  0x000030c7 arg  0x00000081 , 0x00000002 
+ 00010762  0x000030c8 storet  0x00000001 , 0x00008061 
+ 00010763  0x000030c9 rtn 
+ 00010764  0x000030cc setarg  0x00001c00 
+ 00010765  0x000030cd store  0x00000002 , 0x0000095c 
+ 00010766  0x000030ce setarg  0x00001c01 
+ 00010767  0x000030cf istore  0x00000002 , 0x00000005 
+ 00010768  0x000030d0 setarg  0x00001c02 
+ 00010769  0x000030d1 istore  0x00000002 , 0x00000005 
+ 00010770  0x000030d2 setarg  0x00001fff 
+ 00010771  0x000030d3 istore  0x00000002 , 0x00000005 
+ 00010772  0x000030d4 fetch  0x00000008 , 0x0000095c 
+ 00010773  0x000030d5 branch  0x00005f58 
+ 00010774  0x000030dd call  0x00002a26 
+ 00010775  0x000030de branch  0x00002a1e 
+ 00010776  0x000030e2 call  0x00002a8d 
+ 00010777  0x000030e3 branch  0x00002a83 
+ 00010778  0x000030e7 jam  0x00000001 , 0x000047d2 
+ 00010779  0x000030e8 rtn 
+ 00010780  0x000030ec jam  0x00000000 , 0x000047d2 
+ 00010781  0x000030ed rtn 
+ 00010782  0x000030f3 arg  0x00002a22 , 0x00000012 
+ 00010783  0x000030f4 arg  0x00000015 , 0x00000011 
+ 00010784  0x000030f5 arg  0x0000000d , 0x00000007 
+ 00010785  0x000030f6 branch  0x00002a78 
+ 00010786  0x000030f9 fetch  0x00000001 , 0x0000496b 
+ 00010787  0x000030fa rtnne  0x00000000 
+ 00010788  0x000030fb arg  0x00002a2a , 0x00000013 
+ 00010789  0x000030fc branch  0x00002e1f 
+ 00010790  0x00003100 arg  0x00002a37 , 0x00000012 
+ 00010791  0x00003101 arg  0x0000001d , 0x00000011 
+ 00010792  0x00003102 arg  0x0000000e , 0x00000007 
+ 00010793  0x00003103 branch  0x00002a78 
+ 00010794  0x00003107 add  0x00000011 , 0x0000001a , 0x00000006 
+ 00010795  0x00003108 ifetch  0x00000001 , 0x00000006 
+ 00010796  0x00003109 rtnbit0  0x00000001 
+ 00010797  0x0000310a call  0x000028d7 
+ 00010798  0x0000310b call  0x000079d2 
+ 00010799  0x0000310c nrtn  0x00000028 
+ 00010800  0x0000310d fetch  0x00000001 , 0x00000a76 
+ 00010801  0x0000310e pincrease  0xfffffffe 
+ 00010802  0x0000310f store  0x00000001 , 0x00000a76 
+ 00010803  0x00003111 fetch  0x00000001 , 0x00000a74 
+ 00010804  0x00003113 setflip  0x00000007 , 0x0000003f 
+ 00010805  0x00003114 istore  0x00000001 , 0x00000012 
+ 00010806  0x00003115 branch  0x000028e5 
+ 00010807  0x0000311a fetch  0x00000001 , 0x0000496b 
+ 00010808  0x0000311b beq  0x00000000 , 0x00002a3b 
+ 00010809  0x0000311c beq  0x00000002 , 0x00002a76 
+ 00010810  0x0000311d branch  0x00002a65 
+ 00010811  0x00003121 arg  0x00002a3d , 0x00000013 
+ 00010812  0x00003122 branch  0x00002e1f 
+ 00010813  0x00003125 call  0x000028d7 
+ 00010814  0x00003126 call  0x000079d2 
+ 00010815  0x00003127 nrtn  0x00000028 
+ 00010816  0x00003128 fetch  0x00000001 , 0x00000a74 
+ 00010817  0x00003129 pincrease  0xffffffff 
+ 00010818  0x0000312a istore  0x00000001 , 0x00000012 
+ 00010819  0x0000312b bbit1  0x00000006 , 0x00002a58 
+ 00010820  0x0000312c and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00010821  0x0000312d call  0x00002a5f , 0x00000034 
+ 00010822  0x0000312e fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010823  0x0000312f add  0x00000011 , 0x0000001a , 0x00000006 
+ 00010824  0x00003130 ifetch  0x00000001 , 0x00000006 
+ 00010825  0x00003131 bbit1  0x00000002 , 0x00002a4f 
+ 00010826  0x00003132 rtnbit0  0x00000000 
+ 00010827  0x00003133 arg  0x000047b1 , 0x00000005 
+ 00010828  0x00003134 arg  0x00000a76 , 0x00000006 
+ 00010829  0x00003135 call  0x00007d7d 
+ 00010830  0x00003136 branch  0x00002951 
+ 00010831  0x00003139 arg  0x00000a74 , 0x00000011 
+ 00010832  0x0000313a call  0x000079c1 
+ 00010833  0x0000313b call  0x000079f0 
+ 00010834  0x0000313c nrtn  0x00000034 
+ 00010835  0x0000313d fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010836  0x0000313e add  0x00000011 , 0x00000016 , 0x00000005 
+ 00010837  0x0000313f setarg  0x00000000 
+ 00010838  0x00003140 istore  0x00000001 , 0x00000005 
+ 00010839  0x00003141 branch  0x00002a1c 
+ 00010840  0x00003145 and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00010841  0x00003146 nrtn  0x00000034 
+ 00010842  0x00003147 fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010843  0x00003148 add  0x00000011 , 0x00000016 , 0x00000005 
+ 00010844  0x00003149 setarg  0x00000000 
+ 00010845  0x0000314a istore  0x00000001 , 0x00000005 
+ 00010846  0x0000314b branch  0x000079a5 
+ 00010847  0x0000314f arg  0x00000a74 , 0x00000011 
+ 00010848  0x00003150 call  0x000079c1 
+ 00010849  0x00003151 call  0x000079f0 
+ 00010850  0x00003152 nrtn  0x00000034 
+ 00010851  0x00003154 jam  0x00000054 , 0x00000a74 
+ 00010852  0x00003155 branch  0x000079aa 
+ 00010853  0x00003159 call  0x00002c41 
+ 00010854  0x0000315a call  0x00002c4d 
+ 00010855  0x0000315b call  0x00002c5b 
+ 00010856  0x0000315c call  0x00002a6e 
+ 00010857  0x0000315d nrtn  0x00000005 
+ 00010858  0x0000315e fetch  0x00000001 , 0x0000496b 
+ 00010859  0x0000315f beq  0x00000003 , 0x00002a72 
+ 00010860  0x00003160 beq  0x00000001 , 0x00002a74 
+ 00010861  0x00003161 rtn 
+ 00010862  0x00003166 fetch  0x00000001 , 0x000047d5 
+ 00010863  0x00003167 add  0x0000003f , 0xffffffff , 0x0000003f 
+ 00010864  0x00003168 store  0x00000001 , 0x000047d5 
+ 00010865  0x00003169 rtn 
+ 00010866  0x0000316d jam  0x00000258 , 0x000047d6 
+ 00010867  0x0000316e branch  0x00002a1c 
+ 00010868  0x00003172 jam  0x00000006 , 0x000047d6 
+ 00010869  0x00003173 branch  0x00002a1c 
+ 00010870  0x00003177 call  0x00002cc0 
+ 00010871  0x00003178 branch  0x00002951 
+ 00010872  0x0000317c random  0x0000003f 
+ 00010873  0x0000317d and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00010874  0x0000317e iadd  0x00000011 , 0x00000011 
+ 00010875  0x00003183 fetch  0x00000001 , 0x000047d2 
+ 00010876  0x00003184 rtnne  0x00000001 
+ 00010877  0x00003185 call  0x00007de9 
+ 00010878  0x00003186 nrtn  0x00000034 
+ 00010879  0x00003187 copy  0x00000011 , 0x0000003f 
+ 00010880  0x00003188 call  0x00007ddb 
+ 00010881  0x00003189 copy  0x00000012 , 0x0000003f 
+ 00010882  0x0000318a branch  0x00007e7a 
+ 00010883  0x0000318f arg  0x000047d3 , 0x00000013 
+ 00010884  0x00003190 arg  0x00002a86 , 0x00000012 
+ 00010885  0x00003191 branch  0x00003203 
+ 00010886  0x00003195 fetch  0x00000001 , 0x0000496b 
+ 00010887  0x00003196 rtnne  0x00000001 
+ 00010888  0x00003197 fetch  0x00000001 , 0x0000496e 
+ 00010889  0x00003198 set1  0x00000000 , 0x0000003f 
+ 00010890  0x00003199 store  0x00000001 , 0x0000496e 
+ 00010891  0x0000319a jam  0x00000003 , 0x0000496b 
+ 00010892  0x0000319b branch  0x00002a96 
+ 00010893  0x000031a1 arg  0x000047d6 , 0x00000013 
+ 00010894  0x000031a2 arg  0x00002a90 , 0x00000012 
+ 00010895  0x000031a3 branch  0x000031fc 
+ 00010896  0x000031a9 fetch  0x00000001 , 0x0000496b 
+ 00010897  0x000031aa beq  0x00000003 , 0x00002a96 
+ 00010898  0x000031ab beq  0x00000001 , 0x00002a94 
+ 00010899  0x000031ad rtn 
+ 00010900  0x000031b5 jam  0x00000006 , 0x000047d5 
+ 00010901  0x000031b6 branch  0x00002a1a 
+ 00010902  0x000031ba jam  0x00000006 , 0x000047d5 
+ 00010903  0x000031bb branch  0x00002a1a 
+ 00010904  0x000031c3 call  0x00002a9e 
+ 00010905  0x000031c4 call  0x00002aa6 
+ 00010906  0x000031c5 call  0x00002aab 
+ 00010907  0x000031c6 call  0x00002ab0 
+ 00010908  0x000031c7 call  0x00002ab8 
+ 00010909  0x000031c8 branch  0x00002abc 
+ 00010910  0x000031cd call  0x00002ac9 
+ 00010911  0x000031ce arg  0x00004847 , 0x00000006 
+ 00010912  0x000031cf arg  0x0000000f , 0x00000039 
+ 00010913  0x000031d0 call  0x00002b37 
+ 00010914  0x000031d1 call  0x00002b51 
+ 00010915  0x000031d2 arg  0x00000900 , 0x00000006 
+ 00010916  0x000031d3 arg  0x00004837 , 0x00000005 
+ 00010917  0x000031d4 branch  0x00007d7f 
+ 00010918  0x000031da call  0x00002acc 
+ 00010919  0x000031db call  0x00002b51 
+ 00010920  0x000031dc arg  0x00000900 , 0x00000006 
+ 00010921  0x000031dd arg  0x000047e7 , 0x00000005 
+ 00010922  0x000031de branch  0x00007d7f 
+ 00010923  0x000031e3 call  0x00002acc 
+ 00010924  0x000031e4 call  0x00002b51 
+ 00010925  0x000031e5 arg  0x00000900 , 0x00000006 
+ 00010926  0x000031e6 arg  0x00004817 , 0x00000005 
+ 00010927  0x000031e7 branch  0x00007d7f 
+ 00010928  0x000031ed fetch  0x00000008 , 0x00004807 
+ 00010929  0x000031ee store  0x00000008 , 0x000047df 
+ 00010930  0x000031ef fetch  0x00000008 , 0x0000480f 
+ 00010931  0x000031f0 store  0x00000008 , 0x000047d7 
+ 00010932  0x000031f2 arg  0x000047d7 , 0x00000006 
+ 00010933  0x000031f3 arg  0x00004837 , 0x00000011 
+ 00010934  0x000031f4 arg  0x000047f7 , 0x00000030 
+ 00010935  0x000031f5 branch  0x00002b9f 
+ 00010936  0x000031fc arg  0x00004807 , 0x00000006 
+ 00010937  0x000031fd arg  0x00004837 , 0x00000011 
+ 00010938  0x000031fe arg  0x00004807 , 0x00000030 
+ 00010939  0x000031ff branch  0x00002b9f 
+ 00010940  0x00003205 arg  0x000047f7 , 0x00000006 
+ 00010941  0x00003206 arg  0x00000010 , 0x00000039 
+ 00010942  0x00003207 call  0x00002b34 
+ 00010943  0x00003208 arg  0x00004860 , 0x00000006 
+ 00010944  0x00003209 arg  0x00000009 , 0x00000039 
+ 00010945  0x0000320a call  0x00002b37 
+ 00010946  0x0000320b call  0x00002b51 
+ 00010947  0x0000320c arg  0x00000900 , 0x00000006 
+ 00010948  0x0000320d arg  0x00004827 , 0x00000005 
+ 00010949  0x0000320e branch  0x00007d7f 
+ 00010950  0x00003212 call  0x00002aca 
+ 00010951  0x00003214 arg  0x00004807 , 0x00000006 
+ 00010952  0x00003215 branch  0x00002b33 
+ 00010953  0x00003218 call  0x00002ac7 
+ 00010954  0x0000321a arg  0x0000480f , 0x00000006 
+ 00010955  0x0000321b branch  0x00002b33 
+ 00010956  0x0000321f arg  0x000049d3 , 0x00000006 
+ 00010957  0x00003220 arg  0x00000004 , 0x00000039 
+ 00010958  0x00003221 call  0x00002b3a 
+ 00010959  0x00003222 arg  0x000049d7 , 0x00000006 
+ 00010960  0x00003223 arg  0x00000006 , 0x00000039 
+ 00010961  0x00003224 call  0x00002b3a 
+ 00010962  0x00003225 arg  0x000049dd , 0x00000006 
+ 00010963  0x00003226 arg  0x00000010 , 0x00000039 
+ 00010964  0x00003227 branch  0x00002b34 
+ 00010965  0x0000322d call  0x00002ae1 
+ 00010966  0x00003230 arg  0x00004973 , 0x00000011 
+ 00010967  0x00003231 arg  0x00000900 , 0x00000012 
+ 00010968  0x00003232 arg  0x0000000b , 0x00000039 
+ 00010969  0x00003234 ifetch  0x00000002 , 0x00000011 
+ 00010970  0x00003235 ifetcht  0x00000002 , 0x00000012 
+ 00010971  0x00003236 ixor  0x00000002 , 0x0000003f 
+ 00010972  0x00003237 istore  0x00000002 , 0x00000011 
+ 00010973  0x00003238 increase  0x00000002 , 0x00000011 
+ 00010974  0x00003239 increase  0x00000002 , 0x00000012 
+ 00010975  0x0000323a loop  0x00002ad9 
+ 00010976  0x0000323b rtn 
+ 00010977  0x00003242 arg  0x000047f7 , 0x00000006 
+ 00010978  0x00003243 arg  0x00000010 , 0x00000039 
+ 00010979  0x00003244 call  0x00002b34 
+ 00010980  0x00003245 arg  0x00004856 , 0x00000006 
+ 00010981  0x00003246 arg  0x0000000a , 0x00000039 
+ 00010982  0x00003247 call  0x00002b37 
+ 00010983  0x00003248 branch  0x00002b51 
+ 00010984  0x0000324d arg  0x00004976 , 0x00000006 
+ 00010985  0x0000324e arg  0x00004894 , 0x00000005 
+ 00010986  0x0000324f call  0x00007d7f 
+ 00010987  0x00003255 arg  0x00004894 , 0x00000006 
+ 00010988  0x00003256 arg  0x000048a4 , 0x00000011 
+ 00010989  0x00003257 arg  0x000048b4 , 0x00000030 
+ 00010990  0x00003258 call  0x00002ba1 
+ 00010991  0x0000325a arg  0x000048c4 , 0x00000030 
+ 00010992  0x0000325b arg  0x00000001 , 0x00000012 
+ 00010993  0x0000325c setarg  0x00000000 
+ 00010994  0x0000325d call  0x00002ba3 
+ 00010995  0x0000325e fetch  0x00000001 , 0x000048d3 
+ 00010996  0x0000325f and  0x0000003f , 0x0000007f , 0x0000003f 
+ 00010997  0x00003260 store  0x00000001 , 0x000048d4 
+ 00010998  0x00003262 arg  0x000048e5 , 0x00000030 
+ 00010999  0x00003263 arg  0x00000002 , 0x00000012 
+ 00011000  0x00003264 setarg  0x00000010 
+ 00011001  0x00003265 arg  0x000048c4 , 0x00000011 
+ 00011002  0x00003266 call  0x00002ba3 
+ 00011003  0x00003268 arg  0x000048d5 , 0x00000030 
+ 00011004  0x00003269 arg  0x00000003 , 0x00000012 
+ 00011005  0x0000326a setarg  0x00000010 
+ 00011006  0x0000326b arg  0x000048e5 , 0x00000011 
+ 00011007  0x0000326c branch  0x00002ba3 
+ 00011008  0x00003270 arg  0x00004b19 , 0x00000006 
+ 00011009  0x00003271 arg  0x000048f5 , 0x00000011 
+ 00011010  0x00003272 arg  0x00004905 , 0x00000030 
+ 00011011  0x00003273 call  0x00002ba1 
+ 00011012  0x00003274 arg  0x00004915 , 0x00000006 
+ 00011013  0x00003275 arg  0x00004905 , 0x00000011 
+ 00011014  0x00003276 arg  0x00004925 , 0x00000030 
+ 00011015  0x00003277 setarg  0x00000004 
+ 00011016  0x00003278 call  0x00002bb1 
+ 00011017  0x00003279 fetch  0x00000001 , 0x00004934 
+ 00011018  0x0000327a and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00011019  0x0000327b set1  0x00000006 , 0x0000003f 
+ 00011020  0x0000327c store  0x00000001 , 0x00004935 
+ 00011021  0x0000327d rtn 
+ 00011022  0x00003281 arg  0x00004976 , 0x00000006 
+ 00011023  0x00003282 arg  0x00004936 , 0x00000011 
+ 00011024  0x00003283 arg  0x00004946 , 0x00000030 
+ 00011025  0x00003284 call  0x00002ba1 
+ 00011026  0x00003285 arg  0x00004956 , 0x00000006 
+ 00011027  0x00003286 arg  0x00004946 , 0x00000011 
+ 00011028  0x00003287 arg  0x0000495b , 0x00000030 
+ 00011029  0x00003288 setarg  0x00000005 
+ 00011030  0x00003289 call  0x00002bb1 
+ 00011031  0x0000328b call  0x00002ff3 
+ 00011032  0x0000328d fetch  0x00000002 , 0x0000478f 
+ 00011033  0x0000328e rtnbit1  0x00000009 
+ 00011034  0x0000328f jam  0x00000001 , 0x00004427 
+ 00011035  0x00003290 rtn 
+ 00011036  0x00003295 arg  0x00004b59 , 0x00000011 
+ 00011037  0x00003296 fetch  0x00000007 , 0x00004b5f 
+ 00011038  0x00003297 branch  0x00002b21 
+ 00011039  0x00003299 arg  0x00000c0c , 0x00000011 
+ 00011040  0x0000329a fetch  0x00000007 , 0x00000c12 
+ 00011041  0x0000329c store  0x00000007 , 0x00000bc7 
+ 00011042  0x0000329d setarg  0x00000000 
+ 00011043  0x0000329e store  0x00000005 , 0x00000bbe 
+ 00011044  0x0000329f call  0x00002b2a 
+ 00011045  0x000032a0 fetch  0x00000006 , 0x00000bce 
+ 00011046  0x000032a1 ifetcht  0x00000006 , 0x00000011 
+ 00011047  0x000032a2 ixor  0x00000002 , 0x0000003f 
+ 00011048  0x000032a3 istore  0x00000006 , 0x00000011 
+ 00011049  0x000032a4 rtn 
+ 00011050  0x000032a8 fetch  0x00000004 , 0x00004a2e 
+ 00011051  0x000032a9 store  0x00000004 , 0x00000bc3 
+ 00011052  0x000032ac arg  0x000048d5 , 0x00000006 
+ 00011053  0x000032ad call  0x00006e26 
+ 00011054  0x000032ae arg  0x00000bbe , 0x00000006 
+ 00011055  0x000032af call  0x00006e28 
+ 00011056  0x000032b0 call  0x00006dc1 
+ 00011057  0x000032b1 arg  0x00000bce , 0x00000005 
+ 00011058  0x000032b2 branch  0x00006e3c 
+ 00011059  0x000032ba arg  0x00000008 , 0x00000039 
+ 00011060  0x000032c0 call  0x00002b41 
+ 00011061  0x000032c1 call  0x00002b90 
+ 00011062  0x000032c2 branch  0x00002b3e 
+ 00011063  0x000032c4 call  0x00002b41 
+ 00011064  0x000032c5 call  0x00007dd4 
+ 00011065  0x000032c6 branch  0x00002b3e 
+ 00011066  0x000032c8 call  0x00002b41 
+ 00011067  0x000032c9 call  0x00002b90 
+ 00011068  0x000032ca setarg  0x0000002c 
+ 00011069  0x000032cb istore  0x00000001 , 0x00000005 
+ 00011070  0x000032cd copy  0x00000005 , 0x0000003f 
+ 00011071  0x000032ce store  0x00000002 , 0x0000487a 
+ 00011072  0x000032cf rtn 
+ 00011073  0x000032d1 copy  0x00000006 , 0x00000002 
+ 00011074  0x000032d2 copy  0x00000039 , 0x00000011 
+ 00011075  0x000032d3 fetch  0x00000002 , 0x0000487a 
+ 00011076  0x000032d4 copy  0x0000003f , 0x00000005 
+ 00011077  0x000032d5 fetch  0x00000001 , 0x00004869 
+ 00011078  0x000032d6 call  0x00002b4a , 0x00000034 
+ 00011079  0x000032d7 copy  0x00000002 , 0x00000006 
+ 00011080  0x000032d8 copy  0x00000011 , 0x00000039 
+ 00011081  0x000032d9 rtn 
+ 00011082  0x000032db jam  0x00000001 , 0x00004869 
+ 00011083  0x000032dc call  0x00002b4e 
+ 00011084  0x000032dd arg  0x00000abe , 0x00000005 
+ 00011085  0x000032de rtn 
+ 00011086  0x000032e1 arg  0x00000020 , 0x00000039 
+ 00011087  0x000032e2 arg  0x00000abe , 0x00000005 
+ 00011088  0x000032e3 branch  0x00007d8c 
+ 00011089  0x000032e8 call  0x00002b6e 
+ 00011090  0x000032e9 arg  0x00000010 , 0x00000012 
+ 00011091  0x000032ea arg  0x00000abe , 0x00000011 
+ 00011092  0x000032eb fetchr  0x00000039 , 0x00000008 , 0x0000486a 
+ 00011093  0x000032ec call  0x000029e4 
+ 00011094  0x000032ed call  0x00002b89 
+ 00011095  0x000032ef setarg  0x00000abe 
+ 00011096  0x000032f0 store  0x00000002 , 0x00004881 
+ 00011097  0x000032f1 call  0x00007306 
+ 00011098  0x000032f3 fetch  0x00000002 , 0x00004881 
+ 00011099  0x000032f4 copy  0x0000003f , 0x00000006 
+ 00011100  0x000032f5 arg  0x000004a8 , 0x00000005 
+ 00011101  0x000032f6 call  0x00007d72 
+ 00011102  0x000032f7 call  0x0000730d 
+ 00011103  0x000032f8 fetch  0x00000002 , 0x00004881 
+ 00011104  0x000032f9 pincrease  0x00000040 
+ 00011105  0x000032fa store  0x00000002 , 0x00004881 
+ 00011106  0x000032fb fetch  0x00000001 , 0x0000487e 
+ 00011107  0x000032fc pincrease  0xffffffff 
+ 00011108  0x000032fd store  0x00000001 , 0x0000487e 
+ 00011109  0x000032fe nbranch  0x00002b5a , 0x00000034 
+ 00011110  0x000032ff call  0x00007349 
+ 00011111  0x00003300 arg  0x00000900 , 0x00000011 
+ 00011112  0x00003301 arg  0x00000020 , 0x00000039 
+ 00011113  0x00003302 call  0x00007dac 
+ 00011114  0x00003303 arg  0x00000011 , 0x00000012 
+ 00011115  0x00003304 arg  0x00000900 , 0x00000011 
+ 00011116  0x00003305 arg  0x00000020 , 0x00000039 
+ 00011117  0x00003306 branch  0x000029e4 
+ 00011118  0x0000330a jam  0x00000000 , 0x00004869 
+ 00011119  0x0000330b fetch  0x00000002 , 0x0000487a 
+ 00011120  0x0000330c copy  0x0000003f , 0x00000005 
+ 00011121  0x0000330d arg  0x00000080 , 0x00000002 
+ 00011122  0x0000330e istoret  0x00000001 , 0x00000005 
+ 00011123  0x0000330f arg  0x00000abe , 0x00000002 
+ 00011124  0x00003310 isub  0x00000002 , 0x0000003f 
+ 00011125  0x00003311 store  0x00000008 , 0x0000486a 
+ 00011126  0x00003313 lshift3  0x0000003f , 0x00000002 
+ 00011127  0x00003314 storet  0x00000008 , 0x00004872 
+ 00011128  0x00003315 rshift4  0x0000003f , 0x00000013 
+ 00011129  0x00003316 rshift2  0x00000013 , 0x00000013 
+ 00011130  0x00003317 and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00011131  0x00003318 sub  0x0000003f , 0x00000037 , 0x0000003e 
+ 00011132  0x0000331a ncall  0x00002b87 , 0x00000002 
+ 00011133  0x0000331b add  0x00000013 , 0x00000001 , 0x0000003f 
+ 00011134  0x0000331c store  0x00000001 , 0x0000487e 
+ 00011135  0x0000331d mul32  0x0000003f , 0x00000040 , 0x00000011 
+ 00011136  0x0000331e lshift4  0x0000003f , 0x00000013 
+ 00011137  0x0000331f increase  0xffffffff , 0x00000013 
+ 00011138  0x00003320 setarg  0x00000aba 
+ 00011139  0x00003321 iadd  0x00000011 , 0x00000011 
+ 00011140  0x00003322 fetch  0x00000004 , 0x00004872 
+ 00011141  0x00003323 istore  0x00000004 , 0x00000011 
+ 00011142  0x00003324 rtn 
+ 00011143  0x00003329 increase  0x00000001 , 0x00000013 
+ 00011144  0x0000332a rtn 
+ 00011145  0x0000332d arg  0x00000abe , 0x00000011 
+ 00011146  0x00003333 arg  0x00000004 , 0x00000039 
+ 00011147  0x00003334 call  0x00007dac 
+ 00011148  0x00003335 increase  0x00000002 , 0x00000011 
+ 00011149  0x00003336 add  0x00000013 , 0xffffffff , 0x00000013 
+ 00011150  0x00003337 nbranch  0x00002b8a , 0x00000005 
+ 00011151  0x00003338 rtn 
+ 00011152  0x00003340 ifetch  0x00000001 , 0x00000006 
+ 00011153  0x00003341 rshift4  0x0000003f , 0x00000002 
+ 00011154  0x00003342 call  0x00002b99 
+ 00011155  0x00003343 istoret  0x00000001 , 0x00000005 
+ 00011156  0x00003344 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00011157  0x00003345 call  0x00002b99 
+ 00011158  0x00003346 istoret  0x00000001 , 0x00000005 
+ 00011159  0x00003347 loop  0x00002b90 
+ 00011160  0x00003348 rtn 
+ 00011161  0x0000334a sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00011162  0x0000334b branch  0x00002b9d , 0x00000002 
+ 00011163  0x0000334c add  0x00000002 , 0x00000057 , 0x00000002 
+ 00011164  0x0000334d rtn 
+ 00011165  0x0000334f add  0x00000002 , 0x00000030 , 0x00000002 
+ 00011166  0x00003350 rtn 
+ 00011167  0x00003354 setarg  0x00000020 
+ 00011168  0x00003355 branch  0x00002bb1 
+ 00011169  0x00003358 setarg  0x00000010 
+ 00011170  0x00003359 branch  0x00002bb1 
+ 00011171  0x0000335f fetcht  0x00000001 , 0x00004883 
+ 00011172  0x00003360 increase  0x00000001 , 0x00000002 
+ 00011173  0x00003361 iadd  0x00000002 , 0x00000002 
+ 00011174  0x00003362 storet  0x00000001 , 0x000004a7 
+ 00011175  0x00003363 copy  0x00000011 , 0x00000006 
+ 00011176  0x00003364 copy  0x0000003f , 0x00000039 
+ 00011177  0x00003365 call  0x00007dc7 
+ 00011178  0x00003366 fetcht  0x00000001 , 0x00004883 
+ 00011179  0x00003367 copy  0x00000002 , 0x00000039 
+ 00011180  0x00003368 call  0x00007dd4 
+ 00011181  0x00003369 copy  0x00000012 , 0x0000003f 
+ 00011182  0x0000336a istore  0x00000001 , 0x00000005 
+ 00011183  0x0000336b arg  0x000048b4 , 0x00000011 
+ 00011184  0x0000336c branch  0x00002bb4 
+ 00011185  0x00003376 store  0x00000001 , 0x000004a7 
+ 00011186  0x00003377 copy  0x0000003f , 0x00000039 
+ 00011187  0x00003378 call  0x00007dc7 
+ 00011188  0x00003379 copy  0x00000011 , 0x00000006 
+ 00011189  0x0000337a arg  0x0000098e , 0x00000005 
+ 00011190  0x0000337b call  0x00007d7f 
+ 00011191  0x0000337c arg  0x00000012 , 0x00000012 
+ 00011192  0x0000337d arg  0x000004a8 , 0x00000011 
+ 00011193  0x0000337e fetchr  0x00000039 , 0x00000001 , 0x000004a7 
+ 00011194  0x0000337f call  0x000029e4 
+ 00011195  0x00003380 arg  0x00000013 , 0x00000012 
+ 00011196  0x00003381 arg  0x0000098e , 0x00000011 
+ 00011197  0x00003382 arg  0x00000010 , 0x00000039 
+ 00011198  0x00003383 call  0x000029e4 
+ 00011199  0x00003384 call  0x00006aee 
+ 00011200  0x00003385 copy  0x00000030 , 0x00000005 
+ 00011201  0x00003386 call  0x00006e3c 
+ 00011202  0x00003387 arg  0x00000014 , 0x00000012 
+ 00011203  0x00003388 copy  0x00000030 , 0x00000011 
+ 00011204  0x00003389 arg  0x00000010 , 0x00000039 
+ 00011205  0x0000338a branch  0x000029e4 
+ 00011206  0x0000338f fetcht  0x00000001 , 0x00000beb 
+ 00011207  0x00003390 branch  0x00002bc9 
+ 00011208  0x00003392 force  0x00000001 , 0x00000002 
+ 00011209  0x00003394 force  0x00000000 , 0x00000038 
+ 00011210  0x00003395 fetch  0x00000002 , 0x00000bde 
+ 00011211  0x00003396 copy  0x0000003f , 0x00000006 
+ 00011212  0x00003397 ifetch  0x00000003 , 0x00000006 
+ 00011213  0x00003398 lshift8  0x0000003f , 0x0000003f 
+ 00011214  0x00003399 ior  0x00000002 , 0x0000002f 
+ 00011215  0x0000339a increase  0x00000001 , 0x00000038 
+ 00011216  0x0000339b ifetch  0x00000004 , 0x00000006 
+ 00011217  0x0000339c copy  0x0000003f , 0x0000002f 
+ 00011218  0x0000339d increase  0x00000001 , 0x00000038 
+ 00011219  0x0000339e ifetch  0x00000004 , 0x00000006 
+ 00011220  0x0000339f copy  0x0000003f , 0x0000002f 
+ 00011221  0x000033a0 increase  0x00000001 , 0x00000038 
+ 00011222  0x000033a1 byteswap  0x00000011 , 0x0000002f 
+ 00011223  0x000033a2 lshift16  0x0000002f , 0x0000002f 
+ 00011224  0x000033a3 ifetch  0x00000002 , 0x00000006 
+ 00011225  0x000033a4 ior  0x0000002f , 0x0000002f 
+ 00011226  0x000033a5 rtn 
+ 00011227  0x000033a7 fetch  0x00000001 , 0x00000be0 
+ 00011228  0x000033a8 copy  0x0000003f , 0x00000011 
+ 00011229  0x000033a9 call  0x00002bc6 
+ 00011230  0x000033aa call  0x00006dc1 
+ 00011231  0x000033ab force  0x0000000c , 0x00000038 
+ 00011232  0x000033ac deposit  0x0000002f 
+ 00011233  0x000033ad copy  0x00000011 , 0x00000039 
+ 00011234  0x000033ae fetcht  0x00000002 , 0x00000be1 
+ 00011235  0x000033af copy  0x00000002 , 0x00000006 
+ 00011236  0x000033b0 call  0x00006e10 
+ 00011237  0x000033b1 branch  0x00006cf0 
+ 00011238  0x000033b3 jam  0x00000019 , 0x00000beb 
+ 00011239  0x000033b4 branch  0x00002bea 
+ 00011240  0x000033b6 jam  0x00000009 , 0x00000beb 
+ 00011241  0x000033b7 branch  0x00002bea 
+ 00011242  0x000033b9 store  0x00000001 , 0x00000be0 
+ 00011243  0x000033ba storet  0x00000002 , 0x00000be1 
+ 00011244  0x000033bb bpatchx  0x000000f3 , 0x0000403e 
+ 00011245  0x000033bc call  0x00002bdb 
+ 00011246  0x000033bd force  0x00000008 , 0x00000038 
+ 00011247  0x000033be iforce  0x0000002f 
+ 00011248  0x000033bf force  0x0000000d , 0x00000038 
+ 00011249  0x000033c0 copy  0x0000002f , 0x0000003f 
+ 00011250  0x000033c1 force  0x00000009 , 0x00000038 
+ 00011251  0x000033c2 iforce  0x0000002f 
+ 00011252  0x000033c3 force  0x00000000 , 0x00000011 
+ 00011253  0x000033c4 copy  0x00000002 , 0x00000013 
+ 00011254  0x000033c5 call  0x00002bc8 
+ 00011255  0x000033c6 call  0x00006dc7 
+ 00011256  0x000033c7 call  0x00002c29 
+ 00011257  0x000033c8 storet  0x00000008 , 0x00000be3 
+ 00011258  0x000033c9 fetch  0x00000001 , 0x00000be0 
+ 00011259  0x000033ca copy  0x0000003f , 0x00000012 
+ 00011260  0x000033cb call  0x00002c31 
+ 00011261  0x000033cc fetcht  0x00000001 , 0x00000be0 
+ 00011262  0x000033cd fetch  0x00000002 , 0x00000be1 
+ 00011263  0x000033ce iadd  0x00000002 , 0x00000011 
+ 00011264  0x000033cf fetcht  0x00000008 , 0x00000be3 
+ 00011265  0x000033d0 istoret  0x00000004 , 0x00000011 
+ 00011266  0x000033d1 fetch  0x00000001 , 0x00000beb 
+ 00011267  0x000033d2 sub  0x0000003f , 0x00000009 , 0x0000003f 
+ 00011268  0x000033d3 rtn  0x00000034 
+ 00011269  0x000033d4 istoret  0x00000008 , 0x00000011 
+ 00011270  0x000033d5 rtn 
+ 00011271  0x000033d7 jam  0x00000019 , 0x00000beb 
+ 00011272  0x000033d8 branch  0x00002c0b 
+ 00011273  0x000033da jam  0x00000009 , 0x00000beb 
+ 00011274  0x000033db branch  0x00002c0b 
+ 00011275  0x000033dd store  0x00000001 , 0x00000be0 
+ 00011276  0x000033de storet  0x00000002 , 0x00000be1 
+ 00011277  0x000033df copy  0x00000002 , 0x00000013 
+ 00011278  0x000033e0 copy  0x0000003f , 0x00000012 
+ 00011279  0x000033e1 iadd  0x00000013 , 0x00000006 
+ 00011280  0x000033e2 bpatchx  0x000000f4 , 0x0000403e 
+ 00011281  0x000033e3 ifetch  0x00000008 , 0x00000006 
+ 00011282  0x000033e4 force  0x00000008 , 0x00000038 
+ 00011283  0x000033e5 iforce  0x0000002f 
+ 00011284  0x000033e6 force  0x00000009 , 0x00000038 
+ 00011285  0x000033e7 rshift32  0x0000003f , 0x0000003f 
+ 00011286  0x000033e8 iforce  0x0000002f 
+ 00011287  0x000033e9 force  0x00000000 , 0x00000011 
+ 00011288  0x000033ea call  0x00002bc8 
+ 00011289  0x000033eb call  0x00006dc7 
+ 00011290  0x000033ec call  0x00002c29 
+ 00011291  0x000033ed storet  0x00000008 , 0x00000be3 
+ 00011292  0x000033ee call  0x00002c31 
+ 00011293  0x000033ef call  0x00002bdb 
+ 00011294  0x000033f0 call  0x00002c29 
+ 00011295  0x000033f1 fetch  0x00000001 , 0x00000beb 
+ 00011296  0x000033f2 beq  0x00000019 , 0x00002c26 
+ 00011297  0x000033f3 storet  0x00000004 , 0x00000be7 
+ 00011298  0x000033f4 fetch  0x00000004 , 0x00000be3 
+ 00011299  0x000033f5 fetcht  0x00000004 , 0x00000be7 
+ 00011300  0x000033f6 isub  0x00000002 , 0x0000003f 
+ 00011301  0x000033f7 rtn 
+ 00011302  0x000033fa fetch  0x00000008 , 0x00000be3 
+ 00011303  0x000033fb isub  0x00000002 , 0x0000003f 
+ 00011304  0x000033fc rtn 
+ 00011305  0x000033ff force  0x0000000c , 0x00000038 
+ 00011306  0x00003400 deposit  0x0000002f 
+ 00011307  0x00003401 force  0x0000000d , 0x00000038 
+ 00011308  0x00003402 copy  0x0000002f , 0x00000002 
+ 00011309  0x00003403 lshift16  0x00000002 , 0x00000002 
+ 00011310  0x00003404 lshift16  0x00000002 , 0x00000002 
+ 00011311  0x00003405 ior  0x00000002 , 0x00000002 
+ 00011312  0x00003406 rtn 
+ 00011313  0x00003408 increase  0x00000001 , 0x00000011 
+ 00011314  0x00003409 call  0x00002bc8 
+ 00011315  0x0000340a copy  0x00000013 , 0x00000006 
+ 00011316  0x0000340b call  0x00006e24 
+ 00011317  0x0000340c call  0x00006dc7 
+ 00011318  0x0000340d call  0x00006e43 
+ 00011319  0x0000340e increase  0x00000010 , 0x00000013 
+ 00011320  0x0000340f increase  0xfffffff0 , 0x00000012 
+ 00011321  0x00003410 branch  0x00002c31 , 0x00000002 
+ 00011322  0x00003411 rtn 
+ 00011323  0x0000341c jam  0x00000001 , 0x0000496b 
+ 00011324  0x0000341d jam  0x00000000 , 0x0000496c 
+ 00011325  0x0000341e jam  0x00000001 , 0x000047d2 
+ 00011326  0x0000341f setarg  0x00001770 
+ 00011327  0x00003420 store  0x00000002 , 0x000047d3 
+ 00011328  0x00003421 rtn 
+ 00011329  0x00003425 setarg  0x000001a8 
+ 00011330  0x00003426 store  0x00000002 , 0x00000bec 
+ 00011331  0x00003427 fetch  0x00000001 , 0x0000496d 
+ 00011332  0x00003428 istore  0x00000001 , 0x00000005 
+ 00011333  0x00003429 fetch  0x00000004 , 0x000049d3 
+ 00011334  0x0000342a call  0x00007dc1 
+ 00011335  0x0000342b istore  0x00000004 , 0x00000005 
+ 00011336  0x0000342c fetch  0x00000006 , 0x0000437a 
+ 00011337  0x0000342d istore  0x00000006 , 0x00000005 
+ 00011338  0x0000342e fetch  0x00000003 , 0x0000496e 
+ 00011339  0x0000342f istore  0x00000003 , 0x00000005 
+ 00011340  0x00003430 rtn 
+ 00011341  0x00003433 call  0x00002c4f 
+ 00011342  0x00003434 branch  0x00002951 
+ 00011343  0x00003438 jam  0x00000015 , 0x000047b1 
+ 00011344  0x00003439 setarg  0x00000014 
+ 00011345  0x0000343a store  0x00000001 , 0x000047b2 
+ 00011346  0x0000343b setarg  0x0000002b 
+ 00011347  0x0000343c istore  0x00000001 , 0x00000005 
+ 00011348  0x0000343d setarg  0x00000000 
+ 00011349  0x0000343e istore  0x00000001 , 0x00000005 
+ 00011350  0x00003440 arg  0x00000bec , 0x00000006 
+ 00011351  0x00003441 call  0x00007d7f 
+ 00011352  0x00003442 fetch  0x00000002 , 0x00004971 
+ 00011353  0x00003443 istore  0x00000002 , 0x00000005 
+ 00011354  0x00003444 rtn 
+ 00011355  0x00003448 fetch  0x00000001 , 0x00004a15 
+ 00011356  0x00003449 rtnbit1  0x00000003 
+ 00011357  0x0000344a call  0x00002c5f 
+ 00011358  0x0000344b branch  0x00002951 
+ 00011359  0x0000344e jam  0x0000001d , 0x000047b1 
+ 00011360  0x0000344f call  0x0000290a 
+ 00011361  0x00003450 call  0x00002912 
+ 00011362  0x00003451 call  0x00002c64 
+ 00011363  0x00003452 branch  0x00002c56 
+ 00011364  0x00003456 setarg  0x00000015 
+ 00011365  0x00003457 istore  0x00000001 , 0x00000005 
+ 00011366  0x00003458 setarg  0x00000016 
+ 00011367  0x00003459 istore  0x00000001 , 0x00000005 
+ 00011368  0x0000345a istoret  0x00000002 , 0x00000005 
+ 00011369  0x0000345b rtn 
+ 00011370  0x0000345f add  0x00000002 , 0xffffffff , 0x00000039 
+ 00011371  0x00003460 call  0x00002d2e 
+ 00011372  0x00003461 nrtn  0x00000028 
+ 00011373  0x00003462 ifetch  0x00000001 , 0x00000006 
+ 00011374  0x00003463 beq  0x00000000 , 0x00002c72 
+ 00011375  0x00003464 beq  0x00000002 , 0x00002c8d 
+ 00011376  0x00003465 beq  0x00000006 , 0x00002cac 
+ 00011377  0x00003466 rtn 
+ 00011378  0x0000346b call  0x00002c7f 
+ 00011379  0x0000346c nrtn  0x00000028 
+ 00011380  0x0000346e call  0x00002a98 
+ 00011381  0x00003470 call  0x00002c77 
+ 00011382  0x00003471 branch  0x00002cd6 
+ 00011383  0x00003474 arg  0x00000012 , 0x00000002 
+ 00011384  0x00003475 call  0x00002cae 
+ 00011385  0x00003476 setarg  0x00000001 
+ 00011386  0x00003477 istore  0x00000001 , 0x00000005 
+ 00011387  0x00003478 fetch  0x00000002 , 0x000049db 
+ 00011388  0x00003479 istore  0x00000002 , 0x00000005 
+ 00011389  0x0000347a arg  0x00004807 , 0x00000006 
+ 00011390  0x0000347b branch  0x00007d7f 
+ 00011391  0x0000347f call  0x00007ec7 
+ 00011392  0x00003480 ifetcht  0x00000002 , 0x00000006 
+ 00011393  0x00003481 arg  0x00004807 , 0x00000005 
+ 00011394  0x00003482 call  0x00007d7f 
+ 00011395  0x00003483 fetch  0x00000002 , 0x000049db 
+ 00011396  0x00003484 isub  0x00000002 , 0x0000003e 
+ 00011397  0x00003485 nrtn  0x00000005 
+ 00011398  0x0000348b fetch  0x00000001 , 0x0000496c 
+ 00011399  0x0000348c rtnbit1  0x00000001 
+ 00011400  0x0000348d set1  0x00000001 , 0x0000003f 
+ 00011401  0x0000348e store  0x00000001 , 0x0000496c 
+ 00011402  0x00003490 jam  0x00000002 , 0x0000496b 
+ 00011403  0x00003492 call  0x00002cd2 
+ 00011404  0x00003493 branch  0x00007ec5 
+ 00011405  0x00003497 copy  0x00000006 , 0x00000011 
+ 00011406  0x00003498 fetch  0x00000001 , 0x0000496b 
+ 00011407  0x00003499 rtneq  0x00000000 
+ 00011408  0x0000349a fetch  0x00000001 , 0x0000496c 
+ 00011409  0x0000349b rtnbit0  0x00000001 
+ 00011410  0x0000349c rtnbit1  0x00000002 
+ 00011411  0x0000349d copy  0x00000011 , 0x00000006 
+ 00011412  0x0000349e arg  0x00000016 , 0x00000039 
+ 00011413  0x0000349f arg  0x00004973 , 0x00000005 
+ 00011414  0x000034a0 call  0x00007dd4 
+ 00011415  0x000034a2 call  0x00002ad5 
+ 00011416  0x000034a4 fetcht  0x00000002 , 0x00004973 
+ 00011417  0x000034a5 fetch  0x00000002 , 0x000049db 
+ 00011418  0x000034a6 isub  0x00000002 , 0x0000003e 
+ 00011419  0x000034a7 nrtn  0x00000005 
+ 00011420  0x000034a9 call  0x00002cda 
+ 00011421  0x000034aa fetch  0x00000001 , 0x0000496c 
+ 00011422  0x000034ab set1  0x00000002 , 0x0000003f 
+ 00011423  0x000034ac store  0x00000001 , 0x0000496c 
+ 00011424  0x000034ae call  0x00002ae8 
+ 00011425  0x000034b0 fetch  0x00000001 , 0x00004986 
+ 00011426  0x000034b1 store  0x00000001 , 0x00004a31 
+ 00011427  0x000034b2 call  0x00002ca5 
+ 00011428  0x000034b3 branch  0x00002cde 
+ 00011429  0x000034b8 arg  0x00000006 , 0x00000002 
+ 00011430  0x000034b9 call  0x00002cae 
+ 00011431  0x000034ba setarg  0x00000003 
+ 00011432  0x000034bb istore  0x00000001 , 0x00000005 
+ 00011433  0x000034bc fetch  0x00000006 , 0x000049d7 
+ 00011434  0x000034bd istore  0x00000006 , 0x00000005 
+ 00011435  0x000034be rtn 
+ 00011436  0x000034c1 arg  0x00000012 , 0x00000012 
+ 00011437  0x000034c2 branch  0x00002d18 
+ 00011438  0x000034c7 bpatchx  0x000000f5 , 0x0000403e 
+ 00011439  0x000034c8 call  0x00002ccc 
+ 00011440  0x000034c9 setarg  0x00008fff 
+ 00011441  0x000034ca store  0x00000002 , 0x0000498d 
+ 00011442  0x000034cb call  0x00002a1a 
+ 00011443  0x000034cc add  0x00000002 , 0x00000009 , 0x0000003f 
+ 00011444  0x000034cd store  0x00000001 , 0x000047b1 
+ 00011445  0x000034ce call  0x0000290a 
+ 00011446  0x000034cf add  0x00000002 , 0x00000005 , 0x0000003f 
+ 00011447  0x000034d0 istore  0x00000001 , 0x00000005 
+ 00011448  0x000034d1 setarg  0x000000ff 
+ 00011449  0x000034d2 istore  0x00000001 , 0x00000005 
+ 00011450  0x000034d3 setarg  0x000001a8 
+ 00011451  0x000034d4 byteswap  0x0000003f , 0x0000003f 
+ 00011452  0x000034d5 istore  0x00000002 , 0x00000005 
+ 00011453  0x000034d6 fetch  0x00000001 , 0x00000bfc 
+ 00011454  0x000034d7 istore  0x00000001 , 0x00000005 
+ 00011455  0x000034d8 rtn 
+ 00011456  0x000034df fetch  0x00000004 , 0x00004989 
+ 00011457  0x000034e0 nbranch  0x00002cc3 , 0x00000034 
+ 00011458  0x000034e1 branch  0x00002ccc 
+ 00011459  0x000034e4 deposit  0x00000022 
+ 00011460  0x000034e5 fetcht  0x00000004 , 0x00004989 
+ 00011461  0x000034e6 isub  0x00000002 , 0x00000002 
+ 00011462  0x000034e7 fetch  0x00000002 , 0x0000498d 
+ 00011463  0x000034e8 isub  0x00000002 , 0x0000003e 
+ 00011464  0x000034e9 rtn  0x00000002 
+ 00011465  0x000034eb call  0x00002a1c 
+ 00011466  0x000034ec fetch  0x00000002 , 0x000049f3 
+ 00011467  0x000034ed branch  0x00007e7a 
+ 00011468  0x000034ef deposit  0x00000022 
+ 00011469  0x000034f0 store  0x00000004 , 0x00004989 
+ 00011470  0x000034f1 rtn 
+ 00011471  0x000034f5 add  0x00000006 , 0xfffffffd , 0x00000011 
+ 00011472  0x000034f6 arg  0x00000001 , 0x00000012 
+ 00011473  0x000034f7 branch  0x000029e4 
+ 00011474  0x000034fa arg  0x00000001 , 0x00000039 
+ 00011475  0x000034fb arg  0x00000002 , 0x00000012 
+ 00011476  0x000034fc arg  0x0000496c , 0x00000011 
+ 00011477  0x000034fd branch  0x000029e6 
+ 00011478  0x00003500 fetchr  0x00000039 , 0x00000001 , 0x000047b1 
+ 00011479  0x00003501 arg  0x00000003 , 0x00000012 
+ 00011480  0x00003502 arg  0x000047b2 , 0x00000011 
+ 00011481  0x00003503 branch  0x000029e6 
+ 00011482  0x00003506 arg  0x00000001 , 0x00000039 
+ 00011483  0x00003507 arg  0x00000004 , 0x00000012 
+ 00011484  0x00003508 arg  0x0000496c , 0x00000011 
+ 00011485  0x00003509 branch  0x000029e6 
+ 00011486  0x0000350d fetchr  0x00000039 , 0x00000001 , 0x000047b1 
+ 00011487  0x0000350e arg  0x00000005 , 0x00000012 
+ 00011488  0x0000350f arg  0x000047b2 , 0x00000011 
+ 00011489  0x00003510 branch  0x000029e6 
+ 00011490  0x00003515 call  0x00002d26 
+ 00011491  0x00003516 nrtn  0x00000028 
+ 00011492  0x00003517 fetch  0x00000001 , 0x00000bef 
+ 00011493  0x00003518 beq  0x00000006 , 0x00002d16 
+ 00011494  0x0000351a fetch  0x00000001 , 0x0000496b 
+ 00011495  0x0000351b rtneq  0x00000000 
+ 00011496  0x0000351c rtneq  0x00000003 
+ 00011497  0x0000351d fetch  0x00000002 , 0x00000bf0 
+ 00011498  0x0000351e fetcht  0x00000002 , 0x000049db 
+ 00011499  0x0000351f isub  0x00000002 , 0x0000003e 
+ 00011500  0x00003520 nrtn  0x00000005 
+ 00011501  0x00003521 arg  0x00000bf2 , 0x00000011 
+ 00011502  0x00003522 arg  0x00000007 , 0x00000012 
+ 00011503  0x00003523 call  0x00002d38 
+ 00011504  0x00003524 rtn  0x00000028 
+ 00011505  0x00003525 bpatchx  0x000000f6 , 0x0000403e 
+ 00011506  0x00003526 fetch  0x00000001 , 0x00000bef 
+ 00011507  0x00003527 beq  0x00000000 , 0x00002cf7 
+ 00011508  0x00003528 beq  0x00000002 , 0x00002cfb 
+ 00011509  0x00003529 beq  0x00000004 , 0x00002d0a 
+ 00011510  0x0000352a rtn 
+ 00011511  0x0000352e fetch  0x00000002 , 0x000049db 
+ 00011512  0x0000352f store  0x00000002 , 0x00000a78 
+ 00011513  0x00003530 arg  0x00000a78 , 0x00000006 
+ 00011514  0x00003531 branch  0x00002c72 
+ 00011515  0x00003536 fetch  0x00000001 , 0x0000496b 
+ 00011516  0x00003537 rtneq  0x00000000 
+ 00011517  0x00003538 fetch  0x00000001 , 0x0000496c 
+ 00011518  0x00003539 rtnbit0  0x00000001 
+ 00011519  0x0000353a rtnbit1  0x00000002 
+ 00011520  0x0000353b arg  0x00000a7a , 0x00000006 
+ 00011521  0x0000353c arg  0x00000014 , 0x00000039 
+ 00011522  0x0000353d arg  0x00004975 , 0x00000005 
+ 00011523  0x0000353e call  0x00007dd4 
+ 00011524  0x0000353f call  0x00002ae1 
+ 00011525  0x00003540 arg  0x00004975 , 0x00000011 
+ 00011526  0x00003541 arg  0x00000900 , 0x00000012 
+ 00011527  0x00003542 arg  0x0000000a , 0x00000039 
+ 00011528  0x00003543 call  0x00002ad9 
+ 00011529  0x00003544 branch  0x00002c9c 
+ 00011530  0x00003548 fetch  0x00000001 , 0x0000496b 
+ 00011531  0x00003549 rtnne  0x00000001 
+ 00011532  0x0000354a jam  0x00000002 , 0x0000496b 
+ 00011533  0x0000354d arg  0x00000003 , 0x00000002 
+ 00011534  0x0000354e call  0x00002cae 
+ 00011535  0x0000354f setarg  0x00000005 
+ 00011536  0x00003550 istore  0x00000001 , 0x00000005 
+ 00011537  0x00003551 fetch  0x00000002 , 0x000049db 
+ 00011538  0x00003552 istore  0x00000002 , 0x00000005 
+ 00011539  0x00003553 setarg  0x00000001 
+ 00011540  0x00003554 istore  0x00000001 , 0x00000005 
+ 00011541  0x00003555 rtn 
+ 00011542  0x0000355a arg  0x00000bf0 , 0x00000006 
+ 00011543  0x0000355b arg  0x00000008 , 0x00000012 
+ 00011544  0x0000355d bpatchx  0x000000f7 , 0x0000403e 
+ 00011545  0x0000355e ifetch  0x00000001 , 0x00000006 
+ 00011546  0x0000355f copy  0x00000006 , 0x00000011 
+ 00011547  0x00003560 fetcht  0x00000001 , 0x000048d4 
+ 00011548  0x00003561 isub  0x00000002 , 0x0000003e 
+ 00011549  0x00003562 nrtn  0x00000005 
+ 00011550  0x00003563 call  0x00002ccc 
+ 00011551  0x00003564 call  0x00002d38 
+ 00011552  0x00003565 rtn  0x00000028 
+ 00011553  0x00003566 jam  0x00000001 , 0x00000c3a 
+ 00011554  0x00003567 fetcht  0x00000001 , 0x00000a79 
+ 00011555  0x00003568 increase  0x00000001 , 0x00000002 
+ 00011556  0x00003569 arg  0x00000a7a , 0x00000006 
+ 00011557  0x0000356a branch  0x00002f3e 
+ 00011558  0x0000356e arg  0x00000bec , 0x00000005 
+ 00011559  0x0000356f call  0x00007d7f 
+ 00011560  0x00003570 arg  0x00000bec , 0x00000011 
+ 00011561  0x00003571 arg  0x00000010 , 0x00000039 
+ 00011562  0x00003572 call  0x00007dac 
+ 00011563  0x00003573 arg  0x00000010 , 0x00000039 
+ 00011564  0x00003574 arg  0x00000bec , 0x00000006 
+ 00011565  0x00003575 branch  0x00002d2e 
+ 00011566  0x00003578 call  0x00007ec7 
+ 00011567  0x00003579 ifetcht  0x00000002 , 0x00000006 
+ 00011568  0x0000357a setarg  0x000001a8 
+ 00011569  0x0000357b byteswap  0x0000003f , 0x0000003f 
+ 00011570  0x0000357c isub  0x00000002 , 0x0000003e 
+ 00011571  0x0000357d nrtn  0x00000005 
+ 00011572  0x0000357e ifetch  0x00000001 , 0x00000006 
+ 00011573  0x0000357f store  0x00000001 , 0x00000bfc 
+ 00011574  0x00003580 call  0x00007ec5 
+ 00011575  0x00003581 branch  0x00002ccf 
+ 00011576  0x00003585 bpatchx  0x000000f8 , 0x0000403f 
+ 00011577  0x00003586 call  0x00002d71 
+ 00011578  0x00003587 branch  0x00002d3b 
+ 00011579  0x0000358b add  0x00000011 , 0x00000001 , 0x00000006 
+ 00011580  0x0000358c ifetcht  0x00000001 , 0x00000006 
+ 00011581  0x0000358d rshift4  0x00000002 , 0x0000003f 
+ 00011582  0x0000358e beq  0x00000001 , 0x00002d6b 
+ 00011583  0x00003590 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00011584  0x00003591 nbranch  0x00007ec5 , 0x00000002 
+ 00011585  0x00003592 copy  0x0000003f , 0x00000039 
+ 00011586  0x00003593 call  0x00002d61 
+ 00011587  0x00003594 and  0x00000002 , 0x0000000f , 0x00000007 
+ 00011588  0x00003595 isub  0x00000007 , 0x0000003e 
+ 00011589  0x00003596 call  0x00002d5a , 0x00000005 
+ 00011590  0x00003597 increase  0xffffffff , 0x00000007 
+ 00011591  0x00003598 fetch  0x00000001 , 0x00000a78 
+ 00011592  0x00003599 qisolate1  0x0000003f 
+ 00011593  0x0000359a branch  0x00007ec5 , 0x00000001 
+ 00011594  0x0000359b qset1  0x0000003f 
+ 00011595  0x0000359c store  0x00000001 , 0x00000a78 
+ 00011596  0x0000359d add  0x00000011 , 0x00000002 , 0x00000006 
+ 00011597  0x0000359e ifetch  0x00000001 , 0x00000006 
+ 00011598  0x0000359f copy  0x0000003f , 0x00000039 
+ 00011599  0x000035a0 copy  0x00000012 , 0x0000003f 
+ 00011600  0x000035a1 imul32  0x00000007 , 0x0000003f 
+ 00011601  0x000035a2 arg  0x00000a7a , 0x00000005 
+ 00011602  0x000035a3 iadd  0x00000005 , 0x00000005 
+ 00011603  0x000035a4 call  0x00007dc7 
+ 00011604  0x000035a5 fetch  0x00000001 , 0x00000a78 
+ 00011605  0x000035a6 isub  0x00000013 , 0x0000003e 
+ 00011606  0x000035a7 ncall  0x00007ec5 , 0x00000005 
+ 00011607  0x000035a8 nbranch  0x00002d66 , 0x00000005 
+ 00011608  0x000035aa call  0x00002d92 
+ 00011609  0x000035ab branch  0x00007ec7 
+ 00011610  0x000035af pincrease  0xffffffff 
+ 00011611  0x000035b0 imul32  0x00000012 , 0x0000003f 
+ 00011612  0x000035b1 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00011613  0x000035b2 ifetcht  0x00000001 , 0x00000006 
+ 00011614  0x000035b3 iadd  0x00000002 , 0x0000003f 
+ 00011615  0x000035b4 store  0x00000001 , 0x00000a79 
+ 00011616  0x000035b5 rtn 
+ 00011617  0x000035b8 arg  0x00000000 , 0x00000013 
+ 00011618  0x000035ba add  0x00000039 , 0xffffffff , 0x00000007 
+ 00011619  0x000035bb qset1  0x00000013 
+ 00011620  0x000035bc loop  0x00002d62 
+ 00011621  0x000035bd rtn 
+ 00011622  0x000035c1 fetch  0x00000002 , 0x00000a74 
+ 00011623  0x000035c2 copy  0x0000003f , 0x00000005 
+ 00011624  0x000035c3 arg  0x00000a76 , 0x00000006 
+ 00011625  0x000035c4 arg  0x00000021 , 0x00000039 
+ 00011626  0x000035c5 branch  0x00007dc7 
+ 00011627  0x000035c9 ifetch  0x00000001 , 0x00000006 
+ 00011628  0x000035ca copy  0x0000003f , 0x00000039 
+ 00011629  0x000035cb store  0x00000001 , 0x00000a79 
+ 00011630  0x000035cc arg  0x00000a7a , 0x00000005 
+ 00011631  0x000035cd call  0x00007dd4 
+ 00011632  0x000035ce branch  0x00007ec7 
+ 00011633  0x000035d3 jam  0x00000032 , 0x00004990 
+ 00011634  0x000035d4 call  0x00002d80 
+ 00011635  0x000035d6 fetcht  0x00000002 , 0x00004991 
+ 00011636  0x000035d7 isub  0x00000002 , 0x0000003e 
+ 00011637  0x000035d9 branch  0x00002d84 , 0x00000005 
+ 00011638  0x000035da sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00011639  0x000035dc branch  0x00002d84 , 0x00000005 
+ 00011640  0x000035de fetcht  0x00000002 , 0x000049b2 
+ 00011641  0x000035df isub  0x00000002 , 0x0000003e 
+ 00011642  0x000035e1 branch  0x00002d87 , 0x00000005 
+ 00011643  0x000035e2 sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00011644  0x000035e4 branch  0x00002d87 , 0x00000005 
+ 00011645  0x000035e6 call  0x00002d92 
+ 00011646  0x000035e7 call  0x00002d80 
+ 00011647  0x000035e8 branch  0x00002d84 
+ 00011648  0x000035ec ifetch  0x00000001 , 0x00000011 
+ 00011649  0x000035ed rtn  0x00000034 
+ 00011650  0x000035ee set1  0x00000008 , 0x0000003f 
+ 00011651  0x000035ef rtn 
+ 00011652  0x000035f2 store  0x00000002 , 0x00004991 
+ 00011653  0x000035f3 setarg  0x00004991 
+ 00011654  0x000035f4 branch  0x00002d8a 
+ 00011655  0x000035f6 store  0x00000002 , 0x000049b2 
+ 00011656  0x000035f7 setarg  0x000049b2 
+ 00011657  0x000035f8 branch  0x00002d8a 
+ 00011658  0x000035fa store  0x00000002 , 0x00000a74 
+ 00011659  0x000035fb copy  0x0000003f , 0x00000006 
+ 00011660  0x000035fc arg  0x00000a76 , 0x00000005 
+ 00011661  0x000035fd arg  0x00000021 , 0x00000039 
+ 00011662  0x000035fe branch  0x00007dc7 
+ 00011663  0x00003602 arg  0x00004990 , 0x00000013 
+ 00011664  0x00003603 arg  0x00002d92 , 0x00000012 
+ 00011665  0x00003604 branch  0x000031fc 
+ 00011666  0x00003607 arg  0x00004991 , 0x00000005 
+ 00011667  0x00003608 arg  0x00000042 , 0x00000039 
+ 00011668  0x00003609 branch  0x00007d9b 
+ 00011669  0x00003610 fetch  0x00000001 , 0x000009f8 
+ 00011670  0x00003611 beq  0x00000049 , 0x00002d9a 
+ 00011671  0x00003612 beq  0x0000001b , 0x00002da3 
+ 00011672  0x00003613 beq  0x0000001c , 0x00002daa 
+ 00011673  0x00003614 rtn 
+ 00011674  0x00003618 call  0x00002d9d 
+ 00011675  0x00003619 fetch  0x00000002 , 0x00004a0d 
+ 00011676  0x0000361a branch  0x00007e7a 
+ 00011677  0x0000361c setarg  0x00000080 
+ 00011678  0x0000361d store  0x00000001 , 0x00000a10 
+ 00011679  0x0000361e setarg  0x0000004a 
+ 00011680  0x0000361f istore  0x00000001 , 0x00000005 
+ 00011681  0x00003620 jam  0x00000002 , 0x00000a0f 
+ 00011682  0x00003621 branch  0x0000305d 
+ 00011683  0x00003625 call  0x00002dc8 
+ 00011684  0x00003626 fetch  0x00000002 , 0x00004a15 
+ 00011685  0x00003627 rtnbit1  0x00000002 
+ 00011686  0x00003628 call  0x00002dd2 
+ 00011687  0x00003629 call  0x00002ddb 
+ 00011688  0x0000362a fetch  0x00000002 , 0x00004a11 
+ 00011689  0x0000362b branch  0x00007e7a 
+ 00011690  0x0000362f call  0x00002dc8 
+ 00011691  0x00003630 fetch  0x00000002 , 0x00004a15 
+ 00011692  0x00003631 rtnbit1  0x00000002 
+ 00011693  0x00003632 call  0x00002dd2 
+ 00011694  0x00003633 fetcht  0x00000002 , 0x000009fb 
+ 00011695  0x00003634 rshift8  0x00000002 , 0x0000003f 
+ 00011696  0x00003635 rshift4  0x0000003f , 0x0000003f 
+ 00011697  0x00003636 beq  0x0000000c , 0x00002db8 
+ 00011698  0x00003637 call  0x00002dbd 
+ 00011699  0x00003638 nrtn  0x00000028 
+ 00011700  0x00003639 setarg  0x00000000 
+ 00011701  0x0000363a istore  0x00000002 , 0x00000011 
+ 00011702  0x0000363b fetch  0x00000002 , 0x00004a11 
+ 00011703  0x0000363c branch  0x00007e7a 
+ 00011704  0x0000363f setarg  0xffffffff 
+ 00011705  0x00003640 istore  0x00000008 , 0x00000011 
+ 00011706  0x00003641 istore  0x00000008 , 0x00000005 
+ 00011707  0x00003642 fetch  0x00000002 , 0x00004a11 
+ 00011708  0x00003643 branch  0x00007e7a 
+ 00011709  0x00003646 arg  0x00000008 , 0x00000039 
+ 00011710  0x00003648 ifetch  0x00000002 , 0x00000011 
+ 00011711  0x00003649 arg  0x0000ffff , 0x00000012 
+ 00011712  0x0000364a isub  0x00000012 , 0x0000003e 
+ 00011713  0x0000364b branch  0x00007ec5 , 0x00000005 
+ 00011714  0x0000364c isub  0x00000002 , 0x0000003e 
+ 00011715  0x0000364d branch  0x00007ec5 , 0x00000005 
+ 00011716  0x0000364f increase  0x00000002 , 0x00000011 
+ 00011717  0x00003650 loop  0x00002dbe 
+ 00011718  0x00003651 call  0x00007ec7 
+ 00011719  0x00003652 rtn 
+ 00011720  0x00003656 setarg  0x00000080 
+ 00011721  0x00003657 store  0x00000001 , 0x00000a10 
+ 00011722  0x00003658 setarg  0x0000001f 
+ 00011723  0x00003659 istore  0x00000001 , 0x00000005 
+ 00011724  0x0000365a setarg  0x00000000 
+ 00011725  0x0000365b istore  0x00000001 , 0x00000005 
+ 00011726  0x0000365c fetch  0x00000006 , 0x000009f9 
+ 00011727  0x0000365d istore  0x00000006 , 0x00000005 
+ 00011728  0x0000365e jam  0x00000009 , 0x00000a0f 
+ 00011729  0x0000365f branch  0x0000305d 
+ 00011730  0x00003662 call  0x00002e14 
+ 00011731  0x00003663 add  0x00000011 , 0x00000006 , 0x00000011 
+ 00011732  0x00003664 fetch  0x00000002 , 0x000009f9 
+ 00011733  0x00003665 fetcht  0x00000002 , 0x00004987 
+ 00011734  0x00003666 byteswap  0x00000002 , 0x00000002 
+ 00011735  0x00003667 isub  0x00000002 , 0x0000003f 
+ 00011736  0x00003668 imul32  0x00000012 , 0x0000003f 
+ 00011737  0x00003669 iadd  0x00000011 , 0x00000011 
+ 00011738  0x0000366a rtn 
+ 00011739  0x0000366d fetcht  0x00000002 , 0x000009fb 
+ 00011740  0x0000366e arg  0x00000008 , 0x00000039 
+ 00011741  0x00003670 ifetch  0x00000002 , 0x00000011 
+ 00011742  0x00003671 branch  0x00002de5 , 0x00000034 
+ 00011743  0x00003672 arg  0x0000ffff , 0x00000012 
+ 00011744  0x00003673 isub  0x00000012 , 0x0000003e 
+ 00011745  0x00003674 branch  0x00002de5 , 0x00000005 
+ 00011746  0x00003675 increase  0x00000002 , 0x00000011 
+ 00011747  0x00003676 loop  0x00002ddd 
+ 00011748  0x00003677 rtn 
+ 00011749  0x0000367a byteswap  0x00000002 , 0x00000002 
+ 00011750  0x0000367b istoret  0x00000002 , 0x00000011 
+ 00011751  0x0000367c rtn 
+ 00011752  0x00003682 call  0x00006e66 
+ 00011753  0x00003684 setarg  0x00002930 
+ 00011754  0x00003685 store  0x00000002 , 0x000049ed 
+ 00011755  0x00003687 setarg  0x00002e18 
+ 00011756  0x00003688 store  0x00000002 , 0x00004465 
+ 00011757  0x0000368a setarg  0x00002f9f 
+ 00011758  0x0000368b store  0x00000002 , 0x00004a0b 
+ 00011759  0x0000368d setarg  0x000029c3 
+ 00011760  0x0000368e store  0x00000002 , 0x000049f1 
+ 00011761  0x00003690 setarg  0x000029d6 
+ 00011762  0x00003691 store  0x00000002 , 0x00004a11 
+ 00011763  0x00003693 setarg  0x000029d2 
+ 00011764  0x00003694 store  0x00000002 , 0x00004a0f 
+ 00011765  0x00003696 setarg  0x00002e1d 
+ 00011766  0x00003697 store  0x00000002 , 0x0000446f 
+ 00011767  0x00003699 setarg  0x0000273c 
+ 00011768  0x0000369a store  0x00000002 , 0x000049ef 
+ 00011769  0x0000369c setarg  0x00002926 
+ 00011770  0x0000369d store  0x00000002 , 0x000049f7 
+ 00011771  0x0000369f setarg  0x0000300b 
+ 00011772  0x000036a0 store  0x00000002 , 0x0000446b 
+ 00011773  0x000036a2 setarg  0x00003014 
+ 00011774  0x000036a3 store  0x00000002 , 0x00004467 
+ 00011775  0x000036a5 jam  0x00000024 , 0x000047d1 
+ 00011776  0x000036a6 call  0x0000284b 
+ 00011777  0x000036a8 bpatchx  0x000000f9 , 0x0000403f 
+ 00011778  0x000036a9 call  0x00002a01 
+ 00011779  0x000036aa call  0x00002e28 
+ 00011780  0x000036ab arg  0x00004976 , 0x00000011 
+ 00011781  0x000036ac arg  0x00000000 , 0x00000012 
+ 00011782  0x000036ad arg  0x00000001 , 0x00000039 
+ 00011783  0x000036ae call  0x000029e6 
+ 00011784  0x000036b0 call  0x00002995 
+ 00011785  0x000036b1 call  0x00002e10 
+ 00011786  0x000036b2 fetch  0x00000001 , 0x00004976 
+ 00011787  0x000036b3 beq  0x000000ff , 0x00002c3b 
+ 00011788  0x000036b5 call  0x00002b0e 
+ 00011789  0x000036b6 call  0x00002b00 
+ 00011790  0x000036b7 call  0x00002ae8 
+ 00011791  0x000036b8 branch  0x000027ff 
+ 00011792  0x000036bc fetch  0x00000006 , 0x000049d7 
+ 00011793  0x000036bd call  0x00007dbb 
+ 00011794  0x000036be store  0x00000006 , 0x0000437a 
+ 00011795  0x000036bf rtn 
+ 00011796  0x000036c2 fetchr  0x00000039 , 0x00000001 , 0x00004a17 
+ 00011797  0x000036c3 fetchr  0x00000011 , 0x00000002 , 0x00004a18 
+ 00011798  0x000036c4 fetchr  0x00000012 , 0x00000002 , 0x00004a1a 
+ 00011799  0x000036c5 rtn 
+ 00011800  0x000036c9 call  0x0000284d 
+ 00011801  0x000036ca call  0x00002a16 
+ 00011802  0x000036cb call  0x00003086 
+ 00011803  0x000036cc call  0x000028dc 
+ 00011804  0x000036cd branch  0x00002919 
+ 00011805  0x000036d1 call  0x00002a18 
+ 00011806  0x000036d2 branch  0x00002d8f 
+ 00011807  0x000036d6 call  0x00002e14 
+ 00011808  0x000036d8 call  0x00002f25 
+ 00011809  0x000036d9 copy  0x00000013 , 0x0000003f 
+ 00011810  0x000036da call  0x00007e7a 
+ 00011811  0x000036db call  0x00002f2a 
+ 00011812  0x000036dc copy  0x00000012 , 0x0000003f 
+ 00011813  0x000036dd iadd  0x00000011 , 0x00000011 
+ 00011814  0x000036de loop  0x00002e20 
+ 00011815  0x000036df rtn 
+ 00011816  0x000036e4 jam  0x0000003f , 0x00008072 
+ 00011817  0x000036e5 jam  0x0000006c , 0x00008071 
+ 00011818  0x000036e6 jam  0x0000006d , 0x00008070 
+ 00011819  0x000036e7 branch  0x00005e5c 
+ 00011820  0x000036eb bpatchx  0x000000fa , 0x0000403f 
+ 00011821  0x000036ec fetch  0x00000001 , 0x00000c14 
+ 00011822  0x000036ed bbit1  0x00000007 , 0x00002e31 
+ 00011823  0x000036ee jam  0x00000000 , 0x00004b29 
+ 00011824  0x000036ef branch  0x00003021 
+ 00011825  0x000036f3 call  0x00002e37 
+ 00011826  0x000036f4 rtn  0x00000028 
+ 00011827  0x000036f5 call  0x00002e58 
+ 00011828  0x000036f6 rtn  0x00000028 
+ 00011829  0x000036f7 call  0x00002e68 
+ 00011830  0x000036f8 branch  0x00002e75 
+ 00011831  0x000036fd call  0x00007ec7 
+ 00011832  0x000036fe arg  0x00000003 , 0x00000039 
+ 00011833  0x000036ff arg  0x00000c15 , 0x00000011 
+ 00011834  0x00003700 call  0x00007dac 
+ 00011835  0x00003701 fetchr  0x00000011 , 0x00000003 , 0x00000c15 
+ 00011836  0x00003702 and  0x00000011 , 0x0000001f , 0x00000002 
+ 00011837  0x00003703 storet  0x00000001 , 0x00004a20 
+ 00011838  0x00003704 fetch  0x00000001 , 0x00004a27 
+ 00011839  0x00003705 isub  0x00000002 , 0x0000003e 
+ 00011840  0x00003706 nbranch  0x00007ec5 , 0x00000002 
+ 00011841  0x00003708 rshift4  0x00000011 , 0x0000003f 
+ 00011842  0x00003709 rshift  0x0000003f , 0x0000003f 
+ 00011843  0x0000370a and  0x0000003f , 0x0000001f , 0x00000002 
+ 00011844  0x0000370b storet  0x00000001 , 0x00004a1f 
+ 00011845  0x0000370c rshift4  0x0000003f , 0x0000003f 
+ 00011846  0x0000370d rshift  0x0000003f , 0x0000003f 
+ 00011847  0x0000370e arg  0x00001fff , 0x00000011 
+ 00011848  0x0000370f iand  0x00000011 , 0x00000002 
+ 00011849  0x00003710 copy  0x0000003f , 0x00000012 
+ 00011850  0x00003711 fetch  0x00000002 , 0x00004a1d 
+ 00011851  0x00003712 isub  0x00000002 , 0x0000003e 
+ 00011852  0x00003713 ncall  0x00002e54 , 0x00000005 
+ 00011853  0x00003714 storet  0x00000002 , 0x00004a1d 
+ 00011854  0x00003715 rshift8  0x00000012 , 0x0000003f 
+ 00011855  0x00003716 rshift4  0x0000003f , 0x0000003f 
+ 00011856  0x00003717 rshift  0x0000003f , 0x0000003f 
+ 00011857  0x00003718 store  0x00000001 , 0x00004a1c 
+ 00011858  0x00003719 store  0x00000001 , 0x00004b29 
+ 00011859  0x0000371a rtn 
+ 00011860  0x0000371d setarg  0x00000000 
+ 00011861  0x0000371e store  0x00000004 , 0x00004a21 
+ 00011862  0x0000371f jam  0x00000000 , 0x00004a26 
+ 00011863  0x00003720 rtn 
+ 00011864  0x00003726 call  0x00007ec7 
+ 00011865  0x00003727 fetch  0x00000001 , 0x00004a1f 
+ 00011866  0x00003728 copy  0x0000003f , 0x00000007 
+ 00011867  0x00003729 fetch  0x00000004 , 0x00004a21 
+ 00011868  0x0000372a qisolate1  0x0000003f 
+ 00011869  0x0000372b branch  0x00007ec5 , 0x00000001 
+ 00011870  0x0000372c qset1  0x0000003f 
+ 00011871  0x0000372d store  0x00000004 , 0x00004a21 
+ 00011872  0x0000372e fetcht  0x00000001 , 0x00004a20 
+ 00011873  0x0000372f add  0x00000002 , 0x00000001 , 0x00000039 
+ 00011874  0x00003731 add  0x00000039 , 0xffffffff , 0x00000007 
+ 00011875  0x00003732 qisolate1  0x0000003f 
+ 00011876  0x00003733 nrtn  0x00000001 
+ 00011877  0x00003734 loop  0x00002e62 
+ 00011878  0x00003735 jam  0x00000001 , 0x00004a25 
+ 00011879  0x00003736 rtn 
+ 00011880  0x0000373b fetch  0x00000001 , 0x00000c0a 
+ 00011881  0x0000373c pincrease  0xfffffffa 
+ 00011882  0x0000373d copy  0x0000003f , 0x00000039 
+ 00011883  0x0000373e fetcht  0x00000001 , 0x00004a26 
+ 00011884  0x0000373f iadd  0x00000002 , 0x00000002 
+ 00011885  0x00003740 storet  0x00000001 , 0x00004a26 
+ 00011886  0x00003741 fetch  0x00000002 , 0x00004a28 
+ 00011887  0x00003742 iforce  0x00000005 
+ 00011888  0x00003743 fetch  0x00000001 , 0x00004a1f 
+ 00011889  0x00003744 mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00011890  0x00003745 iadd  0x00000005 , 0x00000005 
+ 00011891  0x00003746 arg  0x00000c18 , 0x00000006 
+ 00011892  0x00003747 branch  0x00007dd4 
+ 00011893  0x0000374b fetch  0x00000001 , 0x00004a25 
+ 00011894  0x0000374c rtneq  0x00000000 
+ 00011895  0x0000374d setarg  0x00000000 
+ 00011896  0x0000374e store  0x00000005 , 0x00004a21 
+ 00011897  0x0000374f fetcht  0x00000002 , 0x00000c0e 
+ 00011898  0x00003750 byteswap  0x00000002 , 0x00000002 
+ 00011899  0x00003751 setarg  0x0000e000 
+ 00011900  0x00003752 iand  0x00000002 , 0x00000002 
+ 00011901  0x00003753 fetch  0x00000002 , 0x00004a1d 
+ 00011902  0x00003754 ior  0x00000002 , 0x0000003f 
+ 00011903  0x00003755 byteswap  0x0000003f , 0x0000003f 
+ 00011904  0x00003756 store  0x00000002 , 0x00000c0e 
+ 00011905  0x00003757 branch  0x0000302b 
+ 00011906  0x0000375c fetch  0x00000001 , 0x00000a0f 
+ 00011907  0x0000375d add  0x0000003f , 0x00000001 , 0x00000002 
+ 00011908  0x0000375e copy  0x0000003f , 0x00000039 
+ 00011909  0x0000375f storet  0x00000001 , 0x00000bff 
+ 00011910  0x00003760 fetch  0x00000001 , 0x00000c14 
+ 00011911  0x00003761 set0  0x00000007 , 0x0000003f 
+ 00011912  0x00003762 store  0x00000001 , 0x00004b61 
+ 00011913  0x00003763 arg  0x00000a10 , 0x00000006 
+ 00011914  0x00003764 call  0x00007dc7 
+ 00011915  0x00003765 branch  0x00002fdb 
+ 00011916  0x0000376b add  0x00000011 , 0x00000004 , 0x00000002 
+ 00011917  0x0000376c copy  0x00000011 , 0x00000039 
+ 00011918  0x0000376d storet  0x00000001 , 0x00000bff 
+ 00011919  0x0000376e arg  0x00004b65 , 0x00000005 
+ 00011920  0x0000376f call  0x00007dc7 
+ 00011921  0x00003770 fetch  0x00000001 , 0x00000c14 
+ 00011922  0x00003771 set1  0x00000007 , 0x0000003f 
+ 00011923  0x00003772 store  0x00000001 , 0x00004b61 
+ 00011924  0x00003773 branch  0x00002fdb 
+ 00011925  0x00003779 fetch  0x00000001 , 0x000009f8 
+ 00011926  0x0000377b beq  0x00000001 , 0x00002e9c 
+ 00011927  0x0000377c beq  0x00000002 , 0x00002ea2 
+ 00011928  0x0000377d beq  0x00000042 , 0x00002ea7 
+ 00011929  0x0000377e beq  0x0000004c , 0x00002eaa 
+ 00011930  0x0000377f beq  0x0000005e , 0x00002eb0 
+ 00011931  0x00003780 rtn 
+ 00011932  0x00003784 arg  0x00002e9e , 0x00000013 
+ 00011933  0x00003785 branch  0x00002f14 
+ 00011934  0x00003789 fetch  0x00000002 , 0x000049f9 
+ 00011935  0x0000378a call  0x00007e7a 
+ 00011936  0x0000378b store  0x00000001 , 0x000009f9 
+ 00011937  0x0000378c branch  0x0000276d 
+ 00011938  0x00003790 arg  0x00002ea4 , 0x00000013 
+ 00011939  0x00003791 branch  0x00002f14 
+ 00011940  0x00003793 call  0x0000276d 
+ 00011941  0x00003794 fetch  0x00000002 , 0x000049fb 
+ 00011942  0x00003795 branch  0x00007e7a 
+ 00011943  0x0000379a call  0x00002785 
+ 00011944  0x0000379b fetch  0x00000002 , 0x000049fd 
+ 00011945  0x0000379c branch  0x00007e7a 
+ 00011946  0x000037a0 fetch  0x00000002 , 0x000009f9 
+ 00011947  0x000037a1 call  0x00002ebf 
+ 00011948  0x000037a2 store  0x00000001 , 0x000009fe 
+ 00011949  0x000037a3 call  0x00002775 
+ 00011950  0x000037a4 fetch  0x00000002 , 0x000049ff 
+ 00011951  0x000037a5 branch  0x00007e7a 
+ 00011952  0x000037a9 fetch  0x00000002 , 0x00004a2a 
+ 00011953  0x000037aa fetcht  0x00000002 , 0x000009fb 
+ 00011954  0x000037ab isub  0x00000002 , 0x0000003e 
+ 00011955  0x000037ac rtn  0x00000005 
+ 00011956  0x000037ae fetch  0x00000002 , 0x000009fb 
+ 00011957  0x000037af call  0x00002ed1 
+ 00011958  0x000037b0 store  0x00000001 , 0x00000a03 
+ 00011959  0x000037b2 fetch  0x00000002 , 0x000009fb 
+ 00011960  0x000037b3 store  0x00000002 , 0x00004a2a 
+ 00011961  0x000037b4 fetch  0x00000002 , 0x00004a01 
+ 00011962  0x000037b5 call  0x00007e7a 
+ 00011963  0x000037b6 storet  0x00000002 , 0x000009f9 
+ 00011964  0x000037b7 call  0x0000277d 
+ 00011965  0x000037b8 fetch  0x00000002 , 0x00004a03 
+ 00011966  0x000037b9 branch  0x00007e7a 
+ 00011967  0x000037bf rtn  0x00000034 
+ 00011968  0x000037c0 mul32  0x0000003f , 0x00000064 , 0x0000003f 
+ 00011969  0x000037c1 arg  0x0000ffff , 0x00000002 
+ 00011970  0x000037c2 idiv  0x00000002 
+ 00011971  0x000037c3 call  0x00007e64 
+ 00011972  0x000037c4 remainder  0x00000002 
+ 00011973  0x000037c5 rshift8  0x00000002 , 0x00000002 
+ 00011974  0x000037c6 quotient  0x0000003f 
+ 00011975  0x000037c7 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00011976  0x000037c8 nrtn  0x00000005 
+ 00011977  0x000037c9 pincrease  0x00000001 
+ 00011978  0x000037ca rtn 
+ 00011979  0x000037d0 arg  0x0000ffff , 0x0000003f 
+ 00011980  0x000037d1 imul32  0x00000002 , 0x0000003f 
+ 00011981  0x000037d2 div  0x0000003f , 0x00000064 
+ 00011982  0x000037d3 call  0x00007e64 
+ 00011983  0x000037d4 quotient  0x00000002 
+ 00011984  0x000037d5 rtn 
+ 00011985  0x000037da arg  0x00000320 , 0x00000002 
+ 00011986  0x000037db isub  0x00000002 , 0x00000011 
+ 00011987  0x000037dc call  0x00002ee0 
+ 00011988  0x000037dd copy  0x00000011 , 0x0000003f 
+ 00011989  0x000037de idiv  0x00000002 
+ 00011990  0x000037df call  0x00007e64 
+ 00011991  0x000037e0 quotient  0x0000003f 
+ 00011992  0x000037e1 rtn 
+ 00011993  0x000037e7 copy  0x00000002 , 0x00000011 
+ 00011994  0x000037e8 call  0x00002ee0 
+ 00011995  0x000037e9 copy  0x00000011 , 0x0000003f 
+ 00011996  0x000037ea imul32  0x00000002 , 0x0000003f 
+ 00011997  0x000037eb arg  0x00000320 , 0x00000002 
+ 00011998  0x000037ec iadd  0x00000002 , 0x00000002 
+ 00011999  0x000037ed rtn 
+ 00012000  0x000037f0 setarg  0x00004e20 
+ 00012001  0x000037f1 arg  0x00000320 , 0x00000002 
+ 00012002  0x000037f2 isub  0x00000002 , 0x0000003f 
+ 00012003  0x000037f3 div  0x0000003f , 0x00000064 
+ 00012004  0x000037f4 call  0x00007e64 
+ 00012005  0x000037f5 quotient  0x00000002 
+ 00012006  0x000037f6 rtn 
+ 00012007  0x000037fc arg  0x00000000 , 0x00000007 
+ 00012008  0x000037fd fetchr  0x00000039 , 0x00000001 , 0x00004a17 
+ 00012009  0x000037fe call  0x00007ec7 
+ 00012010  0x000037ff fetch  0x00000002 , 0x00004987 
+ 00012011  0x00003801 isub  0x00000002 , 0x0000003e 
+ 00012012  0x00003802 branch  0x00002ef3 , 0x00000005 
+ 00012013  0x00003803 byteswap  0x0000003f , 0x0000003f 
+ 00012014  0x00003804 pincrease  0x00000001 
+ 00012015  0x00003805 byteswap  0x0000003f , 0x0000003f 
+ 00012016  0x00003806 increase  0x00000001 , 0x00000007 
+ 00012017  0x00003807 loop  0x00002eeb 
+ 00012018  0x00003808 rtn 
+ 00012019  0x0000380b jam  0x00000000 , 0x00004a2c 
+ 00012020  0x0000380c storer  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00012021  0x0000380d call  0x00002f2f 
+ 00012022  0x0000380e branch  0x00007ec5 
+ 00012023  0x00003812 arg  0x00000000 , 0x00000007 
+ 00012024  0x00003813 arg  0x00000000 , 0x00000013 
+ 00012025  0x00003814 call  0x00002e14 
+ 00012026  0x00003815 call  0x00007ec7 
+ 00012027  0x00003817 fetch  0x00000002 , 0x00004a15 
+ 00012028  0x00003818 bbit0  0x00000002 , 0x00002f0a 
+ 00012029  0x00003819 ifetch  0x00000002 , 0x00000011 
+ 00012030  0x0000381a isub  0x00000002 , 0x0000003e 
+ 00012031  0x0000381b call  0x00002f08 , 0x00000005 
+ 00012032  0x0000381d copy  0x00000012 , 0x0000003f 
+ 00012033  0x0000381e iadd  0x00000011 , 0x00000011 
+ 00012034  0x0000381f increase  0x00000001 , 0x00000007 
+ 00012035  0x00003820 loop  0x00002efb 
+ 00012036  0x00003821 copy  0x00000013 , 0x0000003f 
+ 00012037  0x00003822 rtn  0x00000034 
+ 00012038  0x00003823 store  0x00000001 , 0x00004a2c 
+ 00012039  0x00003824 branch  0x00007ec5 
+ 00012040  0x00003827 qset1  0x00000013 
+ 00012041  0x00003828 rtn 
+ 00012042  0x0000382b add  0x00000011 , 0x00000006 , 0x00000006 
+ 00012043  0x0000382c arg  0x00000008 , 0x00000030 
+ 00012044  0x0000382e ifetch  0x00000002 , 0x00000006 
+ 00012045  0x0000382f isub  0x00000002 , 0x0000003e 
+ 00012046  0x00003830 branch  0x00002f12 , 0x00000005 
+ 00012047  0x00003831 increase  0xffffffff , 0x00000030 
+ 00012048  0x00003832 branch  0x00002f00 , 0x00000005 
+ 00012049  0x00003833 branch  0x00002f0c 
+ 00012050  0x00003836 call  0x00002f08 
+ 00012051  0x00003837 branch  0x00002f00 
+ 00012052  0x0000383a arg  0x00000000 , 0x00000007 
+ 00012053  0x0000383b fetch  0x00000001 , 0x00004a2c 
+ 00012054  0x0000383c branch  0x00002f20 , 0x00000034 
+ 00012055  0x0000383d copy  0x0000003f , 0x00000012 
+ 00012056  0x0000383e fetchr  0x00000039 , 0x00000001 , 0x00004a17 
+ 00012057  0x00003840 storer  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00012058  0x00003842 qisolate1  0x00000012 
+ 00012059  0x00003843 call  0x00002f20 , 0x00000001 
+ 00012060  0x00003844 fetchr  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00012061  0x00003845 increase  0x00000001 , 0x00000007 
+ 00012062  0x00003846 loop  0x00002f19 
+ 00012063  0x00003847 rtn 
+ 00012064  0x0000384a call  0x00002f25 
+ 00012065  0x0000384b call  0x00002f2f 
+ 00012066  0x0000384c copy  0x00000013 , 0x0000003f 
+ 00012067  0x0000384d call  0x00007e7a 
+ 00012068  0x0000384e branch  0x00002f2a 
+ 00012069  0x00003851 storer  0x00000039 , 0x00000002 , 0x00000c00 
+ 00012070  0x00003852 storer  0x00000011 , 0x00000002 , 0x00000c02 
+ 00012071  0x00003853 storer  0x00000012 , 0x00000002 , 0x00000c04 
+ 00012072  0x00003854 storer  0x00000013 , 0x00000002 , 0x00000c06 
+ 00012073  0x00003855 rtn 
+ 00012074  0x00003858 fetchr  0x00000039 , 0x00000002 , 0x00000c00 
+ 00012075  0x00003859 fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00012076  0x0000385a fetchr  0x00000012 , 0x00000002 , 0x00000c04 
+ 00012077  0x0000385b fetchr  0x00000013 , 0x00000002 , 0x00000c06 
+ 00012078  0x0000385c rtn 
+ 00012079  0x00003860 bpatchx  0x000000fb , 0x0000403f 
+ 00012080  0x00003861 fetch  0x00000002 , 0x00004987 
+ 00012081  0x00003862 byteswap  0x0000003f , 0x0000003f 
+ 00012082  0x00003863 iadd  0x00000007 , 0x0000003f 
+ 00012083  0x00003864 byteswap  0x0000003f , 0x0000003f 
+ 00012084  0x00003865 store  0x00000002 , 0x00004b55 
+ 00012085  0x00003866 call  0x00002e14 
+ 00012086  0x00003867 copy  0x00000007 , 0x0000003f 
+ 00012087  0x00003868 imul32  0x00000012 , 0x0000003f 
+ 00012088  0x00003869 iadd  0x00000011 , 0x00000011 
+ 00012089  0x0000386a add  0x00000011 , 0x00000017 , 0x00000006 
+ 00012090  0x0000386b ifetch  0x00000002 , 0x00000006 
+ 00012091  0x0000386c store , 0x00000002 , 0x0000448c 
+ 00012092  0x0000386d rtn 
+ 00012093  0x00003873 jam  0x00000000 , 0x00000c3a 
+ 00012094  0x00003878 sub  0x00000002 , 0x0000000c , 0x0000003e 
+ 00012095  0x00003879 rtn  0x00000002 
+ 00012096  0x0000387a sub  0x00000002 , 0x0000001e , 0x0000003e 
+ 00012097  0x0000387b nrtn  0x00000002 
+ 00012098  0x0000387c bpatchx  0x000000fc , 0x0000403f 
+ 00012099  0x0000387d call  0x00002f97 
+ 00012100  0x0000387f call  0x00002f65 
+ 00012101  0x00003880 nrtn  0x00000028 
+ 00012102  0x00003882 call  0x00002b1f 
+ 00012103  0x00003888 call  0x00002f8e 
+ 00012104  0x00003889 fetch  0x00000001 , 0x00000c0a 
+ 00012105  0x0000388a arg  0x00000c12 , 0x00000002 
+ 00012106  0x0000388b call  0x00002c09 
+ 00012107  0x0000388c nrtn  0x00000005 
+ 00012108  0x00003890 bpatchx  0x000000fd , 0x0000403f 
+ 00012109  0x00003891 fetcht  0x00000002 , 0x00000c12 
+ 00012110  0x00003892 call  0x00002ee7 
+ 00012111  0x00003893 branch  0x00002f72 , 0x00000028 
+ 00012112  0x00003894 arg  0x0000001d , 0x00000039 
+ 00012113  0x00003895 arg  0x00000a98 , 0x00000005 
+ 00012114  0x00003896 arg  0x00000c0b , 0x00000006 
+ 00012115  0x00003897 call  0x00007dd4 
+ 00012116  0x00003898 call  0x00002f5b 
+ 00012117  0x00003899 arg  0x0000001d , 0x00000039 
+ 00012118  0x0000389a arg  0x00000a98 , 0x00000006 
+ 00012119  0x0000389b arg  0x00000c0b , 0x00000005 
+ 00012120  0x0000389c call  0x00007dd4 
+ 00012121  0x0000389d fetch  0x00000002 , 0x00004a0b 
+ 00012122  0x0000389e branch  0x00007e7a 
+ 00012123  0x000038a1 call  0x00002ef7 
+ 00012124  0x000038a2 branch  0x00002f72 , 0x00000028 
+ 00012125  0x000038a3 jam  0x000000ff , 0x00004a2c 
+ 00012126  0x000038a4 setarg  0x0000ffcf 
+ 00012127  0x000038a5 isub  0x00000002 , 0x0000003e 
+ 00012128  0x000038a6 branch  0x00002f72 , 0x00000005 
+ 00012129  0x000038a7 setarg  0x0000ffff 
+ 00012130  0x000038a8 isub  0x00000002 , 0x0000003e 
+ 00012131  0x000038a9 branch  0x00002f72 , 0x00000005 
+ 00012132  0x000038aa rtn 
+ 00012133  0x000038ae call  0x00007ec7 
+ 00012134  0x000038af fetcht  0x00000001 , 0x00000c0b 
+ 00012135  0x000038b0 rshift4  0x00000002 , 0x0000003f 
+ 00012136  0x000038b1 rshift3  0x0000003f , 0x0000003f 
+ 00012137  0x000038b2 fetchr  0x00000011 , 0x00000001 , 0x00004a31 
+ 00012138  0x000038b3 and  0x00000011 , 0x00000001 , 0x00000011 
+ 00012139  0x000038b4 isub  0x00000011 , 0x0000003e 
+ 00012140  0x000038b5 nrtn  0x00000005 
+ 00012141  0x000038b6 and  0x00000002 , 0x0000007f , 0x00000002 
+ 00012142  0x000038b7 fetch  0x00000001 , 0x000048d4 
+ 00012143  0x000038b8 isub  0x00000002 , 0x0000003e 
+ 00012144  0x000038b9 nrtn  0x00000005 
+ 00012145  0x000038ba branch  0x00007ec5 
+ 00012146  0x000038be arg  0x00004a32 , 0x00000011 
+ 00012147  0x000038bf arg  0x0000000a , 0x00000039 
+ 00012148  0x000038c1 fetcht  0x00000002 , 0x00000c10 
+ 00012149  0x000038c2 ifetch  0x00000002 , 0x00000011 
+ 00012150  0x000038c4 branch  0x00002f7c , 0x00000034 
+ 00012151  0x000038c6 isub  0x00000002 , 0x0000003e 
+ 00012152  0x000038c8 branch  0x00002f7d , 0x00000005 
+ 00012153  0x000038c9 increase  0x00000005 , 0x00000011 
+ 00012154  0x000038ca loop  0x00002f74 
+ 00012155  0x000038cb arg  0x00004a32 , 0x00000011 
+ 00012156  0x000038ce istoret  0x00000002 , 0x00000011 
+ 00012157  0x000038d0 storet  0x00000002 , 0x00000c35 
+ 00012158  0x000038d2 add  0x00000011 , 0x00000002 , 0x00000013 
+ 00012159  0x000038d3 ifetch  0x00000003 , 0x00000013 
+ 00012160  0x000038d4 store  0x00000003 , 0x00000c37 
+ 00012161  0x000038d5 branch  0x00002f82 
+ 00012162  0x000038db call  0x00002f8b 
+ 00012163  0x000038dd fetch  0x00000003 , 0x00000c37 
+ 00012164  0x000038de fetcht  0x00000003 , 0x00000c0d 
+ 00012165  0x000038df isub  0x00000002 , 0x0000003e 
+ 00012166  0x000038e0 rtn  0x00000002 
+ 00012167  0x000038e1 istoret  0x00000003 , 0x00000013 
+ 00012168  0x000038e2 call  0x00002f8b 
+ 00012169  0x000038e3 call  0x00002fee 
+ 00012170  0x000038e4 branch  0x00002e2c 
+ 00012171  0x000038e7 arg  0x00000c0d , 0x00000011 
+ 00012172  0x000038e8 arg  0x00000003 , 0x00000039 
+ 00012173  0x000038e9 branch  0x00007dac 
+ 00012174  0x000038ee call  0x00002f91 
+ 00012175  0x000038f0 arg  0x000048e5 , 0x00000006 
+ 00012176  0x000038f1 branch  0x00006e26 
+ 00012177  0x000038f3 arg  0x00000c28 , 0x00000005 
+ 00012178  0x000038f4 setarg  0x00000000 
+ 00012179  0x000038f5 istore  0x00000001 , 0x00000005 
+ 00012180  0x000038f6 fetch  0x00000006 , 0x00000c0c 
+ 00012181  0x000038f7 istore  0x00000008 , 0x00000005 
+ 00012182  0x000038f8 branch  0x00002fe9 
+ 00012183  0x000038fc add  0x00000002 , 0xfffffff4 , 0x0000003f 
+ 00012184  0x00003906 store  0x00000001 , 0x00000c0a 
+ 00012185  0x00003907 arg  0x0000001d , 0x00000039 
+ 00012186  0x00003908 arg  0x00000c0b , 0x00000005 
+ 00012187  0x00003909 call  0x00007d9b 
+ 00012188  0x0000390a add  0x00000002 , 0xffffffff , 0x00000039 
+ 00012189  0x0000390b arg  0x00000c0b , 0x00000005 
+ 00012190  0x0000390c branch  0x00007dc7 
+ 00012191  0x00003910 call  0x00002fb6 
+ 00012192  0x00003911 nrtn  0x00000028 
+ 00012193  0x00003912 call  0x00002fcb 
+ 00012194  0x00003913 jam  0x0000000a , 0x00000a74 
+ 00012195  0x00003914 fetch  0x00000001 , 0x00000c0a 
+ 00012196  0x00003915 add  0x0000003f , 0x0000000d , 0x00000002 
+ 00012197  0x00003916 storet  0x00000001 , 0x00000a76 
+ 00012198  0x00003917 increase  0xffffffff , 0x00000002 
+ 00012199  0x00003918 istoret  0x00000001 , 0x00000005 
+ 00012200  0x00003919 setarg  0x0000002a 
+ 00012201  0x0000391a istore  0x00000001 , 0x00000005 
+ 00012202  0x0000391b add  0x00000002 , 0xffffffff , 0x00000039 
+ 00012203  0x0000391c fetch  0x00000007 , 0x00000c0b 
+ 00012204  0x0000391d arg  0x00000c0b , 0x00000006 
+ 00012205  0x0000391e call  0x00007dd4 
+ 00012206  0x0000391f fetch  0x00000002 , 0x0000478f 
+ 00012207  0x00003920 isolate1  0x00000009 , 0x0000003f 
+ 00012208  0x00003921 call  0x00002fb3 , 0x00000001 
+ 00012209  0x00003922 arg  0x00000a74 , 0x00000011 
+ 00012210  0x00003923 branch  0x000079aa 
+ 00012211  0x00003926 fetch  0x00000001 , 0x00000c3a 
+ 00012212  0x00003927 rtneq  0x00000002 
+ 00012213  0x00003928 branch  0x00003017 
+ 00012214  0x0000392c call  0x00007ec7 
+ 00012215  0x0000392d fetch  0x00000001 , 0x00000c3a 
+ 00012216  0x0000392e rtneq  0x00000001 
+ 00012217  0x0000392f fetch  0x00000002 , 0x00004a15 
+ 00012218  0x00003930 rtnbit1  0x00000001 
+ 00012219  0x00003931 fetch  0x00000001 , 0x0000496b 
+ 00012220  0x00003932 rtnne  0x00000000 
+ 00012221  0x00003933 fetcht  0x00000002 , 0x00000c10 
+ 00012222  0x00003934 call  0x00002ee7 
+ 00012223  0x00003935 nrtn  0x00000028 
+ 00012224  0x00003936 call  0x00002fd0 
+ 00012225  0x00003937 nrtn  0x00000028 
+ 00012226  0x00003938 call  0x00002fd3 
+ 00012227  0x00003939 fetch  0x00000001 , 0x00000c0c 
+ 00012228  0x0000393a rtn  0x00000034 
+ 00012229  0x0000393b pincrease  0xffffffff 
+ 00012230  0x0000393c rtn  0x00000034 
+ 00012231  0x0000393d store  0x00000001 , 0x00000c0c 
+ 00012232  0x0000393e setarg  0x00004a8c 
+ 00012233  0x0000393f store  0x00000002 , 0x0000448c 
+ 00012234  0x00003940 branch  0x00007ec5 
+ 00012235  0x00003943 call  0x00002f8e 
+ 00012236  0x00003944 fetch  0x00000001 , 0x00000c0a 
+ 00012237  0x00003945 arg  0x00000c12 , 0x00000002 
+ 00012238  0x00003946 call  0x00002be8 
+ 00012239  0x00003947 branch  0x00002b1f 
+ 00012240  0x0000394c setarg  0x00004a64 
+ 00012241  0x0000394d store  0x00000002 , 0x00000bfd 
+ 00012242  0x0000394e branch  0x00002978 
+ 00012243  0x00003952 arg  0x00000002 , 0x00000039 
+ 00012244  0x00003953 arg  0x00000c12 , 0x00000011 
+ 00012245  0x00003954 arg  0x00000021 , 0x00000012 
+ 00012246  0x00003955 call  0x000029e6 
+ 00012247  0x00003956 fetchr  0x00000039 , 0x00000001 , 0x00000be0 
+ 00012248  0x00003957 fetchr  0x00000011 , 0x00000002 , 0x00000be1 
+ 00012249  0x00003958 arg  0x00000021 , 0x00000012 
+ 00012250  0x00003959 branch  0x000029e4 
+ 00012251  0x0000395e bpatchx  0x000000fe , 0x0000403f 
+ 00012252  0x0000395f call  0x00002fdf 
+ 00012253  0x00003960 call  0x00002fe8 
+ 00012254  0x00003961 branch  0x000028c3 
+ 00012255  0x00003967 fetch  0x00000001 , 0x00000bff 
+ 00012256  0x00003968 add  0x0000003f , 0x00000002 , 0x00000011 
+ 00012257  0x00003969 pincrease  0x00000004 
+ 00012258  0x0000396a store  0x00000001 , 0x00000bff 
+ 00012259  0x0000396b arg  0x00004b5f , 0x00000002 
+ 00012260  0x0000396c branch  0x00002fe5 
+ 00012261  0x00003972 call  0x00002f8e 
+ 00012262  0x00003973 copy  0x00000011 , 0x0000003f 
+ 00012263  0x00003974 branch  0x00002be8 
+ 00012264  0x00003978 branch  0x00002b1c 
+ 00012265  0x0000397d fetch  0x00000004 , 0x00004a2e 
+ 00012266  0x0000397e istore  0x00000004 , 0x00000005 
+ 00012267  0x0000397f add  0x00000005 , 0xfffffff3 , 0x0000003f 
+ 00012268  0x00003980 store  0x00000002 , 0x00000bde 
+ 00012269  0x00003981 rtn 
+ 00012270  0x00003984 fetch  0x00000001 , 0x00000c0a 
+ 00012271  0x00003985 add  0x0000003f , 0x0000000b , 0x00000039 
+ 00012272  0x00003986 arg  0x00000c0b , 0x00000011 
+ 00012273  0x00003987 arg  0x00000020 , 0x00000012 
+ 00012274  0x00003988 branch  0x000029e4 
+ 00012275  0x0000398d jam  0x00000014 , 0x000043e7 
+ 00012276  0x0000398e setarg  0x00000002 
+ 00012277  0x0000398f store  0x00000001 , 0x000043e8 
+ 00012278  0x00003990 setarg  0x00000001 
+ 00012279  0x00003991 istore  0x00000001 , 0x00000005 
+ 00012280  0x00003992 setarg  0x00000006 
+ 00012281  0x00003993 istore  0x00000001 , 0x00000005 
+ 00012282  0x00003994 setarg  0x00000003 
+ 00012283  0x00003995 istore  0x00000001 , 0x00000005 
+ 00012284  0x00003996 setarg  0x00000003 
+ 00012285  0x00003997 istore  0x00000001 , 0x00000005 
+ 00012286  0x00003998 setarg  0x00001828 
+ 00012287  0x00003999 istore  0x00000002 , 0x00000005 
+ 00012288  0x0000399a setarg  0x0000000c 
+ 00012289  0x0000399b istore  0x00000001 , 0x00000005 
+ 00012290  0x0000399c setarg  0x00000016 
+ 00012291  0x0000399d istore  0x00000001 , 0x00000005 
+ 00012292  0x0000399e setarg  0x00001828 
+ 00012293  0x0000399f istore  0x00000002 , 0x00000005 
+ 00012294  0x000039a0 setarg  0x00000000 
+ 00012295  0x000039a1 istore  0x00000001 , 0x00000005 
+ 00012296  0x000039a2 fetch  0x00000008 , 0x00004963 
+ 00012297  0x000039a3 istore  0x00000008 , 0x00000005 
+ 00012298  0x000039a4 rtn 
+ 00012299  0x000039aa fetch  0x00000002 , 0x00004437 
+ 00012300  0x000039ab beq  0x0000000e , 0x0000300e 
+ 00012301  0x000039ac rtn 
+ 00012302  0x000039af copy  0x00000012 , 0x00000002 
+ 00012303  0x000039b0 ifetch  0x00000001 , 0x00000011 
+ 00012304  0x000039b1 beq  0x00000000 , 0x00003012 
+ 00012305  0x000039b2 rtn 
+ 00012306  0x000039b5 jam  0x00000002 , 0x00000a97 
+ 00012307  0x000039b6 branch  0x00002f3e 
+ 00012308  0x000039ba copy  0x00000013 , 0x0000003f 
+ 00012309  0x000039bb beq  0x00000015 , 0x00003279 
+ 00012310  0x000039bc rtn 
+ 00012311  0x000039c0 call  0x00001b24 
+ 00012312  0x000039c1 nrtn  0x00000034 
+ 00012313  0x000039c2 fetch  0x00000001 , 0x00000a76 
+ 00012314  0x000039c3 add  0x0000003f , 0xffffffff , 0x00000011 
+ 00012315  0x000039c4 arg  0x00000010 , 0x00000002 
+ 00012316  0x000039c5 call  0x00001e5f 
+ 00012317  0x000039c6 setarg  0x00000000 
+ 00012318  0x000039c7 istore  0x00000001 , 0x00000005 
+ 00012319  0x000039c8 arg  0x00000a79 , 0x00000006 
+ 00012320  0x000039c9 branch  0x00007d7d 
+ 00012321  0x000039d0 bbit0  0x00000006 , 0x00003024 
+ 00012322  0x000039d3 call  0x0000304a 
+ 00012323  0x000039d4 branch  0x00003026 
+ 00012324  0x000039d7 call  0x00003057 
+ 00012325  0x000039d8 branch  0x00003026 
+ 00012326  0x000039dc fetch  0x00000001 , 0x00000c0a 
+ 00012327  0x000039dd pincrease  0xfffffff9 
+ 00012328  0x000039e1 arg  0x00000c15 , 0x00000030 
+ 00012329  0x000039e2 call  0x00007ec7 
+ 00012330  0x000039e3 branch  0x00003038 
+ 00012331  0x000039e7 fetch  0x00000001 , 0x00000c14 
+ 00012332  0x000039e8 bbit0  0x00000006 , 0x0000302f 
+ 00012333  0x000039ea call  0x0000304a 
+ 00012334  0x000039eb branch  0x00003031 
+ 00012335  0x000039ed call  0x00003057 
+ 00012336  0x000039ee branch  0x00003031 
+ 00012337  0x000039f2 fetch  0x00000001 , 0x00004b29 
+ 00012338  0x000039f3 ncall  0x00007ec5 , 0x00000034 
+ 00012339  0x000039f4 call  0x00007ec7 , 0x00000034 
+ 00012340  0x000039f5 fetch  0x00000001 , 0x00004a26 
+ 00012341  0x000039f6 pincrease  0xfffffffc 
+ 00012342  0x000039f7 jam  0x00000000 , 0x00004a26 
+ 00012343  0x000039f8 arg  0x00004bc6 , 0x00000030 
+ 00012344  0x000039fd copy  0x00000030 , 0x00000002 
+ 00012345  0x000039fe call  0x00003044 
+ 00012346  0x000039ff nrtn  0x00000005 
+ 00012347  0x00003a00 arg  0x00000001 , 0x00000039 
+ 00012348  0x00003a01 arg  0x00000be0 , 0x00000011 
+ 00012349  0x00003a02 arg  0x00000040 , 0x00000012 
+ 00012350  0x00003a03 call  0x000029e6 
+ 00012351  0x00003a04 call  0x00003047 
+ 00012352  0x00003a05 nrtn  0x00000028 
+ 00012353  0x00003a06 fetch  0x00000002 , 0x00000be1 
+ 00012354  0x00003a07 copy  0x0000003f , 0x00000030 
+ 00012355  0x00003a08 branch  0x00002735 
+ 00012356  0x00003a0b nbranch  0x00002c09 , 0x00000028 
+ 00012357  0x00003a0c pincrease  0xfffffffc 
+ 00012358  0x00003a0d branch  0x00002c07 
+ 00012359  0x00003a11 setarg  0x00004b2a 
+ 00012360  0x00003a12 store  0x00000002 , 0x00000bfd 
+ 00012361  0x00003a13 branch  0x00002978 
+ 00012362  0x00003a18 call  0x0000304d 
+ 00012363  0x00003a1a arg  0x00004b19 , 0x00000006 
+ 00012364  0x00003a1b branch  0x00006e26 
+ 00012365  0x00003a1d arg  0x00000c28 , 0x00000005 
+ 00012366  0x00003a1e setarg  0x00000001 
+ 00012367  0x00003a1f istore  0x00000001 , 0x00000005 
+ 00012368  0x00003a20 fetch  0x00000001 , 0x00004b29 
+ 00012369  0x00003a21 arg  0x00000000 , 0x00000002 
+ 00012370  0x00003a22 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00012371  0x00003a23 istoret  0x00000001 , 0x00000005 
+ 00012372  0x00003a24 fetch  0x00000007 , 0x00000c0d 
+ 00012373  0x00003a25 istore  0x00000007 , 0x00000005 
+ 00012374  0x00003a26 branch  0x00002fe9 
+ 00012375  0x00003a2b call  0x0000305a 
+ 00012376  0x00003a2d arg  0x00004827 , 0x00000006 
+ 00012377  0x00003a2e branch  0x00006e26 
+ 00012378  0x00003a30 arg  0x00000c28 , 0x00000005 
+ 00012379  0x00003a31 setarg  0x00000002 
+ 00012380  0x00003a32 branch  0x0000304f 
+ 00012381  0x00003a3a bpatchx  0x000000ff , 0x0000403f 
+ 00012382  0x00003a3b call  0x0000314b 
+ 00012383  0x00003a3c call  0x0000314c 
+ 00012384  0x00003a3d call  0x0000311b 
+ 00012385  0x00003a40 call  0x00003066 
+ 00012386  0x00003a41 rtn  0x00000028 
+ 00012387  0x00003a42 call  0x0000307e 
+ 00012388  0x00003a44 arg  0x00000c43 , 0x00000011 
+ 00012389  0x00003a45 branch  0x000079aa 
+ 00012390  0x00003a4a call  0x00007ec7 
+ 00012391  0x00003a4b arg  0x00000002 , 0x00000002 
+ 00012392  0x00003a4c fetch  0x00000001 , 0x0000496b 
+ 00012393  0x00003a4d iadd  0x00000002 , 0x00000002 
+ 00012394  0x00003a4e fetch  0x00000001 , 0x00000c3a 
+ 00012395  0x00003a4f sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00012396  0x00003a50 setflag  0x00000005 , 0x00000007 , 0x00000002 
+ 00012397  0x00003a51 fetch  0x00000001 , 0x00000c3a 
+ 00012398  0x00003a52 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00012399  0x00003a53 setflag  0x00000005 , 0x00000006 , 0x00000002 
+ 00012400  0x00003a54 storet  0x00000001 , 0x00000c43 
+ 00012401  0x00003a55 fetch  0x00000009 , 0x00004b58 
+ 00012402  0x00003a56 store  0x00000009 , 0x00000c47 
+ 00012403  0x00003a57 fetch  0x00000001 , 0x00000a10 
+ 00012404  0x00003a58 rtnne  0x000000d4 
+ 00012405  0x00003a59 fetch  0x00000001 , 0x0000496b 
+ 00012406  0x00003a5a bne  0x00000000 , 0x00007ec5 
+ 00012407  0x00003a5b fetch  0x00000001 , 0x00000a13 
+ 00012408  0x00003a5c store  0x00000001 , 0x00000c46 
+ 00012409  0x00003a5d fetch  0x00000001 , 0x00000c43 
+ 00012410  0x00003a5e pincrease  0x00000001 
+ 00012411  0x00003a5f set1  0x00000005 , 0x0000003f 
+ 00012412  0x00003a60 store  0x00000001 , 0x00000c43 
+ 00012413  0x00003a61 rtn 
+ 00012414  0x00003a65 fetch  0x00000001 , 0x00000a0f 
+ 00012415  0x00003a66 copy  0x0000003f , 0x00000039 
+ 00012416  0x00003a67 store  0x00000001 , 0x00000c50 
+ 00012417  0x00003a68 fetch  0x00000001 , 0x00000c14 
+ 00012418  0x00003a69 store  0x00000001 , 0x00000c51 
+ 00012419  0x00003a6a arg  0x00000c56 , 0x00000005 
+ 00012420  0x00003a6b arg  0x00000a10 , 0x00000006 
+ 00012421  0x00003a6c branch  0x00007dd4 
+ 00012422  0x00003a70 arg  0x00003088 , 0x00000013 
+ 00012423  0x00003a71 branch  0x00002e1f 
+ 00012424  0x00003a75 add  0x00000011 , 0x00000016 , 0x00000006 
+ 00012425  0x00003a76 ifetch  0x00000001 , 0x00000006 
+ 00012426  0x00003a77 nrtn  0x00000034 
+ 00012427  0x00003a78 ifetch  0x00000002 , 0x00000006 
+ 00012428  0x00003a79 store  0x00000002 , 0x0000448c 
+ 00012429  0x00003a7a arg  0x00000c43 , 0x00000011 
+ 00012430  0x00003a7b call  0x000079d2 
+ 00012431  0x00003a7c nrtn  0x00000028 
+ 00012432  0x00003a7d fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00012433  0x00003a7f fetcht  0x00000001 , 0x00000c43 
+ 00012434  0x00003a80 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00012435  0x00003a81 branch  0x000030ca , 0x00000034 
+ 00012436  0x00003a82 add  0x00000011 , 0x00000016 , 0x00000005 
+ 00012437  0x00003a83 setarg  0x00000001 
+ 00012438  0x00003a84 istore  0x00000001 , 0x00000005 
+ 00012439  0x00003a86 call  0x000030b4 
+ 00012440  0x00003a88 fetcht  0x00000001 , 0x00000c43 
+ 00012441  0x00003a89 call  0x000030ba 
+ 00012442  0x00003a8a add  0x00000011 , 0x00000019 , 0x00000005 
+ 00012443  0x00003a8b istore  0x00000001 , 0x00000005 
+ 00012444  0x00003a8d add  0x00000011 , 0x0000001a , 0x00000006 
+ 00012445  0x00003a8e ifetch  0x00000001 , 0x00000006 
+ 00012446  0x00003a8f isolate1  0x00000007 , 0x00000002 
+ 00012447  0x00003a90 setflag  0x00000001 , 0x00000002 , 0x0000003f 
+ 00012448  0x00003a91 add  0x00000011 , 0x0000001a , 0x00000005 
+ 00012449  0x00003a92 istore  0x00000001 , 0x00000005 
+ 00012450  0x00003a94 set1  0x00000004 , 0x00000002 
+ 00012451  0x00003a96 increase  0xffffffff , 0x00000002 
+ 00012452  0x00003a97 istoret  0x00000001 , 0x00000012 
+ 00012453  0x00003a99 fetcht  0x00000001 , 0x00000c43 
+ 00012454  0x00003a9a isolate1  0x00000004 , 0x00000002 
+ 00012455  0x00003a9b nbranch  0x000030cf , 0x00000001 
+ 00012456  0x00003a9c fetcht  0x00000001 , 0x00000c50 
+ 00012457  0x00003a9d storet  0x00000001 , 0x00000a0f 
+ 00012458  0x00003a9e copy  0x00000002 , 0x00000039 
+ 00012459  0x00003a9f arg  0x00000a10 , 0x00000005 
+ 00012460  0x00003aa0 arg  0x00000c56 , 0x00000006 
+ 00012461  0x00003aa1 call  0x00007dd4 
+ 00012462  0x00003aa2 sub  0x00000002 , 0x0000000f , 0x0000003e 
+ 00012463  0x00003aa3 nbranch  0x000030b1 , 0x00000002 
+ 00012464  0x00003aa5 branch  0x00002e82 
+ 00012465  0x00003aa9 fetch  0x00000004 , 0x00000c52 
+ 00012466  0x00003aaa store  0x00000004 , 0x00000c3e 
+ 00012467  0x00003aab branch  0x000030f0 
+ 00012468  0x00003aaf fetch  0x00000001 , 0x00000c51 
+ 00012469  0x00003ab0 store  0x00000001 , 0x00000c14 
+ 00012470  0x00003ab2 fetch  0x00000009 , 0x00000c47 
+ 00012471  0x00003ab3 store  0x00000009 , 0x00004b58 
+ 00012472  0x00003ab4 store  0x00000009 , 0x00000c0b 
+ 00012473  0x00003ab5 rtn 
+ 00012474  0x00003ab9 setarg  0x00000003 
+ 00012475  0x00003aba call  0x000030c7 
+ 00012476  0x00003abb fetch  0x00000001 , 0x00000c46 
+ 00012477  0x00003abc isolate1  0x00000005 , 0x00000002 
+ 00012478  0x00003abd rtn  0x00000001 
+ 00012479  0x00003abe setarg  0x00000001 
+ 00012480  0x00003abf call  0x000030c7 
+ 00012481  0x00003ac0 setarg  0x00000000 
+ 00012482  0x00003ac1 isolate1  0x00000006 , 0x00000002 
+ 00012483  0x00003ac2 nrtn  0x00000001 
+ 00012484  0x00003ac3 setarg  0x00000002 
+ 00012485  0x00003ac4 call  0x000030c7 
+ 00012486  0x00003ac5 branch  0x00007ed1 
+ 00012487  0x00003ac8 add  0x00000011 , 0x0000001a , 0x00000005 
+ 00012488  0x00003ac9 istore  0x00000001 , 0x00000005 
+ 00012489  0x00003aca rtn 
+ 00012490  0x00003ace setarg  0x00000000 
+ 00012491  0x00003acf add  0x00000011 , 0x00000019 , 0x00000005 
+ 00012492  0x00003ad0 istore  0x00000001 , 0x00000005 
+ 00012493  0x00003ad1 arg  0x00000c43 , 0x00000011 
+ 00012494  0x00003ad2 branch  0x000079c1 
+ 00012495  0x00003ad5 call  0x00003113 
+ 00012496  0x00003ad6 call  0x00003127 
+ 00012497  0x00003ad7 fetch  0x00000009 , 0x00004b58 
+ 00012498  0x00003ad8 store  0x00000009 , 0x00000c47 
+ 00012499  0x00003ad9 call  0x000030e8 
+ 00012500  0x00003ada setarg  0x00000000 
+ 00012501  0x00003adb store  0x00000001 , 0x00004b29 
+ 00012502  0x00003adc call  0x00003109 
+ 00012503  0x00003ade fetcht  0x00000001 , 0x00000a0f 
+ 00012504  0x00003adf storet  0x00000001 , 0x00000c50 
+ 00012505  0x00003ae0 copy  0x00000002 , 0x00000039 
+ 00012506  0x00003ae1 arg  0x00000a10 , 0x00000006 
+ 00012507  0x00003ae2 arg  0x00000c56 , 0x00000005 
+ 00012508  0x00003ae3 call  0x00007dd4 
+ 00012509  0x00003ae5 sub  0x00000002 , 0x0000000f , 0x0000003e 
+ 00012510  0x00003ae6 nbranch  0x000030e2 , 0x00000002 
+ 00012511  0x00003ae9 arg  0x00000c44 , 0x00000011 
+ 00012512  0x00003aea call  0x000079e1 
+ 00012513  0x00003aeb branch  0x00002e82 
+ 00012514  0x00003aee call  0x0000312f 
+ 00012515  0x00003aef fetch  0x00000004 , 0x00000c3e 
+ 00012516  0x00003af0 store  0x00000004 , 0x00000c52 
+ 00012517  0x00003af1 arg  0x00000c44 , 0x00000011 
+ 00012518  0x00003af2 call  0x000079e1 
+ 00012519  0x00003af3 branch  0x000030f0 
+ 00012520  0x00003af6 fetch  0x00000001 , 0x00000c50 
+ 00012521  0x00003af7 copy  0x0000003f , 0x00000039 
+ 00012522  0x00003af8 store  0x00000001 , 0x00000a0f 
+ 00012523  0x00003af9 fetch  0x00000001 , 0x00000c51 
+ 00012524  0x00003afa store  0x00000001 , 0x00000c14 
+ 00012525  0x00003afb arg  0x00000c56 , 0x00000006 
+ 00012526  0x00003afc arg  0x00000a10 , 0x00000005 
+ 00012527  0x00003afd branch  0x00007dd4 
+ 00012528  0x00003b00 call  0x0000313c 
+ 00012529  0x00003b01 setarg  0x00000a10 
+ 00012530  0x00003b02 store  0x00000002 , 0x00000c3b 
+ 00012531  0x00003b04 call  0x000030b4 
+ 00012532  0x00003b05 call  0x00003113 
+ 00012533  0x00003b06 call  0x00003127 
+ 00012534  0x00003b08 fetcht  0x00000001 , 0x00000a0f 
+ 00012535  0x00003b09 setarg  0x0000000c 
+ 00012536  0x00003b0a call  0x00007ebb 
+ 00012537  0x00003b0b copy  0x0000003f , 0x00000011 
+ 00012538  0x00003b0c copy  0x00000002 , 0x0000003f 
+ 00012539  0x00003b0d isub  0x00000011 , 0x0000003f 
+ 00012540  0x00003b0e store  0x00000001 , 0x00000a0f 
+ 00012541  0x00003b0f fetch  0x00000002 , 0x00000c3b 
+ 00012542  0x00003b10 copy  0x0000003f , 0x00000006 
+ 00012543  0x00003b11 iadd  0x00000011 , 0x00000002 
+ 00012544  0x00003b12 storet  0x00000002 , 0x00000c3b 
+ 00012545  0x00003b13 call  0x00002e8c 
+ 00012546  0x00003b14 fetch  0x00000001 , 0x00000a0f 
+ 00012547  0x00003b15 rtn  0x00000034 
+ 00012548  0x00003b16 fetch  0x00000001 , 0x00000c40 
+ 00012549  0x00003b17 pincrease  0x00000001 
+ 00012550  0x00003b18 store  0x00000001 , 0x00000c40 
+ 00012551  0x00003b19 call  0x0000313c 
+ 00012552  0x00003b1a branch  0x000030f3 
+ 00012553  0x00003b20 fetch  0x00000001 , 0x00000c14 
+ 00012554  0x00003b21 bbit0  0x00000006 , 0x0000310d 
+ 00012555  0x00003b23 call  0x0000304a 
+ 00012556  0x00003b24 branch  0x0000310e 
+ 00012557  0x00003b26 call  0x00003057 
+ 00012558  0x00003b28 fetch  0x00000001 , 0x00000a0f 
+ 00012559  0x00003b29 add  0x0000003f , 0x00000004 , 0x00000002 
+ 00012560  0x00003b2a storet  0x00000001 , 0x00000a0f 
+ 00012561  0x00003b2b arg  0x00000a10 , 0x00000002 
+ 00012562  0x00003b2c branch  0x00002be8 
+ 00012563  0x00003b32 fetch  0x00000003 , 0x00004b52 
+ 00012564  0x00003b33 pincrease  0x00000001 
+ 00012565  0x00003b34 store  0x00000003 , 0x00004b52 
+ 00012566  0x00003b35 fetch  0x00000001 , 0x0000498f 
+ 00012567  0x00003b36 pincrease  0x00000001 
+ 00012568  0x00003b37 store  0x00000001 , 0x0000498f 
+ 00012569  0x00003b38 fetch  0x00000002 , 0x00004a0f 
+ 00012570  0x00003b39 branch  0x00007e7a 
+ 00012571  0x00003b3e fetch  0x00000001 , 0x00004a31 
+ 00012572  0x00003b3f lshift4  0x0000003f , 0x0000003f 
+ 00012573  0x00003b40 lshift3  0x0000003f , 0x0000003f 
+ 00012574  0x00003b41 fetcht  0x00000001 , 0x000048d4 
+ 00012575  0x00003b42 ior  0x00000002 , 0x0000003f 
+ 00012576  0x00003b43 store  0x00000001 , 0x00004b58 
+ 00012577  0x00003b44 fetch  0x00000001 , 0x00004b57 
+ 00012578  0x00003b45 store  0x00000001 , 0x00004b59 
+ 00012579  0x00003b46 fetch  0x00000002 , 0x00004b55 
+ 00012580  0x00003b47 store  0x00000002 , 0x00004b5d 
+ 00012581  0x00003b48 fetch  0x00000002 , 0x00000c35 
+ 00012582  0x00003b49 store  0x00000002 , 0x00004b5f 
+ 00012583  0x00003b4c fetch  0x00000003 , 0x00004b52 
+ 00012584  0x00003b4d store  0x00000003 , 0x00004b5a 
+ 00012585  0x00003b4e arg  0x00004b5a , 0x00000011 
+ 00012586  0x00003b4f arg  0x00000003 , 0x00000039 
+ 00012587  0x00003b50 call  0x00007dac 
+ 00012588  0x00003b51 fetch  0x00000008 , 0x00004b59 
+ 00012589  0x00003b52 store  0x00000008 , 0x00000c0c 
+ 00012590  0x00003b53 rtn 
+ 00012591  0x00003b56 fetch  0x00000001 , 0x00000a0f 
+ 00012592  0x00003b57 div  0x0000003f , 0x0000000c 
+ 00012593  0x00003b58 call  0x00007e64 
+ 00012594  0x00003b59 quotient  0x00000002 
+ 00012595  0x00003b5a remainder  0x0000003f 
+ 00012596  0x00003b5b call  0x00003149 , 0x00000034 
+ 00012597  0x00003b5c storet  0x00000001 , 0x00000c41 
+ 00012598  0x00003b5d jam  0x00000000 , 0x00000c40 
+ 00012599  0x00003b5e fetch  0x00000003 , 0x00004b52 
+ 00012600  0x00003b5f arg  0x00001fff , 0x00000002 
+ 00012601  0x00003b60 iand  0x00000002 , 0x0000003f 
+ 00012602  0x00003b61 store  0x00000002 , 0x00000c3e 
+ 00012603  0x00003b62 rtn 
+ 00012604  0x00003b65 fetch  0x00000002 , 0x00000c3e 
+ 00012605  0x00003b66 lshift4  0x0000003f , 0x0000003f 
+ 00012606  0x00003b67 lshift  0x0000003f , 0x0000003f 
+ 00012607  0x00003b68 fetcht  0x00000001 , 0x00000c40 
+ 00012608  0x00003b69 ior  0x00000002 , 0x0000003f 
+ 00012609  0x00003b6a lshift4  0x0000003f , 0x0000003f 
+ 00012610  0x00003b6b lshift  0x0000003f , 0x0000003f 
+ 00012611  0x00003b6c fetcht  0x00000001 , 0x00000c41 
+ 00012612  0x00003b6d ior  0x00000002 , 0x0000003f 
+ 00012613  0x00003b6e store  0x00000003 , 0x00004b62 
+ 00012614  0x00003b6f arg  0x00000003 , 0x00000039 
+ 00012615  0x00003b70 arg  0x00004b62 , 0x00000011 
+ 00012616  0x00003b71 branch  0x00007dac 
+ 00012617  0x00003b75 increase  0xffffffff , 0x00000002 
+ 00012618  0x00003b76 rtn 
+ 00012619  0x00003b79 rtn 
+ 00012620  0x00003b7d arg  0x00000a10 , 0x00000011 
+ 00012621  0x00003b7e fetchr  0x00000039 , 0x00000001 , 0x00000a0f 
+ 00012622  0x00003b7f arg  0x00000041 , 0x00000012 
+ 00012623  0x00003b80 branch  0x000029e6 
+ 00012624  0x00003b83 bpatch  0x000000ad , 0x00004015 
+ 00012625  0x00003b84 fetch  0x00000001 , 0x0000409a 
+ 00012626  0x00003b85 branch  0x00003150 , 0x00000034 
+ 00012627  0x00003b86 beq  0x00000004 , 0x0000369a 
+ 00012628  0x00003b87 beq  0x0000000f , 0x000032b9 
+ 00012629  0x00003b88 beq  0x00000009 , 0x00004b23 
+ 00012630  0x00003b89 beq  0x0000000a , 0x00003814 
+ 00012631  0x00003b8a beq  0x0000000e , 0x0000345e 
+ 00012632  0x00003b8b beq  0x0000000d , 0x00004a0d 
+ 00012633  0x00003b8c beq  0x0000000c , 0x00004d18 
+ 00012634  0x00003b8d beq  0x0000000b , 0x00002de8 
+ 00012635  0x00003b8e beq  0x00000008 , 0x00003c75 
+ 00012636  0x00003b8f rtn 
+ 00012637  0x00003b92 jam  0x00000000 , 0x00000a51 
+ 00012638  0x00003b93 jam  0x00000000 , 0x000000e3 
+ 00012639  0x00003b94 jam  0x00000000 , 0x000000e4 
+ 00012640  0x00003b95 setarg  0x00000000 
+ 00012641  0x00003b96 store  0x00000005 , 0x00000870 
+ 00012642  0x00003b97 fetch  0x00000001 , 0x0000409a 
+ 00012643  0x00003b98 branch  0x0000315d , 0x00000034 
+ 00012644  0x00003b99 beq  0x0000000a , 0x0000383d 
+ 00012645  0x00003b9b rtn 
+ 00012646  0x00003b9e rtn  0x0000002b 
+ 00012647  0x00003b9f call  0x00005cb7 
+ 00012648  0x00003ba0 call  0x00005cc0 
+ 00012649  0x00003ba1 call  0x00005cc6 
+ 00012650  0x00003ba2 call  0x00005ccb 
+ 00012651  0x00003ba3 call  0x00005cd1 
+ 00012652  0x00003ba4 call  0x00005cd5 
+ 00012653  0x00003ba5 call  0x00006150 
+ 00012654  0x00003ba6 fetch  0x00000001 , 0x0000409a 
+ 00012655  0x00003ba7 beq  0x00000009 , 0x00004c62 
+ 00012656  0x00003ba8 beq  0x00000004 , 0x000036a5 
+ 00012657  0x00003ba9 beq  0x00000008 , 0x00003cb8 
+ 00012658  0x00003baa beq  0x0000000d , 0x00004add 
+ 00012659  0x00003bab rtn 
+ 00012660  0x00003bae jam  0x000000ff , 0x000041ef 
+ 00012661  0x00003baf setarg  0x000041ef 
+ 00012662  0x00003bb0 store  0x00000002 , 0x000040ca 
+ 00012663  0x00003bb2 jam  0x000000ff , 0x00004793 
+ 00012664  0x00003bb3 jam  0x00000088 , 0x0000417a 
+ 00012665  0x00003bb4 jam  0x000000ce , 0x0000417c 
+ 00012666  0x00003bb5 rtn 
+ 00012667  0x00003bba call  0x00007824 
+ 00012668  0x00003bbb call  0x000078f2 
+ 00012669  0x00003bbc call  0x00003184 
+ 00012670  0x00003bbd fetch  0x00000002 , 0x00004465 
+ 00012671  0x00003bbe branch  0x00007e7a 
+ 00012672  0x00003bc1 fetch  0x00000002 , 0x00004463 
+ 00012673  0x00003bc2 branch  0x00007e7a 
+ 00012674  0x00003bc5 fetch  0x00000002 , 0x00004461 
+ 00012675  0x00003bc6 branch  0x00007e7a 
+ 00012676  0x00003bc9 bpatch  0x000000ae , 0x00004015 
+ 00012677  0x00003bcb arg  0x00004775 , 0x00000011 
+ 00012678  0x00003bcc call  0x00007ea2 
+ 00012679  0x00003bcd rtn  0x00000034 
+ 00012680  0x00003bcf copy  0x0000003f , 0x00000013 
+ 00012681  0x00003bd0 call  0x0000318d 
+ 00012682  0x00003bd1 branch  0x000031b2 
+ 00012683  0x00003bd4 arg  0x00000000 , 0x00000013 
+ 00012684  0x00003bd5 rtn 
+ 00012685  0x00003bdb beq  0x00000001 , 0x0000319f 
+ 00012686  0x00003bdc beq  0x00000010 , 0x000031e6 
+ 00012687  0x00003bdd beq  0x00000005 , 0x000031c3 
+ 00012688  0x00003bde beq  0x00000012 , 0x000031ca 
+ 00012689  0x00003bdf beq  0x00000006 , 0x000031e2 
+ 00012690  0x00003be0 beq  0x00000004 , 0x00003223 
+ 00012691  0x00003be1 beq  0x00000002 , 0x00003228 
+ 00012692  0x00003be2 beq  0x00000013 , 0x00003223 
+ 00012693  0x00003be3 beq  0x00000014 , 0x000031d9 
+ 00012694  0x00003be4 beq  0x00000015 , 0x000031dd 
+ 00012695  0x00003be5 beq  0x00000003 , 0x000031bc 
+ 00012696  0x00003be6 beq  0x0000000b , 0x000031ce 
+ 00012697  0x00003be7 beq  0x0000000c , 0x000031d5 
+ 00012698  0x00003be9 beq  0x00000016 , 0x000031ea 
+ 00012699  0x00003bea beq  0x00000018 , 0x000031b8 
+ 00012700  0x00003beb beq  0x0000002a , 0x000031a8 
+ 00012701  0x00003bec beq  0x0000002b , 0x000031a6 
+ 00012702  0x00003bed rtn 
+ 00012703  0x00003bf1 fetch  0x00000002 , 0x0000478f 
+ 00012704  0x00003bf2 set1  0x00000000 , 0x0000003f 
+ 00012705  0x00003bf3 store  0x00000002 , 0x0000478f 
+ 00012706  0x00003bf4 fetch  0x00000002 , 0x00004482 
+ 00012707  0x00003bf5 set0  0x00000000 , 0x0000003f 
+ 00012708  0x00003bf6 store  0x00000002 , 0x00004482 
+ 00012709  0x00003bf7 branch  0x00007934 
+ 00012710  0x00003bfa jam  0x00000000 , 0x0000030c 
+ 00012711  0x00003bfb rtn 
+ 00012712  0x00003bfe fetch  0x00000001 , 0x0000030c 
+ 00012713  0x00003bff increase  0x00000001 , 0x0000003f 
+ 00012714  0x00003c00 store  0x00000001 , 0x0000030c 
+ 00012715  0x00003c01 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00012716  0x00003c02 branch  0x0000325e , 0x00000002 
+ 00012717  0x00003c03 jam  0x00000000 , 0x0000030c 
+ 00012718  0x00003c04 fetch  0x00000002 , 0x00004482 
+ 00012719  0x00003c05 set1  0x00000009 , 0x0000003f 
+ 00012720  0x00003c06 store  0x00000002 , 0x00004482 
+ 00012721  0x00003c07 branch  0x00003268 
+ 00012722  0x00003c0a fetch  0x00000002 , 0x00004467 
+ 00012723  0x00003c0b branch  0x00007e7a 
+ 00012724  0x00003c0e fetch  0x00000002 , 0x0000445b 
+ 00012725  0x00003c0f branch  0x00007e7a 
+ 00012726  0x00003c12 fetch  0x00000002 , 0x0000445f 
+ 00012727  0x00003c13 branch  0x00007e7a 
+ 00012728  0x00003c16 fetch  0x00000002 , 0x00004482 
+ 00012729  0x00003c17 set1  0x00000001 , 0x0000003f 
+ 00012730  0x00003c18 store  0x00000002 , 0x00004482 
+ 00012731  0x00003c19 branch  0x00003291 
+ 00012732  0x00003c1c fetch  0x00000002 , 0x0000478f 
+ 00012733  0x00003c1d set1  0x00000007 , 0x0000003f 
+ 00012734  0x00003c1e store  0x00000002 , 0x0000478f 
+ 00012735  0x00003c1f fetch  0x00000002 , 0x00004482 
+ 00012736  0x00003c20 set1  0x00000002 , 0x0000003f 
+ 00012737  0x00003c21 store  0x00000002 , 0x00004482 
+ 00012738  0x00003c22 rtn 
+ 00012739  0x00003c25 fetch  0x00000002 , 0x0000478f 
+ 00012740  0x00003c26 set1  0x00000001 , 0x0000003f 
+ 00012741  0x00003c27 store  0x00000002 , 0x0000478f 
+ 00012742  0x00003c28 fetch  0x00000002 , 0x00004482 
+ 00012743  0x00003c29 set1  0x00000004 , 0x0000003f 
+ 00012744  0x00003c2a store  0x00000002 , 0x00004482 
+ 00012745  0x00003c2b rtn 
+ 00012746  0x00003c2e fetch  0x00000002 , 0x0000478f 
+ 00012747  0x00003c2f set1  0x00000003 , 0x0000003f 
+ 00012748  0x00003c30 store  0x00000002 , 0x0000478f 
+ 00012749  0x00003c31 rtn 
+ 00012750  0x00003c34 fetch  0x00000002 , 0x0000478f 
+ 00012751  0x00003c35 set1  0x00000005 , 0x0000003f 
+ 00012752  0x00003c36 store  0x00000002 , 0x0000478f 
+ 00012753  0x00003c37 fetch  0x00000002 , 0x00004482 
+ 00012754  0x00003c38 set1  0x00000003 , 0x0000003f 
+ 00012755  0x00003c39 store  0x00000002 , 0x00004482 
+ 00012756  0x00003c3a rtn 
+ 00012757  0x00003c3d fetch  0x00000002 , 0x0000478f 
+ 00012758  0x00003c3e set0  0x00000005 , 0x0000003f 
+ 00012759  0x00003c3f store  0x00000002 , 0x0000478f 
+ 00012760  0x00003c40 rtn 
+ 00012761  0x00003c43 fetch  0x00000002 , 0x0000478f 
+ 00012762  0x00003c44 set1  0x00000009 , 0x0000003f 
+ 00012763  0x00003c45 store  0x00000002 , 0x0000478f 
+ 00012764  0x00003c46 rtn 
+ 00012765  0x00003c49 jam  0x00000000 , 0x00004435 
+ 00012766  0x00003c4a fetch  0x00000002 , 0x0000478f 
+ 00012767  0x00003c4b set0  0x00000009 , 0x0000003f 
+ 00012768  0x00003c4c store  0x00000002 , 0x0000478f 
+ 00012769  0x00003c4d branch  0x00003297 
+ 00012770  0x00003c50 fetch  0x00000002 , 0x0000478f 
+ 00012771  0x00003c51 set1  0x00000002 , 0x0000003f 
+ 00012772  0x00003c52 store  0x00000002 , 0x0000478f 
+ 00012773  0x00003c53 rtn 
+ 00012774  0x00003c56 fetch  0x00000002 , 0x00004482 
+ 00012775  0x00003c57 set1  0x00000000 , 0x0000003f 
+ 00012776  0x00003c58 store  0x00000002 , 0x00004482 
+ 00012777  0x00003c59 rtn 
+ 00012778  0x00003c5c fetch  0x00000002 , 0x00004482 
+ 00012779  0x00003c5d set1  0x00000008 , 0x0000003f 
+ 00012780  0x00003c5e store  0x00000002 , 0x00004482 
+ 00012781  0x00003c5f branch  0x00003268 
+ 00012782  0x00003c63 store  0x00000001 , 0x0000030d 
+ 00012783  0x00003c65 bpatch  0x000000af , 0x00004015 
+ 00012784  0x00003c66 fetch  0x00000001 , 0x0000030d 
+ 00012785  0x00003c67 rtn  0x00000034 
+ 00012786  0x00003c68 increase  0xffffffff , 0x0000003f 
+ 00012787  0x00003c69 store  0x00000001 , 0x0000030d 
+ 00012788  0x00003c6a call  0x00007830 
+ 00012789  0x00003c6b call  0x00003255 
+ 00012790  0x00003c6c call  0x00003216 
+ 00012791  0x00003c6d call  0x0000321c 
+ 00012792  0x00003c6e call  0x00005d7b 
+ 00012793  0x00003c6f fetch  0x00000002 , 0x0000446f 
+ 00012794  0x00003c70 call  0x00007e7a 
+ 00012795  0x00003c71 branch  0x000031ef 
+ 00012796  0x00003c77 ifetch  0x00000001 , 0x00000013 
+ 00012797  0x00003c78 rtn  0x00000034 
+ 00012798  0x00003c79 pincrease  0xffffffff 
+ 00012799  0x00003c7a istore  0x00000001 , 0x00000013 
+ 00012800  0x00003c7b nrtn  0x00000034 
+ 00012801  0x00003c7c copy  0x00000012 , 0x0000003f 
+ 00012802  0x00003c7d branch  0x00007e7a 
+ 00012803  0x00003c82 ifetch  0x00000002 , 0x00000013 
+ 00012804  0x00003c83 rtn  0x00000034 
+ 00012805  0x00003c84 pincrease  0xffffffff 
+ 00012806  0x00003c85 istore  0x00000002 , 0x00000013 
+ 00012807  0x00003c86 nrtn  0x00000034 
+ 00012808  0x00003c87 copy  0x00000012 , 0x0000003f 
+ 00012809  0x00003c88 branch  0x00007e7a 
+ 00012810  0x00003c8b fetcht  0x00000002 , 0x000044cc 
+ 00012811  0x00003c8c add  0x00000002 , 0x00000001 , 0x00000013 
+ 00012812  0x00003c8d arg  0x0000320e , 0x00000012 
+ 00012813  0x00003c8e branch  0x000031fc 
+ 00012814  0x00003c91 call  0x000032ad 
+ 00012815  0x00003c92 beq  0x00000001 , 0x00003211 
+ 00012816  0x00003c94 branch  0x00003289 
+ 00012817  0x00003c96 setarg  0x00000002 
+ 00012818  0x00003c97 istore  0x00000001 , 0x00000013 
+ 00012819  0x00003c98 add  0x00000002 , 0x00000008 , 0x00000012 
+ 00012820  0x00003c9a ifetch  0x00000002 , 0x00000012 
+ 00012821  0x00003c9b branch  0x00007e7a 
+ 00012822  0x00003c9e arg  0x0000447d , 0x00000013 
+ 00012823  0x00003c9f arg  0x00003219 , 0x00000012 
+ 00012824  0x00003ca0 branch  0x000031fc 
+ 00012825  0x00003ca3 call  0x00000a5f 
+ 00012826  0x00003ca4 branch  0x0000328d , 0x00000005 
+ 00012827  0x00003ca5 rtn 
+ 00012828  0x00003ca9 arg  0x0000478b , 0x00000013 
+ 00012829  0x00003caa arg  0x0000321f , 0x00000012 
+ 00012830  0x00003cab branch  0x00003203 
+ 00012831  0x00003cae call  0x0000326f 
+ 00012832  0x00003caf call  0x00003287 
+ 00012833  0x00003cb0 fetch  0x00000002 , 0x00004469 
+ 00012834  0x00003cb1 branch  0x00007e7a 
+ 00012835  0x00003cb5 call  0x0000323b 
+ 00012836  0x00003cb7 fetch  0x00000002 , 0x0000478f 
+ 00012837  0x00003cb8 set0  0x00000007 , 0x0000003f 
+ 00012838  0x00003cb9 store  0x00000002 , 0x0000478f 
+ 00012839  0x00003cba rtn 
+ 00012840  0x00003cbd jam  0x00000000 , 0x0000447d 
+ 00012841  0x00003cbe fetch  0x00000002 , 0x0000478f 
+ 00012842  0x00003cbf bbit1  0x00000007 , 0x0000322d 
+ 00012843  0x00003cc0 isolate0  0x00000001 , 0x0000003f 
+ 00012844  0x00003cc1 call  0x0000318b , 0x00000001 
+ 00012845  0x00003cc3 bpatch  0x000000b0 , 0x00004016 
+ 00012846  0x00003cc4 fetch  0x00000002 , 0x0000478f 
+ 00012847  0x00003cc5 set0  0x00000000 , 0x0000003f 
+ 00012848  0x00003cc6 set0  0x00000001 , 0x0000003f 
+ 00012849  0x00003cc7 set0  0x00000002 , 0x0000003f 
+ 00012850  0x00003cc8 set0  0x00000003 , 0x0000003f 
+ 00012851  0x00003cc9 set0  0x00000007 , 0x0000003f 
+ 00012852  0x00003cca store  0x00000002 , 0x0000478f 
+ 00012853  0x00003ccb branch  0x00003297 
+ 00012854  0x00003cce call  0x00003238 
+ 00012855  0x00003ccf branch  0x00003289 
+ 00012856  0x00003cd3 setarg  0x00000000 
+ 00012857  0x00003cd4 store  0x00000002 , 0x00004480 
+ 00012858  0x00003cd5 rtn 
+ 00012859  0x00003cd7 setarg  0x00000000 
+ 00012860  0x00003cd8 store  0x00000002 , 0x00004482 
+ 00012861  0x00003cd9 rtn 
+ 00012862  0x00003cdc fetch  0x00000002 , 0x00004482 
+ 00012863  0x00003cdd store  0x00000002 , 0x00004480 
+ 00012864  0x00003cde setarg  0x00000000 
+ 00012865  0x00003cdf store  0x00000002 , 0x00004482 
+ 00012866  0x00003ce0 rtn 
+ 00012867  0x00003ce3 fetch  0x00000002 , 0x00004482 
+ 00012868  0x00003ce4 set1  0x00000007 , 0x0000003f 
+ 00012869  0x00003ce5 store  0x00000002 , 0x00004480 
+ 00012870  0x00003ce6 setarg  0x00000000 
+ 00012871  0x00003ce7 store  0x00000002 , 0x00004482 
+ 00012872  0x00003ce8 rtn 
+ 00012873  0x00003cf1 fetch  0x00000001 , 0x0000478f 
+ 00012874  0x00003cf2 isolate1  0x00000005 , 0x0000003f 
+ 00012875  0x00003cf3 rtn 
+ 00012876  0x00003cf9 fetch  0x00000001 , 0x00004644 
+ 00012877  0x00003cfa store  0x00000001 , 0x0000447d 
+ 00012878  0x00003cfb rtn 
+ 00012879  0x00003cfe arg  0x00000009 , 0x00000007 
+ 00012880  0x00003cff branch  0x00001566 
+ 00012881  0x00003d02 arg  0x00000009 , 0x00000007 
+ 00012882  0x00003d03 branch  0x0000156a 
+ 00012883  0x00003d06 jam  0x00000005 , 0x0000447e 
+ 00012884  0x00003d07 branch  0x0000324f 
+ 00012885  0x00003d0a arg  0x0000447e , 0x00000013 
+ 00012886  0x00003d0b arg  0x00003251 , 0x00000012 
+ 00012887  0x00003d0c branch  0x000031fc 
+ 00012888  0x00003d0f jam  0x00000001 , 0x000045f6 
+ 00012889  0x00003d10 rtn 
+ 00012890  0x00003d13 jam  0x00000000 , 0x000045f6 
+ 00012891  0x00003d14 rtn 
+ 00012892  0x00003d17 jam  0x0000000a , 0x0000095b 
+ 00012893  0x00003d18 branch  0x000078e5 
+ 00012894  0x00003d1b jam  0x0000001d , 0x0000095b 
+ 00012895  0x00003d1c branch  0x000078e5 
+ 00012896  0x00003d1f bpatch  0x000000b1 , 0x00004016 
+ 00012897  0x00003d20 fetch  0x00000001 , 0x0000447f 
+ 00012898  0x00003d21 store  0x00000001 , 0x000000bc 
+ 00012899  0x00003d22 jam  0x00000001 , 0x0000030b 
+ 00012900  0x00003d23 jam  0x00000003 , 0x0000095b 
+ 00012901  0x00003d24 branch  0x000078e5 
+ 00012902  0x00003d27 jam  0x0000001e , 0x0000095b 
+ 00012903  0x00003d28 branch  0x000078e5 
+ 00012904  0x00003d2b jam  0x00000004 , 0x0000095b 
+ 00012905  0x00003d2c branch  0x000078e5 
+ 00012906  0x00003d2f fetch  0x00000002 , 0x00004794 
+ 00012907  0x00003d30 store  0x00000002 , 0x0000478b 
+ 00012908  0x00003d32 call  0x00003283 
+ 00012909  0x00003d34 jam  0x00000001 , 0x0000095b 
+ 00012910  0x00003d35 branch  0x000078e5 
+ 00012911  0x00003d38 setarg  0x00000000 
+ 00012912  0x00003d39 store  0x00000002 , 0x0000478b 
+ 00012913  0x00003d3a jam  0x00000002 , 0x0000095b 
+ 00012914  0x00003d3b branch  0x000078e5 
+ 00012915  0x00003d3e jam  0x0000000f , 0x0000095b 
+ 00012916  0x00003d3f branch  0x000078e5 
+ 00012917  0x00003d42 jam  0x00000010 , 0x0000095b 
+ 00012918  0x00003d43 branch  0x000078e5 
+ 00012919  0x00003d46 jam  0x0000000e , 0x0000095b 
+ 00012920  0x00003d47 branch  0x000078e5 
+ 00012921  0x00003d4a jam  0x0000000d , 0x0000095b 
+ 00012922  0x00003d4b branch  0x000078e5 
+ 00012923  0x00003d4e jam  0x00000017 , 0x0000095b 
+ 00012924  0x00003d4f branch  0x000078e5 
+ 00012925  0x00003d52 jam  0x00000018 , 0x0000095b 
+ 00012926  0x00003d53 branch  0x000078e5 
+ 00012927  0x00003d56 jam  0x00000016 , 0x0000095b 
+ 00012928  0x00003d57 branch  0x000078e5 
+ 00012929  0x00003d5a jam  0x00000011 , 0x0000095b 
+ 00012930  0x00003d5b branch  0x000078e5 
+ 00012931  0x00003d5e jam  0x00000015 , 0x0000095b 
+ 00012932  0x00003d5f branch  0x000078e5 
+ 00012933  0x00003d62 jam  0x00000014 , 0x0000095b 
+ 00012934  0x00003d63 branch  0x000078e5 
+ 00012935  0x00003d67 jam  0x00000013 , 0x0000095b 
+ 00012936  0x00003d68 branch  0x000078e5 
+ 00012937  0x00003d6b jam  0x00000019 , 0x0000095b 
+ 00012938  0x00003d6c branch  0x000078e5 
+ 00012939  0x00003d6f jam  0x00000006 , 0x0000095b 
+ 00012940  0x00003d70 branch  0x000078e5 
+ 00012941  0x00003d73 jam  0x00000005 , 0x0000095b 
+ 00012942  0x00003d74 branch  0x000078e5 
+ 00012943  0x00003d77 jam  0x0000001f , 0x0000095b 
+ 00012944  0x00003d78 branch  0x000078e5 
+ 00012945  0x00003d7b jam  0x00000020 , 0x0000095b 
+ 00012946  0x00003d7c branch  0x000078e5 
+ 00012947  0x00003d7f jam  0x00000025 , 0x0000095b 
+ 00012948  0x00003d80 branch  0x000078e5 
+ 00012949  0x00003d83 set1  0x0000000d , 0x00000000 
+ 00012950  0x00003d84 rtn 
+ 00012951  0x00003d87 set0  0x0000000d , 0x00000000 
+ 00012952  0x00003d88 rtn 
+ 00012953  0x00003d8c call  0x000032ad 
+ 00012954  0x00003d8d beq  0x00000002 , 0x000032a3 
+ 00012955  0x00003d8f setarg  0x00000001 
+ 00012956  0x00003d90 istore  0x00000001 , 0x00000013 
+ 00012957  0x00003d91 add  0x00000002 , 0x00000003 , 0x00000011 
+ 00012958  0x00003d92 add  0x00000002 , 0x00000006 , 0x00000012 
+ 00012959  0x00003d94 ifetcht  0x00000001 , 0x00000011 
+ 00012960  0x00003d95 increase  0x00000001 , 0x00000013 
+ 00012961  0x00003d96 istoret  0x00000001 , 0x00000013 
+ 00012962  0x00003d97 branch  0x00003214 
+ 00012963  0x00003d9a setarg  0x00000000 
+ 00012964  0x00003d9b istore  0x00000001 , 0x00000013 
+ 00012965  0x00003d9c fetch  0x00000002 , 0x0000478f 
+ 00012966  0x00003d9d bbit0  0x00000009 , 0x000032a9 
+ 00012967  0x00003d9e call  0x00002134 
+ 00012968  0x00003d9f call  0x00003281 
+ 00012969  0x00003da1 fetcht  0x00000002 , 0x000044cc 
+ 00012970  0x00003da2 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00012971  0x00003da3 add  0x00000002 , 0x00000004 , 0x00000012 
+ 00012972  0x00003da4 branch  0x0000329f 
+ 00012973  0x00003da7 fetcht  0x00000002 , 0x000044cc 
+ 00012974  0x00003da8 add  0x00000002 , 0x00000000 , 0x00000013 
+ 00012975  0x00003da9 ifetch  0x00000001 , 0x00000013 
+ 00012976  0x00003daa rtn 
+ 00012977  0x00003dad call  0x000032ad 
+ 00012978  0x00003dae bne  0x00000000 , 0x000032b4 
+ 00012979  0x00003daf branch  0x00003289 
+ 00012980  0x00003db1 add  0x00000002 , 0x0000000a , 0x00000012 
+ 00012981  0x00003db2 branch  0x00003214 
+ 00012982  0x00003db6 setarg  0x00000002 
+ 00012983  0x00003db7 store  0x00000001 , 0x0000478d 
+ 00012984  0x00003db8 rtn 
+ 00012985  0x00003dbc rtn  0x0000002b 
+ 00012986  0x00003dbd setarg  0x000032e8 
+ 00012987  0x00003dbe store  0x00000002 , 0x0000445d 
+ 00012988  0x00003dbf setarg  0x000061ff 
+ 00012989  0x00003dc0 store  0x00000002 , 0x0000445f 
+ 00012990  0x00003dc1 setarg  0x00003395 
+ 00012991  0x00003dc2 store  0x00000002 , 0x00004465 
+ 00012992  0x00003dc3 setarg  0x00003394 
+ 00012993  0x00003dc4 store  0x00000002 , 0x00004461 
+ 00012994  0x00003dc5 setarg  0x00003303 
+ 00012995  0x00003dc6 store  0x00000002 , 0x00004467 
+ 00012996  0x00003dc7 setarg  0x00003340 
+ 00012997  0x00003dc8 store  0x00000002 , 0x0000446f 
+ 00012998  0x00003dc9 setarg  0x000032ea 
+ 00012999  0x00003dca store  0x00000002 , 0x0000446d 
+ 00013000  0x00003dcb setarg  0x000032f5 
+ 00013001  0x00003dcc store  0x00000002 , 0x0000445b 
+ 00013002  0x00003dcd setarg  0x000033a1 
+ 00013003  0x00003dce store  0x00000002 , 0x0000446b 
+ 00013004  0x00003dcf bpatch  0x000000b2 , 0x00004016 
+ 00013005  0x00003dd1 call  0x0000343a 
+ 00013006  0x00003dd2 call  0x000032e6 
+ 00013007  0x00003dd3 call  0x000061da 
+ 00013008  0x00003dd4 call  0x0000344c 
+ 00013009  0x00003dd5 call  0x0000785b 
+ 00013010  0x00003dd6 call  0x00007826 
+ 00013011  0x00003dd7 setarg  0x000033ab 
+ 00013012  0x00003dd8 store  0x00000002 , 0x00004873 
+ 00013013  0x00003dd9 setarg  0x0000339c 
+ 00013014  0x00003dda store  0x00000002 , 0x0000486a 
+ 00013015  0x00003ddb setarg  0x00003398 
+ 00013016  0x00003ddc store  0x00000002 , 0x0000486c 
+ 00013017  0x00003ddd setarg  0x000032f1 
+ 00013018  0x00003dde store  0x00000002 , 0x0000486e 
+ 00013019  0x00003ddf setarg  0x00003441 
+ 00013020  0x00003de0 store  0x00000002 , 0x000047b6 
+ 00013021  0x00003de1 setarg  0x00003443 
+ 00013022  0x00003de2 store  0x00000002 , 0x000047b8 
+ 00013023  0x00003de3 setarg  0x00003448 
+ 00013024  0x00003de4 store  0x00000002 , 0x000047c1 
+ 00013025  0x00003de5 setarg  0x00003445 
+ 00013026  0x00003de6 store  0x00000002 , 0x000047c3 
+ 00013027  0x00003de7 fetch  0x00000002 , 0x0000478f 
+ 00013028  0x00003de8 rtnbit1  0x0000000c 
+ 00013029  0x00003de9 branch  0x00003289 
+ 00013030  0x00003ded jam  0x00000007 , 0x000045fa 
+ 00013031  0x00003dee rtn 
+ 00013032  0x00003df2 call  0x00003425 
+ 00013033  0x00003df3 branch  0x00003289 
+ 00013034  0x00003df6 call  0x00001b24 
+ 00013035  0x00003df7 nrtn  0x00000034 
+ 00013036  0x00003df8 arg  0x000009d2 , 0x00000011 
+ 00013037  0x00003df9 call  0x000079c1 
+ 00013038  0x00003dfa nrtn  0x00000028 
+ 00013039  0x00003dfb arg  0x000009d2 , 0x00000006 
+ 00013040  0x00003dfc branch  0x00004c5a 
+ 00013041  0x00003dff fetch  0x00000002 , 0x000048a4 
+ 00013042  0x00003e00 store  0x00000002 , 0x0000489e 
+ 00013043  0x00003e01 jam  0x00000001 , 0x00004860 
+ 00013044  0x00003e02 branch  0x0000342e 
+ 00013045  0x00003e05 fetch  0x00000001 , 0x000048aa 
+ 00013046  0x00003e06 beq  0x00000001 , 0x000032fe 
+ 00013047  0x00003e07 fetch  0x00000002 , 0x0000478f 
+ 00013048  0x00003e08 bbit0  0x00000009 , 0x000032fe 
+ 00013049  0x00003e09 fetch  0x00000001 , 0x000048ab 
+ 00013050  0x00003e0a beq  0x00000001 , 0x0000324f 
+ 00013051  0x00003e0b fetch  0x00000001 , 0x0000480d 
+ 00013052  0x00003e0c nbranch  0x0000324f , 0x00000034 
+ 00013053  0x00003e0d branch  0x00003251 
+ 00013054  0x00003e10 fetch  0x00000001 , 0x000048a8 
+ 00013055  0x00003e11 fetcht  0x00000001 , 0x000048a9 
+ 00013056  0x00003e12 ior  0x00000002 , 0x0000003f 
+ 00013057  0x00003e13 beq  0x00000001 , 0x0000324f 
+ 00013058  0x00003e14 branch  0x00003251 
+ 00013059  0x00003e17 copy  0x00000013 , 0x0000003f 
+ 00013060  0x00003e18 beq  0x0000002d , 0x000032b1 
+ 00013061  0x00003e19 beq  0x00000010 , 0x00003299 
+ 00013062  0x00003e1a beq  0x00000014 , 0x0000337d 
+ 00013063  0x00003e1b beq  0x00000015 , 0x00003386 
+ 00013064  0x00003e1c beq  0x00000040 , 0x0000330b 
+ 00013065  0x00003e1d beq  0x00000044 , 0x00003315 
+ 00013066  0x00003e1e rtn 
+ 00013067  0x00003e20 call  0x00003311 
+ 00013068  0x00003e21 fetch  0x00000002 , 0x000043db 
+ 00013069  0x00003e22 beq  0x00000001 , 0x0000331b 
+ 00013070  0x00003e24 jam  0x00000002 , 0x00004897 
+ 00013071  0x00003e25 jam  0x0000003c , 0x0000489c 
+ 00013072  0x00003e26 rtn 
+ 00013073  0x00003e28 fetch  0x00000001 , 0x00000287 
+ 00013074  0x00003e29 rtnbit1  0x00000005 
+ 00013075  0x00003e2a jam  0x00000001 , 0x00004a63 
+ 00013076  0x00003e2b rtn 
+ 00013077  0x00003e2f fetch  0x00000001 , 0x00004a63 
+ 00013078  0x00003e30 rtn  0x00000034 
+ 00013079  0x00003e31 jam  0x00000000 , 0x00004a63 
+ 00013080  0x00003e32 fetch  0x00000002 , 0x000002c3 
+ 00013081  0x00003e33 branch  0x00003330 , 0x00000034 
+ 00013082  0x00003e34 rtn 
+ 00013083  0x00003e37 fetch  0x00000002 , 0x00004376 
+ 00013084  0x00003e38 branch  0x0000332e , 0x00000034 
+ 00013085  0x00003e3a jam  0x00000001 , 0x00004897 
+ 00013086  0x00003e3b fetcht  0x00000002 , 0x000048c1 
+ 00013087  0x00003e3c fetch  0x00000002 , 0x00004372 
+ 00013088  0x00003e3d iadd  0x00000002 , 0x0000003f 
+ 00013089  0x00003e3e store  0x00000002 , 0x00004372 
+ 00013090  0x00003e3f copy  0x0000003f , 0x00000011 
+ 00013091  0x00003e40 fetch  0x00000002 , 0x00004374 
+ 00013092  0x00003e41 iadd  0x00000002 , 0x0000003f 
+ 00013093  0x00003e42 store  0x00000002 , 0x00004374 
+ 00013094  0x00003e43 iadd  0x00000011 , 0x0000003f 
+ 00013095  0x00003e44 rshift  0x0000003f , 0x00000002 
+ 00013096  0x00003e45 fetch  0x00000002 , 0x000048cd 
+ 00013097  0x00003e46 idiv  0x00000002 
+ 00013098  0x00003e47 call  0x00007e61 
+ 00013099  0x00003e48 store  0x00000002 , 0x00004376 
+ 00013100  0x00003e49 jam  0x00000001 , 0x0000489d 
+ 00013101  0x00003e4a rtn 
+ 00013102  0x00003e4c jam  0x00000003 , 0x00004897 
+ 00013103  0x00003e4d rtn 
+ 00013104  0x00003e50 jam  0x00000000 , 0x00004177 
+ 00013105  0x00003e51 jam  0x00000000 , 0x0000489d 
+ 00013106  0x00003e52 fetch  0x00000002 , 0x000002c1 
+ 00013107  0x00003e53 fetcht  0x00000002 , 0x000048cb 
+ 00013108  0x00003e54 isub  0x00000002 , 0x0000003e 
+ 00013109  0x00003e55 setflag  0x00000002 , 0x00000000 , 0x00000011 
+ 00013110  0x00003e56 fetch  0x00000002 , 0x000048cd 
+ 00013111  0x00003e57 fetcht  0x00000002 , 0x000002c1 
+ 00013112  0x00003e58 isub  0x00000002 , 0x0000003f 
+ 00013113  0x00003e59 setflag  0x00000002 , 0x00000001 , 0x00000011 
+ 00013114  0x00003e5a compare  0x00000003 , 0x00000011 , 0x00000003 
+ 00013115  0x00003e5b rtn  0x00000001 
+ 00013116  0x00003e5c fetch  0x00000008 , 0x000048cb 
+ 00013117  0x00003e5d store  0x00000008 , 0x00004372 
+ 00013118  0x00003e5e jam  0x00000001 , 0x0000489d 
+ 00013119  0x00003e5f rtn 
+ 00013120  0x00003e63 call  0x0000320a 
+ 00013121  0x00003e64 call  0x00003357 
+ 00013122  0x00003e65 call  0x0000335c 
+ 00013123  0x00003e66 call  0x00003373 
+ 00013124  0x00003e67 call  0x00003368 
+ 00013125  0x00003e68 call  0x00003362 
+ 00013126  0x00003e69 call  0x00003350 
+ 00013127  0x00003e6a call  0x00003349 
+ 00013128  0x00003e6b branch  0x00003377 
+ 00013129  0x00003e6e arg  0x00004a65 , 0x00000013 
+ 00013130  0x00003e6f arg  0x0000334c , 0x00000012 
+ 00013131  0x00003e70 branch  0x00003203 
+ 00013132  0x00003e73 arg  0x00000001 , 0x00000011 
+ 00013133  0x00003e74 call  0x0000786c 
+ 00013134  0x00003e75 fetch  0x00000002 , 0x000048ae 
+ 00013135  0x00003e76 branch  0x0000627e 
+ 00013136  0x00003e7a arg  0x00004a64 , 0x00000013 
+ 00013137  0x00003e7b arg  0x00003353 , 0x00000012 
+ 00013138  0x00003e7c branch  0x000031fc 
+ 00013139  0x00003e7e call  0x0000344e 
+ 00013140  0x00003e7f call  0x0000344e 
+ 00013141  0x00003e80 call  0x0000344e 
+ 00013142  0x00003e81 branch  0x00003458 
+ 00013143  0x00003e85 arg  0x000048a6 , 0x00000013 
+ 00013144  0x00003e86 arg  0x0000335a , 0x00000012 
+ 00013145  0x00003e87 branch  0x000031fc 
+ 00013146  0x00003e89 jam  0x00000000 , 0x000048a7 
+ 00013147  0x00003e8a rtn 
+ 00013148  0x00003e8c arg  0x000048a0 , 0x00000013 
+ 00013149  0x00003e8d arg  0x0000335f , 0x00000012 
+ 00013150  0x00003e8e branch  0x00003203 
+ 00013151  0x00003e90 arg  0x000047cc , 0x00000013 
+ 00013152  0x00003e91 arg  0x000047ab , 0x00000012 
+ 00013153  0x00003e92 branch  0x00003430 
+ 00013154  0x00003e96 arg  0x0000489c , 0x00000013 
+ 00013155  0x00003e97 arg  0x00003365 , 0x00000012 
+ 00013156  0x00003e98 branch  0x000031fc 
+ 00013157  0x00003e9b fetch  0x00000002 , 0x00004376 
+ 00013158  0x00003e9c store  0x00000001 , 0x00004177 
+ 00013159  0x00003e9d rtn 
+ 00013160  0x00003e9f arg  0x0000489d , 0x00000013 
+ 00013161  0x00003ea0 arg  0x0000336b , 0x00000012 
+ 00013162  0x00003ea1 branch  0x000031fc 
+ 00013163  0x00003ea3 fetch  0x00000001 , 0x00000287 
+ 00013164  0x00003ea4 compare  0x00000000 , 0x0000003f , 0x00000060 
+ 00013165  0x00003ea5 nbranch  0x00003371 , 0x00000001 
+ 00013166  0x00003ea6 jam  0x00000001 , 0x00004897 
+ 00013167  0x00003ea7 call  0x00003295 
+ 00013168  0x00003ea8 branch  0x00001f04 
+ 00013169  0x00003eaa jam  0x00000001 , 0x0000489d 
+ 00013170  0x00003eab rtn 
+ 00013171  0x00003eae arg  0x0000489e , 0x00000013 
+ 00013172  0x00003eaf arg  0x00003376 , 0x00000012 
+ 00013173  0x00003eb0 branch  0x00003203 
+ 00013174  0x00003eb4 branch  0x00003299 
+ 00013175  0x00003eb7 arg  0x0000489a , 0x00000013 
+ 00013176  0x00003eb8 arg  0x0000337a , 0x00000012 
+ 00013177  0x00003eb9 branch  0x00003203 
+ 00013178  0x00003ebb fetch  0x00000002 , 0x000048b4 
+ 00013179  0x00003ebc store  0x00000002 , 0x0000489a 
+ 00013180  0x00003ebd branch  0x0000344e 
+ 00013181  0x00003ec1 fetch  0x00000002 , 0x000048b4 
+ 00013182  0x00003ec2 store  0x00000002 , 0x0000489a 
+ 00013183  0x00003ec3 setarg  0x00000000 
+ 00013184  0x00003ec4 store  0x00000002 , 0x000048a0 
+ 00013185  0x00003ec5 store  0x00000002 , 0x0000489e 
+ 00013186  0x00003ec6 call  0x000033fc 
+ 00013187  0x00003ec7 call  0x00003425 
+ 00013188  0x00003ec8 jam  0x00000000 , 0x00004177 
+ 00013189  0x00003ec9 branch  0x00003277 
+ 00013190  0x00003ecd setarg  0x00000000 
+ 00013191  0x00003ece store  0x00000004 , 0x0000489a 
+ 00013192  0x00003ecf store  0x00000003 , 0x00004897 
+ 00013193  0x00003ed0 store  0x00000002 , 0x000043db 
+ 00013194  0x00003ed2 jam  0x00000001 , 0x000048ad 
+ 00013195  0x00003ed3 fetch  0x00000002 , 0x000048a4 
+ 00013196  0x00003ed4 store  0x00000002 , 0x0000489e 
+ 00013197  0x00003ed6 fetch  0x00000002 , 0x00004a67 
+ 00013198  0x00003ed7 store  0x00000002 , 0x00004a65 
+ 00013199  0x00003ed9 call  0x000079a5 
+ 00013200  0x00003eda fetch  0x00000001 , 0x00004866 
+ 00013201  0x00003edb rtneq  0x00000000 
+ 00013202  0x00003edc call  0x0000342e 
+ 00013203  0x00003edd branch  0x0000340e 
+ 00013204  0x00003ee2 branch  0x000033a8 
+ 00013205  0x00003ee6 fetch  0x00000001 , 0x00004866 
+ 00013206  0x00003ee7 rtnne  0x00000002 
+ 00013207  0x00003ee8 branch  0x000033a8 
+ 00013208  0x00003eee arg  0x000047da , 0x00000013 
+ 00013209  0x00003eef call  0x00003421 
+ 00013210  0x00003ef0 arg  0x000047d3 , 0x00000013 
+ 00013211  0x00003ef2 branch  0x00003423 
+ 00013212  0x00003ef5 jam  0x00000000 , 0x00004427 
+ 00013213  0x00003ef6 arg  0x000047e8 , 0x00000013 
+ 00013214  0x00003ef7 call  0x00003421 
+ 00013215  0x00003ef8 arg  0x000047e1 , 0x00000013 
+ 00013216  0x00003ef9 branch  0x0000339b 
+ 00013217  0x00003efc fetch  0x00000001 , 0x00004436 
+ 00013218  0x00003efd beq  0x00000012 , 0x000033a4 
+ 00013219  0x00003efe rtn 
+ 00013220  0x00003f00 fetch  0x00000002 , 0x00004437 
+ 00013221  0x00003f02 beq  0x0000000d , 0x000033d6 
+ 00013222  0x00003f03 beq  0x0000000b , 0x00003411 
+ 00013223  0x00003f04 rtn 
+ 00013224  0x00003f0a fetch  0x00000001 , 0x00004860 
+ 00013225  0x00003f0b rtn  0x00000034 
+ 00013226  0x00003f0c branch  0x0000620b 
+ 00013227  0x00003f11 copy  0x00000011 , 0x0000003f 
+ 00013228  0x00003f12 branch  0x000033b0 , 0x00000034 
+ 00013229  0x00003f14 copy  0x00000007 , 0x0000003f 
+ 00013230  0x00003f15 beq  0x00000000 , 0x000033b3 
+ 00013231  0x00003f16 rtn 
+ 00013232  0x00003f18 copy  0x00000007 , 0x0000003f 
+ 00013233  0x00003f19 beq  0x00000000 , 0x000033bb 
+ 00013234  0x00003f1a rtn 
+ 00013235  0x00003f1d jam  0x00000001 , 0x000048aa 
+ 00013236  0x00003f1e arg  0x00004804 , 0x00000013 
+ 00013237  0x00003f1f call  0x00003421 
+ 00013238  0x00003f20 arg  0x000047fd , 0x00000013 
+ 00013239  0x00003f21 call  0x00003423 
+ 00013240  0x00003f22 fetch  0x00000002 , 0x0000478f 
+ 00013241  0x00003f23 bbit0  0x00000009 , 0x000033d2 
+ 00013242  0x00003f24 branch  0x000033c1 
+ 00013243  0x00003f27 jam  0x00000000 , 0x000048aa 
+ 00013244  0x00003f28 branch  0x000033bd 
+ 00013245  0x00003f2d fetch  0x00000001 , 0x000048a7 
+ 00013246  0x00003f2e rtnne  0x00000001 
+ 00013247  0x00003f2f jam  0x00000005 , 0x000048a6 
+ 00013248  0x00003f30 rtn 
+ 00013249  0x00003f33 fetch  0x00000001 , 0x000048a7 
+ 00013250  0x00003f34 pincrease  0x00000001 
+ 00013251  0x00003f35 store  0x00000001 , 0x000048a7 
+ 00013252  0x00003f36 beq  0x00000001 , 0x000033c7 
+ 00013253  0x00003f37 beq  0x00000002 , 0x000033cb 
+ 00013254  0x00003f38 rtn 
+ 00013255  0x00003f3a call  0x000033fc 
+ 00013256  0x00003f3b jam  0x00000001 , 0x0000487e 
+ 00013257  0x00003f3c arg  0x00004879 , 0x00000013 
+ 00013258  0x00003f3d branch  0x000033e4 
+ 00013259  0x00003f3f jam  0x00000000 , 0x000048a7 
+ 00013260  0x00003f40 jam  0x00000002 , 0x0000487e 
+ 00013261  0x00003f41 arg  0x00004879 , 0x00000013 
+ 00013262  0x00003f42 call  0x000033e4 
+ 00013263  0x00003f43 fetch  0x00000001 , 0x000048ab 
+ 00013264  0x00003f44 beq  0x00000001 , 0x000033f1 
+ 00013265  0x00003f45 rtn 
+ 00013266  0x00003f48 fetch  0x00000002 , 0x000048a4 
+ 00013267  0x00003f49 store  0x00000002 , 0x0000489e 
+ 00013268  0x00003f4a call  0x000033fc 
+ 00013269  0x00003f4b branch  0x0000342e 
+ 00013270  0x00003f4f bpatch  0x000000b3 , 0x00004016 
+ 00013271  0x00003f50 call  0x0000356d 
+ 00013272  0x00003f51 ifetch  0x00000001 , 0x00000011 
+ 00013273  0x00003f52 beq  0x00000003 , 0x000033dc 
+ 00013274  0x00003f53 beq  0x00000007 , 0x000033e0 
+ 00013275  0x00003f54 rtn 
+ 00013276  0x00003f57 fetch  0x00000001 , 0x000048ab 
+ 00013277  0x00003f58 beq  0x00000000 , 0x000033f1 
+ 00013278  0x00003f59 beq  0x00000001 , 0x000033fc 
+ 00013279  0x00003f5a rtn 
+ 00013280  0x00003f5d ifetch  0x00000001 , 0x00000012 
+ 00013281  0x00003f5e beq  0x00000001 , 0x00003404 
+ 00013282  0x00003f5f beq  0x00000000 , 0x00003409 
+ 00013283  0x00003f60 rtn 
+ 00013284  0x00003f65 bpatch  0x000000b4 , 0x00004016 
+ 00013285  0x00003f66 fetch  0x00000001 , 0x00004898 
+ 00013286  0x00003f67 isolate1  0x00000000 , 0x0000003f 
+ 00013287  0x00003f68 nrtn  0x00000001 
+ 00013288  0x00003f69 add  0x00000013 , 0x00000006 , 0x00000006 
+ 00013289  0x00003f6a ifetch  0x00000002 , 0x00000006 
+ 00013290  0x00003f6b byteswap  0x0000003f , 0x0000003f 
+ 00013291  0x00003f6c add  0x0000003f , 0x00000005 , 0x00000039 
+ 00013292  0x00003f6d add  0x00000013 , 0x00000003 , 0x00000006 
+ 00013293  0x00003f6e call  0x00003561 
+ 00013294  0x00003f6f istore  0x00000001 , 0x00000006 
+ 00013295  0x00003f70 copy  0x00000013 , 0x00000011 
+ 00013296  0x00003f71 branch  0x000079aa 
+ 00013297  0x00003f78 fetch  0x00000001 , 0x00004866 
+ 00013298  0x00003f79 rtn  0x00000034 
+ 00013299  0x00003f7a jam  0x00000001 , 0x000048ab 
+ 00013300  0x00003f7b arg  0x000047f6 , 0x00000013 
+ 00013301  0x00003f7c call  0x00003421 
+ 00013302  0x00003f7d arg  0x000047ef , 0x00000013 
+ 00013303  0x00003f7e call  0x00003423 
+ 00013304  0x00003f7f jam  0x00000004 , 0x0000488d 
+ 00013305  0x00003f80 jam  0x00000001 , 0x00004890 
+ 00013306  0x00003f81 arg  0x00004888 , 0x00000013 
+ 00013307  0x00003f82 branch  0x000033e4 
+ 00013308  0x00003f84 fetch  0x00000001 , 0x000048ab 
+ 00013309  0x00003f85 rtn  0x00000034 
+ 00013310  0x00003f86 jam  0x00000000 , 0x000048ab 
+ 00013311  0x00003f87 call  0x00003425 
+ 00013312  0x00003f88 jam  0x00000004 , 0x0000488d 
+ 00013313  0x00003f89 jam  0x00000000 , 0x00004890 
+ 00013314  0x00003f8a arg  0x00004888 , 0x00000013 
+ 00013315  0x00003f8b branch  0x000033e4 
+ 00013316  0x00003f8e jam  0x00000001 , 0x000048ac 
+ 00013317  0x00003f8f jam  0x00000007 , 0x0000488d 
+ 00013318  0x00003f90 jam  0x00000001 , 0x00004890 
+ 00013319  0x00003f91 arg  0x00004888 , 0x00000013 
+ 00013320  0x00003f92 branch  0x000033e4 
+ 00013321  0x00003f94 jam  0x00000000 , 0x000048ac 
+ 00013322  0x00003f95 jam  0x00000007 , 0x0000488d 
+ 00013323  0x00003f96 jam  0x00000000 , 0x00004890 
+ 00013324  0x00003f97 arg  0x00004888 , 0x00000013 
+ 00013325  0x00003f98 branch  0x000033e4 
+ 00013326  0x00003f9a fetch  0x00000001 , 0x000048ac 
+ 00013327  0x00003f9b rtn  0x00000034 
+ 00013328  0x00003f9c branch  0x000033f1 
+ 00013329  0x00003f9f ifetch  0x00000002 , 0x00000011 
+ 00013330  0x00003fa0 store  0x00000002 , 0x00004898 
+ 00013331  0x00003fa1 isolate1  0x00000000 , 0x0000003f 
+ 00013332  0x00003fa2 nrtn  0x00000001 
+ 00013333  0x00003fa3 fetch  0x00000001 , 0x000048ad 
+ 00013334  0x00003fa4 rtn  0x00000034 
+ 00013335  0x00003fa5 jam  0x00000000 , 0x000048ad 
+ 00013336  0x00003fa6 fetch  0x00000008 , 0x000048c3 
+ 00013337  0x00003fa7 store  0x00000008 , 0x00004372 
+ 00013338  0x00003fa8 jam  0x00000003 , 0x00004a64 
+ 00013339  0x00003fa9 jam  0x00000007 , 0x0000488d 
+ 00013340  0x00003faa jam  0x0000001e , 0x0000489d 
+ 00013341  0x00003fab fetch  0x00000001 , 0x000048ac 
+ 00013342  0x00003fac store  0x00000001 , 0x00004890 
+ 00013343  0x00003fad arg  0x00004888 , 0x00000013 
+ 00013344  0x00003fae branch  0x000033e4 
+ 00013345  0x00003fb3 arg  0x00000001 , 0x00000011 
+ 00013346  0x00003fb4 branch  0x00003424 
+ 00013347  0x00003fb6 arg  0x00000000 , 0x00000011 
+ 00013348  0x00003fb8 branch  0x0000342b 
+ 00013349  0x00003fbb arg  0x00000000 , 0x00000011 
+ 00013350  0x00003fbc call  0x0000786c 
+ 00013351  0x00003fbd arg  0x00000001 , 0x00000011 
+ 00013352  0x00003fbe call  0x0000786c 
+ 00013353  0x00003fbf fetch  0x00000002 , 0x000048ae 
+ 00013354  0x00003fc0 branch  0x0000627e 
+ 00013355  0x00003fc3 call  0x00007857 
+ 00013356  0x00003fc4 arg  0x00000007 , 0x00000039 
+ 00013357  0x00003fc5 branch  0x00007879 
+ 00013358  0x00003fca arg  0x000047c5 , 0x00000013 
+ 00013359  0x00003fcb arg  0x000047a7 , 0x00000012 
+ 00013360  0x00003fcd call  0x00003435 
+ 00013361  0x00003fce call  0x00003423 
+ 00013362  0x00003fcf fetch  0x00000002 , 0x000048a2 
+ 00013363  0x00003fd0 store  0x00000002 , 0x000048a0 
+ 00013364  0x00003fd1 branch  0x00003279 
+ 00013365  0x00003fd4 ifetch  0x00000002 , 0x00000012 
+ 00013366  0x00003fd5 store  0x00000002 , 0x00004159 
+ 00013367  0x00003fd6 ifetch  0x00000002 , 0x00000006 
+ 00013368  0x00003fd7 store  0x00000002 , 0x00004428 
+ 00013369  0x00003fd8 rtn 
+ 00013370  0x00003fdb arg  0x00000000 , 0x00000011 
+ 00013371  0x00003fdc call  0x00006239 
+ 00013372  0x00003fdd fetch  0x00000006 , 0x000048ae 
+ 00013373  0x00003fde store  0x00000006 , 0x0000095c 
+ 00013374  0x00003fdf call  0x00006260 
+ 00013375  0x00003fe0 fetch  0x00000002 , 0x000048ae 
+ 00013376  0x00003fe1 branch  0x0000627e 
+ 00013377  0x00003fe4 jam  0x00000001 , 0x000048a8 
+ 00013378  0x00003fe5 rtn 
+ 00013379  0x00003fe7 jam  0x00000000 , 0x000048a8 
+ 00013380  0x00003fe8 rtn 
+ 00013381  0x00003fed jam  0x00000000 , 0x000048a9 
+ 00013382  0x00003fee fetch  0x00000002 , 0x000048ae 
+ 00013383  0x00003fef branch  0x0000627e 
+ 00013384  0x00003ff2 jam  0x00000001 , 0x000048a9 
+ 00013385  0x00003ff3 fetch  0x00000006 , 0x000048ae 
+ 00013386  0x00003ff4 store  0x00000006 , 0x0000095c 
+ 00013387  0x00003ff5 branch  0x00006260 
+ 00013388  0x00003ffa jam  0x00000000 , 0x000044a2 
+ 00013389  0x00003ffb rtn 
+ 00013390  0x00003ffe call  0x0000618d 
+ 00013391  0x00003fff store  0x00000002 , 0x000048bd 
+ 00013392  0x00004000 arg  0x000048b7 , 0x00000011 
+ 00013393  0x00004001 call  0x000061ba 
+ 00013394  0x00004002 store  0x00000001 , 0x000048b6 
+ 00013395  0x00004003 setarg  0x00000065 
+ 00013396  0x00004004 beq  0x00000000 , 0x0000345d 
+ 00013397  0x00004005 sub  0x0000003f , 0x00000064 , 0x0000003e 
+ 00013398  0x00004006 nbranch  0x0000345b , 0x00000002 
+ 00013399  0x00004007 store  0x00000001 , 0x00004890 
+ 00013400  0x00004009 jam  0x00000005 , 0x0000488d 
+ 00013401  0x0000400a arg  0x00004888 , 0x00000013 
+ 00013402  0x0000400b branch  0x000033e4 
+ 00013403  0x0000400d jam  0x00000064 , 0x00004890 
+ 00013404  0x0000400e branch  0x00003458 
+ 00013405  0x00004011 branch  0x00003299 
+ 00013406  0x00004016 call  0x00006e5e 
+ 00013407  0x00004017 rtn  0x0000002b 
+ 00013408  0x00004018 setarg  0x00003654 
+ 00013409  0x00004019 store  0x00000002 , 0x0000488d 
+ 00013410  0x0000401b setarg  0x00002354 
+ 00013411  0x0000401c store  0x00000002 , 0x0000488f 
+ 00013412  0x0000401e setarg  0x00003686 
+ 00013413  0x0000401f store  0x00000002 , 0x00004891 
+ 00013414  0x00004021 setarg  0x000034da 
+ 00013415  0x00004022 store  0x00000002 , 0x0000445d 
+ 00013416  0x00004024 setarg  0x000034da 
+ 00013417  0x00004025 store  0x00000002 , 0x0000445f 
+ 00013418  0x00004027 setarg  0x00003289 
+ 00013419  0x00004028 store  0x00000002 , 0x00004469 
+ 00013420  0x0000402a setarg  0x000034dc 
+ 00013421  0x0000402b store  0x00000002 , 0x00004465 
+ 00013422  0x0000402d setarg  0x000034fd 
+ 00013423  0x0000402e store  0x00000002 , 0x00004467 
+ 00013424  0x00004030 setarg  0x0000324f 
+ 00013425  0x00004031 store  0x00000002 , 0x0000445b 
+ 00013426  0x00004033 setarg  0x00003567 
+ 00013427  0x00004034 store  0x00000002 , 0x0000446b 
+ 00013428  0x00004036 setarg  0x00003527 
+ 00013429  0x00004037 store  0x00000002 , 0x0000446f 
+ 00013430  0x00004039 bpatch  0x000000b5 , 0x00004016 
+ 00013431  0x0000403a call  0x000034c0 
+ 00013432  0x0000403b call  0x000034ea 
+ 00013433  0x0000403c call  0x000079a5 
+ 00013434  0x0000403d jam  0x00000002 , 0x00004177 
+ 00013435  0x0000403e jam  0x00000000 , 0x00004c64 
+ 00013436  0x0000403f fetch  0x00000001 , 0x00004a26 
+ 00013437  0x00004040 store  0x00000001 , 0x000048f5 
+ 00013438  0x00004041 beq  0x00000000 , 0x00003489 
+ 00013439  0x00004042 fetch  0x00000001 , 0x00004a27 
+ 00013440  0x00004043 store  0x00000001 , 0x00004793 
+ 00013441  0x00004044 jam  0x00000000 , 0x00004427 
+ 00013442  0x00004046 call  0x00007826 
+ 00013443  0x00004047 call  0x00007830 
+ 00013444  0x00004048 jam  0x00000001 , 0x00004a4e 
+ 00013445  0x00004049 fetch  0x00000002 , 0x0000478f 
+ 00013446  0x0000404a rtnbit1  0x0000000c 
+ 00013447  0x0000404b branch  0x00003289 
+ 00013448  0x0000404e branch  0x000034a7 
+ 00013449  0x00004051 jam  0x00000002 , 0x00004a4e 
+ 00013450  0x00004053 jam  0x00000001 , 0x00004427 
+ 00013451  0x00004054 setarg  0x00000020 
+ 00013452  0x00004055 call  0x00004c56 
+ 00013453  0x00004057 arg  0x000042ff , 0x00000005 
+ 00013454  0x00004058 fetch  0x00000001 , 0x0000437a 
+ 00013455  0x0000405a and  0x0000003f , 0x000000f0 , 0x00000002 
+ 00013456  0x0000405b rshift4  0x00000002 , 0x00000002 
+ 00013457  0x0000405c call  0x000034a1 
+ 00013458  0x0000405d istoret  0x00000001 , 0x00000005 
+ 00013459  0x0000405e and  0x0000003f , 0x0000000f , 0x00000002 
+ 00013460  0x0000405f call  0x000034a1 
+ 00013461  0x00004060 istoret  0x00000001 , 0x00000005 
+ 00013462  0x00004061 call  0x00001a58 
+ 00013463  0x00004062 fetcht  0x00000001 , 0x000042f7 
+ 00013464  0x00004063 copy  0x00000002 , 0x00000039 
+ 00013465  0x00004064 arg  0x000043ea , 0x00000005 
+ 00013466  0x00004065 arg  0x000042f8 , 0x00000006 
+ 00013467  0x00004066 call  0x00007dd4 
+ 00013468  0x00004068 fetcht  0x00000001 , 0x000042f7 
+ 00013469  0x00004069 copy  0x00000002 , 0x00000039 
+ 00013470  0x0000406a arg  0x0000440a , 0x00000005 
+ 00013471  0x0000406b arg  0x000042f8 , 0x00000006 
+ 00013472  0x0000406c branch  0x00007dd4 
+ 00013473  0x0000406e sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00013474  0x0000406f branch  0x000034a5 , 0x00000002 
+ 00013475  0x00004070 add  0x00000002 , 0x00000037 , 0x00000002 
+ 00013476  0x00004071 rtn 
+ 00013477  0x00004073 add  0x00000002 , 0x00000030 , 0x00000002 
+ 00013478  0x00004074 rtn 
+ 00013479  0x00004077 fetch  0x00000001 , 0x00004a1b 
+ 00013480  0x00004078 bne  0x000000ff , 0x000034b9 
+ 00013481  0x0000407a fetch  0x00000001 , 0x00004a19 
+ 00013482  0x0000407b bne  0x000000ff , 0x000034bc 
+ 00013483  0x0000407d fetch  0x00000001 , 0x00004a24 
+ 00013484  0x0000407e bne  0x000000ff , 0x000034be 
+ 00013485  0x00004080 fetch  0x00000001 , 0x00004987 
+ 00013486  0x00004081 copy  0x0000003f , 0x00000039 
+ 00013487  0x00004082 setarg  0x00004988 
+ 00013488  0x00004083 copy  0x0000003f , 0x00000011 
+ 00013489  0x00004085 copy  0x00000011 , 0x00000006 
+ 00013490  0x00004086 ifetch  0x00000001 , 0x00000006 
+ 00013491  0x00004087 copy  0x00000006 , 0x00000011 
+ 00013492  0x00004088 beq  0x000000ff , 0x000034b7 
+ 00013493  0x00004089 copy  0x0000003f , 0x00000002 
+ 00013494  0x0000408a call  0x0000610d 
+ 00013495  0x0000408c loop  0x000034b1 
+ 00013496  0x0000408e rtn 
+ 00013497  0x00004090 fetch  0x00000008 , 0x00004a1b 
+ 00013498  0x00004091 store  0x00000008 , 0x0000498a 
+ 00013499  0x00004092 branch  0x000034a9 
+ 00013500  0x00004094 store  0x00000001 , 0x00004988 
+ 00013501  0x00004095 branch  0x000034ab 
+ 00013502  0x00004097 store  0x00000001 , 0x00004989 
+ 00013503  0x00004098 branch  0x000034ad 
+ 00013504  0x0000409c call  0x00003650 
+ 00013505  0x0000409d arg  0x00000000 , 0x00000011 
+ 00013506  0x0000409e call  0x00006239 
+ 00013507  0x0000409f call  0x000034a7 
+ 00013508  0x000040a0 call  0x000034f2 
+ 00013509  0x000040a1 call  0x000034d8 
+ 00013510  0x000040a2 branch  0x000034c7 
+ 00013511  0x000040a5 fetch  0x00000001 , 0x00004c51 
+ 00013512  0x000040a6 copy  0x0000003f , 0x00000039 
+ 00013513  0x000040a7 setarg  0x00004c52 
+ 00013514  0x000040a8 copy  0x0000003f , 0x00000011 
+ 00013515  0x000040aa copy  0x00000011 , 0x00000006 
+ 00013516  0x000040ab ifetch  0x00000001 , 0x00000006 
+ 00013517  0x000040ac copy  0x00000006 , 0x00000011 
+ 00013518  0x000040ad beq  0x000000ff , 0x000034d2 
+ 00013519  0x000040ae copy  0x0000003f , 0x00000002 
+ 00013520  0x000040af store  0x00000001 , 0x00004c56 
+ 00013521  0x000040b0 call  0x000034d4 
+ 00013522  0x000040b2 loop  0x000034cb 
+ 00013523  0x000040b4 rtn 
+ 00013524  0x000040b7 fetch  0x00000001 , 0x00004c56 
+ 00013525  0x000040b8 rtneq  0x000000ff 
+ 00013526  0x000040b9 iforce  0x00000002 
+ 00013527  0x000040ba branch  0x0000610d 
+ 00013528  0x000040be jam  0x00000064 , 0x00004a2a 
+ 00013529  0x000040bf rtn 
+ 00013530  0x000040c3 branch  0x000061ff 
+ 00013531  0x000040c6 branch  0x0000620b 
+ 00013532  0x000040c9 call  0x000034f4 
+ 00013533  0x000040ca call  0x000034df 
+ 00013534  0x000040cb branch  0x000034db 
+ 00013535  0x000040ce fetch  0x00000002 , 0x0000478f 
+ 00013536  0x000040cf rtnbit1  0x00000009 
+ 00013537  0x000040d0 fetch  0x00000001 , 0x00004c64 
+ 00013538  0x000040d1 beq  0x00000001 , 0x000034e4 
+ 00013539  0x000040d2 rtn 
+ 00013540  0x000040d4 fetch  0x00000001 , 0x00004a45 
+ 00013541  0x000040d5 rtneq  0x00000001 
+ 00013542  0x000040d6 jam  0x00000001 , 0x00004a45 
+ 00013543  0x000040d7 call  0x000034ee 
+ 00013544  0x000040d8 call  0x000034f0 
+ 00013545  0x000040d9 branch  0x00003507 
+ 00013546  0x000040dc fetch  0x00000002 , 0x00004c69 
+ 00013547  0x000040dd store  0x00000002 , 0x00004c6b 
+ 00013548  0x000040de jam  0x00000000 , 0x00004c6d 
+ 00013549  0x000040df rtn 
+ 00013550  0x000040e3 setarg  0x00000000 
+ 00013551  0x000040e4 branch  0x000034eb 
+ 00013552  0x000040e8 arg  0x00000000 , 0x00000011 
+ 00013553  0x000040e9 branch  0x0000786c 
+ 00013554  0x000040ed arg  0x00000000 , 0x00000011 
+ 00013555  0x000040ee branch  0x00007871 
+ 00013556  0x000040f5 fetch  0x00000002 , 0x0000478f 
+ 00013557  0x000040f6 rtnbit0  0x00000009 
+ 00013558  0x000040f7 call  0x00001b24 
+ 00013559  0x000040f8 nrtn  0x00000034 
+ 00013560  0x000040f9 arg  0x00004973 , 0x00000011 
+ 00013561  0x000040fa call  0x000079c1 
+ 00013562  0x000040fb nrtn  0x00000028 
+ 00013563  0x000040fc arg  0x00004973 , 0x00000006 
+ 00013564  0x000040fd branch  0x00004c5a 
+ 00013565  0x00004100 copy  0x00000013 , 0x0000003f 
+ 00013566  0x00004101 beq  0x0000002d , 0x000032b1 
+ 00013567  0x00004102 beq  0x00000010 , 0x00003299 
+ 00013568  0x00004103 beq  0x00000014 , 0x00003503 
+ 00013569  0x00004104 beq  0x00000015 , 0x0000350d 
+ 00013570  0x00004105 rtn 
+ 00013571  0x00004108 call  0x000034ee 
+ 00013572  0x00004109 call  0x000034f0 
+ 00013573  0x0000410a set0  0x00000027 , 0x00000000 
+ 00013574  0x0000410b branch  0x00003509 
+ 00013575  0x0000410d fetch  0x00000002 , 0x00004a46 
+ 00013576  0x0000410e store  0x00000002 , 0x00004a48 
+ 00013577  0x00004110 jam  0x00000014 , 0x00004a29 
+ 00013578  0x00004111 jam  0x00000000 , 0x00004099 
+ 00013579  0x00004112 call  0x00003277 
+ 00013580  0x00004113 branch  0x00003295 
+ 00013581  0x00004117 set1  0x00000027 , 0x00000000 
+ 00013582  0x00004118 call  0x000034ea 
+ 00013583  0x00004119 call  0x00003604 
+ 00013584  0x0000411a call  0x000035f8 
+ 00013585  0x0000411c setarg  0x00000000 
+ 00013586  0x0000411d store  0x00000005 , 0x000049f7 
+ 00013587  0x0000411e setarg  0x00000004 
+ 00013588  0x0000411f call  0x0000627e 
+ 00013589  0x00004120 setarg  0x00000005 
+ 00013590  0x00004121 call  0x0000627e 
+ 00013591  0x00004122 setarg  0x00000014 
+ 00013592  0x00004123 call  0x0000627e 
+ 00013593  0x00004124 setarg  0x00000015 
+ 00013594  0x00004125 call  0x0000627e 
+ 00013595  0x00004126 setarg  0x00000016 
+ 00013596  0x00004127 call  0x0000627e 
+ 00013597  0x00004128 setarg  0x00000007 
+ 00013598  0x00004129 call  0x0000627e 
+ 00013599  0x0000412a call  0x000079a5 
+ 00013600  0x0000412b jam  0x0000000a , 0x000049b9 
+ 00013601  0x0000412c jam  0x0000000a , 0x000049bb 
+ 00013602  0x0000412d jam  0x0000000a , 0x000049bd 
+ 00013603  0x0000412f jam  0x00000002 , 0x00004177 
+ 00013604  0x00004130 setarg  0x00000020 
+ 00013605  0x00004131 call  0x00004c56 
+ 00013606  0x00004132 branch  0x00003279 
+ 00013607  0x00004135 call  0x000035a5 
+ 00013608  0x00004136 call  0x000035a8 
+ 00013609  0x00004137 call  0x000035ab 
+ 00013610  0x00004138 call  0x0000320a 
+ 00013611  0x00004139 call  0x0000353d 
+ 00013612  0x0000413a call  0x00003537 
+ 00013613  0x0000413b call  0x0000352f 
+ 00013614  0x0000413c branch  0x00003532 
+ 00013615  0x0000413f arg  0x00004c65 , 0x00000013 
+ 00013616  0x00004140 arg  0x00000000 , 0x00000012 
+ 00013617  0x00004141 branch  0x000031fc 
+ 00013618  0x00004144 arg  0x00004c6b , 0x00000013 
+ 00013619  0x00004145 arg  0x00003535 , 0x00000012 
+ 00013620  0x00004146 branch  0x00003203 
+ 00013621  0x00004148 jam  0x00000001 , 0x00004c6d 
+ 00013622  0x00004149 rtn 
+ 00013623  0x0000414c arg  0x00004a48 , 0x00000013 
+ 00013624  0x0000414d arg  0x0000353a , 0x00000012 
+ 00013625  0x0000414e branch  0x00003203 
+ 00013626  0x00004150 jam  0x00000002 , 0x00004a45 
+ 00013627  0x00004151 jam  0x00000000 , 0x00004c64 
+ 00013628  0x00004152 branch  0x00003511 
+ 00013629  0x00004155 fetch  0x00000001 , 0x00004a23 
+ 00013630  0x00004156 rtn  0x00000034 
+ 00013631  0x00004157 arg  0x00004a29 , 0x00000013 
+ 00013632  0x00004158 arg  0x00003542 , 0x00000012 
+ 00013633  0x00004159 branch  0x000031fc 
+ 00013634  0x0000415b fetch  0x00000001 , 0x00004a28 
+ 00013635  0x0000415c store  0x00000001 , 0x00004a29 
+ 00013636  0x0000415d fetch  0x00000001 , 0x00004a2c 
+ 00013637  0x0000415e nrtn  0x00000034 
+ 00013638  0x00004160 call  0x0000618d 
+ 00013639  0x00004161 store  0x00000002 , 0x00004a43 
+ 00013640  0x00004162 arg  0x00004a3d , 0x00000011 
+ 00013641  0x00004163 call  0x000061ba 
+ 00013642  0x00004164 fetcht  0x00000001 , 0x00004a2a 
+ 00013643  0x00004165 isub  0x00000002 , 0x0000003e 
+ 00013644  0x00004166 branch  0x0000354f , 0x00000002 
+ 00013645  0x00004167 store  0x00000001 , 0x00004a2a 
+ 00013646  0x00004168 copy  0x0000003f , 0x00000002 
+ 00013647  0x0000416a storet  0x00000001 , 0x00004a2b 
+ 00013648  0x0000416b fetch  0x00000001 , 0x00004a25 
+ 00013649  0x0000416c isub  0x00000002 , 0x0000003e 
+ 00013650  0x0000416d call  0x0000355a , 0x00000002 
+ 00013651  0x0000416e storet  0x00000001 , 0x00004a36 
+ 00013652  0x0000416f arg  0x00000006 , 0x00000039 
+ 00013653  0x00004170 arg  0x00004a31 , 0x00000006 
+ 00013654  0x00004171 call  0x00003561 
+ 00013655  0x00004172 store  0x00000001 , 0x00004a37 
+ 00013656  0x00004173 arg  0x00004a2e , 0x00000011 
+ 00013657  0x00004174 branch  0x000079aa 
+ 00013658  0x00004176 fetch  0x00000001 , 0x00004a2d 
+ 00013659  0x00004177 nrtn  0x00000034 
+ 00013660  0x00004178 jam  0x00000001 , 0x00004a2d 
+ 00013661  0x00004179 arg  0x00000001 , 0x00000011 
+ 00013662  0x0000417a branch  0x00007871 
+ 00013663  0x0000417c arg  0x00000001 , 0x00000011 
+ 00013664  0x0000417d branch  0x0000786c 
+ 00013665  0x00004182 arg  0x00000000 , 0x00000011 
+ 00013666  0x00004184 ifetch  0x00000001 , 0x00000006 
+ 00013667  0x00004185 iadd  0x00000011 , 0x00000011 
+ 00013668  0x00004186 loop  0x00003562 
+ 00013669  0x00004188 and  0x00000011 , 0x000000ff , 0x0000003f 
+ 00013670  0x00004189 rtn 
+ 00013671  0x0000418c fetch  0x00000001 , 0x00004436 
+ 00013672  0x0000418d beq  0x00000012 , 0x0000356a 
+ 00013673  0x0000418e rtn 
+ 00013674  0x00004190 fetch  0x00000002 , 0x00004437 
+ 00013675  0x00004191 beq  0x00000014 , 0x00003581 
+ 00013676  0x00004192 rtn 
+ 00013677  0x00004195 bpatch  0x000000b6 , 0x00004016 
+ 00013678  0x00004196 ifetch  0x00000005 , 0x00000011 
+ 00013679  0x00004197 store  0x00000005 , 0x000009de 
+ 00013680  0x00004198 fetch  0x00000002 , 0x000009de 
+ 00013681  0x00004199 arg  0x00006b5a , 0x00000002 
+ 00013682  0x0000419a isub  0x00000002 , 0x0000003e 
+ 00013683  0x0000419b nrtn  0x00000005 
+ 00013684  0x0000419c fetch  0x00000002 , 0x000009e1 
+ 00013685  0x0000419d byteswap  0x0000003f , 0x0000003f 
+ 00013686  0x0000419e store  0x00000002 , 0x000009e1 
+ 00013687  0x0000419f copy  0x0000003f , 0x00000039 
+ 00013688  0x000041a0 increase  0x00000005 , 0x00000011 
+ 00013689  0x000041a1 copy  0x00000011 , 0x00000006 
+ 00013690  0x000041a2 arg  0x000009e3 , 0x00000005 
+ 00013691  0x000041a3 call  0x00007dd4 
+ 00013692  0x000041a4 ifetch  0x00000001 , 0x00000006 
+ 00013693  0x000041a5 store  0x00000001 , 0x000009ed 
+ 00013694  0x000041a6 arg  0x000009e0 , 0x00000011 
+ 00013695  0x000041a7 arg  0x000009e3 , 0x00000012 
+ 00013696  0x000041a8 rtn 
+ 00013697  0x000041ab setarg  0x00000000 
+ 00013698  0x000041ac store  0x00000005 , 0x000049ad 
+ 00013699  0x000041ad store  0x00000005 , 0x000049b2 
+ 00013700  0x000041ae call  0x0000356d 
+ 00013701  0x000041af copy  0x00000012 , 0x00000006 
+ 00013702  0x000041b0 arg  0x000049ad , 0x00000005 
+ 00013703  0x000041b1 arg  0x0000000a , 0x00000039 
+ 00013704  0x000041b2 call  0x00007dd4 
+ 00013705  0x000041b4 bpatch  0x000000b7 , 0x00004016 
+ 00013706  0x000041b5 ifetch  0x00000001 , 0x00000011 
+ 00013707  0x000041b6 beq  0x00000002 , 0x000035b4 
+ 00013708  0x000041b7 beq  0x00000003 , 0x000035c9 
+ 00013709  0x000041b8 beq  0x00000004 , 0x000035d0 
+ 00013710  0x000041b9 beq  0x00000005 , 0x000035d0 
+ 00013711  0x000041ba beq  0x00000006 , 0x00003640 
+ 00013712  0x000041bb beq  0x00000007 , 0x00003641 
+ 00013713  0x000041bc beq  0x00000008 , 0x00003644 
+ 00013714  0x000041bd rtn 
+ 00013715  0x000041c0 call  0x00003581 
+ 00013716  0x000041c1 fetch  0x00000001 , 0x000009e0 
+ 00013717  0x000041c2 beq  0x00000004 , 0x00003598 
+ 00013718  0x000041c3 beq  0x00000005 , 0x00003598 
+ 00013719  0x000041c4 rtn 
+ 00013720  0x000041c6 fetch  0x00000001 , 0x000049ad 
+ 00013721  0x000041c7 ncall  0x0000359f , 0x00000034 
+ 00013722  0x000041c8 fetch  0x00000001 , 0x000049af 
+ 00013723  0x000041c9 ncall  0x000035a1 , 0x00000034 
+ 00013724  0x000041ca fetch  0x00000001 , 0x000049b1 
+ 00013725  0x000041cb ncall  0x000035a3 , 0x00000034 
+ 00013726  0x000041cc rtn 
+ 00013727  0x000041cf jam  0x00000005 , 0x00004c4e 
+ 00013728  0x000041d0 rtn 
+ 00013729  0x000041d2 jam  0x00000005 , 0x00004c4f 
+ 00013730  0x000041d3 rtn 
+ 00013731  0x000041d5 jam  0x00000005 , 0x00004c50 
+ 00013732  0x000041d6 rtn 
+ 00013733  0x000041d9 arg  0x00004c4e , 0x00000013 
+ 00013734  0x000041da arg  0x000035ae , 0x00000012 
+ 00013735  0x000041db branch  0x000031fc 
+ 00013736  0x000041dd arg  0x00004c4f , 0x00000013 
+ 00013737  0x000041de arg  0x000035b0 , 0x00000012 
+ 00013738  0x000041df branch  0x000031fc 
+ 00013739  0x000041e1 arg  0x00004c50 , 0x00000013 
+ 00013740  0x000041e2 arg  0x000035b2 , 0x00000012 
+ 00013741  0x000041e3 branch  0x000031fc 
+ 00013742  0x000041e6 jam  0x00000000 , 0x000049ad 
+ 00013743  0x000041e7 branch  0x000035d0 
+ 00013744  0x000041e9 jam  0x00000000 , 0x000049af 
+ 00013745  0x000041ea branch  0x000035d0 
+ 00013746  0x000041ec jam  0x00000000 , 0x000049b1 
+ 00013747  0x000041ed branch  0x000035d0 
+ 00013748  0x000041f3 fetch  0x00000001 , 0x000049ad 
+ 00013749  0x000041f4 store  0x00000001 , 0x000049b8 
+ 00013750  0x000041f5 fetch  0x00000001 , 0x000049ae 
+ 00013751  0x000041f6 store  0x00000001 , 0x000049ba 
+ 00013752  0x000041f7 branch  0x000035da 
+ 00013753  0x000041fc fetch  0x00000001 , 0x000049ad 
+ 00013754  0x000041fd store  0x00000001 , 0x000049ba 
+ 00013755  0x000041fe branch  0x000035e8 
+ 00013756  0x00004200 fetch  0x00000001 , 0x000049b9 
+ 00013757  0x00004201 call  0x000035c1 
+ 00013758  0x00004202 fetch  0x00000001 , 0x000049ae 
+ 00013759  0x00004203 store  0x00000001 , 0x000049b8 
+ 00013760  0x00004204 branch  0x000035e6 
+ 00013761  0x00004206 beq  0x00000002 , 0x000035c5 
+ 00013762  0x00004207 beq  0x00000003 , 0x000035c7 
+ 00013763  0x00004208 store  0x00000001 , 0x000049b9 
+ 00013764  0x00004209 rtn 
+ 00013765  0x0000420b jam  0x00000005 , 0x000049b9 
+ 00013766  0x0000420c rtn 
+ 00013767  0x0000420e jam  0x0000000a , 0x000049b9 
+ 00013768  0x0000420f rtn 
+ 00013769  0x00004211 fetch  0x00000001 , 0x000049ad 
+ 00013770  0x00004212 call  0x000035c1 
+ 00013771  0x00004213 fetch  0x00000001 , 0x000049b9 
+ 00013772  0x00004214 call  0x00003634 
+ 00013773  0x00004215 call  0x00003637 
+ 00013774  0x00004216 jam  0x00000000 , 0x0000095d 
+ 00013775  0x00004217 branch  0x00006272 
+ 00013776  0x0000421a fetch  0x00000001 , 0x00004a4b 
+ 00013777  0x0000421b nrtn  0x00000034 
+ 00013778  0x0000421c fetch  0x00000006 , 0x000049ad 
+ 00013779  0x0000421d store  0x00000006 , 0x000049b8 
+ 00013780  0x0000421e fetch  0x00000001 , 0x000049b9 
+ 00013781  0x0000421f fetcht  0x00000001 , 0x000049bb 
+ 00013782  0x00004220 iand  0x00000002 , 0x0000003f 
+ 00013783  0x00004221 fetcht  0x00000001 , 0x000049bd 
+ 00013784  0x00004222 iand  0x00000002 , 0x0000003f 
+ 00013785  0x00004223 call  0x000035ec , 0x00000034 
+ 00013786  0x00004225 bpatch  0x000000b8 , 0x00004017 
+ 00013787  0x00004226 fetch  0x00000002 , 0x0000478f 
+ 00013788  0x00004227 isolate1  0x00000009 , 0x0000003f 
+ 00013789  0x00004228 ncall  0x000034ea , 0x00000001 
+ 00013790  0x00004229 call  0x000035e6 
+ 00013791  0x0000422a call  0x000035e8 
+ 00013792  0x0000422b branch  0x000035e1 
+ 00013793  0x0000422e fetch  0x00000001 , 0x000049b8 
+ 00013794  0x0000422f fetcht  0x00000001 , 0x000049ba 
+ 00013795  0x00004230 iadd  0x00000002 , 0x0000003f 
+ 00013796  0x00004231 nbranch  0x00007976 , 0x00000034 
+ 00013797  0x00004232 branch  0x00007974 
+ 00013798  0x00004235 arg  0x000049b8 , 0x00000006 
+ 00013799  0x00004236 branch  0x000035ee 
+ 00013800  0x00004238 arg  0x000049ba , 0x00000006 
+ 00013801  0x00004239 branch  0x000035f3 
+ 00013802  0x0000423b arg  0x000049bc , 0x00000006 
+ 00013803  0x0000423c branch  0x00003610 
+ 00013804  0x0000423e jam  0x00000000 , 0x00004a2c 
+ 00013805  0x0000423f rtn 
+ 00013806  0x00004242 ifetch  0x00000001 , 0x00000006 
+ 00013807  0x00004243 beq  0x00000000 , 0x000035f8 
+ 00013808  0x00004244 beq  0x00000001 , 0x000035fc 
+ 00013809  0x00004245 beq  0x00000002 , 0x00003600 
+ 00013810  0x00004246 rtn 
+ 00013811  0x00004248 ifetch  0x00000001 , 0x00000006 
+ 00013812  0x00004249 beq  0x00000000 , 0x00003604 
+ 00013813  0x0000424a beq  0x00000002 , 0x00003608 
+ 00013814  0x0000424b beq  0x00000001 , 0x0000360c 
+ 00013815  0x0000424c rtn 
+ 00013816  0x0000424f fetcht  0x00000001 , 0x00004c52 
+ 00013817  0x00004250 call  0x00006109 
+ 00013818  0x00004251 fetcht  0x00000001 , 0x00004c53 
+ 00013819  0x00004252 branch  0x00006109 
+ 00013820  0x00004254 fetcht  0x00000001 , 0x00004c52 
+ 00013821  0x00004255 call  0x0000610d 
+ 00013822  0x00004256 fetcht  0x00000001 , 0x00004c53 
+ 00013823  0x00004257 branch  0x00006109 
+ 00013824  0x00004259 fetcht  0x00000001 , 0x00004c52 
+ 00013825  0x0000425a call  0x00006109 
+ 00013826  0x0000425b fetcht  0x00000001 , 0x00004c53 
+ 00013827  0x0000425c branch  0x0000610d 
+ 00013828  0x0000425e fetcht  0x00000001 , 0x00004c54 
+ 00013829  0x0000425f call  0x00006109 
+ 00013830  0x00004260 fetcht  0x00000001 , 0x00004c55 
+ 00013831  0x00004261 branch  0x00006109 
+ 00013832  0x00004263 fetcht  0x00000001 , 0x00004c54 
+ 00013833  0x00004264 call  0x0000610d 
+ 00013834  0x00004265 fetcht  0x00000001 , 0x00004c55 
+ 00013835  0x00004266 branch  0x00006109 
+ 00013836  0x00004268 fetcht  0x00000001 , 0x00004c54 
+ 00013837  0x00004269 call  0x00006109 
+ 00013838  0x0000426a fetcht  0x00000001 , 0x00004c55 
+ 00013839  0x0000426b branch  0x0000610d 
+ 00013840  0x00004271 bpatch  0x000000b9 , 0x00004017 
+ 00013841  0x00004272 ifetch  0x00000001 , 0x00000006 
+ 00013842  0x00004273 beq  0x00000000 , 0x0000361d 
+ 00013843  0x00004274 beq  0x00000001 , 0x00003616 
+ 00013844  0x00004275 beq  0x00000002 , 0x00003618 
+ 00013845  0x00004276 rtn 
+ 00013846  0x00004278 jam  0x00000000 , 0x000049d6 
+ 00013847  0x00004279 branch  0x00003619 
+ 00013848  0x0000427b jam  0x00000001 , 0x000049d6 
+ 00013849  0x0000427c ifetch  0x00000001 , 0x00000006 
+ 00013850  0x0000427d store  0x00000001 , 0x000049d8 
+ 00013851  0x0000427e ifetch  0x00000008 , 0x00000012 
+ 00013852  0x0000427f branch  0x00003622 
+ 00013853  0x00004282 ifetch  0x00000001 , 0x00000012 
+ 00013854  0x00004283 call  0x0000627e 
+ 00013855  0x00004284 increase  0x00000001 , 0x00000012 
+ 00013856  0x00004285 ifetch  0x00000001 , 0x00000012 
+ 00013857  0x00004286 branch  0x0000627e 
+ 00013858  0x00004288 store  0x00000008 , 0x000049d9 
+ 00013859  0x00004289 jam  0x00000001 , 0x00004a2c 
+ 00013860  0x0000428a fetch  0x00000001 , 0x000049d6 
+ 00013861  0x0000428b beq  0x00000000 , 0x00003630 
+ 00013862  0x0000428d fetch  0x00000001 , 0x000049da 
+ 00013863  0x0000428e store  0x00000001 , 0x000049db 
+ 00013864  0x0000428f fetch  0x00000001 , 0x000049d9 
+ 00013865  0x00004291 call  0x0000627e 
+ 00013866  0x00004292 fetch  0x00000001 , 0x000049d8 
+ 00013867  0x00004293 call  0x00003634 
+ 00013868  0x00004294 store  0x00000001 , 0x000049e0 
+ 00013869  0x00004295 fetch  0x00000006 , 0x000049db 
+ 00013870  0x00004296 store  0x00000006 , 0x0000095c 
+ 00013871  0x00004297 branch  0x00006260 
+ 00013872  0x00004299 fetch  0x00000001 , 0x000049d9 
+ 00013873  0x0000429a store  0x00000001 , 0x000049db 
+ 00013874  0x0000429b fetch  0x00000001 , 0x000049da 
+ 00013875  0x0000429c branch  0x00003629 
+ 00013876  0x0000429f mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00013877  0x000042a0 add  0x0000003f , 0x00000032 , 0x0000003f 
+ 00013878  0x000042a1 rtn 
+ 00013879  0x000042a3 arg  0x00002ee0 , 0x00000002 
+ 00013880  0x000042a4 imul32  0x00000002 , 0x0000003f 
+ 00013881  0x000042a5 div  0x0000003f , 0x00000064 
+ 00013882  0x000042a6 call  0x00007e64 
+ 00013883  0x000042a7 quotient  0x00000002 
+ 00013884  0x000042a8 copy  0x00000002 , 0x00000011 
+ 00013885  0x000042a9 setarg  0x00002ee0 
+ 00013886  0x000042aa isub  0x00000002 , 0x00000012 
+ 00013887  0x000042ab rtn 
+ 00013888  0x000042ae rtn 
+ 00013889  0x000042b1 fetch  0x00000008 , 0x000049ad 
+ 00013890  0x000042b2 store  0x00000008 , 0x000049f7 
+ 00013891  0x000042b3 rtn 
+ 00013892  0x000042b6 fetch  0x00000001 , 0x00004a14 
+ 00013893  0x000042b7 store  0x00000001 , 0x00004a0a 
+ 00013894  0x000042b8 fetch  0x00000001 , 0x00004a15 
+ 00013895  0x000042b9 store  0x00000001 , 0x00004a0b 
+ 00013896  0x000042ba fetch  0x00000001 , 0x00004a16 
+ 00013897  0x000042bb store  0x00000001 , 0x00004a0c 
+ 00013898  0x000042bc arg  0x0000000d , 0x00000039 
+ 00013899  0x000042bd arg  0x00004a05 , 0x00000006 
+ 00013900  0x000042be call  0x00003561 
+ 00013901  0x000042bf store  0x00000001 , 0x00004a12 
+ 00013902  0x000042c0 arg  0x00004a02 , 0x00000011 
+ 00013903  0x000042c1 branch  0x000079aa 
+ 00013904  0x000042c6 setarg  0x00000000 
+ 00013905  0x000042c7 store  0x00000008 , 0x00004885 
+ 00013906  0x000042c8 call  0x000023dc 
+ 00013907  0x000042c9 branch  0x0000243a 
+ 00013908  0x000042cc call  0x00003658 
+ 00013909  0x000042cd call  0x00003660 
+ 00013910  0x000042ce call  0x0000366f 
+ 00013911  0x000042cf branch  0x0000368d 
+ 00013912  0x000042d2 call  0x0000243e 
+ 00013913  0x000042d4 fetch  0x00000001 , 0x000048c3 
+ 00013914  0x000042d5 rtnne  0x00000001 
+ 00013915  0x000042d6 fetch  0x00000001 , 0x00004c65 
+ 00013916  0x000042d7 nbranch  0x00002493 , 0x00000034 
+ 00013917  0x000042d8 fetch  0x00000001 , 0x00004a45 
+ 00013918  0x000042d9 beq  0x00000002 , 0x00002493 
+ 00013919  0x000042da rtn 
+ 00013920  0x000042dd fetch  0x00000001 , 0x000048c3 
+ 00013921  0x000042de rtnne  0x00000000 
+ 00013922  0x000042df call  0x00002497 
+ 00013923  0x000042e0 branch  0x0000366d , 0x0000002f 
+ 00013924  0x000042e2 fetch  0x00000001 , 0x00004c6d 
+ 00013925  0x000042e3 rtn  0x00000034 
+ 00013926  0x000042e4 fetch  0x00000001 , 0x00004c6e 
+ 00013927  0x000042e5 increase  0x00000001 , 0x0000003f 
+ 00013928  0x000042e6 store  0x00000001 , 0x00004c6e 
+ 00013929  0x000042e7 beq  0x00000004 , 0x0000366d 
+ 00013930  0x000042e8 call  0x00002281 
+ 00013931  0x000042e9 call  0x000023e8 
+ 00013932  0x000042ea nbranch  0x00003664 , 0x0000002f 
+ 00013933  0x000042ec jam  0x00000000 , 0x00004c6e 
+ 00013934  0x000042ed rtn 
+ 00013935  0x000042f0 fetch  0x00000001 , 0x000048c3 
+ 00013936  0x000042f1 rtnne  0x00000001 
+ 00013937  0x000042f2 call  0x0000234b 
+ 00013938  0x000042f3 call  0x00003683 
+ 00013939  0x000042f4 call  0x00002359 
+ 00013940  0x000042f5 fetch  0x00000001 , 0x00004884 
+ 00013941  0x000042f6 nbranch  0x0000367c , 0x00000034 
+ 00013942  0x000042f7 call  0x0000253a 
+ 00013943  0x000042f8 fetch  0x00000001 , 0x000048c1 
+ 00013944  0x000042f9 rtn  0x00000034 
+ 00013945  0x000042fa setarg  0x00000000 
+ 00013946  0x000042fb store  0x00000004 , 0x000048dd 
+ 00013947  0x000042fc rtn 
+ 00013948  0x000042ff jam  0x00000000 , 0x000048c0 
+ 00013949  0x00004300 arg  0x00000000 , 0x00000011 
+ 00013950  0x00004301 call  0x0000786c 
+ 00013951  0x00004302 call  0x00002493 
+ 00013952  0x00004303 call  0x000022b2 
+ 00013953  0x00004304 fetch  0x00000004 , 0x000040a8 
+ 00013954  0x00004305 branch  0x00002292 
+ 00013955  0x00004308 fetch  0x00000004 , 0x000048dd 
+ 00013956  0x00004309 rtn  0x00000034 
+ 00013957  0x0000430a branch  0x00002292 
+ 00013958  0x0000430d fetch  0x00000002 , 0x0000478f 
+ 00013959  0x0000430e rtnbit1  0x00000009 
+ 00013960  0x0000430f fetch  0x00000002 , 0x00004a46 
+ 00013961  0x00004310 store  0x00000002 , 0x00004a48 
+ 00013962  0x00004311 jam  0x00000001 , 0x00004c64 
+ 00013963  0x00004312 arg  0x00004898 , 0x00000011 
+ 00013964  0x00004313 branch  0x00003593 
+ 00013965  0x00004316 fetch  0x00000001 , 0x00004c6d 
+ 00013966  0x00004317 rtn  0x00000034 
+ 00013967  0x00004318 call  0x00003695 
+ 00013968  0x00004319 nrtn  0x00000028 
+ 00013969  0x0000431a fetch  0x00000003 , 0x0000485f 
+ 00013970  0x0000431b call  0x00007e1f 
+ 00013971  0x0000431c storet  0x00000004 , 0x00004160 
+ 00013972  0x0000431d branch  0x00001464 
+ 00013973  0x0000431f enable  0x00000028 
+ 00013974  0x00004320 call  0x00001436 
+ 00013975  0x00004321 fetch  0x00000003 , 0x00004174 
+ 00013976  0x00004322 branch  0x00007ec7 , 0x00000034 
+ 00013977  0x00004323 branch  0x000034da 
+ 00013978  0x0000432a setarg  0x000036cc 
+ 00013979  0x0000432b store  0x00000002 , 0x0000488d 
+ 00013980  0x0000432c setarg  0x0000379c 
+ 00013981  0x0000432d store  0x00000002 , 0x00004891 
+ 00013982  0x0000432e setarg  0x000037ad 
+ 00013983  0x0000432f store  0x00000002 , 0x00004893 
+ 00013984  0x00004330 setarg  0x00003773 
+ 00013985  0x00004331 store  0x00000002 , 0x0000488f 
+ 00013986  0x00004332 setarg  0x000036d8 
+ 00013987  0x00004333 store  0x00000002 , 0x00000b45 
+ 00013988  0x00004334 branch  0x00007a08 
+ 00013989  0x00004339 fetch  0x00000001 , 0x00000a2b 
+ 00013990  0x0000433a store  0x00000001 , 0x000048f5 
+ 00013991  0x0000433b call  0x000036c7 
+ 00013992  0x0000433c fetch  0x00000001 , 0x00004915 
+ 00013993  0x0000433d isolate1  0x00000005 , 0x0000003f 
+ 00013994  0x0000433e branch  0x000036ae , 0x00000001 
+ 00013995  0x0000433f fetch  0x00000001 , 0x00004915 
+ 00013996  0x00004340 isolate1  0x00000006 , 0x0000003f 
+ 00013997  0x00004341 call  0x000022c4 , 0x00000001 
+ 00013998  0x00004343 fetch  0x00000001 , 0x00004915 
+ 00013999  0x00004344 and_into  0x0000000f , 0x0000003f 
+ 00014000  0x00004345 store  0x00000001 , 0x000041e8 
+ 00014001  0x00004346 call  0x00003174 
+ 00014002  0x00004348 jam  0x000000ff , 0x00004881 
+ 00014003  0x00004349 setarg  0x00000c4b 
+ 00014004  0x0000434a store  0x00000002 , 0x000048ed 
+ 00014005  0x0000434b setarg  0x00000d4b 
+ 00014006  0x0000434c store  0x00000002 , 0x000048ef 
+ 00014007  0x0000434d setarg  0x00000e4b 
+ 00014008  0x0000434e store  0x00000002 , 0x000048f1 
+ 00014009  0x0000434f setarg  0x00000f4b 
+ 00014010  0x00004350 store  0x00000002 , 0x000048f3 
+ 00014011  0x00004351 jam  0x00000085 , 0x00004880 
+ 00014012  0x00004352 jam  0x00000000 , 0x0000493e 
+ 00014013  0x00004353 jam  0x00000000 , 0x000048d8 
+ 00014014  0x00004354 call  0x000022d8 
+ 00014015  0x00004355 call  0x000023dc 
+ 00014016  0x00004356 call  0x000022db 
+ 00014017  0x00004357 call  0x000022b5 
+ 00014018  0x00004359 fetch  0x00000001 , 0x0000491f 
+ 00014019  0x0000435a store  0x00000001 , 0x00000b47 
+ 00014020  0x0000435b fetch  0x00000009 , 0x00004916 
+ 00014021  0x0000435c store  0x00000009 , 0x00000b48 
+ 00014022  0x0000435d rtn 
+ 00014023  0x00004360 jam  0x00000018 , 0x000040c5 
+ 00014024  0x00004361 fetch  0x00000001 , 0x00004915 
+ 00014025  0x00004362 rtnbit0  0x00000007 
+ 00014026  0x00004363 jam  0x00000008 , 0x000040c5 
+ 00014027  0x00004364 rtn 
+ 00014028  0x00004367 fetch  0x00000001 , 0x000048bd 
+ 00014029  0x00004368 beq  0x00000000 , 0x00003763 
+ 00014030  0x00004369 beq  0x00000001 , 0x000036fd 
+ 00014031  0x0000436b rtn 
+ 00014032  0x0000436f arg  0x00000001 , 0x00000002 
+ 00014033  0x00004370 arg  0x000048f5 , 0x00000011 
+ 00014034  0x00004371 setarg  0x0000002a 
+ 00014035  0x00004372 branch  0x00005f00 
+ 00014036  0x00004375 arg  0x00000001 , 0x00000039 
+ 00014037  0x00004376 arg  0x000048f5 , 0x00000011 
+ 00014038  0x00004377 arg  0x0000002a , 0x00000002 
+ 00014039  0x00004378 branch  0x00005f12 
+ 00014040  0x0000437b fetch  0x00000001 , 0x00004915 
+ 00014041  0x0000437c bbit1  0x00000004 , 0x000036dc 
+ 00014042  0x0000437d fetch  0x00000001 , 0x000048f5 
+ 00014043  0x0000437e bne  0x0000005a , 0x000036e0 
+ 00014044  0x00004380 jam  0x0000005a , 0x000048f5 
+ 00014045  0x00004381 fetch  0x00000004 , 0x00009aac 
+ 00014046  0x00004382 set1  0x0000001d , 0x0000003f 
+ 00014047  0x00004383 store  0x00000004 , 0x00000aa0 
+ 00014048  0x00004385 call  0x000036f7 
+ 00014049  0x00004386 call  0x00007a5b 
+ 00014050  0x00004387 call  0x000036e4 
+ 00014051  0x00004388 branch  0x000036ed 
+ 00014052  0x0000438b fetch  0x00000001 , 0x00000b48 
+ 00014053  0x0000438c rtn  0x00000034 
+ 00014054  0x0000438d fetch  0x00000001 , 0x000048f5 
+ 00014055  0x0000438e beq  0x0000005a , 0x000036eb 
+ 00014056  0x00004390 fetch  0x00000004 , 0x00000b49 
+ 00014057  0x00004392 store  0x00000004 , 0x00000aa0 
+ 00014058  0x00004393 rtn 
+ 00014059  0x00004395 fetch  0x00000004 , 0x00000b4d 
+ 00014060  0x00004396 branch  0x000036e9 
+ 00014061  0x00004399 fetch  0x00000001 , 0x000048f5 
+ 00014062  0x0000439a beq  0x0000005a , 0x000036f3 
+ 00014063  0x0000439b setarg  0x000099a4 
+ 00014064  0x0000439c store  0x00000002 , 0x00000a93 
+ 00014065  0x0000439d jam  0x0000001a , 0x00000ac4 
+ 00014066  0x0000439e rtn 
+ 00014067  0x000043a0 setarg  0x000099bf 
+ 00014068  0x000043a1 store  0x00000002 , 0x00000a93 
+ 00014069  0x000043a2 jam  0x0000003f , 0x00000ac4 
+ 00014070  0x000043a3 rtn 
+ 00014071  0x000043a6 fetch  0x00000001 , 0x00004920 
+ 00014072  0x000043a7 rtn  0x00000034 
+ 00014073  0x000043a8 arg  0x00004920 , 0x00000006 
+ 00014074  0x000043a9 arg  0x00000b09 , 0x00000005 
+ 00014075  0x000043aa arg  0x0000001e , 0x00000039 
+ 00014076  0x000043ab branch  0x00007dd4 
+ 00014077  0x000043b6 call  0x00002493 
+ 00014078  0x000043b8 call  0x0000376b 
+ 00014079  0x000043b9 call  0x0000249c 
+ 00014080  0x000043ba call  0x0000372f 
+ 00014081  0x000043bb branch  0x000036fe 
+ 00014082  0x000043be call  0x00003705 
+ 00014083  0x000043bf call  0x00003714 
+ 00014084  0x000043c0 branch  0x00003723 
+ 00014085  0x000043c3 fetch  0x00000001 , 0x00004914 
+ 00014086  0x000043c4 rtn  0x00000034 
+ 00014087  0x000043c5 arg  0x0000000b , 0x00000007 
+ 00014088  0x000043c6 call  0x00007de9 
+ 00014089  0x000043c7 nrtn  0x00000034 
+ 00014090  0x000043c8 jam  0x00000000 , 0x00004914 
+ 00014091  0x000043c9 setarg  0x00000001 
+ 00014092  0x000043ca store  0x00000001 , 0x00000bff 
+ 00014093  0x000043cb setarg  0x00000000 
+ 00014094  0x000043cc istore  0x00000007 , 0x00000005 
+ 00014095  0x000043ce jam  0x00000020 , 0x00000bf8 
+ 00014096  0x000043d0 fetch  0x00000001 , 0x00000bf9 
+ 00014097  0x000043d1 set1  0x00000002 , 0x0000003f 
+ 00014098  0x000043d2 store  0x00000001 , 0x00000bf9 
+ 00014099  0x000043d3 rtn 
+ 00014100  0x000043d6 fetch  0x00000001 , 0x00004912 
+ 00014101  0x000043d7 rtn  0x00000034 
+ 00014102  0x000043d8 arg  0x0000000e , 0x00000007 
+ 00014103  0x000043d9 call  0x00007de9 
+ 00014104  0x000043da nrtn  0x00000034 
+ 00014105  0x000043db jam  0x00000000 , 0x00004912 
+ 00014106  0x000043dc arg  0x00000c0f , 0x00000005 
+ 00014107  0x000043dd arg  0x00000002 , 0x00000039 
+ 00014108  0x000043de call  0x00007d8c 
+ 00014109  0x000043e0 jam  0x00000000 , 0x00000c0f 
+ 00014110  0x000043e2 jam  0x00000010 , 0x00000bf7 
+ 00014111  0x000043e3 fetch  0x00000001 , 0x00000bf9 
+ 00014112  0x000043e4 set1  0x00000001 , 0x0000003f 
+ 00014113  0x000043e5 store  0x00000001 , 0x00000bf9 
+ 00014114  0x000043e6 rtn 
+ 00014115  0x000043e9 fetch  0x00000001 , 0x00004913 
+ 00014116  0x000043ea rtn  0x00000034 
+ 00014117  0x000043eb arg  0x0000000c , 0x00000007 
+ 00014118  0x000043ec call  0x00007de9 
+ 00014119  0x000043ed nrtn  0x00000034 
+ 00014120  0x000043ee jam  0x00000000 , 0x00004913 
+ 00014121  0x000043ef arg  0x00000c1f , 0x00000005 
+ 00014122  0x000043f0 arg  0x00000002 , 0x00000039 
+ 00014123  0x000043f1 call  0x00007d8c 
+ 00014124  0x000043f2 jam  0x00000003 , 0x00000c1f 
+ 00014125  0x000043f4 jam  0x00000021 , 0x00000bf8 
+ 00014126  0x000043f5 branch  0x00003710 
+ 00014127  0x000043f8 bpatch  0x000000ba , 0x00004017 
+ 00014128  0x000043f9 fetch  0x00000001 , 0x00000bed 
+ 00014129  0x000043fa call  0x0000377d , 0x00000034 
+ 00014130  0x000043fb call  0x000079fc 
+ 00014131  0x000043fc fetch  0x00000001 , 0x00000be3 
+ 00014132  0x000043fd rtn  0x00000034 
+ 00014133  0x000043fe jam  0x00000000 , 0x00000be3 
+ 00014134  0x000043ff fetch  0x00000002 , 0x00000be1 
+ 00014135  0x00004400 arg  0x000002ba , 0x00000002 
+ 00014136  0x00004401 isub  0x00000002 , 0x0000003e 
+ 00014137  0x00004402 nrtn  0x00000005 
+ 00014138  0x00004404 fetch  0x00000001 , 0x00000b61 
+ 00014139  0x00004405 rtnne  0x000000ba 
+ 00014140  0x00004406 fetch  0x00000001 , 0x00000b62 
+ 00014141  0x00004407 beq  0x000000a0 , 0x00003744 
+ 00014142  0x00004408 beq  0x000000a1 , 0x0000374a 
+ 00014143  0x00004409 beq  0x000000a6 , 0x00003756 
+ 00014144  0x0000440a beq  0x000000a7 , 0x00003758 
+ 00014145  0x0000440b beq  0x000000a9 , 0x0000375e 
+ 00014146  0x0000440e jam  0x00000000 , 0x00000be4 
+ 00014147  0x0000440f rtn 
+ 00014148  0x00004412 fetch  0x00000001 , 0x00000b63 
+ 00014149  0x00004413 beq  0x00000081 , 0x00003747 
+ 00014150  0x00004414 branch  0x00003742 
+ 00014151  0x00004416 call  0x00002348 
+ 00014152  0x00004418 jam  0x00000001 , 0x00000be4 
+ 00014153  0x00004419 rtn 
+ 00014154  0x0000441c fetch  0x00000001 , 0x00000b63 
+ 00014155  0x0000441d beq  0x00000001 , 0x0000374f 
+ 00014156  0x0000441e beq  0x00000084 , 0x00003752 
+ 00014157  0x0000441f beq  0x000000a7 , 0x00003754 
+ 00014158  0x00004420 branch  0x00003742 
+ 00014159  0x00004422 fetch  0x00000001 , 0x00004884 
+ 00014160  0x00004423 store  0x00000001 , 0x00000ba2 
+ 00014161  0x00004424 branch  0x00003748 
+ 00014162  0x00004426 call  0x00002494 
+ 00014163  0x00004427 branch  0x0000374f 
+ 00014164  0x0000442a jam  0x000000a1 , 0x00000ba2 
+ 00014165  0x0000442b branch  0x00003748 
+ 00014166  0x0000442e jam  0x00000015 , 0x00000ba2 
+ 00014167  0x0000442f branch  0x00003748 
+ 00014168  0x00004432 fetch  0x00000001 , 0x000048c3 
+ 00014169  0x00004433 beq  0x00000000 , 0x0000375c 
+ 00014170  0x00004434 beq  0x00000001 , 0x00003754 
+ 00014171  0x00004435 rtn 
+ 00014172  0x00004437 jam  0x000000a0 , 0x00000ba2 
+ 00014173  0x00004438 branch  0x00003748 
+ 00014174  0x0000443b jam  0x00000000 , 0x00000ba2 
+ 00014175  0x0000443c jam  0x00000000 , 0x00000ba3 
+ 00014176  0x0000443d jam  0x00000001 , 0x00000ba4 
+ 00014177  0x0000443e jam  0x00000007 , 0x00000ba5 
+ 00014178  0x0000443f branch  0x00003748 
+ 00014179  0x00004448 call  0x0000243a 
+ 00014180  0x0000444a call  0x0000243e 
+ 00014181  0x0000444b call  0x00002464 
+ 00014182  0x0000444c call  0x0000376b 
+ 00014183  0x0000444d call  0x0000249c 
+ 00014184  0x0000444e call  0x000024b9 
+ 00014185  0x0000444f call  0x0000372f 
+ 00014186  0x00004450 branch  0x00003764 
+ 00014187  0x00004453 bpatch  0x000000bb , 0x00004017 
+ 00014188  0x00004454 fetch  0x00000001 , 0x000048c3 
+ 00014189  0x00004455 rtnne  0x00000000 
+ 00014190  0x00004456 call  0x00002497 
+ 00014191  0x00004457 call  0x00003702 
+ 00014192  0x00004458 fetch  0x00000001 , 0x000048bd 
+ 00014193  0x00004459 nrtn  0x00000034 
+ 00014194  0x0000445a branch  0x0000253a 
+ 00014195  0x0000445d fetch  0x00000001 , 0x00004839 
+ 00014196  0x0000445e beq  0x00000001 , 0x00003776 
+ 00014197  0x0000445f beq  0x00000002 , 0x0000377f 
+ 00014198  0x00004461 fetch  0x00000001 , 0x0000493f 
+ 00014199  0x00004462 bbit1  0x00000000 , 0x00003785 
+ 00014200  0x00004463 branch  0x00003781 
+ 00014201  0x00004466 fetch  0x00000001 , 0x0000409a 
+ 00014202  0x00004467 rtnne  0x00000004 
+ 00014203  0x00004468 jam  0x00000003 , 0x0000493f 
+ 00014204  0x00004469 rtn 
+ 00014205  0x0000446b jam  0x00000000 , 0x0000493f 
+ 00014206  0x0000446c rtn 
+ 00014207  0x0000446f fetch  0x00000001 , 0x0000493f 
+ 00014208  0x00004470 bbit1  0x00000001 , 0x00003789 
+ 00014209  0x00004472 fetch  0x00000001 , 0x000048be 
+ 00014210  0x00004473 beq  0x00000001 , 0x00003790 
+ 00014211  0x00004474 beq  0x00000003 , 0x00003794 
+ 00014212  0x00004475 rtn 
+ 00014213  0x00004478 fetch  0x00000001 , 0x0000493f 
+ 00014214  0x00004479 set0  0x00000000 , 0x0000003f 
+ 00014215  0x0000447a store  0x00000001 , 0x0000493f 
+ 00014216  0x0000447b branch  0x0000378c 
+ 00014217  0x0000447e fetch  0x00000001 , 0x0000493f 
+ 00014218  0x0000447f set0  0x00000001 , 0x0000003f 
+ 00014219  0x00004480 store  0x00000001 , 0x0000493f 
+ 00014220  0x00004482 jam  0x00000001 , 0x00004838 
+ 00014221  0x00004483 setarg  0x000000ff 
+ 00014222  0x00004484 store  0x00000001 , 0x000047c9 
+ 00014223  0x00004485 rtn 
+ 00014224  0x00004489 jam  0x00000001 , 0x000048be 
+ 00014225  0x0000448a call  0x000023bb 
+ 00014226  0x0000448b nrtn  0x0000002f 
+ 00014227  0x0000448c branch  0x00002354 
+ 00014228  0x0000448f fetch  0x00000001 , 0x000047a9 
+ 00014229  0x00004490 beq  0x00000001 , 0x00003790 
+ 00014230  0x00004491 beq  0x000000ff , 0x00003790 
+ 00014231  0x00004492 jam  0x00000000 , 0x00000be5 
+ 00014232  0x00004493 jam  0x00000001 , 0x00004838 
+ 00014233  0x00004494 fetch  0x00000001 , 0x000048ce 
+ 00014234  0x00004495 store  0x00000001 , 0x000047c9 
+ 00014235  0x00004496 rtn 
+ 00014236  0x00004499 setarg  0x00000001 
+ 00014237  0x0000449a store  0x00000001 , 0x00000bff 
+ 00014238  0x0000449b fetch  0x00000007 , 0x00004898 
+ 00014239  0x0000449c istore  0x00000007 , 0x00000005 
+ 00014240  0x0000449d fetch  0x00000001 , 0x00004898 
+ 00014241  0x0000449e ncall  0x000037a5 , 0x00000034 
+ 00014242  0x0000449f fetch  0x00000001 , 0x00004898 
+ 00014243  0x000044a0 call  0x000037a9 , 0x00000034 
+ 00014244  0x000044a1 branch  0x0000370f 
+ 00014245  0x000044a4 jam  0x00000001 , 0x00004914 
+ 00014246  0x000044a5 setarg  0x00000180 
+ 00014247  0x000044a6 arg  0x0000000b , 0x00000007 
+ 00014248  0x000044a7 branch  0x00007ddb 
+ 00014249  0x000044aa jam  0x00000000 , 0x00004914 
+ 00014250  0x000044ab setarg  0x00000000 
+ 00014251  0x000044ac arg  0x0000000b , 0x00000007 
+ 00014252  0x000044ad branch  0x00007ddb 
+ 00014253  0x000044b0 fetch  0x00000001 , 0x00004898 
+ 00014254  0x000044b1 beq  0x00000000 , 0x000037b2 
+ 00014255  0x000044b2 beq  0x00000002 , 0x000037e5 
+ 00014256  0x000044b3 beq  0x00000003 , 0x000037cd 
+ 00014257  0x000044b4 branch  0x000023fa 
+ 00014258  0x000044b7 fetch  0x00000001 , 0x0000489a 
+ 00014259  0x000044b8 store  0x00000001 , 0x000048be 
+ 00014260  0x000044b9 jam  0x00000000 , 0x0000489a 
+ 00014261  0x000044ba arg  0x00000c0f , 0x00000005 
+ 00014262  0x000044bb arg  0x00004899 , 0x00000006 
+ 00014263  0x000044bc arg  0x00000008 , 0x00000039 
+ 00014264  0x000044bd call  0x00007dd4 
+ 00014265  0x000044be fetch  0x00000008 , 0x00000c0f 
+ 00014266  0x000044bf ncall  0x000037c5 , 0x00000034 
+ 00014267  0x000044c0 fetch  0x00000008 , 0x00000c0f 
+ 00014268  0x000044c1 call  0x000037c9 , 0x00000034 
+ 00014269  0x000044c2 fetch  0x00000008 , 0x00000c0f 
+ 00014270  0x000044c3 store  0x00000008 , 0x000048f6 
+ 00014271  0x000044c4 fetcht  0x00000008 , 0x000048fe 
+ 00014272  0x000044c5 isub  0x00000002 , 0x0000003e 
+ 00014273  0x000044c6 ncall  0x0000371e , 0x00000005 
+ 00014274  0x000044c7 fetch  0x00000008 , 0x000048f6 
+ 00014275  0x000044c8 store  0x00000008 , 0x000048fe 
+ 00014276  0x000044c9 branch  0x000023fa 
+ 00014277  0x000044cc jam  0x00000001 , 0x00004912 
+ 00014278  0x000044cd setarg  0x00000180 
+ 00014279  0x000044ce arg  0x0000000e , 0x00000007 
+ 00014280  0x000044cf branch  0x00007ddb 
+ 00014281  0x000044d2 jam  0x00000000 , 0x00004912 
+ 00014282  0x000044d3 setarg  0x00000000 
+ 00014283  0x000044d4 arg  0x0000000e , 0x00000007 
+ 00014284  0x000044d5 branch  0x00007ddb 
+ 00014285  0x000044d8 arg  0x00000c1f , 0x00000005 
+ 00014286  0x000044d9 arg  0x00004898 , 0x00000006 
+ 00014287  0x000044da arg  0x00000003 , 0x00000039 
+ 00014288  0x000044db call  0x00007dd4 
+ 00014289  0x000044dc fetch  0x00000002 , 0x00000c20 
+ 00014290  0x000044dd ncall  0x000037dd , 0x00000034 
+ 00014291  0x000044de fetch  0x00000002 , 0x00000c20 
+ 00014292  0x000044df call  0x000037e1 , 0x00000034 
+ 00014293  0x000044e0 fetch  0x00000003 , 0x00000c1f 
+ 00014294  0x000044e1 store  0x00000003 , 0x00004906 
+ 00014295  0x000044e2 fetcht  0x00000003 , 0x00004909 
+ 00014296  0x000044e3 isub  0x00000002 , 0x0000003e 
+ 00014297  0x000044e4 ncall  0x0000372d , 0x00000005 
+ 00014298  0x000044e5 fetch  0x00000003 , 0x00004906 
+ 00014299  0x000044e6 store  0x00000003 , 0x00004909 
+ 00014300  0x000044e7 branch  0x000023fa 
+ 00014301  0x000044ea jam  0x00000001 , 0x00004913 
+ 00014302  0x000044eb setarg  0x00000180 
+ 00014303  0x000044ec arg  0x0000000c , 0x00000007 
+ 00014304  0x000044ed branch  0x00007ddb 
+ 00014305  0x000044f0 jam  0x00000000 , 0x00004913 
+ 00014306  0x000044f1 setarg  0x00000000 
+ 00014307  0x000044f2 arg  0x0000000c , 0x00000007 
+ 00014308  0x000044f3 branch  0x00007ddb 
+ 00014309  0x000044f6 arg  0x00000c2f , 0x00000005 
+ 00014310  0x000044f7 arg  0x00004898 , 0x00000006 
+ 00014311  0x000044f8 arg  0x00000002 , 0x00000039 
+ 00014312  0x000044f9 call  0x00007dd4 
+ 00014313  0x000044fa fetch  0x00000002 , 0x00000c2f 
+ 00014314  0x000044fb ncall  0x000037f5 , 0x00000034 
+ 00014315  0x000044fc fetch  0x00000002 , 0x00000c2f 
+ 00014316  0x000044fd call  0x000037f9 , 0x00000034 
+ 00014317  0x000044fe fetch  0x00000002 , 0x00000c2f 
+ 00014318  0x000044ff store  0x00000002 , 0x0000490c 
+ 00014319  0x00004500 fetcht  0x00000002 , 0x0000490f 
+ 00014320  0x00004501 isub  0x00000002 , 0x0000003e 
+ 00014321  0x00004502 ncall  0x000037fd , 0x00000005 
+ 00014322  0x00004503 fetch  0x00000002 , 0x0000490c 
+ 00014323  0x00004504 store  0x00000002 , 0x0000490f 
+ 00014324  0x00004505 branch  0x000023fa 
+ 00014325  0x00004508 jam  0x00000001 , 0x00004913 
+ 00014326  0x00004509 setarg  0x00000180 
+ 00014327  0x0000450a arg  0x0000000c , 0x00000007 
+ 00014328  0x0000450b branch  0x00007ddb 
+ 00014329  0x0000450d jam  0x00000000 , 0x00004913 
+ 00014330  0x0000450e setarg  0x00000000 
+ 00014331  0x0000450f arg  0x0000000c , 0x00000007 
+ 00014332  0x00004510 branch  0x00007ddb 
+ 00014333  0x00004513 jam  0x00000022 , 0x00000bf8 
+ 00014334  0x00004514 branch  0x00003710 
+ 00014335  0x00004518 fetch  0x00000001 , 0x0000409a 
+ 00014336  0x00004519 rtnne  0x00000004 
+ 00014337  0x0000451a fetch  0x00000001 , 0x000048f5 
+ 00014338  0x0000451b rtneq  0x0000005a 
+ 00014339  0x0000451d jam  0x00000001 , 0x0000493e 
+ 00014340  0x0000451e rtn 
+ 00014341  0x00004522 fetch  0x00000001 , 0x0000409a 
+ 00014342  0x00004523 rtnne  0x00000004 
+ 00014343  0x00004524 fetch  0x00000001 , 0x0000493e 
+ 00014344  0x00004525 rtn  0x00000034 
+ 00014345  0x00004526 jam  0x00000000 , 0x00000964 
+ 00014346  0x00004528 jam  0x0000005a , 0x000048f5 
+ 00014347  0x00004529 call  0x000036d4 
+ 00014348  0x0000452a call  0x000036d0 
+ 00014349  0x0000452b fetch  0x00000001 , 0x00000964 
+ 00014350  0x0000452c increase  0x00000001 , 0x0000003f 
+ 00014351  0x0000452d store  0x00000001 , 0x00000964 
+ 00014352  0x0000452e beq  0x000000ff , 0x00005e29 
+ 00014353  0x0000452f fetch  0x00000001 , 0x000048f5 
+ 00014354  0x00004530 bne  0x0000005a , 0x0000380a 
+ 00014355  0x00004531 branch  0x00005e29 
+ 00014356  0x0000453b rtn  0x0000002b 
+ 00014357  0x0000453c call  0x00001a55 
+ 00014358  0x0000453d setarg  0x0000385b 
+ 00014359  0x0000453e store  0x00000002 , 0x00004465 
+ 00014360  0x0000453f setarg  0x00003848 
+ 00014361  0x00004540 store  0x00000002 , 0x00004463 
+ 00014362  0x00004541 setarg  0x0000385f 
+ 00014363  0x00004542 store  0x00000002 , 0x00004467 
+ 00014364  0x00004543 setarg  0x00003844 
+ 00014365  0x00004544 store  0x00000002 , 0x0000445b 
+ 00014366  0x00004545 setarg  0x00003998 
+ 00014367  0x00004546 store  0x00000002 , 0x0000446d 
+ 00014368  0x00004547 setarg  0x00003b94 
+ 00014369  0x00004548 store  0x00000002 , 0x0000465d 
+ 00014370  0x00004549 setarg  0x00003c37 
+ 00014371  0x0000454a store  0x00000002 , 0x0000446b 
+ 00014372  0x0000454b setarg  0x00003c4e 
+ 00014373  0x0000454c store  0x00000002 , 0x0000446f 
+ 00014374  0x0000454e call  0x00003858 
+ 00014375  0x0000454f bpatch  0x000000bc , 0x00004017 
+ 00014376  0x00004550 call  0x0000382b 
+ 00014377  0x00004551 call  0x0000383f 
+ 00014378  0x00004552 branch  0x00003baa 
+ 00014379  0x00004555 fetch  0x00000001 , 0x00008060 
+ 00014380  0x00004556 set0  0x00000000 , 0x0000003f 
+ 00014381  0x00004557 store  0x00000001 , 0x00008060 
+ 00014382  0x00004558 fetch  0x00000008 , 0x000047b7 
+ 00014383  0x00004559 call  0x00005f56 
+ 00014384  0x0000455a fetch  0x00000002 , 0x000047bf 
+ 00014385  0x0000455b call  0x00005f6a 
+ 00014386  0x0000455c call  0x00005f7d 
+ 00014387  0x0000455d jam  0x00000008 , 0x0000807d 
+ 00014388  0x0000455e jam  0x00000049 , 0x0000807e 
+ 00014389  0x0000455f jam  0x0000000a , 0x00008079 
+ 00014390  0x00004560 jam  0x0000000b , 0x0000807a 
+ 00014391  0x00004562 arg  0x00000081 , 0x00000002 
+ 00014392  0x00004563 fetch  0x00000002 , 0x000047c6 
+ 00014393  0x00004564 isolate1  0x00000000 , 0x0000003f 
+ 00014394  0x00004565 setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00014395  0x00004566 storet  0x00000001 , 0x00008060 
+ 00014396  0x00004567 rtn 
+ 00014397  0x0000456a call  0x00003858 
+ 00014398  0x0000456b branch  0x0000382b 
+ 00014399  0x00004570 fetcht  0x00000001 , 0x000047ab 
+ 00014400  0x00004571 call  0x0000610d 
+ 00014401  0x00004572 call  0x000038c2 
+ 00014402  0x00004573 fetcht  0x00000001 , 0x000047a9 
+ 00014403  0x00004574 branch  0x000060f4 
+ 00014404  0x00004577 fetcht  0x00000001 , 0x000047a9 
+ 00014405  0x00004578 call  0x000060fd 
+ 00014406  0x00004579 nbranch  0x00003251 , 0x00000001 
+ 00014407  0x0000457a branch  0x0000324f 
+ 00014408  0x0000457e call  0x0000384a 
+ 00014409  0x0000457f branch  0x00003c5e 
+ 00014410  0x00004582 fetch  0x00000001 , 0x0000478f 
+ 00014411  0x00004583 bbit0  0x00000004 , 0x00003858 
+ 00014412  0x00004584 setarg  0x00003eff 
+ 00014413  0x00004585 fetcht  0x00000004 , 0x000047ce 
+ 00014414  0x00004586 iadd  0x00000002 , 0x00000002 
+ 00014415  0x00004587 copy  0x00000022 , 0x0000003f 
+ 00014416  0x00004588 isub  0x00000002 , 0x0000003e 
+ 00014417  0x00004589 nrtn  0x00000002 
+ 00014418  0x0000458a fetch  0x00000002 , 0x0000478f 
+ 00014419  0x0000458b bbit1  0x00000005 , 0x00003858 
+ 00014420  0x0000458c fetch  0x00000002 , 0x000047c6 
+ 00014421  0x0000458d rtnbit1  0x0000000a 
+ 00014422  0x0000458e call  0x00003c61 
+ 00014423  0x0000458f call  0x0000328d 
+ 00014424  0x00004591 copy  0x00000022 , 0x0000003f 
+ 00014425  0x00004592 store  0x00000004 , 0x000047ce 
+ 00014426  0x00004593 rtn 
+ 00014427  0x00004596 call  0x00003c5e 
+ 00014428  0x00004597 call  0x0000534f 
+ 00014429  0x00004598 nrtn  0x00000034 
+ 00014430  0x00004599 branch  0x000038c7 
+ 00014431  0x0000459d copy  0x00000013 , 0x0000003f 
+ 00014432  0x0000459e beq  0x00000001 , 0x000038af 
+ 00014433  0x0000459f beq  0x00000002 , 0x0000387e 
+ 00014434  0x000045a0 beq  0x00000004 , 0x000038b2 
+ 00014435  0x000045a1 beq  0x00000005 , 0x0000389f 
+ 00014436  0x000045a2 beq  0x00000008 , 0x00003885 
+ 00014437  0x000045a3 beq  0x00000009 , 0x0000388c 
+ 00014438  0x000045a4 beq  0x0000000a , 0x000038a5 
+ 00014439  0x000045a5 beq  0x0000000b , 0x00003891 
+ 00014440  0x000045a6 beq  0x0000000c , 0x0000389d 
+ 00014441  0x000045a7 beq  0x00000013 , 0x000038b2 
+ 00014442  0x000045a8 beq  0x00000014 , 0x000038ab 
+ 00014443  0x000045a9 beq  0x00000015 , 0x000038a1 
+ 00014444  0x000045aa beq  0x00000021 , 0x000038a6 
+ 00014445  0x000045ab beq  0x00000023 , 0x000038a7 
+ 00014446  0x000045ac beq  0x00000024 , 0x000038aa 
+ 00014447  0x000045ad beq  0x00000030 , 0x00003bf2 
+ 00014448  0x000045ae beq  0x00000031 , 0x00003bf4 
+ 00014449  0x000045af beq  0x00000032 , 0x00003c02 
+ 00014450  0x000045b0 beq  0x00000033 , 0x00003c00 
+ 00014451  0x000045b1 beq  0x00000034 , 0x00003bec 
+ 00014452  0x000045b2 beq  0x00000035 , 0x00003bd5 
+ 00014453  0x000045b3 beq  0x00000036 , 0x00003bea 
+ 00014454  0x000045b4 beq  0x00000037 , 0x00003bf6 
+ 00014455  0x000045b5 beq  0x00000038 , 0x00003bf8 
+ 00014456  0x000045b6 beq  0x0000003b , 0x00003bd5 
+ 00014457  0x000045b7 beq  0x0000003d , 0x00003bcc 
+ 00014458  0x000045b8 beq  0x00000041 , 0x000038b4 
+ 00014459  0x000045b9 beq  0x00000042 , 0x000038b6 
+ 00014460  0x000045ba beq  0x00000043 , 0x00003bea 
+ 00014461  0x000045bb rtn 
+ 00014462  0x000045bf call  0x00003858 
+ 00014463  0x000045c0 fetch  0x00000001 , 0x00004772 
+ 00014464  0x000045c1 ncall  0x00003bf6 , 0x00000034 
+ 00014465  0x000045c2 call  0x000038b2 
+ 00014466  0x000045c3 fetch  0x00000002 , 0x0000478f 
+ 00014467  0x000045c4 rtnbit0  0x00000004 
+ 00014468  0x000045c5 branch  0x0000388c 
+ 00014469  0x000045c8 fetch  0x00000002 , 0x0000478f 
+ 00014470  0x000045c9 set1  0x00000004 , 0x0000003f 
+ 00014471  0x000045ca store  0x00000002 , 0x0000478f 
+ 00014472  0x000045cb fetch  0x00000001 , 0x000047b4 
+ 00014473  0x000045cc store  0x00000001 , 0x00004177 
+ 00014474  0x000045cd call  0x000038c2 
+ 00014475  0x000045ce branch  0x00003b7f 
+ 00014476  0x000045d3 fetch  0x00000002 , 0x0000478f 
+ 00014477  0x000045d4 rtnbit0  0x00000004 
+ 00014478  0x000045d5 set0  0x00000004 , 0x0000003f 
+ 00014479  0x000045d6 store  0x00000002 , 0x0000478f 
+ 00014480  0x000045d7 branch  0x00003b83 
+ 00014481  0x000045dd call  0x00003858 
+ 00014482  0x000045e0 fetch  0x00000002 , 0x00004042 
+ 00014483  0x000045e1 rshift  0x0000003f , 0x0000003f 
+ 00014484  0x000045e2 fetcht  0x00000002 , 0x00004455 
+ 00014485  0x000045e3 isub  0x00000002 , 0x0000003e 
+ 00014486  0x000045e4 nbranch  0x00003898 , 0x00000005 
+ 00014487  0x000045e5 branch  0x00003295 
+ 00014488  0x000045e7 fetch  0x00000002 , 0x000047c6 
+ 00014489  0x000045e8 rtnbit1  0x00000009 
+ 00014490  0x000045e9 fetch  0x00000002 , 0x00008112 
+ 00014491  0x000045ea ncall  0x00003c65 , 0x00000034 
+ 00014492  0x000045eb branch  0x0000328b 
+ 00014493  0x000045ee call  0x00003c63 
+ 00014494  0x000045ef branch  0x00003297 
+ 00014495  0x000045f2 call  0x00003858 
+ 00014496  0x000045f3 branch  0x000038b9 
+ 00014497  0x000045f6 call  0x00001ac8 
+ 00014498  0x000045f7 jam  0x00000000 , 0x000047c8 
+ 00014499  0x000045f8 call  0x000038b2 
+ 00014500  0x000045f9 branch  0x00003b85 
+ 00014501  0x000045fc branch  0x0000325c 
+ 00014502  0x00004600 branch  0x00003c63 
+ 00014503  0x00004604 fetch  0x00000002 , 0x000047c6 
+ 00014504  0x00004605 bbit0  0x00000009 , 0x0000328d 
+ 00014505  0x00004606 branch  0x00003c67 
+ 00014506  0x0000460a branch  0x00003c67 
+ 00014507  0x0000460f call  0x000038b9 
+ 00014508  0x00004610 fetch  0x00000001 , 0x000047b5 
+ 00014509  0x00004611 store  0x00000001 , 0x00004177 
+ 00014510  0x00004612 branch  0x00003b81 
+ 00014511  0x00004616 jam  0x00000000 , 0x0000476e 
+ 00014512  0x00004617 call  0x00003c63 
+ 00014513  0x00004618 branch  0x00003c67 
+ 00014514  0x0000461d call  0x0000392f 
+ 00014515  0x0000461e branch  0x000038b7 
+ 00014516  0x00004622 call  0x00002162 
+ 00014517  0x00004623 branch  0x00001f46 
+ 00014518  0x00004626 branch  0x00003c18 
+ 00014519  0x0000462a fetcht  0x00000001 , 0x000047ab 
+ 00014520  0x0000462b branch  0x0000610d 
+ 00014521  0x0000462e call  0x000038bb 
+ 00014522  0x0000462f branch  0x000038c2 
+ 00014523  0x00004632 fetch  0x00000001 , 0x000047ae 
+ 00014524  0x00004633 isolate1  0x00000000 , 0x0000003f 
+ 00014525  0x00004634 call  0x0000326f , 0x00000001 
+ 00014526  0x00004635 fetch  0x00000001 , 0x000047ae 
+ 00014527  0x00004636 isolate1  0x00000001 , 0x0000003f 
+ 00014528  0x00004637 call  0x00003277 , 0x00000001 
+ 00014529  0x00004638 rtn 
+ 00014530  0x0000463a fetcht  0x00000001 , 0x000047ab 
+ 00014531  0x0000463b branch  0x00006109 
+ 00014532  0x0000463e fetch  0x00000001 , 0x00004659 
+ 00014533  0x0000463f rtneq  0x00000000 
+ 00014534  0x00004640 branch  0x00006547 
+ 00014535  0x00004643 fetch  0x00000001 , 0x0000810b 
+ 00014536  0x00004644 bbit1  0x00000002 , 0x000038c4 
+ 00014537  0x00004645 call  0x00005f9d 
+ 00014538  0x00004646 ifetch  0x00000001 , 0x00000003 
+ 00014539  0x00004647 bne  0x00000001 , 0x000038dd 
+ 00014540  0x00004648 fetch  0x00000002 , 0x00008112 
+ 00014541  0x00004649 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00014542  0x0000464a rtn  0x00000002 
+ 00014543  0x0000464b ifetch  0x00000001 , 0x00000003 
+ 00014544  0x0000464c store  0x00000001 , 0x000009cf 
+ 00014545  0x0000464d ifetcht  0x00000001 , 0x00000003 
+ 00014546  0x0000464e copy  0x00000003 , 0x00000011 
+ 00014547  0x0000464f storet  0x00000001 , 0x000009d0 
+ 00014548  0x00004650 add  0x00000002 , 0x00000003 , 0x00000002 
+ 00014549  0x00004651 fetch  0x00000002 , 0x00008112 
+ 00014550  0x00004652 isub  0x00000002 , 0x00000002 
+ 00014551  0x00004653 nrtn  0x00000002 
+ 00014552  0x00004654 jam  0x00000001 , 0x000009d1 
+ 00014553  0x00004655 call  0x000038eb 
+ 00014554  0x00004656 fetch  0x00000001 , 0x000009d1 
+ 00014555  0x00004657 rtneq  0x00000000 
+ 00014556  0x00004658 branch  0x000038e6 
+ 00014557  0x0000465b call  0x00007d85 
+ 00014558  0x0000465c call  0x00003bdb 
+ 00014559  0x0000465d branch  0x000038e0 
+ 00014560  0x00004661 bpatch  0x000000bd , 0x00004017 
+ 00014561  0x00004662 call  0x00005f9d 
+ 00014562  0x00004663 fetch  0x00000002 , 0x00008112 
+ 00014563  0x00004664 rtn  0x00000034 
+ 00014564  0x00004665 iadd  0x00000003 , 0x00000003 
+ 00014565  0x00004666 branch  0x000038ea 
+ 00014566  0x00004669 call  0x00005f9d 
+ 00014567  0x0000466a increase  0x00000002 , 0x00000003 
+ 00014568  0x0000466b ifetch  0x00000001 , 0x00000003 
+ 00014569  0x0000466c iadd  0x00000003 , 0x00000003 
+ 00014570  0x0000466e branch  0x00005fa9 
+ 00014571  0x00004672 bpatch  0x000000be , 0x00004017 
+ 00014572  0x00004673 fetch  0x00000001 , 0x000009cf 
+ 00014573  0x00004674 beq  0x00000000 , 0x0000391d 
+ 00014574  0x00004675 beq  0x00000001 , 0x00003922 
+ 00014575  0x00004676 beq  0x00000002 , 0x00003927 
+ 00014576  0x00004677 beq  0x00000003 , 0x0000393c 
+ 00014577  0x00004678 beq  0x00000004 , 0x00003946 
+ 00014578  0x00004679 beq  0x00000005 , 0x0000394a 
+ 00014579  0x0000467a beq  0x00000009 , 0x0000396c 
+ 00014580  0x0000467b beq  0x0000000b , 0x000039c3 
+ 00014581  0x0000467c beq  0x0000000c , 0x000039c4 
+ 00014582  0x0000467d beq  0x0000000d , 0x000039e8 
+ 00014583  0x0000467e beq  0x0000000e , 0x000039eb 
+ 00014584  0x0000467f beq  0x0000000f , 0x000039f3 
+ 00014585  0x00004680 beq  0x00000010 , 0x000039fb 
+ 00014586  0x00004681 beq  0x00000011 , 0x000039ff 
+ 00014587  0x00004682 beq  0x00000012 , 0x00003a03 
+ 00014588  0x00004683 beq  0x00000015 , 0x00003a07 
+ 00014589  0x00004684 beq  0x00000026 , 0x00003a0c 
+ 00014590  0x00004685 beq  0x00000028 , 0x00003a11 
+ 00014591  0x00004686 beq  0x00000029 , 0x00003a21 
+ 00014592  0x00004687 beq  0x0000002a , 0x00003a2a 
+ 00014593  0x00004688 beq  0x0000002b , 0x00003a5d 
+ 00014594  0x00004689 beq  0x0000002c , 0x00003a63 
+ 00014595  0x0000468a beq  0x00000030 , 0x00003a6a 
+ 00014596  0x0000468b beq  0x00000031 , 0x00003a74 
+ 00014597  0x0000468c beq  0x00000032 , 0x00003a85 
+ 00014598  0x0000468d beq  0x00000033 , 0x00003a90 
+ 00014599  0x0000468e beq  0x00000034 , 0x00003abd 
+ 00014600  0x0000468f beq  0x00000035 , 0x00003ac0 
+ 00014601  0x00004690 beq  0x00000036 , 0x00003ac9 
+ 00014602  0x00004691 beq  0x00000037 , 0x00003ad2 
+ 00014603  0x00004692 beq  0x00000038 , 0x00003ad5 
+ 00014604  0x00004693 beq  0x00000040 , 0x00003add 
+ 00014605  0x00004694 beq  0x00000042 , 0x00003ae7 
+ 00014606  0x00004695 beq  0x00000048 , 0x00003aec 
+ 00014607  0x00004696 beq  0x00000049 , 0x00003af7 
+ 00014608  0x00004697 beq  0x00000051 , 0x00003afd 
+ 00014609  0x00004698 beq  0x00000061 , 0x00003b01 
+ 00014610  0x00004699 beq  0x00000076 , 0x00003b10 
+ 00014611  0x0000469a beq  0x00000077 , 0x00003b16 
+ 00014612  0x0000469b beq  0x00000078 , 0x00003b1b 
+ 00014613  0x0000469c beq  0x0000007a , 0x00003b51 
+ 00014614  0x0000469d beq  0x00000090 , 0x00003b5f 
+ 00014615  0x0000469e beq  0x00000091 , 0x00003b64 
+ 00014616  0x0000469f beq  0x00000092 , 0x00003b68 
+ 00014617  0x000046a0 beq  0x00000093 , 0x00003b6d 
+ 00014618  0x000046a1 beq  0x00000094 , 0x00003b71 
+ 00014619  0x000046a2 beq  0x000000ff , 0x00003b77 
+ 00014620  0x000046a3 branch  0x00003b79 
+ 00014621  0x000046a9 fetch  0x00000001 , 0x000009d0 
+ 00014622  0x000046aa bne  0x00000006 , 0x00003b79 
+ 00014623  0x000046ab ifetch  0x00000006 , 0x00000003 
+ 00014624  0x000046ac store  0x00000006 , 0x000040a8 
+ 00014625  0x000046ad branch  0x00003b7c 
+ 00014626  0x000046b1 fetch  0x00000001 , 0x000009d0 
+ 00014627  0x000046b2 bne  0x00000006 , 0x00003b79 
+ 00014628  0x000046b3 ifetch  0x00000006 , 0x00000003 
+ 00014629  0x000046b4 store  0x00000006 , 0x0000437a 
+ 00014630  0x000046b5 branch  0x00003b7c 
+ 00014631  0x000046ba fetch  0x00000001 , 0x000009d0 
+ 00014632  0x000046bb bne  0x00000001 , 0x00003b79 
+ 00014633  0x000046bc ifetcht  0x00000001 , 0x00000003 
+ 00014634  0x000046bd storet  0x00000001 , 0x000047b6 
+ 00014635  0x000046be call  0x00003b7c 
+ 00014636  0x000046bf fetch  0x00000002 , 0x0000478f 
+ 00014637  0x000046c0 rtnbit1  0x00000009 
+ 00014638  0x000046c1 rtnbit1  0x00000000 
+ 00014639  0x000046c3 fetch  0x00000001 , 0x000047ae 
+ 00014640  0x000046c4 isolate1  0x00000000 , 0x0000003f 
+ 00014641  0x000046c5 nbranch  0x00003935 , 0x00000001 
+ 00014642  0x000046c6 fetcht  0x00000001 , 0x000047b6 
+ 00014643  0x000046c7 and  0x00000002 , 0x00000003 , 0x0000003f 
+ 00014644  0x000046c8 store  0x00000001 , 0x0000409b 
+ 00014645  0x000046ca fetch  0x00000001 , 0x000047ae 
+ 00014646  0x000046cb isolate1  0x00000001 , 0x0000003f 
+ 00014647  0x000046cc nrtn  0x00000001 
+ 00014648  0x000046cd fetcht  0x00000001 , 0x000047b6 
+ 00014649  0x000046ce isolate1  0x00000002 , 0x00000002 
+ 00014650  0x000046cf branch  0x00003279 , 0x00000001 
+ 00014651  0x000046d0 branch  0x00003277 
+ 00014652  0x000046d5 fetch  0x00000001 , 0x000009d0 
+ 00014653  0x000046d6 sub  0x0000003f , 0x00000043 , 0x0000003e 
+ 00014654  0x000046d7 nbranch  0x00003b79 , 0x00000002 
+ 00014655  0x000046d8 store  0x00000001 , 0x000045ff 
+ 00014656  0x000046d9 arg  0x00000008 , 0x00000039 
+ 00014657  0x000046da call  0x00007d8c 
+ 00014658  0x000046db fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00014659  0x000046dc arg  0x00004600 , 0x00000005 
+ 00014660  0x000046dd call  0x00005fdf 
+ 00014661  0x000046de branch  0x00003b7c 
+ 00014662  0x000046e3 arg  0x0000001d , 0x0000003f 
+ 00014663  0x000046e4 arg  0x000042f7 , 0x00000005 
+ 00014664  0x000046e5 call  0x00003ac3 
+ 00014665  0x000046e6 branch  0x00001a55 
+ 00014666  0x000046eb fetch  0x00000001 , 0x0000478f 
+ 00014667  0x000046ec bbit0  0x00000004 , 0x00003b79 
+ 00014668  0x000046ed call  0x00003249 
+ 00014669  0x000046ee branch  0x0000395a , 0x00000001 
+ 00014670  0x000046ef jam  0x00000000 , 0x000009d1 
+ 00014671  0x000046f0 call  0x00003858 
+ 00014672  0x000046f1 fetch  0x00000001 , 0x00004656 
+ 00014673  0x000046f2 rtn  0x00000034 
+ 00014674  0x000046f3 fetch  0x00000002 , 0x00004661 
+ 00014675  0x000046f4 nbranch  0x00003958 , 0x00000034 
+ 00014676  0x000046f5 fetch  0x00000001 , 0x000009d0 
+ 00014677  0x000046f6 store  0x00000002 , 0x00004661 
+ 00014678  0x000046f8 store  0x00000002 , 0x0000465f 
+ 00014679  0x000046f9 storer  0x00000003 , 0x00000002 , 0x0000465f 
+ 00014680  0x000046fb call  0x0000395c 
+ 00014681  0x000046fc branch  0x0000656c 
+ 00014682  0x000046ff jam  0x00000000 , 0x000009d1 
+ 00014683  0x00004700 branch  0x00003c48 
+ 00014684  0x00004703 call  0x00003962 
+ 00014685  0x00004704 fetch  0x00000002 , 0x00004661 
+ 00014686  0x00004705 fetcht  0x00000002 , 0x000047ac 
+ 00014687  0x00004706 isub  0x00000002 , 0x0000003f 
+ 00014688  0x00004707 store  0x00000002 , 0x00004661 
+ 00014689  0x00004708 rtn 
+ 00014690  0x0000470b fetch  0x00000002 , 0x00004661 
+ 00014691  0x0000470c fetcht  0x00000002 , 0x0000465a 
+ 00014692  0x0000470d call  0x00007ebb 
+ 00014693  0x0000470e fetcht  0x00000002 , 0x0000464c 
+ 00014694  0x0000470f call  0x00007ebb 
+ 00014695  0x00004710 store  0x00000002 , 0x000047ac 
+ 00014696  0x00004711 rtn 
+ 00014697  0x00004714 jam  0x00000001 , 0x000009d1 
+ 00014698  0x00004715 jam  0x00000005 , 0x000009cf 
+ 00014699  0x00004716 branch  0x00003b7c 
+ 00014700  0x0000471b fetch  0x00000002 , 0x0000478f 
+ 00014701  0x0000471c bbit0  0x00000009 , 0x00003b79 
+ 00014702  0x0000471d call  0x000039c0 
+ 00014703  0x0000471e branch  0x00003b79 , 0x00000028 
+ 00014704  0x0000471f jam  0x00000000 , 0x000009d1 
+ 00014705  0x00004720 fetch  0x00000002 , 0x000047c6 
+ 00014706  0x00004721 bbit1  0x00000008 , 0x00003991 
+ 00014707  0x00004722 fetch  0x00000001 , 0x000047c8 
+ 00014708  0x00004723 nrtn  0x00000034 
+ 00014709  0x00004724 jam  0x00000001 , 0x000009d1 
+ 00014710  0x00004725 ifetch  0x00000002 , 0x00000003 
+ 00014711  0x00004726 store  0x00000002 , 0x000047c9 
+ 00014712  0x00004727 storer  0x00000003 , 0x00000002 , 0x000047cb 
+ 00014713  0x00004728 fetch  0x00000001 , 0x000009d0 
+ 00014714  0x00004729 pincrease  0xfffffffe 
+ 00014715  0x0000472a nbranch  0x00003b79 , 0x00000002 
+ 00014716  0x0000472b branch  0x00003b79 , 0x00000005 
+ 00014717  0x0000472c store  0x00000001 , 0x000047c8 
+ 00014718  0x0000472d fetcht  0x00000002 , 0x000047c9 
+ 00014719  0x0000472e increase  0xffffffff , 0x00000002 
+ 00014720  0x0000472f call  0x00001a11 
+ 00014721  0x00004730 branch  0x00003994 , 0x00000034 
+ 00014722  0x00004731 ifetcht  0x00000004 , 0x00000006 
+ 00014723  0x00004732 setarg  0x01280302 
+ 00014724  0x00004733 isub  0x00000002 , 0x0000003e 
+ 00014725  0x00004734 nbranch  0x00003994 , 0x00000005 
+ 00014726  0x00004735 ifetch  0x00000001 , 0x00000006 
+ 00014727  0x00004736 store  0x00000001 , 0x000047cd 
+ 00014728  0x00004737 and_into  0x00000030 , 0x0000003f 
+ 00014729  0x00004738 branch  0x00003994 , 0x00000034 
+ 00014730  0x00004739 jam  0x00000000 , 0x000009d1 
+ 00014731  0x0000473a call  0x00001ac6 
+ 00014732  0x0000473b call  0x00003998 
+ 00014733  0x0000473c call  0x00003998 
+ 00014734  0x0000473d call  0x00003998 
+ 00014735  0x0000473e fetch  0x00000002 , 0x000047c6 
+ 00014736  0x0000473f rtnbit0  0x00000008 
+ 00014737  0x00004741 jam  0x00000001 , 0x000009d1 
+ 00014738  0x00004742 call  0x00003c6b 
+ 00014739  0x00004743 branch  0x00003b7c 
+ 00014740  0x00004746 jam  0x00000000 , 0x000047c8 
+ 00014741  0x00004747 jam  0x00000001 , 0x000009d1 
+ 00014742  0x00004748 call  0x00003c6b 
+ 00014743  0x00004749 branch  0x00003b79 
+ 00014744  0x0000474c fetch  0x00000001 , 0x000047c8 
+ 00014745  0x0000474d rtn  0x00000034 
+ 00014746  0x0000474e call  0x00001b24 
+ 00014747  0x0000474f nrtn  0x00000034 
+ 00014748  0x00004750 call  0x000039bb 
+ 00014749  0x00004751 bpatch  0x000000bf , 0x00004017 
+ 00014750  0x00004752 fetch  0x00000002 , 0x00004380 
+ 00014751  0x00004753 call  0x00007ebb 
+ 00014752  0x00004754 copy  0x0000003f , 0x00000002 
+ 00014753  0x00004755 fetch  0x00000001 , 0x00004435 
+ 00014754  0x00004756 rtnbit1  0x00000000 
+ 00014755  0x00004757 add  0x00000002 , 0xfffffffd , 0x0000003f 
+ 00014756  0x00004758 arg  0x000000fb , 0x00000002 
+ 00014757  0x00004759 call  0x00007ebb 
+ 00014758  0x0000475a fetcht  0x00000001 , 0x000047c8 
+ 00014759  0x0000475b call  0x00007ebb 
+ 00014760  0x0000475c copy  0x0000003f , 0x00000011 
+ 00014761  0x0000475d copy  0x00000002 , 0x0000003f 
+ 00014762  0x0000475e isub  0x00000011 , 0x0000003f 
+ 00014763  0x0000475f store  0x00000001 , 0x000047c8 
+ 00014764  0x00004760 call  0x000039b6 
+ 00014765  0x00004761 fetch  0x00000002 , 0x000047cb 
+ 00014766  0x00004762 copy  0x0000003f , 0x00000003 
+ 00014767  0x00004763 copy  0x00000011 , 0x00000039 
+ 00014768  0x00004764 call  0x00005fdf 
+ 00014769  0x00004765 copy  0x00000003 , 0x0000003f 
+ 00014770  0x00004766 store  0x00000002 , 0x000047cb 
+ 00014771  0x00004767 fetch  0x00000001 , 0x000047c8 
+ 00014772  0x00004768 nrtn  0x00000034 
+ 00014773  0x00004769 branch  0x00003c69 
+ 00014774  0x0000476c fetcht  0x00000002 , 0x000047c9 
+ 00014775  0x0000476d fetch  0x00000001 , 0x000047cd 
+ 00014776  0x0000476e bbit1  0x00000005 , 0x00001e68 
+ 00014777  0x0000476f bbit1  0x00000004 , 0x00001e5f 
+ 00014778  0x00004770 rtn 
+ 00014779  0x00004775 arg  0x00000017 , 0x00000002 
+ 00014780  0x00004776 fetch  0x00000002 , 0x000047c6 
+ 00014781  0x00004777 rtnbit1  0x00000001 
+ 00014782  0x00004778 fetcht  0x00000002 , 0x00004382 
+ 00014783  0x00004779 rtn 
+ 00014784  0x0000477c fetch  0x00000002 , 0x000047c6 
+ 00014785  0x0000477d bbit1  0x00000002 , 0x00001e39 
+ 00014786  0x0000477e branch  0x00007ec7 
+ 00014787  0x00004783 branch  0x00003bae 
+ 00014788  0x00004788 ifetch  0x00000001 , 0x00000003 
+ 00014789  0x00004789 beq  0x00000081 , 0x000039d1 
+ 00014790  0x0000478a beq  0x00000082 , 0x000039d3 
+ 00014791  0x0000478b beq  0x00000083 , 0x000039d5 
+ 00014792  0x0000478d copy  0x0000003f , 0x00000011 
+ 00014793  0x0000478e call  0x00006f26 
+ 00014794  0x0000478f call  0x000075af 
+ 00014795  0x00004790 copy  0x00000011 , 0x0000003f 
+ 00014796  0x00004791 beq  0x00000000 , 0x000039d7 
+ 00014797  0x00004792 beq  0x00000001 , 0x000039da 
+ 00014798  0x00004793 beq  0x00000002 , 0x000039e4 
+ 00014799  0x00004794 beq  0x00000003 , 0x000039e6 
+ 00014800  0x00004795 branch  0x00003b79 
+ 00014801  0x00004798 call  0x00006f22 
+ 00014802  0x00004799 branch  0x000039da 
+ 00014803  0x0000479c call  0x00006f22 
+ 00014804  0x0000479d branch  0x000039e4 
+ 00014805  0x000047a0 call  0x00006f22 
+ 00014806  0x000047a1 branch  0x000039e6 
+ 00014807  0x000047a4 call  0x00006f2d 
+ 00014808  0x000047a5 jam  0x00000000 , 0x00004767 
+ 00014809  0x000047a6 branch  0x00003b7c 
+ 00014810  0x000047a9 setarg  0x00000003 
+ 00014811  0x000047ab store  0x00000001 , 0x0000476f 
+ 00014812  0x000047ac store  0x00000001 , 0x00004768 
+ 00014813  0x000047ad setarg  0x00000000 
+ 00014814  0x000047ae store  0x00000001 , 0x00004769 
+ 00014815  0x000047af setarg  0x00000004 
+ 00014816  0x000047b0 store  0x00000001 , 0x0000476a 
+ 00014817  0x000047b1 call  0x0000580c 
+ 00014818  0x000047b2 jam  0x00000001 , 0x00004767 
+ 00014819  0x000047b3 branch  0x00003b7c 
+ 00014820  0x000047b5 setarg  0x00000002 
+ 00014821  0x000047b6 branch  0x000039db 
+ 00014822  0x000047b9 setarg  0x00000001 
+ 00014823  0x000047ba branch  0x000039db 
+ 00014824  0x000047bf arg  0x00000010 , 0x0000003f 
+ 00014825  0x000047c0 arg  0x00004796 , 0x00000005 
+ 00014826  0x000047c1 branch  0x00003ac3 
+ 00014827  0x000047c6 ifetch  0x00000001 , 0x00000003 
+ 00014828  0x000047c7 fetcht  0x00000001 , 0x000047c6 
+ 00014829  0x000047c8 nsetflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00014830  0x000047c9 storet  0x00000001 , 0x000047c6 
+ 00014831  0x000047ca fetcht  0x00000001 , 0x00008060 
+ 00014832  0x000047cb nsetflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00014833  0x000047cc storet  0x00000001 , 0x00008060 
+ 00014834  0x000047cd branch  0x00003b7c 
+ 00014835  0x000047d2 fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00014836  0x000047d3 call  0x00007e2d 
+ 00014837  0x000047d4 call  0x00005f72 
+ 00014838  0x000047d5 store  0x00000002 , 0x000047bf 
+ 00014839  0x000047d6 call  0x00003b7c 
+ 00014840  0x000047d7 call  0x00007e7c 
+ 00014841  0x000047d8 fetch  0x00000002 , 0x000047bf 
+ 00014842  0x000047d9 branch  0x00005f6a 
+ 00014843  0x000047de arg  0x00000002 , 0x00000011 
+ 00014844  0x000047df arg  0x000047a7 , 0x00000012 
+ 00014845  0x000047e0 arg  0x00000000 , 0x00000002 
+ 00014846  0x000047e1 branch  0x00003b87 
+ 00014847  0x000047e6 fetch  0x00000002 , 0x0000478f 
+ 00014848  0x000047e7 bbit0  0x00000000 , 0x00003b79 
+ 00014849  0x000047e9 call  0x00003b7c 
+ 00014850  0x000047ea branch  0x00003268 
+ 00014851  0x000047ef fetch  0x00000002 , 0x0000478f 
+ 00014852  0x000047f0 bbit0  0x00000009 , 0x00003b79 
+ 00014853  0x000047f2 call  0x00003b7c 
+ 00014854  0x000047f3 branch  0x00003281 
+ 00014855  0x000047f8 fetch  0x00000001 , 0x000009d0 
+ 00014856  0x000047f9 bne  0x00000003 , 0x00003b79 
+ 00014857  0x000047fa ifetch  0x00000003 , 0x00000003 
+ 00014858  0x000047fb store  0x00000003 , 0x000040b2 
+ 00014859  0x000047fc branch  0x00003b7c 
+ 00014860  0x00004801 fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00014861  0x00004802 fetch  0x00000002 , 0x00004489 
+ 00014862  0x00004803 icopy  0x00000005 
+ 00014863  0x00004804 call  0x00005fdf 
+ 00014864  0x00004805 branch  0x00003b7c 
+ 00014865  0x0000480a fetch  0x00000002 , 0x0000478f 
+ 00014866  0x0000480b bbit1  0x00000009 , 0x00003aec 
+ 00014867  0x0000480c bbit0  0x00000000 , 0x00003b79 
+ 00014868  0x0000480d ifetch  0x00000001 , 0x00000003 
+ 00014869  0x0000480e fetcht  0x00000001 , 0x0000476e 
+ 00014870  0x0000480f setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00014871  0x00004810 set1  0x00000007 , 0x00000002 
+ 00014872  0x00004811 storet  0x00000001 , 0x0000476e 
+ 00014873  0x00004813 call  0x00003b7c 
+ 00014874  0x00004815 fetch  0x00000001 , 0x0000476e 
+ 00014875  0x00004816 bbit1  0x00000006 , 0x00003a1d 
+ 00014876  0x00004817 rtn 
+ 00014877  0x0000481a bbit1  0x00000000 , 0x000056e4 
+ 00014878  0x0000481b jam  0x00000000 , 0x0000476e 
+ 00014879  0x0000481c jam  0x00000021 , 0x0000095b 
+ 00014880  0x0000481d branch  0x000078e5 
+ 00014881  0x00004822 fetch  0x00000001 , 0x0000478f 
+ 00014882  0x00004823 rtnbit0  0x00000004 
+ 00014883  0x00004824 fetch  0x00000001 , 0x00004659 
+ 00014884  0x00004825 rtneq  0x00000000 
+ 00014885  0x00004826 ifetch  0x00000001 , 0x00000003 
+ 00014886  0x00004827 fetcht  0x00000001 , 0x00004657 
+ 00014887  0x00004828 iadd  0x00000002 , 0x00000002 
+ 00014888  0x00004829 storet  0x00000001 , 0x00004657 
+ 00014889  0x0000482a rtn 
+ 00014890  0x0000482f arg  0x00000040 , 0x00000039 
+ 00014891  0x00004830 arg  0x000043e7 , 0x00000005 
+ 00014892  0x00004831 call  0x00007d9b 
+ 00014893  0x00004832 setarg  0x00000000 
+ 00014894  0x00004833 store  0x00000001 , 0x00000974 
+ 00014895  0x00004834 copy  0x00000011 , 0x00000003 
+ 00014896  0x00004836 copy  0x00000003 , 0x0000003f 
+ 00014897  0x00004837 store  0x00000002 , 0x00000978 
+ 00014898  0x00004838 call  0x00003a58 
+ 00014899  0x0000483a fetch  0x00000001 , 0x00000974 
+ 00014900  0x0000483b fetcht  0x00000001 , 0x00000964 
+ 00014901  0x0000483c increase  0x00000001 , 0x00000002 
+ 00014902  0x0000483d iadd  0x00000002 , 0x0000003f 
+ 00014903  0x0000483e store  0x00000001 , 0x00000974 
+ 00014904  0x00004840 sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00014905  0x00004841 nbranch  0x00003a44 , 0x00000002 
+ 00014906  0x00004843 fetcht  0x00000001 , 0x000043e7 
+ 00014907  0x00004844 setarg  0x000043e8 
+ 00014908  0x00004845 iadd  0x00000002 , 0x0000003f 
+ 00014909  0x00004846 store  0x00000002 , 0x0000097d 
+ 00014910  0x00004847 fetcht  0x00000001 , 0x00000964 
+ 00014911  0x00004848 increase  0x00000001 , 0x00000002 
+ 00014912  0x00004849 fetch  0x00000001 , 0x000043e7 
+ 00014913  0x0000484a iadd  0x00000002 , 0x0000003f 
+ 00014914  0x0000484b store  0x00000001 , 0x000043e7 
+ 00014915  0x0000484c branch  0x00003a4d 
+ 00014916  0x0000484e fetcht  0x00000001 , 0x00004407 
+ 00014917  0x0000484f setarg  0x00004408 
+ 00014918  0x00004850 iadd  0x00000002 , 0x0000003f 
+ 00014919  0x00004851 store  0x00000002 , 0x0000097d 
+ 00014920  0x00004852 fetcht  0x00000001 , 0x00000964 
+ 00014921  0x00004853 increase  0x00000001 , 0x00000002 
+ 00014922  0x00004854 fetch  0x00000001 , 0x00004407 
+ 00014923  0x00004855 iadd  0x00000002 , 0x0000003f 
+ 00014924  0x00004856 store  0x00000001 , 0x00004407 
+ 00014925  0x00004858 fetch  0x00000002 , 0x0000097d 
+ 00014926  0x00004859 copy  0x0000003f , 0x00000005 
+ 00014927  0x0000485a fetch  0x00000002 , 0x00000978 
+ 00014928  0x0000485b copy  0x0000003f , 0x00000003 
+ 00014929  0x0000485d copy  0x00000002 , 0x00000039 
+ 00014930  0x0000485e call  0x00005fdf 
+ 00014931  0x00004860 fetch  0x00000001 , 0x000009d0 
+ 00014932  0x00004861 fetcht  0x00000001 , 0x00000974 
+ 00014933  0x00004862 isub  0x00000002 , 0x0000003e 
+ 00014934  0x00004863 nbranch  0x00003a30 , 0x00000005 
+ 00014935  0x00004864 branch  0x00003b7c 
+ 00014936  0x00004868 ifetch  0x00000001 , 0x00000003 
+ 00014937  0x00004869 store  0x00000001 , 0x00000964 
+ 00014938  0x0000486a ifetch  0x00000001 , 0x00000003 
+ 00014939  0x0000486b store  0x00000001 , 0x00000970 
+ 00014940  0x0000486c rtn 
+ 00014941  0x00004871 arg  0x00000000 , 0x00000002 
+ 00014942  0x00004872 arg  0x00000002 , 0x00000011 
+ 00014943  0x00004873 fetch  0x00000002 , 0x000047c3 
+ 00014944  0x00004874 store  0x00000002 , 0x0000098e 
+ 00014945  0x00004875 arg  0x0000098e , 0x00000012 
+ 00014946  0x00004876 branch  0x00003b87 
+ 00014947  0x0000487b fetch  0x00000001 , 0x000009d0 
+ 00014948  0x0000487c bne  0x00000001 , 0x00003b79 
+ 00014949  0x0000487d ifetch  0x00000001 , 0x00000003 
+ 00014950  0x0000487e store  0x00000001 , 0x000047c1 
+ 00014951  0x0000487f setarg  0x00000000 
+ 00014952  0x00004880 store  0x00000002 , 0x000047c3 
+ 00014953  0x00004881 branch  0x00003b7c 
+ 00014954  0x00004886 fetch  0x00000001 , 0x000009d0 
+ 00014955  0x00004887 bne  0x00000004 , 0x00003b79 
+ 00014956  0x00004888 fetch  0x00000002 , 0x0000478f 
+ 00014957  0x00004889 bbit1  0x00000009 , 0x00003b51 
+ 00014958  0x0000488a ifetch  0x00000004 , 0x00000003 
+ 00014959  0x0000488b store  0x00000004 , 0x00004797 
+ 00014960  0x0000488c jam  0x00000004 , 0x00004796 
+ 00014961  0x0000488d jam  0x00000000 , 0x00004770 
+ 00014962  0x0000488e call  0x00003b7c 
+ 00014963  0x0000488f branch  0x00005664 
+ 00014964  0x00004894 fetch  0x00000001 , 0x000009d0 
+ 00014965  0x00004895 bne  0x00000003 , 0x00003b79 
+ 00014966  0x00004896 ifetch  0x00000001 , 0x00000003 
+ 00014967  0x00004897 beq  0x00000000 , 0x00003a7a 
+ 00014968  0x00004898 beq  0x00000001 , 0x00003a80 
+ 00014969  0x00004899 branch  0x00003b79 
+ 00014970  0x0000489c call  0x00003b7c 
+ 00014971  0x0000489d ifetcht  0x00000001 , 0x00000003 
+ 00014972  0x0000489e ifetch  0x00000001 , 0x00000003 
+ 00014973  0x0000489f beq  0x00000002 , 0x00006121 
+ 00014974  0x000048a0 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00014975  0x000048a1 branch  0x000060f4 
+ 00014976  0x000048a4 call  0x00003b7c 
+ 00014977  0x000048a5 ifetcht  0x00000001 , 0x00000003 
+ 00014978  0x000048a6 ifetch  0x00000001 , 0x00000003 
+ 00014979  0x000048a7 branch  0x0000610d , 0x00000034 
+ 00014980  0x000048a8 branch  0x00006109 
+ 00014981  0x000048ad fetch  0x00000001 , 0x000009d0 
+ 00014982  0x000048ae bne  0x00000001 , 0x00003b79 
+ 00014983  0x000048af ifetcht  0x00000001 , 0x00000003 
+ 00014984  0x000048b0 call  0x000060fd 
+ 00014985  0x000048b1 setarg  0x00000000 
+ 00014986  0x000048b2 nsetflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00014987  0x000048b3 arg  0x00000001 , 0x00000011 
+ 00014988  0x000048b4 store  0x00000002 , 0x0000098e 
+ 00014989  0x000048b5 arg  0x0000098e , 0x00000012 
+ 00014990  0x000048b6 arg  0x00000000 , 0x00000002 
+ 00014991  0x000048b7 branch  0x00003b87 
+ 00014992  0x000048bc ifetch  0x00000001 , 0x00000003 
+ 00014993  0x000048bd copy  0x0000003f , 0x00000002 
+ 00014994  0x000048be beq  0x00000081 , 0x00003a9f 
+ 00014995  0x000048bf beq  0x00000082 , 0x00003aa3 
+ 00014996  0x000048c0 beq  0x00000083 , 0x00003aa8 
+ 00014997  0x000048c1 beq  0x00000084 , 0x00003aac 
+ 00014998  0x000048c2 store  0x00000001 , 0x0000439d 
+ 00014999  0x000048c3 call  0x000075af 
+ 00015000  0x000048c4 call  0x00001f35 
+ 00015001  0x000048c5 fetch  0x00000001 , 0x0000439d 
+ 00015002  0x000048c6 beq  0x00000000 , 0x00003ab0 
+ 00015003  0x000048c7 beq  0x00000001 , 0x00003ab3 
+ 00015004  0x000048c8 beq  0x00000002 , 0x00003ab5 
+ 00015005  0x000048c9 beq  0x00000004 , 0x00003ab7 
+ 00015006  0x000048ca branch  0x00003b79 
+ 00015007  0x000048cd storet  0x00000001 , 0x0000439d 
+ 00015008  0x000048ce call  0x00001f31 
+ 00015009  0x000048cf jam  0x0000000d , 0x00004353 
+ 00015010  0x000048d0 branch  0x00003ab1 
+ 00015011  0x000048d2 storet  0x00000001 , 0x0000439d 
+ 00015012  0x000048d3 call  0x00001f31 
+ 00015013  0x000048d4 jam  0x0000000d , 0x00004353 
+ 00015014  0x000048d5 jam  0x00000001 , 0x00004351 
+ 00015015  0x000048d6 branch  0x00003b7c 
+ 00015016  0x000048d8 storet  0x00000001 , 0x0000439d 
+ 00015017  0x000048d9 call  0x00001f31 
+ 00015018  0x000048da jam  0x0000000d , 0x00004353 
+ 00015019  0x000048db branch  0x00003abb 
+ 00015020  0x000048dd storet  0x00000001 , 0x0000439d 
+ 00015021  0x000048de call  0x00001f31 
+ 00015022  0x000048df jam  0x0000000d , 0x00004353 
+ 00015023  0x000048e0 branch  0x00003ab9 
+ 00015024  0x000048e4 jam  0x00000000 , 0x00004353 
+ 00015025  0x000048e6 jam  0x00000003 , 0x00004351 
+ 00015026  0x000048e7 branch  0x00003b7c 
+ 00015027  0x000048e9 jam  0x00000001 , 0x00004353 
+ 00015028  0x000048ea branch  0x00003ab1 
+ 00015029  0x000048ec jam  0x00000005 , 0x00004353 
+ 00015030  0x000048ed branch  0x00003abb 
+ 00015031  0x000048ef jam  0x00000005 , 0x00004353 
+ 00015032  0x000048f0 branch  0x00003ab9 
+ 00015033  0x000048f2 jam  0x00000002 , 0x00004351 
+ 00015034  0x000048f3 branch  0x00003b7c 
+ 00015035  0x000048f5 jam  0x00000000 , 0x00004351 
+ 00015036  0x000048f6 branch  0x00003b7c 
+ 00015037  0x000048fb arg  0x0000001f , 0x0000003f 
+ 00015038  0x000048fc arg  0x000043e7 , 0x00000005 
+ 00015039  0x000048fd branch  0x00003ac3 
+ 00015040  0x00004902 arg  0x0000001f , 0x0000003f 
+ 00015041  0x00004903 arg  0x00004407 , 0x00000005 
+ 00015042  0x00004904 branch  0x00003ac3 
+ 00015043  0x00004907 fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00015044  0x00004908 isub  0x00000039 , 0x0000003e 
+ 00015045  0x00004909 nbranch  0x00003b79 , 0x00000002 
+ 00015046  0x0000490a istorer  0x00000039 , 0x00000001 , 0x00000005 
+ 00015047  0x0000490b call  0x00005fdf 
+ 00015048  0x0000490c branch  0x00003b7c 
+ 00015049  0x00004911 fetch  0x00000002 , 0x0000478f 
+ 00015050  0x00004912 bbit0  0x00000009 , 0x00003b79 
+ 00015051  0x00004913 fetch  0x00000001 , 0x000009d0 
+ 00015052  0x00004914 bne  0x00000008 , 0x00003b79 
+ 00015053  0x00004915 ifetch  0x00000008 , 0x00000003 
+ 00015054  0x00004916 store  0x00000008 , 0x00004372 
+ 00015055  0x00004917 jam  0x00000012 , 0x0000095b 
+ 00015056  0x00004918 call  0x000078e5 
+ 00015057  0x00004919 branch  0x00003b7c 
+ 00015058  0x0000491e ifetch  0x00000002 , 0x00000003 
+ 00015059  0x0000491f store  0x00000002 , 0x00004428 
+ 00015060  0x00004920 branch  0x00003b7c 
+ 00015061  0x00004925 fetch  0x00000001 , 0x0000439d 
+ 00015062  0x00004926 branch  0x00003b79 , 0x00000034 
+ 00015063  0x00004927 fetch  0x00000001 , 0x0000439b 
+ 00015064  0x00004928 bne  0x00000000 , 0x00003b79 
+ 00015065  0x00004929 fetch  0x00000001 , 0x0000439c 
+ 00015066  0x0000492a bne  0x00000000 , 0x00003b79 
+ 00015067  0x0000492b call  0x00007992 
+ 00015068  0x0000492c branch  0x00003b7c 
+ 00015069  0x00004931 fetch  0x00000001 , 0x000009d0 
+ 00015070  0x00004932 bne  0x00000005 , 0x00003b79 
+ 00015071  0x00004933 ifetch  0x00000001 , 0x00000003 
+ 00015072  0x00004934 store  0x00000001 , 0x000047af 
+ 00015073  0x00004935 ifetch  0x00000004 , 0x00000003 
+ 00015074  0x00004936 store  0x00000004 , 0x000047b0 
+ 00015075  0x00004937 fetcht  0x00000001 , 0x000047af 
+ 00015076  0x00004938 call  0x0000610d 
+ 00015077  0x00004939 call  0x00003c35 
+ 00015078  0x0000493a branch  0x00003b7c 
+ 00015079  0x0000493f fetch  0x00000001 , 0x000009d0 
+ 00015080  0x00004940 bne  0x00000001 , 0x00003b79 
+ 00015081  0x00004941 ifetch  0x00000001 , 0x00000003 
+ 00015082  0x00004942 store  0x00000001 , 0x000041e8 
+ 00015083  0x00004943 branch  0x00003b7c 
+ 00015084  0x00004948 ifetch  0x00000001 , 0x00000003 
+ 00015085  0x00004949 beq  0x00000001 , 0x00003af5 
+ 00015086  0x0000494a fetch  0x00000001 , 0x00004399 
+ 00015087  0x0000494b beq  0x00000003 , 0x00003af3 
+ 00015088  0x0000494c beq  0x00000006 , 0x00003af3 
+ 00015089  0x0000494d beq  0x00000007 , 0x00003af3 
+ 00015090  0x0000494e branch  0x00003b79 
+ 00015091  0x00004950 jam  0x00000001 , 0x0000439a 
+ 00015092  0x00004951 branch  0x00003b7c 
+ 00015093  0x00004954 call  0x00001f9b 
+ 00015094  0x00004955 branch  0x00003b7c 
+ 00015095  0x0000495a fetch  0x00000001 , 0x000009d0 
+ 00015096  0x0000495b bne  0x00000001 , 0x00003b79 
+ 00015097  0x0000495c call  0x00003b7c 
+ 00015098  0x0000495d ifetch  0x00000001 , 0x00000003 
+ 00015099  0x0000495e branch  0x00005840 , 0x00000034 
+ 00015100  0x0000495f branch  0x0000583e 
+ 00015101  0x00004964 call  0x00003b7c 
+ 00015102  0x00004965 call  0x00007e7c 
+ 00015103  0x00004966 jam  0x00000001 , 0x00008010 
+ 00015104  0x00004967 branch  0x0000137e 
+ 00015105  0x0000496c fetch  0x00000001 , 0x000009d0 
+ 00015106  0x0000496d beq  0x00000000 , 0x00003b79 
+ 00015107  0x0000496e ifetch  0x00000001 , 0x00000003 
+ 00015108  0x0000496f branch  0x00003b0e , 0x00000034 
+ 00015109  0x00004970 fetch  0x00000001 , 0x000009d0 
+ 00015110  0x00004971 bne  0x00000005 , 0x00003b79 
+ 00015111  0x00004972 ifetch  0x00000004 , 0x00000003 
+ 00015112  0x00004973 arg  0x000f4240 , 0x00000002 
+ 00015113  0x00004974 isub  0x00000002 , 0x0000003e 
+ 00015114  0x00004975 branch  0x00003b79 , 0x00000002 
+ 00015115  0x00004976 store  0x00000004 , 0x0000439e 
+ 00015116  0x00004977 call  0x00001abe 
+ 00015117  0x00004978 branch  0x00003b7c 
+ 00015118  0x0000497b call  0x00001ac0 
+ 00015119  0x0000497c branch  0x00003b7c 
+ 00015120  0x00004981 ifetcht  0x00000002 , 0x00000003 
+ 00015121  0x00004982 call  0x00001a11 
+ 00015122  0x00004983 add  0x00000006 , 0xfffffffe , 0x00000005 
+ 00015123  0x00004984 setarg  0x00000000 
+ 00015124  0x00004985 istore  0x00000002 , 0x00000005 
+ 00015125  0x00004986 branch  0x00003b7c 
+ 00015126  0x0000498b call  0x00003b1f 
+ 00015127  0x0000498c call  0x00003b4d 
+ 00015128  0x0000498d setarg  0x00000000 
+ 00015129  0x0000498e istore  0x00000002 , 0x00000005 
+ 00015130  0x0000498f branch  0x00003c0f 
+ 00015131  0x00004995 ifetch  0x00000001 , 0x00000003 
+ 00015132  0x00004996 call  0x00003b23 
+ 00015133  0x00004997 call  0x00003b2a 
+ 00015134  0x00004998 branch  0x00003c0f 
+ 00015135  0x0000499c call  0x00003b4a 
+ 00015136  0x0000499d setarg  0x00280002 
+ 00015137  0x0000499e istore  0x00000003 , 0x00000005 
+ 00015138  0x0000499f rtn 
+ 00015139  0x000049a3 store  0x00000001 , 0x0000095c 
+ 00015140  0x000049a4 call  0x00003b4a 
+ 00015141  0x000049a5 setarg  0x01280302 
+ 00015142  0x000049a6 istore  0x00000004 , 0x00000005 
+ 00015143  0x000049a7 fetch  0x00000001 , 0x0000095c 
+ 00015144  0x000049a8 istore  0x00000003 , 0x00000005 
+ 00015145  0x000049a9 rtn 
+ 00015146  0x000049ad call  0x00001a30 
+ 00015147  0x000049ae ifetch  0x00000001 , 0x00000003 
+ 00015148  0x000049af and  0x0000003f , 0x0000001f , 0x00000039 
+ 00015149  0x000049b0 copy  0x0000003f , 0x00000011 
+ 00015150  0x000049b1 isolate1  0x00000007 , 0x00000011 
+ 00015151  0x000049b2 setflag  0x00000001 , 0x0000000f , 0x00000002 
+ 00015152  0x000049b3 isolate1  0x00000006 , 0x00000011 
+ 00015153  0x000049b4 setflag  0x00000001 , 0x0000000e , 0x00000002 
+ 00015154  0x000049b5 istoret  0x00000002 , 0x00000005 
+ 00015155  0x000049b6 copy  0x00000039 , 0x0000003f 
+ 00015156  0x000049b7 istore  0x00000001 , 0x00000005 
+ 00015157  0x000049b8 call  0x00005ff3 
+ 00015158  0x000049b9 call  0x00003b4d 
+ 00015159  0x000049ba setarg  0x00000000 
+ 00015160  0x000049bb istore  0x00000002 , 0x00000005 
+ 00015161  0x000049bc and  0x00000002 , 0x000000ff , 0x00000002 
+ 00015162  0x000049bd increase  0xffffffff , 0x00000002 
+ 00015163  0x000049be call  0x00001a11 
+ 00015164  0x000049bf add  0x00000006 , 0x00000004 , 0x00000006 
+ 00015165  0x000049c0 ifetch  0x00000001 , 0x00000006 
+ 00015166  0x000049c1 bbit1  0x00000004 , 0x00003b42 
+ 00015167  0x000049c2 bbit1  0x00000005 , 0x00003b42 
+ 00015168  0x000049c3 increase  0x00000001 , 0x00000002 
+ 00015169  0x000049c4 rtn 
+ 00015170  0x000049c8 call  0x00001a30 
+ 00015171  0x000049c9 isolate1  0x00000005 , 0x00000011 
+ 00015172  0x000049ca setflag  0x00000001 , 0x0000000f , 0x00000002 
+ 00015173  0x000049cb istoret  0x00000002 , 0x00000005 
+ 00015174  0x000049cc setarg  0x02290202 
+ 00015175  0x000049cd istore  0x00000008 , 0x00000005 
+ 00015176  0x000049ce increase  0xffffffff , 0x00000002 
+ 00015177  0x000049cf rtn 
+ 00015178  0x000049d3 call  0x00001a30 
+ 00015179  0x000049d4 istoret  0x00000002 , 0x00000005 
+ 00015180  0x000049d5 rtn 
+ 00015181  0x000049d9 ifetch  0x00000001 , 0x00000003 
+ 00015182  0x000049da copy  0x0000003f , 0x00000039 
+ 00015183  0x000049db istore  0x00000001 , 0x00000005 
+ 00015184  0x000049dc branch  0x00005ff3 
+ 00015185  0x000049e1 fetch  0x00000001 , 0x0000439b 
+ 00015186  0x000049e2 bne  0x00000005 , 0x00003b79 
+ 00015187  0x000049e3 fetch  0x00000001 , 0x0000439d 
+ 00015188  0x000049e4 beq  0x00000004 , 0x00003b5d 
+ 00015189  0x000049e5 beq  0x00000084 , 0x00003b57 
+ 00015190  0x000049e6 branch  0x00003b79 
+ 00015191  0x000049e9 jam  0x00000002 , 0x00004398 
+ 00015192  0x000049ea jam  0x00000008 , 0x00004399 
+ 00015193  0x000049eb branch  0x00003b5a 
+ 00015194  0x000049ee ifetch  0x00000004 , 0x00000003 
+ 00015195  0x000049ef store  0x00000004 , 0x0000439e 
+ 00015196  0x000049f0 branch  0x00003b7c 
+ 00015197  0x000049f3 call  0x00003b5a 
+ 00015198  0x000049f4 branch  0x00001f84 
+ 00015199  0x000049fa fetch  0x00000001 , 0x000009d0 
+ 00015200  0x000049fb bne  0x00000002 , 0x00003b79 
+ 00015201  0x000049fc ifetcht  0x00000002 , 0x00000003 
+ 00015202  0x000049fd call  0x00001b29 
+ 00015203  0x000049fe branch  0x00003b7c 
+ 00015204  0x00004a03 arg  0x00000000 , 0x00000002 
+ 00015205  0x00004a04 arg  0x00000002 , 0x00000011 
+ 00015206  0x00004a05 arg  0x00004075 , 0x00000012 
+ 00015207  0x00004a06 branch  0x00003b87 
+ 00015208  0x00004a0b fetch  0x00000001 , 0x000009d0 
+ 00015209  0x00004a0c bne  0x00000008 , 0x00003b79 
+ 00015210  0x00004a0d ifetch  0x00000008 , 0x00000003 
+ 00015211  0x00004a0e call  0x00001b27 
+ 00015212  0x00004a0f branch  0x00003b7c 
+ 00015213  0x00004a14 ifetchr  0x00000011 , 0x00000001 , 0x00000003 
+ 00015214  0x00004a15 ifetchr  0x00000012 , 0x00000002 , 0x00000003 
+ 00015215  0x00004a16 arg  0x00000000 , 0x00000002 
+ 00015216  0x00004a17 branch  0x00003b87 
+ 00015217  0x00004a1c fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00015218  0x00004a1d increase  0xfffffffe , 0x00000039 
+ 00015219  0x00004a1e ifetch  0x00000002 , 0x00000003 
+ 00015220  0x00004a1f copy  0x0000003f , 0x00000005 
+ 00015221  0x00004a20 call  0x00005fdf 
+ 00015222  0x00004a21 branch  0x00003b7c 
+ 00015223  0x00004a27 jam  0x00000000 , 0x00004099 
+ 00015224  0x00004a28 branch  0x00003b7c 
+ 00015225  0x00004a2e arg  0x00000001 , 0x00000002 
+ 00015226  0x00004a2f arg  0x00000000 , 0x00000011 
+ 00015227  0x00004a30 branch  0x00003b87 
+ 00015228  0x00004a34 arg  0x00000000 , 0x00000002 
+ 00015229  0x00004a35 arg  0x00000000 , 0x00000011 
+ 00015230  0x00004a36 branch  0x00003b87 
+ 00015231  0x00004a3b jam  0x00000000 , 0x000009cf 
+ 00015232  0x00004a3c branch  0x00003bab 
+ 00015233  0x00004a41 jam  0x00000002 , 0x000009cf 
+ 00015234  0x00004a42 branch  0x00003bab 
+ 00015235  0x00004a47 jam  0x00000003 , 0x000009cf 
+ 00015236  0x00004a48 branch  0x00003bab 
+ 00015237  0x00004a4d jam  0x00000005 , 0x000009cf 
+ 00015238  0x00004a4e branch  0x00003bab 
+ 00015239  0x00004a57 fetch  0x00000001 , 0x000009cf 
+ 00015240  0x00004a58 copy  0x0000003f , 0x00000013 
+ 00015241  0x00004a59 jam  0x00000006 , 0x000009cf 
+ 00015242  0x00004a5a setarg  0x00000002 
+ 00015243  0x00004a5b iadd  0x00000011 , 0x0000003f 
+ 00015244  0x00004a5c call  0x00003c1e 
+ 00015245  0x00004a5d copy  0x00000013 , 0x0000003f 
+ 00015246  0x00004a5e istore  0x00000001 , 0x00000003 
+ 00015247  0x00004a5f istoret  0x00000001 , 0x00000003 
+ 00015248  0x00004a60 copy  0x00000011 , 0x00000039 
+ 00015249  0x00004a61 copy  0x00000012 , 0x00000006 
+ 00015250  0x00004a62 call  0x00005fd9 
+ 00015251  0x00004a63 branch  0x00003c28 
+ 00015252  0x00004a69 call  0x00003858 
+ 00015253  0x00004a6a jam  0x00000007 , 0x000009cf 
+ 00015254  0x00004a6b fetch  0x00000001 , 0x000003d2 
+ 00015255  0x00004a6c rtn  0x00000034 
+ 00015256  0x00004a6d call  0x00003c1e 
+ 00015257  0x00004a6e fetch  0x00000001 , 0x000003d2 
+ 00015258  0x00004a6f copy  0x0000003f , 0x00000039 
+ 00015259  0x00004a70 fetch  0x00000002 , 0x000003d4 
+ 00015260  0x00004a71 copy  0x0000003f , 0x00000006 
+ 00015261  0x00004a72 call  0x00005fc5 
+ 00015262  0x00004a73 branch  0x00003c28 
+ 00015263  0x00004a79 jam  0x00000008 , 0x000009cf 
+ 00015264  0x00004a7a add  0x00000039 , 0x00000002 , 0x0000003f 
+ 00015265  0x00004a7b call  0x00003c1e 
+ 00015266  0x00004a7c fetch  0x00000002 , 0x000009fa 
+ 00015267  0x00004a7d istore  0x00000002 , 0x00000003 
+ 00015268  0x00004a7e fetch  0x00000002 , 0x000009f8 
+ 00015269  0x00004a7f icopy  0x00000006 
+ 00015270  0x00004a80 call  0x00005fc5 
+ 00015271  0x00004a81 copy  0x00000006 , 0x0000003f 
+ 00015272  0x00004a82 store  0x00000002 , 0x000009f8 
+ 00015273  0x00004a83 branch  0x00003c28 
+ 00015274  0x00004a88 jam  0x00000009 , 0x000009cf 
+ 00015275  0x00004a8a setarg  0x00000000 
+ 00015276  0x00004a8b call  0x00003c1e 
+ 00015277  0x00004a8c branch  0x00003c28 
+ 00015278  0x00004a91 jam  0x0000000a , 0x000009cf 
+ 00015279  0x00004a92 setarg  0x00000001 
+ 00015280  0x00004a93 call  0x00003c1e 
+ 00015281  0x00004a95 call  0x00003bbf 
+ 00015282  0x00004a97 fetch  0x00000002 , 0x0000478f 
+ 00015283  0x00004a98 arg  0x00000002 , 0x00000007 
+ 00015284  0x00004a99 qisolate1  0x0000003f 
+ 00015285  0x00004a9a setflag  0x00000001 , 0x00000003 , 0x00000002 
+ 00015286  0x00004a9c arg  0x00000009 , 0x00000007 
+ 00015287  0x00004a9d qisolate1  0x0000003f 
+ 00015288  0x00004a9e setflag  0x00000001 , 0x00000005 , 0x00000002 
+ 00015289  0x00004aa0 fetch  0x00000001 , 0x0000478f 
+ 00015290  0x00004aa1 arg  0x00000004 , 0x00000007 
+ 00015291  0x00004aa2 qisolate1  0x0000003f 
+ 00015292  0x00004aa3 setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00015293  0x00004aa5 istoret  0x00000001 , 0x00000003 
+ 00015294  0x00004aa6 branch  0x00003c28 
+ 00015295  0x00004aab arg  0x00000000 , 0x00000002 
+ 00015296  0x00004aac fetch  0x00000001 , 0x0000409b 
+ 00015297  0x00004aad arg  0x00000000 , 0x00000007 
+ 00015298  0x00004aae qisolate1  0x0000003f 
+ 00015299  0x00004aaf setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00015300  0x00004ab0 arg  0x00000001 , 0x00000007 
+ 00015301  0x00004ab1 qisolate1  0x0000003f 
+ 00015302  0x00004ab2 setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00015303  0x00004ab4 fetch  0x00000001 , 0x00004427 
+ 00015304  0x00004ab5 arg  0x00000000 , 0x00000007 
+ 00015305  0x00004ab6 qisolate1  0x0000003f 
+ 00015306  0x00004ab7 setflag  0x00000001 , 0x00000002 , 0x00000002 
+ 00015307  0x00004ab8 rtn 
+ 00015308  0x00004abd jam  0x0000000d , 0x000009cf 
+ 00015309  0x00004abe fetch  0x00000001 , 0x0000448b 
+ 00015310  0x00004abf mul32  0x0000003f , 0x00000022 , 0x0000003f 
+ 00015311  0x00004ac0 icopy  0x00000039 
+ 00015312  0x00004ac1 call  0x00003c1e 
+ 00015313  0x00004ac2 fetch  0x00000002 , 0x00004489 
+ 00015314  0x00004ac3 icopy  0x00000006 
+ 00015315  0x00004ac4 call  0x00005fc5 
+ 00015316  0x00004ac5 branch  0x00003c28 
+ 00015317  0x00004aca jam  0x0000000e , 0x000009cf 
+ 00015318  0x00004acb setarg  0x00000004 
+ 00015319  0x00004acc call  0x00003c1e 
+ 00015320  0x00004acd fetch  0x00000004 , 0x0000087c 
+ 00015321  0x00004ace istore  0x00000004 , 0x00000003 
+ 00015322  0x00004acf branch  0x00003c28 
+ 00015323  0x00004ad4 jam  0x0000000f , 0x000009cf 
+ 00015324  0x00004ad5 fetch  0x00000002 , 0x00008112 
+ 00015325  0x00004ad6 arg  0x00000040 , 0x00000002 
+ 00015326  0x00004ad7 call  0x00007ebb 
+ 00015327  0x00004ad8 copy  0x0000003f , 0x00000011 
+ 00015328  0x00004ad9 copy  0x0000003f , 0x00000039 
+ 00015329  0x00004ada call  0x00005f9d 
+ 00015330  0x00004adb arg  0x0000098e , 0x00000005 
+ 00015331  0x00004adc call  0x00005fdf 
+ 00015332  0x00004add copy  0x00000011 , 0x0000003f 
+ 00015333  0x00004ade copy  0x00000011 , 0x00000039 
+ 00015334  0x00004adf call  0x00003c1e 
+ 00015335  0x00004ae0 arg  0x0000098e , 0x00000006 
+ 00015336  0x00004ae1 call  0x00005fc5 
+ 00015337  0x00004ae2 branch  0x00003c28 
+ 00015338  0x00004ae7 jam  0x00000010 , 0x000009cf 
+ 00015339  0x00004ae8 branch  0x00003bab 
+ 00015340  0x00004aed jam  0x00000011 , 0x000009cf 
+ 00015341  0x00004aee setarg  0x00000004 
+ 00015342  0x00004aef call  0x00003c1e 
+ 00015343  0x00004af0 fetch  0x00000004 , 0x0000439e 
+ 00015344  0x00004af1 istore  0x00000004 , 0x00000003 
+ 00015345  0x00004af2 branch  0x00003c28 
+ 00015346  0x00004af7 arg  0x00000180 , 0x00000011 
+ 00015347  0x00004af8 branch  0x00003bf9 
+ 00015348  0x00004afb arg  0x00000080 , 0x00000011 
+ 00015349  0x00004afc branch  0x00003bf9 
+ 00015350  0x00004aff arg  0x00000101 , 0x00000011 
+ 00015351  0x00004b00 branch  0x00003bf9 
+ 00015352  0x00004b03 arg  0x00000001 , 0x00000011 
+ 00015353  0x00004b06 jam  0x00000000 , 0x0000476e 
+ 00015354  0x00004b07 jam  0x00000014 , 0x000009cf 
+ 00015355  0x00004b08 setarg  0x00000002 
+ 00015356  0x00004b09 call  0x00003c1e 
+ 00015357  0x00004b0a copy  0x00000011 , 0x0000003f 
+ 00015358  0x00004b0b istore  0x00000002 , 0x00000003 
+ 00015359  0x00004b0c branch  0x00003c28 
+ 00015360  0x00004b11 arg  0x00000000 , 0x00000013 
+ 00015361  0x00004b12 branch  0x00003c03 
+ 00015362  0x00004b15 arg  0x00000001 , 0x00000013 
+ 00015363  0x00004b18 jam  0x00000015 , 0x000009cf 
+ 00015364  0x00004b19 setarg  0x00000001 
+ 00015365  0x00004b1a call  0x00003c1e 
+ 00015366  0x00004b1b copy  0x00000013 , 0x0000003f 
+ 00015367  0x00004b1c istore  0x00000001 , 0x00000003 
+ 00015368  0x00004b1d branch  0x00003c28 
+ 00015369  0x00004b22 jam  0x0000001d , 0x000009cf 
+ 00015370  0x00004b23 setarg  0x00000004 
+ 00015371  0x00004b24 call  0x00003c1e 
+ 00015372  0x00004b25 fetch  0x00000004 , 0x0000087c 
+ 00015373  0x00004b26 istore  0x00000004 , 0x00000003 
+ 00015374  0x00004b27 branch  0x00003c28 
+ 00015375  0x00004b2d storet  0x00000002 , 0x00000964 
+ 00015376  0x00004b2e jam  0x00000029 , 0x000009cf 
+ 00015377  0x00004b2f setarg  0x00000002 
+ 00015378  0x00004b30 call  0x00003c1e 
+ 00015379  0x00004b31 fetcht  0x00000002 , 0x00000964 
+ 00015380  0x00004b32 istoret  0x00000002 , 0x00000003 
+ 00015381  0x00004b33 branch  0x00003c28 
+ 00015382  0x00004b38 jam  0x0000002b , 0x000009cf 
+ 00015383  0x00004b39 branch  0x00003bab 
+ 00015384  0x00004b3e jam  0x00000040 , 0x000009cf 
+ 00015385  0x00004b3f setarg  0x00000002 
+ 00015386  0x00004b40 call  0x00003c1e 
+ 00015387  0x00004b41 fetch  0x00000002 , 0x00004075 
+ 00015388  0x00004b42 istore  0x00000002 , 0x00000003 
+ 00015389  0x00004b43 branch  0x00003c28 
+ 00015390  0x00004b50 jam  0x00000002 , 0x000009ce 
+ 00015391  0x00004b51 store  0x00000001 , 0x000009d0 
+ 00015392  0x00004b52 storet  0x00000008 , 0x00000964 
+ 00015393  0x00004b53 bpatch  0x000000c0 , 0x00004018 
+ 00015394  0x00004b54 call  0x00003c2a 
+ 00015395  0x00004b55 fetcht  0x00000008 , 0x00000964 
+ 00015396  0x00004b56 call  0x00005fb5 
+ 00015397  0x00004b57 fetch  0x00000003 , 0x000009ce 
+ 00015398  0x00004b58 istore  0x00000003 , 0x00000003 
+ 00015399  0x00004b59 rtn 
+ 00015400  0x00004b5c bpatch  0x000000c1 , 0x00004018 
+ 00015401  0x00004b5d branch  0x00005fb9 
+ 00015402  0x00004b60 call  0x00003c33 
+ 00015403  0x00004b61 rtn  0x00000001 
+ 00015404  0x00004b63 call  0x00003c31 
+ 00015405  0x00004b64 fetch  0x00000004 , 0x000047b0 
+ 00015406  0x00004b65 rshift2  0x0000003f , 0x0000003f 
+ 00015407  0x00004b66 rtn  0x00000034 
+ 00015408  0x00004b67 branch  0x00007d81 
+ 00015409  0x00004b6a fetcht  0x00000001 , 0x000047af 
+ 00015410  0x00004b6b branch  0x0000610d 
+ 00015411  0x00004b6e fetcht  0x00000001 , 0x000047af 
+ 00015412  0x00004b6f branch  0x00006118 
+ 00015413  0x00004b72 fetcht  0x00000001 , 0x000047af 
+ 00015414  0x00004b73 branch  0x00006109 
+ 00015415  0x00004b7f storer  0x00000011 , 0x00000002 , 0x000009f8 
+ 00015416  0x00004b80 storer  0x00000012 , 0x00000002 , 0x000009f6 
+ 00015417  0x00004b81 fetch  0x00000002 , 0x00004437 
+ 00015418  0x00004b82 store  0x00000002 , 0x000009fa 
+ 00015419  0x00004b83 call  0x000039c0 
+ 00015420  0x00004b84 rtn  0x00000028 
+ 00015421  0x00004b87 fetcht  0x00000002 , 0x000009f6 
+ 00015422  0x00004b88 fetch  0x00000001 , 0x000047c5 
+ 00015423  0x00004b89 call  0x00007ebb 
+ 00015424  0x00004b8a copy  0x0000003f , 0x00000039 
+ 00015425  0x00004b8b copy  0x00000002 , 0x0000003f 
+ 00015426  0x00004b8c isub  0x00000039 , 0x0000003f 
+ 00015427  0x00004b8d store  0x00000002 , 0x000009f6 
+ 00015428  0x00004b8e call  0x00003b9f 
+ 00015429  0x00004b8f fetch  0x00000002 , 0x000009f6 
+ 00015430  0x00004b90 rtn  0x00000034 
+ 00015431  0x00004b91 branch  0x00003c3d 
+ 00015432  0x00004b96 fetch  0x00000002 , 0x000047c6 
+ 00015433  0x00004b97 rtnbit1  0x00000009 
+ 00015434  0x00004b98 call  0x00003c65 
+ 00015435  0x00004b99 branch  0x0000328b 
+ 00015436  0x00004b9d jam  0x00000002 , 0x00004177 
+ 00015437  0x00004b9e rtn 
+ 00015438  0x00004ba6 fetch  0x00000001 , 0x000047c1 
+ 00015439  0x00004ba7 rtn  0x00000034 
+ 00015440  0x00004ba8 fetch  0x00000001 , 0x000047c2 
+ 00015441  0x00004ba9 rtn  0x00000034 
+ 00015442  0x00004baa increase  0xffffffff , 0x0000003f 
+ 00015443  0x00004bab store  0x00000001 , 0x000047c2 
+ 00015444  0x00004bac nrtn  0x00000034 
+ 00015445  0x00004bad jam  0x00000005 , 0x000047c2 
+ 00015446  0x00004bae call  0x00006166 
+ 00015447  0x00004baf call  0x0000618d 
+ 00015448  0x00004bb0 div  0x0000003f , 0x00000064 
+ 00015449  0x00004bb1 call  0x00007e61 
+ 00015450  0x00004bb2 remainder  0x00000002 
+ 00015451  0x00004bb3 store  0x00000001 , 0x000047c3 
+ 00015452  0x00004bb4 storet  0x00000001 , 0x000047c4 
+ 00015453  0x00004bb5 rtn 
+ 00015454  0x00004bb9 call  0x00007e92 
+ 00015455  0x00004bba branch  0x00003258 , 0x00000002 
+ 00015456  0x00004bbb branch  0x0000325a 
+ 00015457  0x00004bc0 arg  0x0000000a , 0x00000007 
+ 00015458  0x00004bc1 branch  0x00003c71 
+ 00015459  0x00004bc4 arg  0x0000000a , 0x00000007 
+ 00015460  0x00004bc5 branch  0x00003c6d 
+ 00015461  0x00004bc8 arg  0x00000009 , 0x00000007 
+ 00015462  0x00004bc9 branch  0x00003c71 
+ 00015463  0x00004bcc arg  0x00000009 , 0x00000007 
+ 00015464  0x00004bcd branch  0x00003c6d 
+ 00015465  0x00004bd0 arg  0x00000008 , 0x00000007 
+ 00015466  0x00004bd1 branch  0x00003c71 
+ 00015467  0x00004bd4 arg  0x00000008 , 0x00000007 
+ 00015468  0x00004bd5 branch  0x00003c6d 
+ 00015469  0x00004bd8 fetch  0x00000002 , 0x000047c6 
+ 00015470  0x00004bd9 qset0  0x0000003f 
+ 00015471  0x00004bda store  0x00000002 , 0x000047c6 
+ 00015472  0x00004bdb rtn 
+ 00015473  0x00004bde fetch  0x00000002 , 0x000047c6 
+ 00015474  0x00004bdf qset1  0x0000003f 
+ 00015475  0x00004be0 store  0x00000002 , 0x000047c6 
+ 00015476  0x00004be1 rtn 
+ 00015477  0x00004be7 call  0x00006e5e 
+ 00015478  0x00004be8 call  0x00003ca6 
+ 00015479  0x00004be9 call  0x000041e7 
+ 00015480  0x00004bea call  0x000040ce 
+ 00015481  0x00004beb rtn  0x0000002b 
+ 00015482  0x00004bec call  0x00004766 
+ 00015483  0x00004bed call  0x00003c83 
+ 00015484  0x00004bee call  0x0000427c 
+ 00015485  0x00004bef fetch  0x00000001 , 0x0000492f 
+ 00015486  0x00004bf0 rtnbit1  0x00000007 
+ 00015487  0x00004bf2 fetch  0x00000002 , 0x0000478f 
+ 00015488  0x00004bf3 bbit1  0x0000000c , 0x00004593 
+ 00015489  0x00004bf4 call  0x000046de 
+ 00015490  0x00004bf5 branch  0x00003e15 
+ 00015491  0x00004bf9 setarg  0x00004902 
+ 00015492  0x00004bfa store  0x00000002 , 0x00004479 
+ 00015493  0x00004bfb setarg  0x000048a5 
+ 00015494  0x00004bfc store  0x00000002 , 0x0000489f 
+ 00015495  0x00004bfd setarg  0x000048cc 
+ 00015496  0x00004bfe store  0x00000002 , 0x000048a1 
+ 00015497  0x00004bff setarg  0x00003e80 
+ 00015498  0x00004c00 store  0x00000002 , 0x000048a3 
+ 00015499  0x00004c01 setarg  0x000043df 
+ 00015500  0x00004c02 store  0x00000002 , 0x00004461 
+ 00015501  0x00004c03 setarg  0x00004497 
+ 00015502  0x00004c04 store  0x00000002 , 0x00004463 
+ 00015503  0x00004c05 setarg  0x00003e7b 
+ 00015504  0x00004c06 store  0x00000002 , 0x0000445f 
+ 00015505  0x00004c07 setarg  0x00004374 
+ 00015506  0x00004c08 store  0x00000002 , 0x00004467 
+ 00015507  0x00004c09 setarg  0x0000468b 
+ 00015508  0x00004c0a store  0x00000002 , 0x00004465 
+ 00015509  0x00004c0b setarg  0x00003e5e 
+ 00015510  0x00004c0c store  0x00000002 , 0x0000445d 
+ 00015511  0x00004c0d setarg  0x000043c8 
+ 00015512  0x00004c0e store  0x00000002 , 0x0000446b 
+ 00015513  0x00004c0f setarg  0x000044f5 
+ 00015514  0x00004c10 store  0x00000002 , 0x0000446f 
+ 00015515  0x00004c11 setarg  0x00003fa9 
+ 00015516  0x00004c12 store  0x00000002 , 0x00004473 
+ 00015517  0x00004c13 setarg  0x00003e4d 
+ 00015518  0x00004c14 store  0x00000002 , 0x0000445b 
+ 00015519  0x00004c15 setarg  0x000049f5 
+ 00015520  0x00004c16 store  0x00000002 , 0x0000446d 
+ 00015521  0x00004c17 setarg  0x000049f7 
+ 00015522  0x00004c18 store  0x00000002 , 0x00004477 
+ 00015523  0x00004c19 setarg  0x00004a0a 
+ 00015524  0x00004c1a store  0x00000002 , 0x00004471 
+ 00015525  0x00004c1b rtn 
+ 00015526  0x00004c1f rtn  0x0000002b 
+ 00015527  0x00004c20 call  0x0000260e 
+ 00015528  0x00004c21 call  0x000022b5 
+ 00015529  0x00004c22 call  0x00003f60 
+ 00015530  0x00004c23 call  0x00003dd6 
+ 00015531  0x00004c24 call  0x00001ac2 
+ 00015532  0x00004c25 call  0x00001aeb 
+ 00015533  0x00004c26 call  0x00001ade 
+ 00015534  0x00004c27 call  0x00001aca 
+ 00015535  0x00004c28 fetch  0x00000008 , 0x00004bbc 
+ 00015536  0x00004c29 bbit1  0x00000013 , 0x00004675 
+ 00015537  0x00004c2a bbit1  0x00000012 , 0x00004636 
+ 00015538  0x00004c2b rtn 
+ 00015539  0x00004c2e jam  0x00000008 , 0x000040c5 
+ 00015540  0x00004c2f fetch  0x00000008 , 0x00004bbc 
+ 00015541  0x00004c30 rtnbit1  0x0000000c 
+ 00015542  0x00004c31 jam  0x00000018 , 0x000040c5 
+ 00015543  0x00004c32 rtn 
+ 00015544  0x00004c35 jam  0x000000ff , 0x00000b58 
+ 00015545  0x00004c36 jam  0x000000ff , 0x00004793 
+ 00015546  0x00004c37 jam  0x0000001e , 0x00004792 
+ 00015547  0x00004c38 jam  0x00000005 , 0x000049c5 
+ 00015548  0x00004c3a setarg  0x00004932 
+ 00015549  0x00004c3b store  0x00000002 , 0x0000448f 
+ 00015550  0x00004c3c jam  0x00000001 , 0x0000448e 
+ 00015551  0x00004c3e setarg  0x00004ac6 
+ 00015552  0x00004c3f store  0x00000002 , 0x0000489d 
+ 00015553  0x00004c41 jam  0x00000001 , 0x00004839 
+ 00015554  0x00004c43 fetch  0x00000002 , 0x00004902 
+ 00015555  0x00004c44 store  0x00000002 , 0x00004794 
+ 00015556  0x00004c46 fetch  0x00000002 , 0x00004904 
+ 00015557  0x00004c47 store  0x00000002 , 0x00004885 
+ 00015558  0x00004c49 fetch  0x00000001 , 0x00004907 
+ 00015559  0x00004c4a store  0x00000002 , 0x00004889 
+ 00015560  0x00004c4c fetch  0x00000005 , 0x00004909 
+ 00015561  0x00004c4d store  0x00000005 , 0x000048cf 
+ 00015562  0x00004c4f fetch  0x00000001 , 0x00004908 
+ 00015563  0x00004c50 store  0x00000001 , 0x00004880 
+ 00015564  0x00004c53 fetch  0x00000008 , 0x00004bbc 
+ 00015565  0x00004c54 nrtn  0x00000034 
+ 00015566  0x00004c58 setarg  0x00020800 
+ 00015567  0x00004c59 store  0x00000003 , 0x00004bbc 
+ 00015568  0x00004c5a setarg  0x00800700 
+ 00015569  0x00004c5b istore  0x00000003 , 0x00000005 
+ 00015570  0x00004c5c setarg  0x00000300 
+ 00015571  0x00004c5d istore  0x00000002 , 0x00000005 
+ 00015572  0x00004c5f jam  0x00000001 , 0x00004099 
+ 00015573  0x00004c60 fetch  0x00000001 , 0x0000490e 
+ 00015574  0x00004c61 isolate1  0x00000000 , 0x0000003f 
+ 00015575  0x00004c62 call  0x00004724 , 0x00000001 
+ 00015576  0x00004c64 fetch  0x00000001 , 0x0000490e 
+ 00015577  0x00004c65 isolate1  0x00000002 , 0x0000003f 
+ 00015578  0x00004c66 call  0x00004726 , 0x00000001 
+ 00015579  0x00004c67 fetch  0x00000001 , 0x0000490e 
+ 00015580  0x00004c68 isolate1  0x00000001 , 0x0000003f 
+ 00015581  0x00004c69 call  0x00004728 , 0x00000001 
+ 00015582  0x00004c6a fetch  0x00000001 , 0x0000490e 
+ 00015583  0x00004c6b isolate1  0x00000003 , 0x0000003f 
+ 00015584  0x00004c6c call  0x0000472a , 0x00000001 
+ 00015585  0x00004c6d fetch  0x00000001 , 0x0000490e 
+ 00015586  0x00004c6e isolate1  0x00000004 , 0x0000003f 
+ 00015587  0x00004c6f call  0x0000472c , 0x00000001 
+ 00015588  0x00004c70 fetch  0x00000001 , 0x0000490e 
+ 00015589  0x00004c71 isolate1  0x00000005 , 0x0000003f 
+ 00015590  0x00004c72 call  0x00004736 , 0x00000001 
+ 00015591  0x00004c74 fetch  0x00000001 , 0x00004869 
+ 00015592  0x00004c75 ncall  0x000022c4 , 0x00000034 
+ 00015593  0x00004c77 call  0x00003cb3 
+ 00015594  0x00004c79 fetch  0x00000001 , 0x0000490f 
+ 00015595  0x00004c7a and  0x0000003f , 0x00000007 , 0x00000002 
+ 00015596  0x00004c7b storet  0x00000001 , 0x000044a3 
+ 00015597  0x00004c7c rshift3  0x0000003f , 0x0000003f 
+ 00015598  0x00004c7d and  0x0000003f , 0x00000001 , 0x00000002 
+ 00015599  0x00004c7e storet  0x00000001 , 0x00004869 
+ 00015600  0x00004c7f rshift  0x0000003f , 0x0000003f 
+ 00015601  0x00004c80 and  0x0000003f , 0x00000003 , 0x00000002 
+ 00015602  0x00004c81 storet  0x00000001 , 0x00004901 
+ 00015603  0x00004c82 rshift2  0x0000003f , 0x0000003f 
+ 00015604  0x00004c83 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00015605  0x00004c84 call  0x00004812 
+ 00015606  0x00004c86 fetch  0x00000001 , 0x00004910 
+ 00015607  0x00004c87 and  0x0000003f , 0x00000003 , 0x00000002 
+ 00015608  0x00004c88 storet  0x00000001 , 0x00004929 
+ 00015609  0x00004c89 rshift2  0x0000003f , 0x0000003f 
+ 00015610  0x00004c8a and  0x0000003f , 0x00000003 , 0x00000002 
+ 00015611  0x00004c8b storet  0x00000001 , 0x0000492a 
+ 00015612  0x00004c8c rshift2  0x0000003f , 0x0000003f 
+ 00015613  0x00004c8d and  0x0000003f , 0x00000001 , 0x00000002 
+ 00015614  0x00004c8e storet  0x00000001 , 0x0000492b 
+ 00015615  0x00004c8f storet  0x00000001 , 0x00004997 
+ 00015616  0x00004c90 rshift  0x0000003f , 0x0000003f 
+ 00015617  0x00004c91 and  0x0000003f , 0x00000001 , 0x00000002 
+ 00015618  0x00004c92 storet  0x00000001 , 0x0000487a 
+ 00015619  0x00004c93 rshift  0x0000003f , 0x0000003f 
+ 00015620  0x00004c94 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00015621  0x00004c95 store  0x00000001 , 0x00004bc5 
+ 00015622  0x00004c97 bpatch  0x000000c2 , 0x00004018 
+ 00015623  0x00004c98 setarg  0x000b0c0a 
+ 00015624  0x00004c99 store  0x00000003 , 0x0000491c 
+ 00015625  0x00004c9a setarg  0x00ffffff 
+ 00015626  0x00004c9b istore  0x00000003 , 0x00000005 
+ 00015627  0x00004c9c setarg  0x000607ff 
+ 00015628  0x00004c9d istore  0x00000003 , 0x00000005 
+ 00015629  0x00004c9e setarg  0x00ffffff 
+ 00015630  0x00004c9f istore  0x00000003 , 0x00000005 
+ 00015631  0x00004ca3 jam  0x0000000a , 0x000048fb 
+ 00015632  0x00004ca4 setarg  0x00000064 
+ 00015633  0x00004ca5 store  0x00000002 , 0x00004bd9 
+ 00015634  0x00004ca6 call  0x00003ebc 
+ 00015635  0x00004ca8 setarg  0x00001770 
+ 00015636  0x00004ca9 store  0x00000002 , 0x00004bcf 
+ 00015637  0x00004caa jam  0x00000014 , 0x00004bd1 
+ 00015638  0x00004cab setarg  0x00000190 
+ 00015639  0x00004cac store  0x00000002 , 0x00004bd7 
+ 00015640  0x00004cad store  0x00000002 , 0x00004bd3 
+ 00015641  0x00004cae setarg  0x000003e8 
+ 00015642  0x00004caf store  0x00000002 , 0x00004bd5 
+ 00015643  0x00004cb0 jam  0x00000007 , 0x00004881 
+ 00015644  0x00004cb1 jam  0x0000007d , 0x000048ce 
+ 00015645  0x00004cb2 jam  0x00000000 , 0x000041e8 
+ 00015646  0x00004cb4 jam  0x00000001 , 0x00004890 
+ 00015647  0x00004cb5 setarg  0x00000f0f 
+ 00015648  0x00004cb6 store  0x00000002 , 0x00004891 
+ 00015649  0x00004cb7 store  0x00000002 , 0x00004893 
+ 00015650  0x00004cba fetch  0x00000002 , 0x000040a8 
+ 00015651  0x00004cbb store  0x00000002 , 0x000040ac 
+ 00015652  0x00004cbd arg  0x0000437a , 0x00000005 
+ 00015653  0x00004cbe arg  0x000040a8 , 0x00000006 
+ 00015654  0x00004cbf arg  0x00000006 , 0x00000039 
+ 00015655  0x00004cc0 call  0x00007ed9 
+ 00015656  0x00004cc2 jam  0x00000020 , 0x00004b9b 
+ 00015657  0x00004cc3 jam  0x00000034 , 0x0000493e 
+ 00015658  0x00004cc4 fetch  0x00000006 , 0x0000437a 
+ 00015659  0x00004cc5 store  0x00000006 , 0x00004955 
+ 00015660  0x00004cc6 jam  0x00000002 , 0x00004bc4 
+ 00015661  0x00004cc8 jam  0x0000001f , 0x000043e7 
+ 00015662  0x00004cca setarg  0x00050102 
+ 00015663  0x00004ccb store  0x00000003 , 0x000043e8 
+ 00015664  0x00004ccc setarg  0x00120303 
+ 00015665  0x00004ccd istore  0x00000003 , 0x00000005 
+ 00015666  0x00004cce setarg  0x00190318 
+ 00015667  0x00004ccf istore  0x00000003 , 0x00000005 
+ 00015668  0x00004cd0 setarg  0x000003c2 
+ 00015669  0x00004cd1 istore  0x00000002 , 0x00000005 
+ 00015670  0x00004cd3 setarg  0x0006ff06 
+ 00015671  0x00004cd4 store  0x00000003 , 0x00004ae3 
+ 00015672  0x00004cd5 setarg  0x00000300 
+ 00015673  0x00004cd6 istore  0x00000003 , 0x00000005 
+ 00015674  0x00004cd7 setarg  0x00090c80 
+ 00015675  0x00004cd8 istore  0x00000003 , 0x00000005 
+ 00015676  0x00004cda setarg  0x00355442 
+ 00015677  0x00004cdb istore  0x00000003 , 0x00000005 
+ 00015678  0x00004cdc setarg  0x0020322e 
+ 00015679  0x00004cdd istore  0x00000003 , 0x00000005 
+ 00015680  0x00004cde setarg  0x00756f4d 
+ 00015681  0x00004cdf istore  0x00000003 , 0x00000005 
+ 00015682  0x00004ce0 setarg  0x00006573 
+ 00015683  0x00004ce1 istore  0x00000002 , 0x00000005 
+ 00015684  0x00004ce3 jam  0x0000001f , 0x00004407 
+ 00015685  0x00004ce4 arg  0x00004aea , 0x00000006 
+ 00015686  0x00004ce5 arg  0x00004408 , 0x00000005 
+ 00015687  0x00004ce6 arg  0x0000000d , 0x00000039 
+ 00015688  0x00004ce7 call  0x00007dd4 
+ 00015689  0x00004ce9 fetch  0x00000001 , 0x00004408 
+ 00015690  0x00004cea increase  0xffffffff , 0x0000003f 
+ 00015691  0x00004ceb store  0x00000001 , 0x000042f7 
+ 00015692  0x00004ced arg  0x0000440a , 0x00000006 
+ 00015693  0x00004cee arg  0x000042f8 , 0x00000005 
+ 00015694  0x00004cef arg  0x0000000b , 0x00000039 
+ 00015695  0x00004cf0 call  0x00007dd4 
+ 00015696  0x00004cf2 setarg  0x00070007 
+ 00015697  0x00004cf3 store  0x00000003 , 0x00004372 
+ 00015698  0x00004cf4 setarg  0x00002000 
+ 00015699  0x00004cf5 istore  0x00000003 , 0x00000005 
+ 00015700  0x00004cf6 setarg  0x0000012c 
+ 00015701  0x00004cf7 istore  0x00000002 , 0x00000005 
+ 00015702  0x00004cf9 setarg  0x00181203 
+ 00015703  0x00004cfa store  0x00000003 , 0x00004add 
+ 00015704  0x00004cfc setarg  0x000000ff 
+ 00015705  0x00004cfd store  0x00000003 , 0x00004ae0 
+ 00015706  0x00004cff setsect  0x00000000 , 0x000000fb 
+ 00015707  0x00004d00 setsect  0x00000001 , 0x0002c212 
+ 00015708  0x00004d01 setsect  0x00000002 , 0x0000800f 
+ 00015709  0x00004d02 setsect  0x00000003 , 0x00000021 
+ 00015710  0x00004d03 store  0x00000008 , 0x0000444c 
+ 00015711  0x00004d05 jam  0x00000007 , 0x00004432 
+ 00015712  0x00004d07 setarg  0x00000015 
+ 00015713  0x00004d08 store  0x00000002 , 0x00004af8 
+ 00015714  0x00004d09 setarg  0x00000019 
+ 00015715  0x00004d0a store  0x00000002 , 0x00004357 
+ 00015716  0x00004d0b setarg  0x0000001d 
+ 00015717  0x00004d0c store  0x00000002 , 0x00004afa 
+ 00015718  0x00004d0d setarg  0x00000021 
+ 00015719  0x00004d0e store  0x00000002 , 0x00004afc 
+ 00015720  0x00004d0f setarg  0x00000030 
+ 00015721  0x00004d10 store  0x00000002 , 0x00004afe 
+ 00015722  0x00004d11 setarg  0x00000022 
+ 00015723  0x00004d12 store  0x00000002 , 0x000043d1 
+ 00015724  0x00004d14 jam  0x00000096 , 0x00004b01 
+ 00015725  0x00004d17 jam  0x00000000 , 0x0000493d 
+ 00015726  0x00004d18 call  0x000022d8 
+ 00015727  0x00004d19 call  0x000022db 
+ 00015728  0x00004d1b setarg  0x00604800 
+ 00015729  0x00004d1c store  0x00000003 , 0x0000485f 
+ 00015730  0x00004d1d setarg  0x0000012c 
+ 00015731  0x00004d1e store  0x00000002 , 0x000048c6 
+ 00015732  0x00004d1f setarg  0x00000050 
+ 00015733  0x00004d20 store  0x00000002 , 0x000048c4 
+ 00015734  0x00004d21 setarg  0x00000005 
+ 00015735  0x00004d22 store  0x00000002 , 0x00004bcb 
+ 00015736  0x00004d23 setarg  0x00000708 
+ 00015737  0x00004d24 store  0x00000002 , 0x00004bcd 
+ 00015738  0x00004d28 setarg  0x00010403 
+ 00015739  0x00004d29 store  0x00000003 , 0x000049d5 
+ 00015740  0x00004d2a setarg  0x002a2002 
+ 00015741  0x00004d2b istore  0x00000003 , 0x00000005 
+ 00015742  0x00004d2c setarg  0x0022153f 
+ 00015743  0x00004d2d istore  0x00000003 , 0x00000005 
+ 00015744  0x00004d2e setarg  0x00114433 
+ 00015745  0x00004d2f istore  0x00000003 , 0x00000005 
+ 00015746  0x00004d31 setarg  0x00265a09 
+ 00015747  0x00004d32 store  0x00000003 , 0x000049e4 
+ 00015748  0x00004d33 setarg  0x00041934 
+ 00015749  0x00004d34 istore  0x00000003 , 0x00000005 
+ 00015750  0x00004d35 setarg  0x00000009 
+ 00015751  0x00004d36 istore  0x00000002 , 0x00000005 
+ 00015752  0x00004d37 setarg  0x0000ffff 
+ 00015753  0x00004d38 istore  0x00000002 , 0x00000005 
+ 00015754  0x00004d3a setarg  0x000d5a09 
+ 00015755  0x00004d3b store  0x00000003 , 0x000049f8 
+ 00015756  0x00004d3c setarg  0x00ed1d10 
+ 00015757  0x00004d3d istore  0x00000003 , 0x00000005 
+ 00015758  0x00004d3e setarg  0x0000807d 
+ 00015759  0x00004d3f istore  0x00000002 , 0x00000005 
+ 00015760  0x00004d40 setarg  0x0000ffff 
+ 00015761  0x00004d41 istore  0x00000002 , 0x00000005 
+ 00015762  0x00004d43 setarg  0x00ff5a09 
+ 00015763  0x00004d44 store  0x00000003 , 0x00004a3e 
+ 00015764  0x00004d45 setarg  0x0040ab27 
+ 00015765  0x00004d46 istore  0x00000003 , 0x00000005 
+ 00015766  0x00004d47 setarg  0x009b56b3 
+ 00015767  0x00004d48 istore  0x00000003 , 0x00000005 
+ 00015768  0x00004d49 setarg  0x0012a8e6 
+ 00015769  0x00004d4a istore  0x00000003 , 0x00000005 
+ 00015770  0x00004d4b setarg  0x00bec0a9 
+ 00015771  0x00004d4c istore  0x00000003 , 0x00000005 
+ 00015772  0x00004d4d setarg  0x00afa5e6 
+ 00015773  0x00004d4e istore  0x00000003 , 0x00000005 
+ 00015774  0x00004d4f setarg  0x00a121a0 
+ 00015775  0x00004d50 istore  0x00000003 , 0x00000005 
+ 00015776  0x00004d51 setarg  0x0010b802 
+ 00015777  0x00004d52 istore  0x00000003 , 0x00000005 
+ 00015778  0x00004d53 setarg  0x00a70bb9 
+ 00015779  0x00004d54 istore  0x00000003 , 0x00000005 
+ 00015780  0x00004d55 setarg  0x00d0b5ff 
+ 00015781  0x00004d56 istore  0x00000003 , 0x00000005 
+ 00015782  0x00004d57 setarg  0x00ff00b6 
+ 00015783  0x00004d58 istore  0x00000003 , 0x00000005 
+ 00015784  0x00004d59 setarg  0x00000900 
+ 00015785  0x00004d5a istore  0x00000003 , 0x00000005 
+ 00015786  0x00004d5b setarg  0x0000ffff 
+ 00015787  0x00004d5c istore  0x00000002 , 0x00000005 
+ 00015788  0x00004d5e setarg  0x000d5a09 
+ 00015789  0x00004d5f store  0x00000003 , 0x00004a64 
+ 00015790  0x00004d60 setarg  0x00c50e10 
+ 00015791  0x00004d61 istore  0x00000003 , 0x00000005 
+ 00015792  0x00004d62 setarg  0x00109a5b 
+ 00015793  0x00004d63 istore  0x00000003 , 0x00000005 
+ 00015794  0x00004d64 setarg  0x00421138 
+ 00015795  0x00004d65 istore  0x00000003 , 0x00000005 
+ 00015796  0x00004d66 setarg  0x00412828 
+ 00015797  0x00004d67 istore  0x00000003 , 0x00000005 
+ 00015798  0x00004d68 setarg  0x00394923 
+ 00015799  0x00004d69 istore  0x00000003 , 0x00000005 
+ 00015800  0x00004d6a setarg  0x004bb04a 
+ 00015801  0x00004d6b istore  0x00000003 , 0x00000005 
+ 00015802  0x00004d6c setarg  0x00904ca0 
+ 00015803  0x00004d6d istore  0x00000003 , 0x00000005 
+ 00015804  0x00004d6e setarg  0x0009704d 
+ 00015805  0x00004d6f istore  0x00000003 , 0x00000005 
+ 00015806  0x00004d70 setarg  0x00ffff00 
+ 00015807  0x00004d71 istore  0x00000003 , 0x00000005 
+ 00015808  0x00004d73 setarg  0x0046a509 
+ 00015809  0x00004d74 store  0x00000003 , 0x00004a92 
+ 00015810  0x00004d75 setarg  0x00101934 
+ 00015811  0x00004d76 istore  0x00000003 , 0x00000005 
+ 00015812  0x00004d77 setarg  0x00690760 
+ 00015813  0x00004d78 istore  0x00000003 , 0x00000005 
+ 00015814  0x00004d79 setarg  0x00207d04 
+ 00015815  0x00004d7a istore  0x00000003 , 0x00000005 
+ 00015816  0x00004d7b setarg  0x0009007e 
+ 00015817  0x00004d7c istore  0x00000003 , 0x00000005 
+ 00015818  0x00004d7d setarg  0x00220d00 
+ 00015819  0x00004d7e istore  0x00000003 , 0x00000005 
+ 00015820  0x00004d7f setarg  0x00ff220e 
+ 00015821  0x00004d80 istore  0x00000003 , 0x00000005 
+ 00015822  0x00004d81 jam  0x000000ff , 0x00004aa7 
+ 00015823  0x00004d83 setarg  0x000b5a09 
+ 00015824  0x00004d84 store  0x00000003 , 0x00004ab4 
+ 00015825  0x00004d85 setarg  0x000009f3 
+ 00015826  0x00004d86 istore  0x00000003 , 0x00000005 
+ 00015827  0x00004d87 setarg  0x0000ffff 
+ 00015828  0x00004d88 istore  0x00000002 , 0x00000005 
+ 00015829  0x00004d8b branch  0x00003174 
+ 00015830  0x00004d8f setarg  0x00009468 
+ 00015831  0x00004d90 store  0x00000002 , 0x00004663 
+ 00015832  0x00004d91 setarg  0x00009732 
+ 00015833  0x00004d92 store  0x00000002 , 0x00004396 
+ 00015834  0x00004d93 setarg  0x00002580 
+ 00015835  0x00004d94 store  0x00000003 , 0x000040b2 
+ 00015836  0x00004d95 jam  0x00000003 , 0x00004178 
+ 00015837  0x00004d96 jam  0x00000008 , 0x0000415b 
+ 00015838  0x00004d97 jam  0x00000000 , 0x00004baf 
+ 00015839  0x00004d98 jam  0x00000000 , 0x00004baf 
+ 00015840  0x00004d99 jam  0x00000000 , 0x00004bb0 
+ 00015841  0x00004d9a setarg  0x00000200 
+ 00015842  0x00004d9b store  0x00000002 , 0x00004159 
+ 00015843  0x00004d9c jam  0x00000017 , 0x00004380 
+ 00015844  0x00004d9d jam  0x00000017 , 0x00004382 
+ 00015845  0x00004d9f setarg  0x00000a77 
+ 00015846  0x00004da0 store  0x00000002 , 0x00004486 
+ 00015847  0x00004da2 setsect  0x00000000 , 0x00000306 
+ 00015848  0x00004da3 setsect  0x00000001 , 0x00004440 
+ 00015849  0x00004da4 setsect  0x00000002 , 0x00010000 
+ 00015850  0x00004da5 setsect  0x00000003 , 0x00004408 
+ 00015851  0x00004da6 store  0x00000009 , 0x00004665 
+ 00015852  0x00004da7 setsect  0x00000000 , 0x00001224 
+ 00015853  0x00004da8 setsect  0x00000001 , 0x00004000 
+ 00015854  0x00004da9 setsect  0x00000002 , 0x00000000 
+ 00015855  0x00004daa istore  0x00000005 , 0x00000005 
+ 00015856  0x00004dac setsect  0x00000000 , 0x0003ffff 
+ 00015857  0x00004dad setsect  0x00000001 , 0x0002fe23 
+ 00015858  0x00004dae setsect  0x00000002 , 0x000199d9 
+ 00015859  0x00004daf setsect  0x00000003 , 0x0000020d 
+ 00015860  0x00004db0 store  0x00000008 , 0x000040a0 
+ 00015861  0x00004db2 setarg  0x00004b06 
+ 00015862  0x00004db3 store  0x00000002 , 0x000043de 
+ 00015863  0x00004db4 setarg  0x00000010 
+ 00015864  0x00004db5 store  0x00000002 , 0x000043e0 
+ 00015865  0x00004db7 call  0x0000495b 
+ 00015866  0x00004db8 call  0x00004913 
+ 00015867  0x00004db9 call  0x00003ecf 
+ 00015868  0x00004dbb fetch  0x00000008 , 0x00004bbc 
+ 00015869  0x00004dbc bbit0  0x0000001b , 0x00003e02 
+ 00015870  0x00004dbd jam  0x0000000c , 0x00004455 
+ 00015871  0x00004dbe setarg  0x00000006 
+ 00015872  0x00004dbf store  0x00000002 , 0x00004372 
+ 00015873  0x00004dc0 store  0x00000002 , 0x00004374 
+ 00015874  0x00004dc2 call  0x0000261a 
+ 00015875  0x00004dc3 fetch  0x00000008 , 0x00004bbc 
+ 00015876  0x00004dc4 bbit0  0x00000018 , 0x00003e06 
+ 00015877  0x00004dc5 call  0x00002612 
+ 00015878  0x00004dc7 fetch  0x00000001 , 0x0000493d 
+ 00015879  0x00004dc8 store  0x00000001 , 0x00004ac5 
+ 00015880  0x00004dc9 fetch  0x00000003 , 0x0000437d 
+ 00015881  0x00004dca store  0x00000003 , 0x00004ada 
+ 00015882  0x00004dcb fetch  0x00000001 , 0x00004901 
+ 00015883  0x00004dcc and  0x0000003f , 0x000000fe , 0x0000003f 
+ 00015884  0x00004dcd store  0x00000001 , 0x00004901 
+ 00015885  0x00004dce store  0x00000001 , 0x000044a2 
+ 00015886  0x00004dcf setarg  0x00000000 
+ 00015887  0x00004dd0 store  0x00000007 , 0x000048d4 
+ 00015888  0x00004dd1 fetch  0x00000001 , 0x00004792 
+ 00015889  0x00004dd2 store  0x00000001 , 0x00004bac 
+ 00015890  0x00004dd3 store  0x00000001 , 0x00004bad 
+ 00015891  0x00004dd4 call  0x00001a55 
+ 00015892  0x00004dd5 branch  0x000042e0 
+ 00015893  0x00004dd9 bpatch  0x000000c3 , 0x00004018 
+ 00015894  0x00004dda fetch  0x00000008 , 0x00004bbc 
+ 00015895  0x00004ddb bbit1  0x0000002f , 0x00004849 
+ 00015896  0x00004ddc fetch  0x00000001 , 0x0000493d 
+ 00015897  0x00004ddd beq  0x00000000 , 0x00004835 
+ 00015898  0x00004dde call  0x00003e28 
+ 00015899  0x00004ddf nbranch  0x0000432b , 0x00000028 
+ 00015900  0x00004de1 bpatch  0x000000c4 , 0x00004018 
+ 00015901  0x00004de2 arg  0x0000493e , 0x00000011 
+ 00015902  0x00004de3 fetch  0x00000001 , 0x0000493d 
+ 00015903  0x00004de4 increase  0xffffffff , 0x0000003f 
+ 00015904  0x00004de5 mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00015905  0x00004de6 iadd  0x00000011 , 0x00000011 
+ 00015906  0x00004de7 ifetch  0x00000001 , 0x00000011 
+ 00015907  0x00004de8 store  0x00000001 , 0x00004484 
+ 00015908  0x00004dea fetch  0x00000001 , 0x00004484 
+ 00015909  0x00004deb beq  0x00000033 , 0x00003e32 
+ 00015910  0x00004dec beq  0x00000034 , 0x00003e3e 
+ 00015911  0x00004ded branch  0x00004593 
+ 00015912  0x00004df1 bpatch  0x000000c5 , 0x00004018 
+ 00015913  0x00004df2 disable  0x00000028 
+ 00015914  0x00004df3 fetch  0x00000008 , 0x00004bbc 
+ 00015915  0x00004df4 bbit0  0x0000000b , 0x00003e2f 
+ 00015916  0x00004df5 fetch  0x00000001 , 0x00000989 
+ 00015917  0x00004df6 bbit0  0x00000002 , 0x00003e2f 
+ 00015918  0x00004df7 enable  0x00000028 
+ 00015919  0x00004df9 fetch  0x00000001 , 0x00004ac2 
+ 00015920  0x00004dfa store  0x00000001 , 0x00004ac1 
+ 00015921  0x00004dfb rtn 
+ 00015922  0x00004dff fetcht  0x00000002 , 0x00004bc9 
+ 00015923  0x00004e00 fetch  0x00000001 , 0x00004ad2 
+ 00015924  0x00004e01 beq  0x000000ff , 0x00003e36 
+ 00015925  0x00004e02 fetcht  0x00000002 , 0x00004bc6 
+ 00015926  0x00004e04 storet  0x00000002 , 0x000040c1 
+ 00015927  0x00004e05 fetch  0x00000006 , 0x000041dd 
+ 00015928  0x00004e06 branch  0x0000326a , 0x00000034 
+ 00015929  0x00004e07 jam  0x00000017 , 0x0000447f 
+ 00015930  0x00004e08 fetch  0x00000001 , 0x00004767 
+ 00015931  0x00004e09 nbranch  0x00003260 , 0x00000034 
+ 00015932  0x00004e0a jam  0x00000004 , 0x0000447f 
+ 00015933  0x00004e0b branch  0x00003260 
+ 00015934  0x00004e0e jam  0x00000001 , 0x00004ad8 
+ 00015935  0x00004e0f fetcht  0x00000001 , 0x00004bc8 
+ 00015936  0x00004e10 fetch  0x00000001 , 0x00004ad2 
+ 00015937  0x00004e11 beq  0x000000ff , 0x00003e43 
+ 00015938  0x00004e12 fetcht  0x00000001 , 0x00004906 
+ 00015939  0x00004e14 storet  0x00000001 , 0x00004b88 
+ 00015940  0x00004e15 call  0x00003297 
+ 00015941  0x00004e16 fetch  0x00000003 , 0x00004ae0 
+ 00015942  0x00004e17 store  0x00000003 , 0x000043ec 
+ 00015943  0x00004e18 call  0x00004428 
+ 00015944  0x00004e19 setarg  0x00000004 
+ 00015945  0x00004e1a istore  0x00000001 , 0x00000006 
+ 00015946  0x00004e1b arg  0x00004408 , 0x00000006 
+ 00015947  0x00004e1c call  0x0000442f 
+ 00015948  0x00004e1d branch  0x00007959 
+ 00015949  0x00004e22 bmark1  0x00000026 , 0x0000324f 
+ 00015950  0x00004e23 fetch  0x00000001 , 0x00004abd 
+ 00015951  0x00004e24 branch  0x0000324f , 0x00000034 
+ 00015952  0x00004e25 fetch  0x00000001 , 0x00004b05 
+ 00015953  0x00004e26 beq  0x00000001 , 0x0000324f 
+ 00015954  0x00004e27 fetch  0x00000002 , 0x000044db 
+ 00015955  0x00004e28 nbranch  0x0000324f , 0x00000034 
+ 00015956  0x00004e29 fetch  0x00000001 , 0x000048e5 
+ 00015957  0x00004e2a nbranch  0x0000324f , 0x00000034 
+ 00015958  0x00004e2b branch  0x00003251 
+ 00015959  0x00004e2e fetch  0x00000001 , 0x00004906 
+ 00015960  0x00004e2f store  0x00000001 , 0x00004ad5 
+ 00015961  0x00004e30 rtn 
+ 00015962  0x00004e34 bpatch  0x000000c6 , 0x00004018 
+ 00015963  0x00004e35 call  0x00004272 
+ 00015964  0x00004e36 call  0x0000427c 
+ 00015965  0x00004e37 branch  0x00003289 
+ 00015966  0x00004e3b bpatch  0x000000c7 , 0x00004018 
+ 00015967  0x00004e3c fetch  0x00000004 , 0x00008138 
+ 00015968  0x00004e3d set1  0x0000001a , 0x0000003f 
+ 00015969  0x00004e3e store  0x00000004 , 0x0000804c 
+ 00015970  0x00004e3f call  0x0000154c 
+ 00015971  0x00004e40 call  0x00006e62 
+ 00015972  0x00004e41 call  0x0000495b 
+ 00015973  0x00004e42 call  0x00004055 
+ 00015974  0x00004e43 call  0x00003e6a 
+ 00015975  0x00004e44 call  0x0000466d 
+ 00015976  0x00004e45 fetcht  0x00000001 , 0x00004915 
+ 00015977  0x00004e46 branch  0x000060e6 
+ 00015978  0x00004e4a bpatch  0x000000c8 , 0x00004019 
+ 00015979  0x00004e4b call  0x00004329 
+ 00015980  0x00004e4c call  0x00007f52 
+ 00015981  0x00004e4d call  0x00003e80 
+ 00015982  0x00004e4e call  0x00003e72 
+ 00015983  0x00004e4f fetcht  0x00000001 , 0x0000491b 
+ 00015984  0x00004e50 call  0x00003f96 
+ 00015985  0x00004e51 branch  0x00003f98 
+ 00015986  0x00004e55 arg  0x00008070 , 0x00000006 
+ 00015987  0x00004e56 arg  0x00000013 , 0x00000039 
+ 00015988  0x00004e58 ifetch  0x00000001 , 0x00000006 
+ 00015989  0x00004e59 nbranch  0x00003e79 , 0x00000034 
+ 00015990  0x00004e5a setarg  0x00000040 
+ 00015991  0x00004e5b add  0x00000006 , 0xffffffff , 0x00000005 
+ 00015992  0x00004e5c istore  0x00000001 , 0x00000005 
+ 00015993  0x00004e5e loop  0x00003e74 
+ 00015994  0x00004e5f rtn 
+ 00015995  0x00004e62 rtnmark1  0x00000026 
+ 00015996  0x00004e63 call  0x00003e80 
+ 00015997  0x00004e64 fetch  0x00000001 , 0x0000009d 
+ 00015998  0x00004e65 nrtn  0x00000034 
+ 00015999  0x00004e66 branch  0x000060e6 
+ 00016000  0x00004e69 bpatch  0x000000c9 , 0x00004019 
+ 00016001  0x00004e6b call  0x00003fc8 
+ 00016002  0x00004e6c fetch  0x00000001 , 0x00004923 
+ 00016003  0x00004e6d arg  0x0000003f , 0x00000002 
+ 00016004  0x00004e6e call  0x0000612c 
+ 00016005  0x00004e6f call  0x00005b62 
+ 00016006  0x00004e71 fetcht  0x00000001 , 0x0000491c 
+ 00016007  0x00004e72 call  0x000060da 
+ 00016008  0x00004e73 fetcht  0x00000001 , 0x0000491d 
+ 00016009  0x00004e74 call  0x000060da 
+ 00016010  0x00004e75 fetcht  0x00000001 , 0x0000491e 
+ 00016011  0x00004e76 call  0x000060da 
+ 00016012  0x00004e78 fetcht  0x00000001 , 0x00004911 
+ 00016013  0x00004e79 call  0x000060da 
+ 00016014  0x00004e7a fetcht  0x00000001 , 0x00004912 
+ 00016015  0x00004e7b call  0x000060da 
+ 00016016  0x00004e7c fetcht  0x00000001 , 0x00004913 
+ 00016017  0x00004e7d call  0x000060da 
+ 00016018  0x00004e7e fetcht  0x00000001 , 0x0000491f 
+ 00016019  0x00004e7f call  0x000060da 
+ 00016020  0x00004e81 fetcht  0x00000001 , 0x00004916 
+ 00016021  0x00004e82 call  0x000060da 
+ 00016022  0x00004e84 fetcht  0x00000001 , 0x00004917 
+ 00016023  0x00004e85 call  0x000060d6 
+ 00016024  0x00004e86 fetcht  0x00000001 , 0x00004918 
+ 00016025  0x00004e87 call  0x000060d6 
+ 00016026  0x00004e88 fetcht  0x00000001 , 0x00004920 
+ 00016027  0x00004e89 call  0x000060d6 
+ 00016028  0x00004e8a fetcht  0x00000001 , 0x00004921 
+ 00016029  0x00004e8b call  0x000060d6 
+ 00016030  0x00004e8c fetcht  0x00000001 , 0x00004915 
+ 00016031  0x00004e8d branch  0x000060da 
+ 00016032  0x00004e92 fetch  0x00000002 , 0x0000478f 
+ 00016033  0x00004e93 bbit1  0x00000009 , 0x00003ea5 
+ 00016034  0x00004e94 fetch  0x00000002 , 0x0000478f 
+ 00016035  0x00004e95 bbit1  0x00000000 , 0x00003ea8 
+ 00016036  0x00004e96 rtn 
+ 00016037  0x00004e98 copy  0x00000011 , 0x0000003f 
+ 00016038  0x00004e99 nbranch  0x00001ad2 , 0x00000034 
+ 00016039  0x00004e9a branch  0x00001ad4 
+ 00016040  0x00004e9c copy  0x00000011 , 0x0000003f 
+ 00016041  0x00004e9d nbranch  0x0000150e , 0x00000034 
+ 00016042  0x00004e9e branch  0x00001510 
+ 00016043  0x00004ea5 fetch  0x00000001 , 0x000044a2 
+ 00016044  0x00004ea6 rtnne  0x00000002 
+ 00016045  0x00004ea8 bpatch  0x000000ca , 0x00004019 
+ 00016046  0x00004ea9 fetcht  0x00000001 , 0x000044a3 
+ 00016047  0x00004eaa sub  0x00000002 , 0x00000003 , 0x0000003e 
+ 00016048  0x00004eab branch  0x00003eb9 , 0x00000002 
+ 00016049  0x00004eac increase  0x00000005 , 0x00000002 
+ 00016050  0x00004ead storet  0x00000001 , 0x00004900 
+ 00016051  0x00004eaf copy  0x00000002 , 0x00000011 
+ 00016052  0x00004eb0 call  0x00006131 
+ 00016053  0x00004eb1 beq  0x0000003f , 0x000049a1 
+ 00016054  0x00004eb2 call  0x0000499f 
+ 00016055  0x00004eb3 copy  0x00000011 , 0x00000002 
+ 00016056  0x00004eb4 branch  0x00006121 
+ 00016057  0x00004eb7 increase  0x00000004 , 0x00000002 
+ 00016058  0x00004eb8 storet  0x00000001 , 0x00004900 
+ 00016059  0x00004eb9 branch  0x00003eb3 
+ 00016060  0x00004ebc fetch  0x00000001 , 0x00004901 
+ 00016061  0x00004ebd beq  0x00000002 , 0x00003ec5 
+ 00016062  0x00004ebe beq  0x00000000 , 0x00003eca 
+ 00016063  0x00004ebf jam  0x00000000 , 0x00004901 
+ 00016064  0x00004ec0 setarg  0x002c0172 
+ 00016065  0x00004ec1 store  0x00000003 , 0x000048e7 
+ 00016066  0x00004ec2 setarg  0x00014001 
+ 00016067  0x00004ec3 istore  0x00000003 , 0x00000005 
+ 00016068  0x00004ec4 rtn 
+ 00016069  0x00004ec6 setarg  0x005d0099 
+ 00016070  0x00004ec7 store  0x00000003 , 0x000048e7 
+ 00016071  0x00004ec8 setarg  0x00007100 
+ 00016072  0x00004ec9 istore  0x00000003 , 0x00000005 
+ 00016073  0x00004eca rtn 
+ 00016074  0x00004ecc setarg  0x00c8012c 
+ 00016075  0x00004ecd store  0x00000003 , 0x000048e7 
+ 00016076  0x00004ece setarg  0x0000dc00 
+ 00016077  0x00004ecf istore  0x00000003 , 0x00000005 
+ 00016078  0x00004ed0 rtn 
+ 00016079  0x00004ed5 fetch  0x00000008 , 0x00004bbc 
+ 00016080  0x00004ed6 rtnbit0  0x00000014 
+ 00016081  0x00004ed7 jam  0x00000001 , 0x000048f9 
+ 00016082  0x00004ed8 rtnbit1  0x0000002e 
+ 00016083  0x00004ed9 rtnbit1  0x0000002b 
+ 00016084  0x00004eda jam  0x00000000 , 0x000048f9 
+ 00016085  0x00004edb rtn 
+ 00016086  0x00004ede fetch  0x00000001 , 0x000048fa 
+ 00016087  0x00004edf increase  0x00000001 , 0x0000003f 
+ 00016088  0x00004ee0 store  0x00000001 , 0x000048fa 
+ 00016089  0x00004ee1 fetcht  0x00000001 , 0x000048fb 
+ 00016090  0x00004ee2 isub  0x00000002 , 0x0000003e 
+ 00016091  0x00004ee3 rtn 
+ 00016092  0x00004ee7 fetch  0x00000008 , 0x00004bbc 
+ 00016093  0x00004ee8 rtnbit0  0x00000014 
+ 00016094  0x00004ee9 call  0x00003eab 
+ 00016095  0x00004eea fetch  0x00000001 , 0x000048f9 
+ 00016096  0x00004eeb branch  0x00003ef3 , 0x00000034 
+ 00016097  0x00004eec fetch  0x00000001 , 0x000044a2 
+ 00016098  0x00004eed beq  0x00000002 , 0x00003ee8 
+ 00016099  0x00004eee jam  0x00000003 , 0x000048f9 
+ 00016100  0x00004eef call  0x00003ed6 
+ 00016101  0x00004ef0 branch  0x00003eea , 0x00000002 
+ 00016102  0x00004ef1 call  0x00003eef 
+ 00016103  0x00004ef2 branch  0x00003ef9 
+ 00016104  0x00004ef5 jam  0x00000002 , 0x000048f9 
+ 00016105  0x00004ef6 branch  0x00003ef9 
+ 00016106  0x00004ef9 call  0x00003ead 
+ 00016107  0x00004efa jam  0x00000002 , 0x000044a2 
+ 00016108  0x00004efb fetch  0x00000001 , 0x00004bbb 
+ 00016109  0x00004efc ncall  0x00003eef , 0x00000034 
+ 00016110  0x00004efd branch  0x00003ef9 
+ 00016111  0x00004f00 jam  0x00000000 , 0x000048fa 
+ 00016112  0x00004f01 fetch  0x00000001 , 0x00004901 
+ 00016113  0x00004f02 store  0x00000001 , 0x000044a2 
+ 00016114  0x00004f03 rtn 
+ 00016115  0x00004f06 fetch  0x00000001 , 0x000044a2 
+ 00016116  0x00004f07 bne  0x00000002 , 0x00003ef7 
+ 00016117  0x00004f08 fetch  0x00000001 , 0x00004bbb 
+ 00016118  0x00004f09 nrtn  0x00000034 
+ 00016119  0x00004f0b call  0x00003ed6 
+ 00016120  0x00004f0c nrtn  0x00000002 
+ 00016121  0x00004f0e bpatch  0x000000cb , 0x00004019 
+ 00016122  0x00004f0f fetch  0x00000001 , 0x00004bbb 
+ 00016123  0x00004f10 nrtn  0x00000034 
+ 00016124  0x00004f11 jam  0x00000000 , 0x000048fa 
+ 00016125  0x00004f12 call  0x00006166 
+ 00016126  0x00004f13 call  0x0000618d 
+ 00016127  0x00004f14 store  0x00000002 , 0x000048ed 
+ 00016128  0x00004f15 fetch  0x00000001 , 0x000044a2 
+ 00016129  0x00004f16 bne  0x00000002 , 0x00003f08 
+ 00016130  0x00004f17 fetcht  0x00000002 , 0x000048ed 
+ 00016131  0x00004f18 mul32  0x00000002 , 0x00000008 , 0x0000003f 
+ 00016132  0x00004f19 div  0x0000003f , 0x0000000a 
+ 00016133  0x00004f1a call  0x00007e61 
+ 00016134  0x00004f1b iadd  0x00000002 , 0x0000003f 
+ 00016135  0x00004f1c store  0x00000002 , 0x000048ed 
+ 00016136  0x00004f1e arg  0x000048e7 , 0x00000011 
+ 00016137  0x00004f1f call  0x00003f1a 
+ 00016138  0x00004f20 fetch  0x00000001 , 0x000044a6 
+ 00016139  0x00004f21 bbit1  0x00000002 , 0x00003f5c 
+ 00016140  0x00004f22 bbit1  0x00000001 , 0x00003f5e 
+ 00016141  0x00004f23 bbit0  0x00000000 , 0x00003f12 
+ 00016142  0x00004f24 jam  0x00000001 , 0x000048fe 
+ 00016143  0x00004f25 branch  0x00003f10 
+ 00016144  0x00004f28 arg  0x00000004 , 0x00000007 
+ 00016145  0x00004f29 branch  0x0000472e 
+ 00016146  0x00004f2b arg  0x00000004 , 0x00000007 
+ 00016147  0x00004f2c call  0x00004732 
+ 00016148  0x00004f2d jam  0x0000000c , 0x000048fc 
+ 00016149  0x00004f2e fetch  0x00000001 , 0x000048fe 
+ 00016150  0x00004f2f rtn  0x00000034 
+ 00016151  0x00004f30 jam  0x00000000 , 0x000048fe 
+ 00016152  0x00004f31 fetcht  0x00000001 , 0x00004925 
+ 00016153  0x00004f32 branch  0x00004978 
+ 00016154  0x00004f37 bpatch  0x000000cc , 0x00004019 
+ 00016155  0x00004f38 ifetch  0x00000008 , 0x00000011 
+ 00016156  0x00004f39 store  0x00000008 , 0x0000095c 
+ 00016157  0x00004f3a fetch  0x00000001 , 0x000048f9 
+ 00016158  0x00004f3b beq  0x00000000 , 0x00003f32 
+ 00016159  0x00004f3c beq  0x00000002 , 0x00003f21 
+ 00016160  0x00004f3d beq  0x00000003 , 0x00003f51 
+ 00016161  0x00004f3f fetch  0x00000008 , 0x00004bbc 
+ 00016162  0x00004f40 bbit0  0x0000002e , 0x00003f27 
+ 00016163  0x00004f41 fetch  0x00000002 , 0x00000962 
+ 00016164  0x00004f42 fetcht  0x00000002 , 0x000048ef 
+ 00016165  0x00004f43 isub  0x00000002 , 0x0000003e 
+ 00016166  0x00004f44 nbranch  0x00003f54 , 0x00000002 
+ 00016167  0x00004f47 fetch  0x00000008 , 0x00004bbc 
+ 00016168  0x00004f48 bbit0  0x0000002b , 0x00003f32 
+ 00016169  0x00004f49 jam  0x00000000 , 0x000048ff 
+ 00016170  0x00004f4a fetch  0x00000002 , 0x00000962 
+ 00016171  0x00004f4b fetcht  0x00000002 , 0x000048f1 
+ 00016172  0x00004f4c isub  0x00000002 , 0x0000003e 
+ 00016173  0x00004f4d nbranch  0x00003f30 , 0x00000002 
+ 00016174  0x00004f4e call  0x000046e7 
+ 00016175  0x00004f4f branch  0x00003f32 
+ 00016176  0x00004f52 call  0x000046eb 
+ 00016177  0x00004f53 branch  0x00003f32 
+ 00016178  0x00004f57 call  0x00003f58 
+ 00016179  0x00004f58 call  0x000061d6 
+ 00016180  0x00004f59 call  0x000061ce 
+ 00016181  0x00004f5a fetch  0x00000002 , 0x00000962 
+ 00016182  0x00004f5b fetcht  0x00000002 , 0x0000095e 
+ 00016183  0x00004f5c isub  0x00000002 , 0x0000003e 
+ 00016184  0x00004f5d ncall  0x000061d2 , 0x00000002 
+ 00016185  0x00004f5f fetcht  0x00000002 , 0x00000960 
+ 00016186  0x00004f60 isub  0x00000002 , 0x0000003e 
+ 00016187  0x00004f61 ncall  0x000061ca , 0x00000002 
+ 00016188  0x00004f64 fetch  0x00000002 , 0x00000962 
+ 00016189  0x00004f65 fetcht  0x00000002 , 0x0000095c 
+ 00016190  0x00004f66 isub  0x00000002 , 0x0000003e 
+ 00016191  0x00004f67 branch  0x00003f4d , 0x00000002 
+ 00016192  0x00004f68 fetcht  0x00000002 , 0x0000095e 
+ 00016193  0x00004f69 isub  0x00000002 , 0x0000003f 
+ 00016194  0x00004f6a nbranch  0x00003f4f , 0x00000002 
+ 00016195  0x00004f6b branch  0x00003f4f , 0x00000034 
+ 00016196  0x00004f6c mul32  0x0000003f , 0x00000064 , 0x00000011 
+ 00016197  0x00004f6d fetch  0x00000002 , 0x0000095c 
+ 00016198  0x00004f6e fetcht  0x00000002 , 0x0000095e 
+ 00016199  0x00004f6f isub  0x00000002 , 0x00000002 
+ 00016200  0x00004f70 copy  0x00000011 , 0x0000003f 
+ 00016201  0x00004f71 idiv  0x00000002 
+ 00016202  0x00004f72 call  0x00007e61 
+ 00016203  0x00004f73 store  0x00000001 , 0x00004b00 
+ 00016204  0x00004f74 rtn 
+ 00016205  0x00004f77 jam  0x00000064 , 0x00004b00 
+ 00016206  0x00004f78 rtn 
+ 00016207  0x00004f7a jam  0x00000000 , 0x00004b00 
+ 00016208  0x00004f7b rtn 
+ 00016209  0x00004f7f fetch  0x00000001 , 0x000044a2 
+ 00016210  0x00004f80 beq  0x00000002 , 0x00003f21 
+ 00016211  0x00004f81 branch  0x00003f32 
+ 00016212  0x00004f85 fetcht  0x00000001 , 0x000044a6 
+ 00016213  0x00004f86 set1  0x00000002 , 0x00000002 
+ 00016214  0x00004f87 storet  0x00000001 , 0x000044a6 
+ 00016215  0x00004f88 rtn 
+ 00016216  0x00004f8b fetcht  0x00000001 , 0x000044a6 
+ 00016217  0x00004f8c set0  0x00000002 , 0x00000002 
+ 00016218  0x00004f8d storet  0x00000001 , 0x000044a6 
+ 00016219  0x00004f8e rtn 
+ 00016220  0x00004f91 jam  0x00000001 , 0x000048ff 
+ 00016221  0x00004f92 rtn 
+ 00016222  0x00004f95 call  0x0000495b 
+ 00016223  0x00004f96 branch  0x00003e5a 
+ 00016224  0x00004f9c fetcht  0x00000001 , 0x000044c3 
+ 00016225  0x00004f9d call  0x0000610d 
+ 00016226  0x00004f9e call  0x00007a1f 
+ 00016227  0x00004f9f fetcht  0x00000001 , 0x0000491c 
+ 00016228  0x00004fa0 call  0x00003f96 
+ 00016229  0x00004fa1 fetcht  0x00000001 , 0x0000491d 
+ 00016230  0x00004fa2 call  0x00003f96 
+ 00016231  0x00004fa3 fetcht  0x00000001 , 0x0000491e 
+ 00016232  0x00004fa4 call  0x00003f96 
+ 00016233  0x00004fa5 fetcht  0x00000001 , 0x00004911 
+ 00016234  0x00004fa6 call  0x00003f96 
+ 00016235  0x00004fa7 fetcht  0x00000001 , 0x00004912 
+ 00016236  0x00004fa8 call  0x00003f96 
+ 00016237  0x00004fa9 fetcht  0x00000001 , 0x00004913 
+ 00016238  0x00004faa call  0x00003f96 
+ 00016239  0x00004fac fetcht  0x00000001 , 0x00004914 
+ 00016240  0x00004fad call  0x00003f96 
+ 00016241  0x00004faf fetcht  0x00000001 , 0x0000491f 
+ 00016242  0x00004fb0 call  0x00003f96 
+ 00016243  0x00004fb2 fetcht  0x00000001 , 0x00004916 
+ 00016244  0x00004fb3 call  0x00003f96 
+ 00016245  0x00004fb5 fetcht  0x00000001 , 0x00004917 
+ 00016246  0x00004fb6 call  0x00003f96 
+ 00016247  0x00004fb8 fetcht  0x00000001 , 0x00004918 
+ 00016248  0x00004fb9 call  0x00003f96 
+ 00016249  0x00004fbb fetcht  0x00000001 , 0x00004920 
+ 00016250  0x00004fbc call  0x00003f96 
+ 00016251  0x00004fbd fetcht  0x00000001 , 0x00004921 
+ 00016252  0x00004fbe call  0x00003f96 
+ 00016253  0x00004fc0 fetcht  0x00000001 , 0x00004915 
+ 00016254  0x00004fc1 call  0x00003f96 
+ 00016255  0x00004fc3 fetcht  0x00000001 , 0x00004922 
+ 00016256  0x00004fc4 call  0x00003f96 
+ 00016257  0x00004fc6 fetcht  0x00000001 , 0x00004925 
+ 00016258  0x00004fc7 call  0x0000610d 
+ 00016259  0x00004fc9 fetcht  0x00000001 , 0x00004919 
+ 00016260  0x00004fca call  0x0000610d 
+ 00016261  0x00004fcc fetcht  0x00000001 , 0x00004926 
+ 00016262  0x00004fcd call  0x0000610d 
+ 00016263  0x00004fcf fetcht  0x00000001 , 0x00004927 
+ 00016264  0x00004fd0 call  0x0000610d 
+ 00016265  0x00004fd2 fetcht  0x00000001 , 0x00004928 
+ 00016266  0x00004fd3 call  0x0000610d 
+ 00016267  0x00004fd5 fetcht  0x00000001 , 0x0000491a 
+ 00016268  0x00004fd6 branch  0x00003f96 
+ 00016269  0x00004fda sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00016270  0x00004fdb rtn  0x00000005 
+ 00016271  0x00004fdc and  0x00000002 , 0x0000007f , 0x00000007 
+ 00016272  0x00004fdd fetch  0x00000004 , 0x0000811c 
+ 00016273  0x00004fde qisolate1  0x0000003f 
+ 00016274  0x00004fdf branch  0x00003f96 , 0x00000001 
+ 00016275  0x00004fe0 branch  0x00003f94 
+ 00016276  0x00004fe4 set1  0x00000007 , 0x00000002 
+ 00016277  0x00004fe5 branch  0x000060f4 
+ 00016278  0x00004fe8 set0  0x00000007 , 0x00000002 
+ 00016279  0x00004fe9 branch  0x000060f4 
+ 00016280  0x00004fec fetch  0x00000003 , 0x00004bef 
+ 00016281  0x00004fed store  0x00000003 , 0x0000095c 
+ 00016282  0x00004fee arg  0x00000014 , 0x00000039 
+ 00016283  0x00004fef arg  0x00000000 , 0x00000002 
+ 00016284  0x00004ff1 fetch  0x00000003 , 0x0000095c 
+ 00016285  0x00004ff2 isolate1  0x00000000 , 0x0000003f 
+ 00016286  0x00004ff3 call  0x00006121 , 0x00000001 
+ 00016287  0x00004ff4 fetch  0x00000003 , 0x0000095c 
+ 00016288  0x00004ff5 lshift  0x0000003f , 0x0000003f 
+ 00016289  0x00004ff6 store  0x00000003 , 0x0000095c 
+ 00016290  0x00004ff7 increase  0x00000001 , 0x00000002 
+ 00016291  0x00004ff8 loop  0x00003f9c 
+ 00016292  0x00004ff9 rtn 
+ 00016293  0x00005001 call  0x00003faa 
+ 00016294  0x00005002 jam  0x00000073 , 0x00004486 
+ 00016295  0x00005004 call  0x00003fa9 
+ 00016296  0x00005005 branch  0x00005b66 
+ 00016297  0x00005009 branch  0x00005d54 
+ 00016298  0x0000500c fetch  0x00000001 , 0x00004923 
+ 00016299  0x0000500d arg  0x00000021 , 0x00000002 
+ 00016300  0x0000500e call  0x0000612c 
+ 00016301  0x0000500f fetch  0x00000001 , 0x00004924 
+ 00016302  0x00005010 arg  0x00000023 , 0x00000002 
+ 00016303  0x00005011 branch  0x0000612c 
+ 00016304  0x0000501a bpatch  0x000000cd , 0x00004019 
+ 00016305  0x0000501b disable  0x00000028 
+ 00016306  0x0000501c setarg  0x00000000 
+ 00016307  0x0000501d store  0x00000006 , 0x000048d5 
+ 00016308  0x0000501e call  0x00004280 
+ 00016309  0x0000501f call  0x00003fbe 
+ 00016310  0x00005020 call  0x00003fc3 
+ 00016311  0x00005021 call  0x0000411c 
+ 00016312  0x00005022 fetch  0x00000001 , 0x000048d4 
+ 00016313  0x00005023 and_into  0x0000001f , 0x0000003f 
+ 00016314  0x00005024 store  0x00000001 , 0x000048d4 
+ 00016315  0x00005025 nbranch  0x00004766 , 0x00000028 
+ 00016316  0x00005026 call  0x00004758 
+ 00016317  0x00005027 branch  0x00004584 
+ 00016318  0x0000502d fetch  0x00000001 , 0x000048e4 
+ 00016319  0x0000502e rtn  0x00000034 
+ 00016320  0x0000502f store  0x00000001 , 0x000048d9 
+ 00016321  0x00005030 jam  0x00000000 , 0x000048e4 
+ 00016322  0x00005031 branch  0x00007ec5 
+ 00016323  0x00005034 fetch  0x00000001 , 0x000048e0 
+ 00016324  0x00005035 rtn  0x00000034 
+ 00016325  0x00005036 store  0x00000001 , 0x000048da 
+ 00016326  0x00005037 jam  0x00000000 , 0x000048e0 
+ 00016327  0x00005038 branch  0x00007ec5 
+ 00016328  0x0000503b call  0x00003fd5 
+ 00016329  0x0000503c call  0x00004011 
+ 00016330  0x0000503d fetch  0x00000001 , 0x000048de 
+ 00016331  0x0000503e fetcht  0x00000001 , 0x000048dd 
+ 00016332  0x0000503f store  0x00000001 , 0x000048dd 
+ 00016333  0x00005040 isub  0x00000002 , 0x0000003e 
+ 00016334  0x00005041 nbranch  0x00003253 , 0x00000005 
+ 00016335  0x00005042 fetch  0x00000001 , 0x000048e2 
+ 00016336  0x00005043 fetcht  0x00000001 , 0x000048e1 
+ 00016337  0x00005044 store  0x00000001 , 0x000048e1 
+ 00016338  0x00005045 isub  0x00000002 , 0x0000003e 
+ 00016339  0x00005046 nbranch  0x00003253 , 0x00000005 
+ 00016340  0x00005047 rtn 
+ 00016341  0x00005049 fetch  0x00000001 , 0x00004920 
+ 00016342  0x0000504a rtneq  0x000000ff 
+ 00016343  0x0000504b arg  0x00000000 , 0x00000011 
+ 00016344  0x0000504c fetcht  0x00000001 , 0x00004920 
+ 00016345  0x0000504d call  0x000060fd 
+ 00016346  0x0000504e setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00016347  0x0000504f fetcht  0x00000001 , 0x00004921 
+ 00016348  0x00005050 call  0x000060fd 
+ 00016349  0x00005051 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00016350  0x00005052 copy  0x00000011 , 0x0000003f 
+ 00016351  0x00005053 store  0x00000001 , 0x000048de 
+ 00016352  0x00005054 beq  0x00000001 , 0x00003fe5 
+ 00016353  0x00005055 beq  0x00000002 , 0x00003fe9 
+ 00016354  0x00005056 fetch  0x00000001 , 0x000048df 
+ 00016355  0x00005057 bbit1  0x00000007 , 0x00003ff5 
+ 00016356  0x00005058 rtn 
+ 00016357  0x0000505b fetch  0x00000001 , 0x000048dd 
+ 00016358  0x0000505c beq  0x00000000 , 0x00003fed 
+ 00016359  0x0000505d beq  0x00000003 , 0x00003fef 
+ 00016360  0x0000505e rtn 
+ 00016361  0x00005060 fetch  0x00000001 , 0x000048dd 
+ 00016362  0x00005061 beq  0x00000000 , 0x00003ff1 
+ 00016363  0x00005062 beq  0x00000003 , 0x00003ff3 
+ 00016364  0x00005063 rtn 
+ 00016365  0x00005065 jam  0x00000082 , 0x000048df 
+ 00016366  0x00005066 rtn 
+ 00016367  0x00005068 jam  0x00000081 , 0x000048df 
+ 00016368  0x00005069 rtn 
+ 00016369  0x0000506b jam  0x00000080 , 0x000048df 
+ 00016370  0x0000506c rtn 
+ 00016371  0x0000506e jam  0x00000083 , 0x000048df 
+ 00016372  0x0000506f rtn 
+ 00016373  0x00005071 fetch  0x00000001 , 0x000048df 
+ 00016374  0x00005072 set0  0x00000007 , 0x0000003f 
+ 00016375  0x00005073 store  0x00000001 , 0x000048df 
+ 00016376  0x00005074 beq  0x00000000 , 0x00003ffd 
+ 00016377  0x00005075 beq  0x00000001 , 0x00004000 
+ 00016378  0x00005076 beq  0x00000002 , 0x00004003 
+ 00016379  0x00005077 beq  0x00000003 , 0x00004006 
+ 00016380  0x00005078 rtn 
+ 00016381  0x0000507a fetch  0x00000001 , 0x000048de 
+ 00016382  0x0000507b beq  0x00000003 , 0x00004009 
+ 00016383  0x0000507c rtn 
+ 00016384  0x0000507e fetch  0x00000001 , 0x000048de 
+ 00016385  0x0000507f beq  0x00000000 , 0x00004009 
+ 00016386  0x00005080 rtn 
+ 00016387  0x00005082 fetch  0x00000001 , 0x000048de 
+ 00016388  0x00005083 beq  0x00000003 , 0x0000400d 
+ 00016389  0x00005084 rtn 
+ 00016390  0x00005086 fetch  0x00000001 , 0x000048de 
+ 00016391  0x00005087 beq  0x00000000 , 0x0000400d 
+ 00016392  0x00005088 rtn 
+ 00016393  0x0000508a fetch  0x00000001 , 0x000048e0 
+ 00016394  0x0000508b increase  0x00000001 , 0x0000003f 
+ 00016395  0x0000508c store  0x00000001 , 0x000048e0 
+ 00016396  0x0000508d rtn 
+ 00016397  0x0000508f fetch  0x00000001 , 0x000048e0 
+ 00016398  0x00005090 increase  0xffffffff , 0x0000003f 
+ 00016399  0x00005091 store  0x00000001 , 0x000048e0 
+ 00016400  0x00005092 rtn 
+ 00016401  0x00005096 fetch  0x00000001 , 0x00004917 
+ 00016402  0x00005097 rtneq  0x000000ff 
+ 00016403  0x00005098 arg  0x00000000 , 0x00000011 
+ 00016404  0x00005099 fetcht  0x00000001 , 0x00004917 
+ 00016405  0x0000509a call  0x000060fd 
+ 00016406  0x0000509b setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00016407  0x0000509c fetcht  0x00000001 , 0x00004918 
+ 00016408  0x0000509d call  0x000060fd 
+ 00016409  0x0000509e setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00016410  0x0000509f copy  0x00000011 , 0x0000003f 
+ 00016411  0x000050a0 store  0x00000001 , 0x000048e2 
+ 00016412  0x000050a1 beq  0x00000001 , 0x00004021 
+ 00016413  0x000050a2 beq  0x00000002 , 0x00004025 
+ 00016414  0x000050a3 fetch  0x00000001 , 0x000048e3 
+ 00016415  0x000050a4 bbit1  0x00000007 , 0x00004031 
+ 00016416  0x000050a5 rtn 
+ 00016417  0x000050a8 fetch  0x00000001 , 0x000048e1 
+ 00016418  0x000050a9 beq  0x00000000 , 0x00004029 
+ 00016419  0x000050aa beq  0x00000003 , 0x0000402b 
+ 00016420  0x000050ab rtn 
+ 00016421  0x000050ad fetch  0x00000001 , 0x000048e1 
+ 00016422  0x000050ae beq  0x00000000 , 0x0000402d 
+ 00016423  0x000050af beq  0x00000003 , 0x0000402f 
+ 00016424  0x000050b0 rtn 
+ 00016425  0x000050b2 jam  0x00000082 , 0x000048e3 
+ 00016426  0x000050b3 rtn 
+ 00016427  0x000050b5 jam  0x00000081 , 0x000048e3 
+ 00016428  0x000050b6 rtn 
+ 00016429  0x000050b8 jam  0x00000080 , 0x000048e3 
+ 00016430  0x000050b9 rtn 
+ 00016431  0x000050bb jam  0x00000083 , 0x000048e3 
+ 00016432  0x000050bc rtn 
+ 00016433  0x000050be fetch  0x00000001 , 0x000048e3 
+ 00016434  0x000050bf set0  0x00000007 , 0x0000003f 
+ 00016435  0x000050c0 store  0x00000001 , 0x000048e3 
+ 00016436  0x000050c1 beq  0x00000000 , 0x00004039 
+ 00016437  0x000050c2 beq  0x00000001 , 0x0000403c 
+ 00016438  0x000050c3 beq  0x00000002 , 0x0000403f 
+ 00016439  0x000050c4 beq  0x00000003 , 0x00004042 
+ 00016440  0x000050c5 rtn 
+ 00016441  0x000050c7 fetch  0x00000001 , 0x000048e2 
+ 00016442  0x000050c8 beq  0x00000003 , 0x00004045 
+ 00016443  0x000050c9 rtn 
+ 00016444  0x000050cb fetch  0x00000001 , 0x000048e2 
+ 00016445  0x000050cc beq  0x00000000 , 0x00004045 
+ 00016446  0x000050cd rtn 
+ 00016447  0x000050cf fetch  0x00000001 , 0x000048e2 
+ 00016448  0x000050d0 beq  0x00000003 , 0x00004049 
+ 00016449  0x000050d1 rtn 
+ 00016450  0x000050d3 fetch  0x00000001 , 0x000048e2 
+ 00016451  0x000050d4 beq  0x00000000 , 0x00004049 
+ 00016452  0x000050d5 rtn 
+ 00016453  0x000050d7 fetch  0x00000001 , 0x000048e4 
+ 00016454  0x000050d8 increase  0x00000001 , 0x0000003f 
+ 00016455  0x000050d9 store  0x00000001 , 0x000048e4 
+ 00016456  0x000050da rtn 
+ 00016457  0x000050dc fetch  0x00000001 , 0x000048e4 
+ 00016458  0x000050dd increase  0xffffffff , 0x0000003f 
+ 00016459  0x000050de store  0x00000001 , 0x000048e4 
+ 00016460  0x000050df rtn 
+ 00016461  0x000050e3 fetcht  0x00000001 , 0x00004917 
+ 00016462  0x000050e4 call  0x000060d6 
+ 00016463  0x000050e5 fetcht  0x00000001 , 0x00004918 
+ 00016464  0x000050e6 call  0x000060d6 
+ 00016465  0x000050e7 fetcht  0x00000001 , 0x00004920 
+ 00016466  0x000050e8 call  0x000060d6 
+ 00016467  0x000050e9 fetcht  0x00000001 , 0x00004921 
+ 00016468  0x000050ea branch  0x000060d6 
+ 00016469  0x000050ed fetcht  0x00000001 , 0x00004917 
+ 00016470  0x000050ee call  0x00003f8d 
+ 00016471  0x000050ef fetcht  0x00000001 , 0x00004918 
+ 00016472  0x000050f0 call  0x00003f8d 
+ 00016473  0x000050f1 fetcht  0x00000001 , 0x00004920 
+ 00016474  0x000050f2 call  0x00003f8d 
+ 00016475  0x000050f3 fetcht  0x00000001 , 0x00004921 
+ 00016476  0x000050f4 branch  0x00003f8d 
+ 00016477  0x000050f7 fetch  0x00000002 , 0x000048d9 
+ 00016478  0x000050f8 rtn  0x00000034 
+ 00016479  0x000050f9 jam  0x00000001 , 0x000048e5 
+ 00016480  0x000050fa jam  0x0000000a , 0x000048e6 
+ 00016481  0x000050fb rtn 
+ 00016482  0x000050fe arg  0x000048e6 , 0x00000013 
+ 00016483  0x000050ff arg  0x00004065 , 0x00000012 
+ 00016484  0x00005100 branch  0x000031fc 
+ 00016485  0x00005102 jam  0x00000000 , 0x000048e5 
+ 00016486  0x00005103 rtn 
+ 00016487  0x0000510d fetch  0x00000008 , 0x00004bbc 
+ 00016488  0x0000510e bbit1  0x0000002e , 0x00004076 
+ 00016489  0x0000510f fetch  0x00000001 , 0x00004913 
+ 00016490  0x00005110 rtneq  0x000000ff 
+ 00016491  0x00005111 arg  0x00000000 , 0x00000011 
+ 00016492  0x00005112 jam  0x00000005 , 0x00004ba7 
+ 00016493  0x00005113 fetcht  0x00000001 , 0x00004913 
+ 00016494  0x00005114 call  0x00004079 
+ 00016495  0x00005115 store  0x00000001 , 0x00004ba4 
+ 00016496  0x00005116 fetch  0x00000001 , 0x00004914 
+ 00016497  0x00005117 beq  0x000000ff , 0x00004082 
+ 00016498  0x00005118 call  0x000041a8 
+ 00016499  0x0000511a copy  0x00000011 , 0x0000003f 
+ 00016500  0x0000511b bbit1  0x00000005 , 0x00004092 
+ 00016501  0x0000511c branch  0x00004099 
+ 00016502  0x0000511f fetch  0x00000001 , 0x000048ff 
+ 00016503  0x00005120 branch  0x00004099 , 0x00000034 
+ 00016504  0x00005121 branch  0x00004092 
+ 00016505  0x00005124 fetch  0x00000008 , 0x00004bbc 
+ 00016506  0x00005125 bbit1  0x0000002c , 0x00004088 
+ 00016507  0x00005126 fetch  0x00000001 , 0x00004ba4 
+ 00016508  0x00005127 copy  0x0000003f , 0x00000013 
+ 00016509  0x00005128 fetch  0x00000001 , 0x00004914 
+ 00016510  0x00005129 beq  0x000000ff , 0x000041d5 
+ 00016511  0x0000512a fetch  0x00000001 , 0x00004bab 
+ 00016512  0x0000512b nbranch  0x00004085 , 0x00000034 
+ 00016513  0x0000512c branch  0x0000408a 
+ 00016514  0x0000512f fetcht  0x00000001 , 0x00004913 
+ 00016515  0x00005130 call  0x00003f96 
+ 00016516  0x00005131 branch  0x00004073 
+ 00016517  0x00005134 jam  0x00000000 , 0x000049e2 
+ 00016518  0x00005135 jam  0x00000000 , 0x00004ba4 
+ 00016519  0x00005136 rtn 
+ 00016520  0x00005139 fetch  0x00000001 , 0x00004ba4 
+ 00016521  0x0000513a branch  0x000041c7 
+ 00016522  0x0000513d call  0x000060fd 
+ 00016523  0x0000513e fetcht  0x00000001 , 0x00004914 
+ 00016524  0x0000513f branch  0x00004088 , 0x00000001 
+ 00016525  0x00005140 fetcht  0x00000001 , 0x00004914 
+ 00016526  0x00005141 call  0x0000610d 
+ 00016527  0x00005142 fetcht  0x00000001 , 0x00004913 
+ 00016528  0x00005143 fetch  0x00000001 , 0x00004ba4 
+ 00016529  0x00005144 branch  0x000041c7 
+ 00016530  0x00005148 fetch  0x00000001 , 0x000049e2 
+ 00016531  0x00005149 rtneq  0x00000001 
+ 00016532  0x0000514a jam  0x00000001 , 0x000049e2 
+ 00016533  0x0000514b fetch  0x00000008 , 0x00004bbc 
+ 00016534  0x0000514c rtnbit1  0x00000028 
+ 00016535  0x0000514d rtnbit1  0x00000036 
+ 00016536  0x0000514e branch  0x000040a9 
+ 00016537  0x00005151 fetch  0x00000001 , 0x000049e2 
+ 00016538  0x00005152 rtneq  0x00000000 
+ 00016539  0x00005153 jam  0x00000000 , 0x000049e2 
+ 00016540  0x00005154 fetch  0x00000008 , 0x00004bbc 
+ 00016541  0x00005155 bbit1  0x00000028 , 0x000040a0 
+ 00016542  0x00005156 bbit1  0x00000036 , 0x000040a0 
+ 00016543  0x00005157 rtn 
+ 00016544  0x00005159 fetch  0x00000001 , 0x000049e3 
+ 00016545  0x0000515a nbranch  0x000040a4 , 0x00000034 
+ 00016546  0x0000515b fetch  0x00000001 , 0x00004bad 
+ 00016547  0x0000515c ncall  0x000040a9 , 0x00000034 
+ 00016548  0x0000515e jam  0x00000000 , 0x000049e3 
+ 00016549  0x0000515f fetch  0x00000001 , 0x00004792 
+ 00016550  0x00005160 store  0x00000001 , 0x00004bad 
+ 00016551  0x00005161 store  0x00000001 , 0x00004bac 
+ 00016552  0x00005162 rtn 
+ 00016553  0x00005165 bpatch  0x000000ce , 0x00004019 
+ 00016554  0x00005166 call  0x000040b2 
+ 00016555  0x00005167 rtn  0x00000028 
+ 00016556  0x00005168 fetch  0x00000001 , 0x00004997 
+ 00016557  0x00005169 increase  0x00000001 , 0x0000003f 
+ 00016558  0x0000516a and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00016559  0x0000516b store  0x00000001 , 0x00004997 
+ 00016560  0x0000516c call  0x000040d5 
+ 00016561  0x0000516d branch  0x0000462e 
+ 00016562  0x00005170 disable  0x00000028 
+ 00016563  0x00005171 fetch  0x00000008 , 0x00004bbc 
+ 00016564  0x00005172 rtnbit1  0x0000002c 
+ 00016565  0x00005173 rtnbit1  0x0000002e 
+ 00016566  0x00005174 fetch  0x00000001 , 0x00004b9f 
+ 00016567  0x00005175 rtn  0x00000034 
+ 00016568  0x00005176 fetch  0x00000001 , 0x00004ba0 
+ 00016569  0x00005177 rtn  0x00000034 
+ 00016570  0x00005178 enable  0x00000028 
+ 00016571  0x00005179 rtn 
+ 00016572  0x0000517d fetch  0x00000008 , 0x00004bbc 
+ 00016573  0x0000517e bbit1  0x00000028 , 0x000040c0 
+ 00016574  0x0000517f bbit1  0x00000036 , 0x000040c7 
+ 00016575  0x00005180 rtn 
+ 00016576  0x00005184 fetch  0x00000001 , 0x000049e2 
+ 00016577  0x00005185 rtnne  0x00000001 
+ 00016578  0x00005186 arg  0x00004bad , 0x00000013 
+ 00016579  0x00005187 arg  0x000040c5 , 0x00000012 
+ 00016580  0x00005188 branch  0x000031fc 
+ 00016581  0x0000518b jam  0x00000001 , 0x000049e3 
+ 00016582  0x0000518c branch  0x000046f3 
+ 00016583  0x0000518f fetch  0x00000001 , 0x000049e2 
+ 00016584  0x00005190 rtnne  0x00000001 
+ 00016585  0x00005191 arg  0x00004bac , 0x00000013 
+ 00016586  0x00005192 arg  0x000040cc , 0x00000012 
+ 00016587  0x00005193 branch  0x000031fc 
+ 00016588  0x00005196 jam  0x00000001 , 0x000049e3 
+ 00016589  0x00005197 branch  0x00004514 
+ 00016590  0x0000519c branch  0x000040d8 
+ 00016591  0x000051a0 fetch  0x00000008 , 0x00004bbc 
+ 00016592  0x000051a1 rtnbit1  0x0000001c 
+ 00016593  0x000051a2 fetch  0x00000001 , 0x00004997 
+ 00016594  0x000051a3 rtnne  0x00000003 
+ 00016595  0x000051a4 jam  0x00000000 , 0x00004997 
+ 00016596  0x000051a5 rtn 
+ 00016597  0x000051a9 bpatch  0x000000cf , 0x00004019 
+ 00016598  0x000051aa call  0x000040cf 
+ 00016599  0x000051ab call  0x0000492e 
+ 00016600  0x000051ad fetch  0x00000001 , 0x0000492c 
+ 00016601  0x000051ae beq  0x00000003 , 0x000040fb 
+ 00016602  0x000051af beq  0x0000000b , 0x0000410f 
+ 00016603  0x000051b0 fetch  0x00000001 , 0x00004997 
+ 00016604  0x000051b1 beq  0x00000000 , 0x000040e2 
+ 00016605  0x000051b2 beq  0x00000001 , 0x000040e0 
+ 00016606  0x000051b3 beq  0x00000002 , 0x000040e4 
+ 00016607  0x000051b4 beq  0x00000003 , 0x000040e6 
+ 00016608  0x000051b6 fetcht  0x00000001 , 0x000049d6 
+ 00016609  0x000051b7 branch  0x000040e8 
+ 00016610  0x000051b9 fetcht  0x00000001 , 0x000049d5 
+ 00016611  0x000051ba branch  0x000040e8 
+ 00016612  0x000051bc fetcht  0x00000001 , 0x000049d7 
+ 00016613  0x000051bd branch  0x000040e8 
+ 00016614  0x000051bf fetcht  0x00000001 , 0x000049d8 
+ 00016615  0x000051c0 branch  0x000040e8 
+ 00016616  0x000051c3 fetch  0x00000001 , 0x0000492c 
+ 00016617  0x000051c4 beq  0x00000004 , 0x000040f7 
+ 00016618  0x000051c5 beq  0x00000005 , 0x000040f7 
+ 00016619  0x000051c6 beq  0x00000008 , 0x000040f9 
+ 00016620  0x000051c7 beq  0x00000007 , 0x000040f9 
+ 00016621  0x000051c8 beq  0x00000006 , 0x000040f7 
+ 00016622  0x000051ca storet  0x00000001 , 0x000049e1 
+ 00016623  0x000051cb setarg  0x00000006 
+ 00016624  0x000051cc call  0x00005d65 
+ 00016625  0x000051cd and  0x0000003f , 0x000000f8 , 0x00000002 
+ 00016626  0x000051ce fetch  0x00000001 , 0x000049e1 
+ 00016627  0x000051cf iadd  0x00000002 , 0x0000003f 
+ 00016628  0x000051d0 lshift8  0x0000003f , 0x0000003f 
+ 00016629  0x000051d1 add  0x0000003f , 0x00000006 , 0x0000003f 
+ 00016630  0x000051d2 branch  0x00005d5e 
+ 00016631  0x000051d5 increase  0xffffffff , 0x00000002 
+ 00016632  0x000051d6 branch  0x000040ee 
+ 00016633  0x000051d9 increase  0x00000002 , 0x00000002 
+ 00016634  0x000051da branch  0x000040ee 
+ 00016635  0x000051dd fetch  0x00000001 , 0x00004997 
+ 00016636  0x000051de beq  0x00000000 , 0x00004102 
+ 00016637  0x000051df beq  0x00000001 , 0x00004100 
+ 00016638  0x000051e0 beq  0x00000002 , 0x00004104 
+ 00016639  0x000051e1 beq  0x00000003 , 0x00004106 
+ 00016640  0x000051e3 fetch  0x00000001 , 0x000049da 
+ 00016641  0x000051e4 branch  0x00004107 
+ 00016642  0x000051e6 fetch  0x00000001 , 0x000049d9 
+ 00016643  0x000051e7 branch  0x00004107 
+ 00016644  0x000051e9 fetch  0x00000001 , 0x000049db 
+ 00016645  0x000051ea branch  0x00004107 
+ 00016646  0x000051ec fetch  0x00000001 , 0x000049dc 
+ 00016647  0x000051ee store  0x00000001 , 0x000049e1 
+ 00016648  0x000051ef lshift8  0x0000003f , 0x0000003f 
+ 00016649  0x000051f0 copy  0x0000003f , 0x00000011 
+ 00016650  0x000051f1 add  0x0000003f , 0x0000000d , 0x0000003f 
+ 00016651  0x000051f2 call  0x00005d5e 
+ 00016652  0x000051f3 copy  0x00000011 , 0x0000003f 
+ 00016653  0x000051f4 add  0x0000003f , 0x0000000e , 0x0000003f 
+ 00016654  0x000051f5 branch  0x00005d5e 
+ 00016655  0x000051f8 fetch  0x00000001 , 0x00004997 
+ 00016656  0x000051f9 beq  0x00000000 , 0x00004116 
+ 00016657  0x000051fa beq  0x00000001 , 0x00004114 
+ 00016658  0x000051fb beq  0x00000002 , 0x00004118 
+ 00016659  0x000051fc beq  0x00000003 , 0x0000411a 
+ 00016660  0x000051fe fetch  0x00000001 , 0x000049de 
+ 00016661  0x000051ff branch  0x00004107 
+ 00016662  0x00005202 fetch  0x00000001 , 0x000049dd 
+ 00016663  0x00005203 branch  0x00004107 
+ 00016664  0x00005206 fetch  0x00000001 , 0x000049df 
+ 00016665  0x00005207 branch  0x00004107 
+ 00016666  0x0000520a fetch  0x00000001 , 0x000049e0 
+ 00016667  0x0000520b branch  0x00004107 
+ 00016668  0x00005214 call  0x00004155 
+ 00016669  0x00005215 call  0x0000412d 
+ 00016670  0x00005216 call  0x00003ea0 
+ 00016671  0x00005217 call  0x00004128 
+ 00016672  0x00005218 copy  0x00000011 , 0x0000003f 
+ 00016673  0x00005219 fetcht  0x00000001 , 0x000048dc 
+ 00016674  0x0000521a store  0x00000001 , 0x000048dc 
+ 00016675  0x0000521b store  0x00000001 , 0x000048d4 
+ 00016676  0x0000521c ixor  0x00000002 , 0x0000003f 
+ 00016677  0x0000521d sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00016678  0x0000521e rtn  0x00000005 
+ 00016679  0x0000521f branch  0x00007ec5 
+ 00016680  0x00005222 rtnmark0  0x00000026 
+ 00016681  0x00005223 copy  0x00000011 , 0x0000003f 
+ 00016682  0x00005224 rtn  0x00000034 
+ 00016683  0x00005225 store  0x00000001 , 0x000048d4 
+ 00016684  0x00005226 branch  0x00007ec5 
+ 00016685  0x00005229 jam  0x00000000 , 0x00004ba9 
+ 00016686  0x0000522a jam  0x00000000 , 0x00004baa 
+ 00016687  0x0000522b jam  0x00000000 , 0x00004bab 
+ 00016688  0x0000522c copy  0x0000003f , 0x00000002 
+ 00016689  0x0000522d call  0x0000413d 
+ 00016690  0x0000522e call  0x00004140 
+ 00016691  0x0000522f call  0x00004143 
+ 00016692  0x00005230 call  0x00004146 
+ 00016693  0x00005231 fetch  0x00000001 , 0x00004baa 
+ 00016694  0x00005232 rtn  0x00000034 
+ 00016695  0x00005233 fetch  0x00000001 , 0x00004ba9 
+ 00016696  0x00005234 rtn  0x00000034 
+ 00016697  0x00005235 jam  0x00000001 , 0x00004bab 
+ 00016698  0x00005236 fetch  0x00000001 , 0x000048dc 
+ 00016699  0x00005237 copy  0x0000003f , 0x00000011 
+ 00016700  0x00005238 rtn 
+ 00016701  0x0000523b and  0x00000002 , 0x00000009 , 0x0000003f 
+ 00016702  0x0000523c beq  0x00000009 , 0x0000414e 
+ 00016703  0x0000523d rtn 
+ 00016704  0x0000523f and  0x00000002 , 0x00000014 , 0x0000003f 
+ 00016705  0x00005240 beq  0x00000014 , 0x0000414e 
+ 00016706  0x00005241 rtn 
+ 00016707  0x00005243 and  0x00000002 , 0x00000018 , 0x0000003f 
+ 00016708  0x00005244 beq  0x00000018 , 0x0000414c 
+ 00016709  0x00005245 rtn 
+ 00016710  0x00005248 and  0x00000002 , 0x00000007 , 0x0000003f 
+ 00016711  0x00005249 beq  0x00000003 , 0x0000414c 
+ 00016712  0x0000524a beq  0x00000005 , 0x0000414c 
+ 00016713  0x0000524b beq  0x00000006 , 0x0000414c 
+ 00016714  0x0000524c beq  0x00000007 , 0x0000414c 
+ 00016715  0x0000524d rtn 
+ 00016716  0x00005251 jam  0x00000001 , 0x00004baa 
+ 00016717  0x00005252 rtn 
+ 00016718  0x00005255 jam  0x00000001 , 0x00004ba9 
+ 00016719  0x00005256 rtn 
+ 00016720  0x00005259 call  0x00004161 
+ 00016721  0x0000525a call  0x00004155 
+ 00016722  0x0000525b setarg  0x00000000 
+ 00016723  0x0000525c store  0x00000003 , 0x00004b9f 
+ 00016724  0x0000525d rtn 
+ 00016725  0x00005260 bpatch  0x000000d0 , 0x0000401a 
+ 00016726  0x00005261 fetch  0x00000001 , 0x00004bf2 
+ 00016727  0x00005262 ncall  0x00004161 , 0x00000034 
+ 00016728  0x00005263 arg  0x00000000 , 0x00000011 
+ 00016729  0x00005264 call  0x00004164 
+ 00016730  0x00005265 call  0x0000416a 
+ 00016731  0x00005266 call  0x00004170 
+ 00016732  0x00005267 call  0x00004176 
+ 00016733  0x00005268 call  0x0000418f 
+ 00016734  0x00005269 call  0x000041aa 
+ 00016735  0x0000526a copy  0x00000011 , 0x0000003f 
+ 00016736  0x0000526b rtn 
+ 00016737  0x0000526e setarg  0x00030303 
+ 00016738  0x0000526f store  0x00000003 , 0x00004b9f 
+ 00016739  0x00005270 rtn 
+ 00016740  0x00005273 jam  0x00000000 , 0x00004ba7 
+ 00016741  0x00005274 fetcht  0x00000001 , 0x0000491c 
+ 00016742  0x00005275 fetch  0x00000001 , 0x00004b9f 
+ 00016743  0x00005276 call  0x000041c7 
+ 00016744  0x00005277 store  0x00000001 , 0x00004b9f 
+ 00016745  0x00005278 rtn 
+ 00016746  0x0000527b jam  0x00000001 , 0x00004ba7 
+ 00016747  0x0000527c fetcht  0x00000001 , 0x0000491d 
+ 00016748  0x0000527d fetch  0x00000001 , 0x00004ba0 
+ 00016749  0x0000527e call  0x000041c7 
+ 00016750  0x0000527f store  0x00000001 , 0x00004ba0 
+ 00016751  0x00005280 rtn 
+ 00016752  0x00005283 jam  0x00000002 , 0x00004ba7 
+ 00016753  0x00005284 fetcht  0x00000001 , 0x0000491e 
+ 00016754  0x00005285 fetch  0x00000001 , 0x00004ba1 
+ 00016755  0x00005286 call  0x000041c7 
+ 00016756  0x00005287 store  0x00000001 , 0x00004ba1 
+ 00016757  0x00005288 rtn 
+ 00016758  0x0000528b fetch  0x00000001 , 0x00004911 
+ 00016759  0x0000528c rtneq  0x000000ff 
+ 00016760  0x0000528d jam  0x00000003 , 0x00004ba7 
+ 00016761  0x0000528e fetch  0x00000001 , 0x00004ba2 
+ 00016762  0x0000528f copy  0x0000003f , 0x00000013 
+ 00016763  0x00005290 fetcht  0x00000001 , 0x00004911 
+ 00016764  0x00005291 fetch  0x00000001 , 0x00004914 
+ 00016765  0x00005292 beq  0x000000ff , 0x0000418b 
+ 00016766  0x00005293 call  0x000060fd 
+ 00016767  0x00005294 branch  0x00004187 , 0x00000001 
+ 00016768  0x00005295 fetcht  0x00000001 , 0x00004914 
+ 00016769  0x00005296 call  0x0000610d 
+ 00016770  0x00005297 fetcht  0x00000001 , 0x00004911 
+ 00016771  0x00005298 fetch  0x00000001 , 0x00004ba2 
+ 00016772  0x00005299 call  0x000041c7 
+ 00016773  0x0000529b store  0x00000001 , 0x00004ba2 
+ 00016774  0x0000529c branch  0x000041a8 
+ 00016775  0x0000529f fetcht  0x00000001 , 0x00004914 
+ 00016776  0x000052a0 fetch  0x00000001 , 0x00004ba2 
+ 00016777  0x000052a1 call  0x000041c7 
+ 00016778  0x000052a2 branch  0x00004185 
+ 00016779  0x000052a5 call  0x000041d5 
+ 00016780  0x000052a6 store  0x00000001 , 0x00004ba2 
+ 00016781  0x000052a7 fetcht  0x00000001 , 0x00004911 
+ 00016782  0x000052a8 branch  0x00003f96 
+ 00016783  0x000052ac fetch  0x00000001 , 0x00004912 
+ 00016784  0x000052ad rtneq  0x000000ff 
+ 00016785  0x000052ae jam  0x00000004 , 0x00004ba7 
+ 00016786  0x000052af fetch  0x00000001 , 0x00004ba3 
+ 00016787  0x000052b0 copy  0x0000003f , 0x00000013 
+ 00016788  0x000052b1 fetcht  0x00000001 , 0x00004912 
+ 00016789  0x000052b2 fetch  0x00000001 , 0x00004914 
+ 00016790  0x000052b3 beq  0x000000ff , 0x000041a4 
+ 00016791  0x000052b4 call  0x000060fd 
+ 00016792  0x000052b5 branch  0x000041a0 , 0x00000001 
+ 00016793  0x000052b6 fetcht  0x00000001 , 0x00004914 
+ 00016794  0x000052b7 call  0x0000610d 
+ 00016795  0x000052b8 fetcht  0x00000001 , 0x00004912 
+ 00016796  0x000052b9 fetch  0x00000001 , 0x00004ba3 
+ 00016797  0x000052ba call  0x000041c7 
+ 00016798  0x000052bc store  0x00000001 , 0x00004ba3 
+ 00016799  0x000052bd branch  0x000041a8 
+ 00016800  0x000052c0 fetcht  0x00000001 , 0x00004914 
+ 00016801  0x000052c1 fetch  0x00000001 , 0x00004ba3 
+ 00016802  0x000052c2 call  0x000041c7 
+ 00016803  0x000052c3 branch  0x0000419e 
+ 00016804  0x000052c6 call  0x000041d5 
+ 00016805  0x000052c7 store  0x00000001 , 0x00004ba3 
+ 00016806  0x000052c8 fetcht  0x00000001 , 0x00004912 
+ 00016807  0x000052c9 branch  0x00003f96 
+ 00016808  0x000052cd fetcht  0x00000001 , 0x00004914 
+ 00016809  0x000052ce branch  0x00003f96 
+ 00016810  0x000052d1 jam  0x00000000 , 0x00004b9c 
+ 00016811  0x000052d2 fetch  0x00000008 , 0x00004bbc 
+ 00016812  0x000052d3 rtnbit0  0x00000015 
+ 00016813  0x000052d4 fetch  0x00000001 , 0x00004916 
+ 00016814  0x000052d5 rtneq  0x000000ff 
+ 00016815  0x000052d6 jam  0x00000007 , 0x00004ba7 
+ 00016816  0x000052d7 fetcht  0x00000001 , 0x00004916 
+ 00016817  0x000052d8 fetch  0x00000001 , 0x00004ba6 
+ 00016818  0x000052d9 call  0x000041c7 
+ 00016819  0x000052da store  0x00000001 , 0x00004ba6 
+ 00016820  0x000052db copy  0x00000011 , 0x0000003f 
+ 00016821  0x000052dc bbit1  0x00000007 , 0x000041ba 
+ 00016822  0x000052dd call  0x000041bd 
+ 00016823  0x000052df fetch  0x00000001 , 0x00004b9d 
+ 00016824  0x000052e0 store  0x00000001 , 0x00004b9e 
+ 00016825  0x000052e1 rtn 
+ 00016826  0x000052e5 jam  0x00000001 , 0x00004b9d 
+ 00016827  0x000052e6 call  0x000041c0 
+ 00016828  0x000052e7 branch  0x000041b7 
+ 00016829  0x000052ea jam  0x00000000 , 0x00004b9d 
+ 00016830  0x000052eb fetch  0x00000001 , 0x00004b9e 
+ 00016831  0x000052ec rtn  0x00000034 
+ 00016832  0x000052ee jam  0x00000001 , 0x00004b9c 
+ 00016833  0x000052ef rtn 
+ 00016834  0x000052f3 call  0x000060fd 
+ 00016835  0x000052f4 fetcht  0x00000001 , 0x00004ba7 
+ 00016836  0x000052f5 copy  0x00000002 , 0x00000007 
+ 00016837  0x000052f6 branch  0x000041d3 , 0x00000001 
+ 00016838  0x000052f7 branch  0x000041d1 
+ 00016839  0x000052fa lshift  0x0000003f , 0x0000003f 
+ 00016840  0x000052fb copy  0x0000003f , 0x00000012 
+ 00016841  0x000052fc call  0x000060fd 
+ 00016842  0x000052fd setflag  0x00000001 , 0x00000000 , 0x00000012 
+ 00016843  0x000052fe and  0x00000012 , 0x00000007 , 0x0000003f 
+ 00016844  0x000052ff fetcht  0x00000001 , 0x00004ba7 
+ 00016845  0x00005300 copy  0x00000002 , 0x00000007 
+ 00016846  0x00005301 beq  0x00000007 , 0x000041d3 
+ 00016847  0x00005302 beq  0x00000000 , 0x000041d1 
+ 00016848  0x00005303 rtn 
+ 00016849  0x00005306 qset0  0x00000011 
+ 00016850  0x00005307 rtn 
+ 00016851  0x0000530a qset1  0x00000011 
+ 00016852  0x0000530b rtn 
+ 00016853  0x0000530e bpatch  0x000000d1 , 0x0000401a 
+ 00016854  0x0000530f copy  0x00000013 , 0x0000003f 
+ 00016855  0x00005310 store  0x00000001 , 0x00004ba8 
+ 00016856  0x00005311 lshift  0x0000003f , 0x0000003f 
+ 00016857  0x00005312 copy  0x0000003f , 0x00000012 
+ 00016858  0x00005313 copy  0x00000002 , 0x00000013 
+ 00016859  0x00005314 call  0x00003f94 
+ 00016860  0x00005315 copy  0x00000013 , 0x00000002 
+ 00016861  0x00005316 call  0x000060fd 
+ 00016862  0x00005317 nsetflag  0x00000001 , 0x00000000 , 0x00000012 
+ 00016863  0x00005318 call  0x000041e1 
+ 00016864  0x00005319 branch  0x000041cb 
+ 00016865  0x0000531c fetcht  0x00000001 , 0x00004ba8 
+ 00016866  0x0000531d and_into  0x00000001 , 0x00000002 
+ 00016867  0x0000531e and  0x00000012 , 0x00000001 , 0x0000003f 
+ 00016868  0x0000531f isub  0x00000002 , 0x0000003e 
+ 00016869  0x00005320 nbranch  0x0000436f , 0x00000005 
+ 00016870  0x00005321 rtn 
+ 00016871  0x00005327 bpatch  0x000000d2 , 0x0000401a 
+ 00016872  0x00005328 call  0x00003fa5 
+ 00016873  0x00005329 rtn  0x0000002b 
+ 00016874  0x0000532b call  0x00004276 
+ 00016875  0x0000532d call  0x000041f5 
+ 00016876  0x0000532e beq  0x00000030 , 0x000041fc 
+ 00016877  0x0000532f beq  0x00000031 , 0x00004257 
+ 00016878  0x00005330 beq  0x00000058 , 0x00004260 
+ 00016879  0x00005331 call  0x000041f2 
+ 00016880  0x00005332 nop  0x00001af4 
+ 00016881  0x00005333 branch  0x000041eb 
+ 00016882  0x00005335 fetch  0x00000001 , 0x00004923 
+ 00016883  0x00005336 call  0x00005b55 
+ 00016884  0x00005337 branch  0x00003faa 
+ 00016885  0x0000533a setarg  0x00000001 
+ 00016886  0x0000533b call  0x00005d65 
+ 00016887  0x0000533c store  0x00000001 , 0x000049c7 
+ 00016888  0x0000533d setarg  0x00000000 
+ 00016889  0x0000533e call  0x00005d65 
+ 00016890  0x0000533f store  0x00000001 , 0x000049c6 
+ 00016891  0x00005340 rtn 
+ 00016892  0x00005345 fetch  0x00000001 , 0x000049c7 
+ 00016893  0x00005346 beq  0x0000005a , 0x00004205 
+ 00016894  0x00005347 beq  0x000000d8 , 0x0000420b 
+ 00016895  0x00005348 beq  0x000000d1 , 0x0000421a 
+ 00016896  0x00005349 beq  0x000000d2 , 0x00004223 
+ 00016897  0x0000534a beq  0x00000002 , 0x0000422a 
+ 00016898  0x0000534b beq  0x00000054 , 0x0000422d 
+ 00016899  0x0000534c beq  0x00000050 , 0x00004254 
+ 00016900  0x0000534d branch  0x000041eb 
+ 00016901  0x00005350 jam  0x00000005 , 0x0000492c 
+ 00016902  0x00005351 call  0x00004272 
+ 00016903  0x00005352 call  0x00007d85 
+ 00016904  0x00005353 arg  0x00004a3e , 0x00000013 
+ 00016905  0x00005354 call  0x0000426b 
+ 00016906  0x00005355 branch  0x000040ce 
+ 00016907  0x00005358 setarg  0x00000016 
+ 00016908  0x00005359 call  0x00005d65 
+ 00016909  0x0000535a sub  0x0000003f , 0x000000bd , 0x0000003e 
+ 00016910  0x0000535b nbranch  0x000041e7 , 0x00000005 
+ 00016911  0x0000535c setarg  0x00000019 
+ 00016912  0x0000535d call  0x00005d65 
+ 00016913  0x0000535e sub  0x0000003f , 0x00000055 , 0x0000003e 
+ 00016914  0x0000535f nbranch  0x000041e7 , 0x00000005 
+ 00016915  0x00005360 setarg  0x0000001b 
+ 00016916  0x00005361 call  0x00005d65 
+ 00016917  0x00005362 sub  0x0000003f , 0x0000001d , 0x0000003e 
+ 00016918  0x00005363 nbranch  0x000041e7 , 0x00000005 
+ 00016919  0x00005364 jam  0x00000006 , 0x0000492c 
+ 00016920  0x00005365 arg  0x00004a82 , 0x00000013 
+ 00016921  0x00005366 branch  0x0000426b 
+ 00016922  0x00005369 jam  0x00000000 , 0x0000492c 
+ 00016923  0x0000536a arg  0x000049f8 , 0x00000013 
+ 00016924  0x0000536b call  0x0000426b 
+ 00016925  0x0000536c arg  0x00004a02 , 0x00000013 
+ 00016926  0x0000536d call  0x0000426b 
+ 00016927  0x0000536e setarg  0x00000943 
+ 00016928  0x0000536f call  0x00005d5e 
+ 00016929  0x00005370 arg  0x00004a1c , 0x00000013 
+ 00016930  0x00005371 branch  0x0000426b 
+ 00016931  0x00005374 jam  0x00000002 , 0x0000492c 
+ 00016932  0x00005375 arg  0x000049ee , 0x00000013 
+ 00016933  0x00005376 call  0x0000426b 
+ 00016934  0x00005377 arg  0x00004a02 , 0x00000013 
+ 00016935  0x00005378 call  0x0000426b 
+ 00016936  0x00005379 arg  0x00004a1c , 0x00000013 
+ 00016937  0x0000537a branch  0x0000426b 
+ 00016938  0x0000537d jam  0x00000003 , 0x0000492c 
+ 00016939  0x0000537e arg  0x000049e4 , 0x00000013 
+ 00016940  0x0000537f branch  0x0000426b 
+ 00016941  0x00005382 call  0x00004269 
+ 00016942  0x00005383 setarg  0x00009a5b 
+ 00016943  0x00005384 call  0x00005d5e 
+ 00016944  0x00005385 setarg  0x0000000d 
+ 00016945  0x00005386 call  0x00005d65 
+ 00016946  0x00005387 sub  0x0000003f , 0x00000012 , 0x0000003e 
+ 00016947  0x00005388 branch  0x00004241 , 0x00000005 
+ 00016948  0x00005389 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00016949  0x0000538a nbranch  0x00004244 , 0x00000005 
+ 00016950  0x0000538b setarg  0x0000000e 
+ 00016951  0x0000538c call  0x00005d65 
+ 00016952  0x0000538d sub  0x0000003f , 0x000000e5 , 0x0000003e 
+ 00016953  0x0000538e nbranch  0x000041eb , 0x00000005 
+ 00016954  0x0000538f setarg  0x00000010 
+ 00016955  0x00005390 call  0x00005d65 
+ 00016956  0x00005391 sub  0x0000003f , 0x000000a5 , 0x0000003e 
+ 00016957  0x00005392 branch  0x00004241 , 0x00000005 
+ 00016958  0x00005393 call  0x00004251 
+ 00016959  0x00005395 jam  0x00000008 , 0x0000492c 
+ 00016960  0x00005396 rtn 
+ 00016961  0x00005398 jam  0x00000009 , 0x0000492c 
+ 00016962  0x00005399 arg  0x00004a64 , 0x00000013 
+ 00016963  0x0000539a branch  0x0000426b 
+ 00016964  0x0000539c sub  0x0000003f , 0x00000010 , 0x0000003e 
+ 00016965  0x0000539d nbranch  0x000041eb , 0x00000005 
+ 00016966  0x0000539e setarg  0x0000000e 
+ 00016967  0x0000539f call  0x00005d65 
+ 00016968  0x000053a0 sub  0x0000003f , 0x000000c5 , 0x0000003e 
+ 00016969  0x000053a1 nbranch  0x000041eb , 0x00000005 
+ 00016970  0x000053a2 setarg  0x00000010 
+ 00016971  0x000053a3 call  0x00005d65 
+ 00016972  0x000053a4 sub  0x0000003f , 0x00000038 , 0x0000003e 
+ 00016973  0x000053a5 nbranch  0x000041eb , 0x00000005 
+ 00016974  0x000053a7 call  0x00004251 
+ 00016975  0x000053a8 jam  0x0000000a , 0x0000492c 
+ 00016976  0x000053a9 rtn 
+ 00016977  0x000053ab setarg  0x0000005b 
+ 00016978  0x000053ac call  0x00005d5e 
+ 00016979  0x000053ad branch  0x00004267 
+ 00016980  0x000053b0 jam  0x00000007 , 0x0000492c 
+ 00016981  0x000053b1 arg  0x00004aa8 , 0x00000013 
+ 00016982  0x000053b2 branch  0x0000426b 
+ 00016983  0x000053b5 call  0x00004276 
+ 00016984  0x000053b6 fetch  0x00000001 , 0x000049c7 
+ 00016985  0x000053b7 beq  0x00000070 , 0x0000425e 
+ 00016986  0x000053b8 beq  0x00000000 , 0x0000425c 
+ 00016987  0x000053b9 branch  0x000041eb 
+ 00016988  0x000053bc jam  0x00000001 , 0x0000492c 
+ 00016989  0x000053bd rtn 
+ 00016990  0x000053c0 jam  0x00000004 , 0x0000492c 
+ 00016991  0x000053c1 rtn 
+ 00016992  0x000053c4 call  0x00004276 
+ 00016993  0x000053c5 fetch  0x00000001 , 0x000049c7 
+ 00016994  0x000053c6 beq  0x00000059 , 0x00004264 
+ 00016995  0x000053c7 branch  0x000041fc 
+ 00016996  0x000053c9 jam  0x0000000b , 0x0000492c 
+ 00016997  0x000053ca arg  0x00004a92 , 0x00000013 
+ 00016998  0x000053cb branch  0x0000426b 
+ 00016999  0x000053ce setarg  0x00000009 
+ 00017000  0x000053cf branch  0x00005d5e 
+ 00017001  0x000053d1 setarg  0x00005a09 
+ 00017002  0x000053d2 branch  0x00005d5e 
+ 00017003  0x000053d5 ifetch  0x00000002 , 0x00000013 
+ 00017004  0x000053d6 arg  0x0000ffff , 0x00000002 
+ 00017005  0x000053d7 isub  0x00000002 , 0x0000003e 
+ 00017006  0x000053d8 rtn  0x00000005 
+ 00017007  0x000053d9 call  0x00005d5e 
+ 00017008  0x000053da increase  0x00000002 , 0x00000013 
+ 00017009  0x000053db branch  0x0000426b 
+ 00017010  0x000053de setarg  0x00008006 
+ 00017011  0x000053df call  0x00005d5e 
+ 00017012  0x000053e0 nop  0x00002ee0 
+ 00017013  0x000053e1 rtn 
+ 00017014  0x000053e4 bpatch  0x000000d3 , 0x0000401a 
+ 00017015  0x000053e5 call  0x00003fa5 
+ 00017016  0x000053e6 call  0x00004272 
+ 00017017  0x000053e7 arg  0x00004ab4 , 0x00000013 
+ 00017018  0x000053e8 call  0x0000426b 
+ 00017019  0x000053e9 branch  0x000040ce 
+ 00017020  0x000053ec call  0x000041e7 
+ 00017021  0x000053ed call  0x00003fa5 
+ 00017022  0x000053ee setarg  0x00000806 
+ 00017023  0x000053ef branch  0x00005d5e 
+ 00017024  0x000053f6 fetch  0x00000001 , 0x000044ae 
+ 00017025  0x000053f7 rtnne  0x00000000 
+ 00017026  0x000053f8 fetch  0x00000001 , 0x0000492c 
+ 00017027  0x000053f9 beq  0x00000000 , 0x0000428c 
+ 00017028  0x000053fa beq  0x00000001 , 0x0000428c 
+ 00017029  0x000053fb beq  0x00000008 , 0x0000428c 
+ 00017030  0x000053fc beq  0x00000002 , 0x0000428c 
+ 00017031  0x000053fd beq  0x00000003 , 0x000042b0 
+ 00017032  0x000053fe beq  0x00000004 , 0x0000428c 
+ 00017033  0x000053ff beq  0x00000006 , 0x000042d5 
+ 00017034  0x00005400 beq  0x0000000b , 0x000042ce 
+ 00017035  0x00005401 branch  0x0000428c 
+ 00017036  0x00005405 call  0x00004304 
+ 00017037  0x00005406 disable  0x00000028 
+ 00017038  0x00005407 fetch  0x00000001 , 0x00004915 
+ 00017039  0x00005408 beq  0x000000ff , 0x00004293 
+ 00017040  0x00005409 fetcht  0x00000001 , 0x00004915 
+ 00017041  0x0000540a call  0x000060fd 
+ 00017042  0x0000540b nrtn  0x00000001 
+ 00017043  0x0000540d setarg  0x00000000 
+ 00017044  0x0000540e call  0x00005d65 
+ 00017045  0x0000540f bne  0x00000030 , 0x000042a6 
+ 00017046  0x00005411 setarg  0x00000002 
+ 00017047  0x00005412 call  0x00005d65 
+ 00017048  0x00005413 rtnbit0  0x00000007 
+ 00017049  0x00005414 call  0x0000431b 
+ 00017050  0x00005415 fetch  0x00000001 , 0x000048d5 
+ 00017051  0x00005416 call  0x00004313 
+ 00017052  0x00005417 store  0x00000002 , 0x000048d5 
+ 00017053  0x00005418 fetch  0x00000001 , 0x000048d7 
+ 00017054  0x00005419 call  0x00004313 
+ 00017055  0x0000541a store  0x00000002 , 0x000048d7 
+ 00017056  0x0000541b fetch  0x00000001 , 0x0000492d 
+ 00017057  0x0000541c beq  0x00000000 , 0x000042a8 
+ 00017058  0x0000541d beq  0x00000001 , 0x000042aa 
+ 00017059  0x0000541e beq  0x00000002 , 0x000042ac 
+ 00017060  0x0000541f beq  0x00000003 , 0x000042ae 
+ 00017061  0x00005420 rtn 
+ 00017062  0x00005423 beq  0x00000031 , 0x00004296 
+ 00017063  0x00005424 branch  0x000041f2 
+ 00017064  0x00005427 call  0x000042ed 
+ 00017065  0x00005428 branch  0x00004322 
+ 00017066  0x0000542a call  0x000042f5 
+ 00017067  0x0000542b branch  0x00004322 
+ 00017068  0x0000542d call  0x000042f1 
+ 00017069  0x0000542e branch  0x00004322 
+ 00017070  0x00005430 call  0x000042fd 
+ 00017071  0x00005431 branch  0x00004322 
+ 00017072  0x00005436 call  0x00004304 
+ 00017073  0x00005437 fetch  0x00000001 , 0x00004915 
+ 00017074  0x00005438 beq  0x000000ff , 0x000042b6 
+ 00017075  0x00005439 fetcht  0x00000001 , 0x00004915 
+ 00017076  0x0000543a call  0x000060fd 
+ 00017077  0x0000543b nrtn  0x00000001 
+ 00017078  0x0000543d setarg  0x00000000 
+ 00017079  0x0000543e call  0x00005d65 
+ 00017080  0x0000543f bne  0x00000030 , 0x000041f2 
+ 00017081  0x00005441 setarg  0x00000002 
+ 00017082  0x00005442 call  0x00005d65 
+ 00017083  0x00005443 rtnbit0  0x00000007 
+ 00017084  0x00005444 call  0x0000431b 
+ 00017085  0x00005445 call  0x000042cc 
+ 00017086  0x00005446 store  0x00000001 , 0x000048db 
+ 00017087  0x00005447 rshift4  0x0000003f , 0x0000003f 
+ 00017088  0x00005448 call  0x00004317 
+ 00017089  0x00005449 store  0x00000001 , 0x000048d6 
+ 00017090  0x0000544a fetch  0x00000001 , 0x000048db 
+ 00017091  0x0000544b and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00017092  0x0000544c call  0x00004317 
+ 00017093  0x0000544d store  0x00000001 , 0x000048d8 
+ 00017094  0x0000544e fetch  0x00000001 , 0x0000492d 
+ 00017095  0x0000544f beq  0x00000000 , 0x000042ed 
+ 00017096  0x00005450 beq  0x00000001 , 0x000042f5 
+ 00017097  0x00005451 beq  0x00000002 , 0x000042f1 
+ 00017098  0x00005452 beq  0x00000003 , 0x000042fd 
+ 00017099  0x00005453 rtn 
+ 00017100  0x00005456 setarg  0x00000012 
+ 00017101  0x00005457 branch  0x00005d65 
+ 00017102  0x0000545a call  0x00004304 
+ 00017103  0x0000545b fetch  0x00000001 , 0x00004915 
+ 00017104  0x0000545c beq  0x000000ff , 0x000042d4 
+ 00017105  0x0000545d fetcht  0x00000001 , 0x00004915 
+ 00017106  0x0000545e call  0x000060fd 
+ 00017107  0x0000545f nrtn  0x00000001 
+ 00017108  0x00005461 branch  0x000042b9 
+ 00017109  0x00005465 call  0x00004304 
+ 00017110  0x00005466 disable  0x00000028 
+ 00017111  0x00005467 setarg  0x00000002 
+ 00017112  0x00005468 call  0x00005d65 
+ 00017113  0x00005469 rtnbit0  0x00000007 
+ 00017114  0x0000546a setarg  0x00000008 
+ 00017115  0x0000546b call  0x00005d65 
+ 00017116  0x0000546c branch  0x00004299 , 0x00000034 
+ 00017117  0x0000546d setarg  0x00000000 
+ 00017118  0x0000546e store  0x00000006 , 0x000048d5 
+ 00017119  0x0000546f rtn 
+ 00017120  0x00005474 fetch  0x00000001 , 0x00004929 
+ 00017121  0x00005475 store  0x00000001 , 0x0000492d 
+ 00017122  0x00005476 fetch  0x00000001 , 0x0000491a 
+ 00017123  0x00005477 rtneq  0x000000ff 
+ 00017124  0x00005478 fetcht  0x00000001 , 0x0000491a 
+ 00017125  0x00005479 call  0x00003f96 
+ 00017126  0x0000547a fetcht  0x00000001 , 0x0000491a 
+ 00017127  0x0000547b call  0x000060fd 
+ 00017128  0x0000547c call  0x000042ea , 0x00000001 
+ 00017129  0x0000547d branch  0x00003f94 
+ 00017130  0x0000547f fetch  0x00000001 , 0x0000492a 
+ 00017131  0x00005480 store  0x00000001 , 0x0000492d 
+ 00017132  0x00005481 rtn 
+ 00017133  0x00005484 fetch  0x00000002 , 0x000048d5 
+ 00017134  0x00005485 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017135  0x00005486 store  0x00000002 , 0x000048d5 
+ 00017136  0x00005487 branch  0x00007ec5 
+ 00017137  0x00005489 fetch  0x00000002 , 0x000048d7 
+ 00017138  0x0000548a sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017139  0x0000548b store  0x00000002 , 0x000048d7 
+ 00017140  0x0000548c branch  0x00007ec5 
+ 00017141  0x0000548e fetch  0x00000002 , 0x000048d7 
+ 00017142  0x0000548f sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017143  0x00005490 store  0x00000002 , 0x000048d7 
+ 00017144  0x00005491 fetch  0x00000002 , 0x000048d5 
+ 00017145  0x00005492 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017146  0x00005493 store  0x00000002 , 0x000048d5 
+ 00017147  0x00005494 call  0x000042ff 
+ 00017148  0x00005495 branch  0x00007ec5 
+ 00017149  0x00005497 call  0x000042ff 
+ 00017150  0x00005498 branch  0x00007ec5 
+ 00017151  0x0000549b fetch  0x00000002 , 0x000048d7 
+ 00017152  0x0000549c fetcht  0x00000002 , 0x000048d5 
+ 00017153  0x0000549d store  0x00000002 , 0x000048d5 
+ 00017154  0x0000549e storet  0x00000002 , 0x000048d7 
+ 00017155  0x0000549f rtn 
+ 00017156  0x000054a3 fetch  0x00000001 , 0x000049cd 
+ 00017157  0x000054a4 call  0x0000431b , 0x00000034 
+ 00017158  0x000054a5 jam  0x00000001 , 0x000049cd 
+ 00017159  0x000054a6 rtn 
+ 00017160  0x000054a9 jam  0x00000001 , 0x00004abd 
+ 00017161  0x000054aa call  0x00001ac6 
+ 00017162  0x000054ac branch  0x000041e7 
+ 00017163  0x000054af fetch  0x00000001 , 0x00004915 
+ 00017164  0x000054b0 rtnne  0x000000ff 
+ 00017165  0x000054b1 fetch  0x00000001 , 0x00004abf 
+ 00017166  0x000054b2 rtnne  0x00000001 
+ 00017167  0x000054b3 setarg  0x00000000 
+ 00017168  0x000054b4 store  0x00000001 , 0x00004abf 
+ 00017169  0x000054b5 store  0x00000004 , 0x000048d5 
+ 00017170  0x000054b6 branch  0x0000430a 
+ 00017171  0x000054b9 rtnbit0  0x00000007 
+ 00017172  0x000054ba arg  0x0000ff00 , 0x00000002 
+ 00017173  0x000054bb ior  0x00000002 , 0x0000003f 
+ 00017174  0x000054bc rtn 
+ 00017175  0x000054bf rtnbit0  0x00000003 
+ 00017176  0x000054c0 arg  0x000000f0 , 0x00000002 
+ 00017177  0x000054c1 ior  0x00000002 , 0x0000003f 
+ 00017178  0x000054c2 rtn 
+ 00017179  0x000054c5 arg  0x00000003 , 0x0000003f 
+ 00017180  0x000054c6 call  0x00005d65 
+ 00017181  0x000054c7 store  0x00000002 , 0x000048d5 
+ 00017182  0x000054c8 arg  0x00000004 , 0x0000003f 
+ 00017183  0x000054c9 call  0x00005d65 
+ 00017184  0x000054ca store  0x00000002 , 0x000048d7 
+ 00017185  0x000054cb rtn 
+ 00017186  0x000054cf fetcht  0x00000001 , 0x00004924 
+ 00017187  0x000054d0 call  0x000060fd 
+ 00017188  0x000054d1 rtn  0x00000001 
+ 00017189  0x000054d2 setarg  0x0000000a 
+ 00017190  0x000054d3 call  0x00005d65 
+ 00017191  0x000054d4 nop  0x000003e8 
+ 00017192  0x000054d5 branch  0x00004322 
+ 00017193  0x000054d8 setarg  0x00008100 
+ 00017194  0x000054d9 branch  0x00005d5e 
+ 00017195  0x000054df jam  0x000000ff , 0x00004ad2 
+ 00017196  0x000054e0 fetch  0x00000001 , 0x00004bc4 
+ 00017197  0x000054e1 bbit1  0x00000001 , 0x0000432f 
+ 00017198  0x000054e2 bbit1  0x00000000 , 0x00004334 
+ 00017199  0x000054e4 jam  0x00000034 , 0x00004484 
+ 00017200  0x000054e5 setarg  0x000f0f0f 
+ 00017201  0x000054e6 store  0x00000003 , 0x0000437a 
+ 00017202  0x000054e7 store  0x00000003 , 0x0000437d 
+ 00017203  0x000054e8 branch  0x00003e24 
+ 00017204  0x000054eb jam  0x00000033 , 0x00004484 
+ 00017205  0x000054ec arg  0x00004979 , 0x00000006 
+ 00017206  0x000054ed call  0x00004608 
+ 00017207  0x000054ee branch  0x00003e24 
+ 00017208  0x000054f1 bpatch  0x000000d4 , 0x0000401a 
+ 00017209  0x000054f2 call  0x000045fd 
+ 00017210  0x000054f3 call  0x00004354 
+ 00017211  0x000054f4 fetch  0x00000001 , 0x0000493d 
+ 00017212  0x000054f5 beq  0x00000001 , 0x0000433f 
+ 00017213  0x000054f6 beq  0x00000002 , 0x00004341 
+ 00017214  0x000054f7 rtn 
+ 00017215  0x000054f9 fetch  0x00000006 , 0x0000493f 
+ 00017216  0x000054fa branch  0x00004342 
+ 00017217  0x000054fc fetch  0x00000006 , 0x0000495c 
+ 00017218  0x000054fe fetcht  0x00000006 , 0x00004979 
+ 00017219  0x000054ff isub  0x00000002 , 0x0000003e 
+ 00017220  0x00005500 branch  0x00004593 , 0x00000005 
+ 00017221  0x00005501 branch  0x00003e1c 
+ 00017222  0x00005504 call  0x00004354 
+ 00017223  0x00005505 fetch  0x00000001 , 0x000045ff 
+ 00017224  0x00005506 increase  0x00000003 , 0x0000003f 
+ 00017225  0x00005507 copy  0x0000003f , 0x00000011 
+ 00017226  0x00005508 call  0x00004e1e 
+ 00017227  0x00005509 fetch  0x00000002 , 0x000044e1 
+ 00017228  0x0000550a istore  0x00000002 , 0x00000005 
+ 00017229  0x0000550b setarg  0x000004a1 
+ 00017230  0x0000550c istore  0x00000002 , 0x00000005 
+ 00017231  0x0000550d fetch  0x00000001 , 0x000045ff 
+ 00017232  0x0000550e increase  0x00000001 , 0x0000003f 
+ 00017233  0x0000550f copy  0x0000003f , 0x00000039 
+ 00017234  0x00005510 arg  0x000045ff , 0x00000006 
+ 00017235  0x00005511 branch  0x00007dd4 
+ 00017236  0x00005514 jam  0x0000005a , 0x00004ad2 
+ 00017237  0x00005515 rtn 
+ 00017238  0x00005519 fetch  0x00000002 , 0x0000478f 
+ 00017239  0x0000551a bbit1  0x00000007 , 0x00004362 
+ 00017240  0x0000551b bbit1  0x00000009 , 0x00003281 
+ 00017241  0x0000551c bbit1  0x00000000 , 0x00003268 
+ 00017242  0x0000551d branch  0x000045b6 
+ 00017243  0x00005520 setarg  0x00000000 
+ 00017244  0x00005521 store  0x00000002 , 0x00004ac3 
+ 00017245  0x00005522 fetch  0x00000002 , 0x0000478f 
+ 00017246  0x00005523 bbit1  0x00000009 , 0x00003281 
+ 00017247  0x00005524 fetch  0x00000002 , 0x0000478f 
+ 00017248  0x00005525 bbit1  0x00000000 , 0x00003268 
+ 00017249  0x00005526 rtn 
+ 00017250  0x00005529 call  0x0000471c 
+ 00017251  0x0000552a branch  0x0000799c 
+ 00017252  0x0000552d fetch  0x00000008 , 0x00004bbc 
+ 00017253  0x0000552e rtnbit0  0x0000001b 
+ 00017254  0x00005530 nbranch  0x0000436c , 0x00000028 
+ 00017255  0x00005531 fetch  0x00000001 , 0x00004abe 
+ 00017256  0x00005532 increase  0x00000001 , 0x0000003f 
+ 00017257  0x00005533 and_into  0x0000000f , 0x0000003f 
+ 00017258  0x00005534 store  0x00000001 , 0x00004abe 
+ 00017259  0x00005535 nrtn  0x00000034 
+ 00017260  0x00005537 jam  0x00000000 , 0x00004abe 
+ 00017261  0x00005538 disable  0x00000028 
+ 00017262  0x00005539 rtn 
+ 00017263  0x0000553d fetch  0x00000001 , 0x00004915 
+ 00017264  0x0000553e rtnne  0x000000ff 
+ 00017265  0x0000553f jam  0x00000000 , 0x00004177 
+ 00017266  0x00005540 jam  0x0000001e , 0x00004ac0 
+ 00017267  0x00005541 rtn 
+ 00017268  0x00005545 bpatch  0x000000d5 , 0x0000401a 
+ 00017269  0x00005546 copy  0x00000013 , 0x0000003f 
+ 00017270  0x00005547 beq  0x00000014 , 0x00004390 
+ 00017271  0x00005548 beq  0x00000001 , 0x0000443a 
+ 00017272  0x00005549 beq  0x00000015 , 0x0000439f 
+ 00017273  0x0000554a beq  0x00000002 , 0x0000443e 
+ 00017274  0x0000554b beq  0x00000005 , 0x00004461 
+ 00017275  0x0000554c beq  0x00000010 , 0x0000458e 
+ 00017276  0x0000554d beq  0x00000012 , 0x00004464 
+ 00017277  0x0000554e beq  0x00000006 , 0x000032b6 
+ 00017278  0x0000554f beq  0x00000004 , 0x00004472 
+ 00017279  0x00005550 beq  0x00000013 , 0x00004472 
+ 00017280  0x00005551 beq  0x00000019 , 0x0000325e 
+ 00017281  0x00005552 beq  0x0000002b , 0x0000447d 
+ 00017282  0x00005553 beq  0x00000021 , 0x00004483 
+ 00017283  0x00005554 beq  0x0000000a , 0x0000448a 
+ 00017284  0x00005555 beq  0x0000002e , 0x0000324c 
+ 00017285  0x00005556 beq  0x00000031 , 0x000043aa 
+ 00017286  0x00005557 beq  0x00000029 , 0x000043ac 
+ 00017287  0x00005558 beq  0x00000032 , 0x000043ae 
+ 00017288  0x00005559 beq  0x0000003e , 0x000043b9 
+ 00017289  0x0000555a beq  0x00000040 , 0x000043ba 
+ 00017290  0x0000555b beq  0x00000027 , 0x0000448c 
+ 00017291  0x0000555c beq  0x00000039 , 0x00004896 
+ 00017292  0x0000555d beq  0x0000003a , 0x00004872 
+ 00017293  0x0000555e beq  0x0000003c , 0x0000488d 
+ 00017294  0x0000555f beq  0x00000044 , 0x000043d0 
+ 00017295  0x00005560 rtn 
+ 00017296  0x00005564 jam  0x00000000 , 0x00004abf 
+ 00017297  0x00005565 call  0x0000430a 
+ 00017298  0x00005566 jam  0x00000001 , 0x00004ad7 
+ 00017299  0x00005567 call  0x00004861 
+ 00017300  0x00005568 fetch  0x00000001 , 0x00004ad8 
+ 00017301  0x00005569 nbranch  0x00004397 , 0x00000034 
+ 00017302  0x0000556a jam  0x00000014 , 0x00004ad9 
+ 00017303  0x0000556c fetch  0x00000002 , 0x00004482 
+ 00017304  0x0000556d set0  0x00000000 , 0x0000003f 
+ 00017305  0x0000556e store  0x00000002 , 0x00004482 
+ 00017306  0x0000556f jam  0x00000000 , 0x00004b88 
+ 00017307  0x00005570 fetch  0x00000002 , 0x00004b01 
+ 00017308  0x00005571 store  0x00000002 , 0x00004b03 
+ 00017309  0x00005572 call  0x00004584 
+ 00017310  0x00005573 branch  0x000045b6 
+ 00017311  0x00005576 jam  0x00000000 , 0x00004ad7 
+ 00017312  0x00005577 setarg  0x00000006 
+ 00017313  0x00005578 fetch  0x00000008 , 0x00004bbc 
+ 00017314  0x00005579 bbit1  0x0000001b , 0x000043a4 
+ 00017315  0x0000557a setarg  0x00000007 
+ 00017316  0x0000557c store  0x00000002 , 0x00004372 
+ 00017317  0x0000557d store  0x00000002 , 0x00004374 
+ 00017318  0x0000557e jam  0x00000000 , 0x00004b05 
+ 00017319  0x0000557f jam  0x00000000 , 0x00004abd 
+ 00017320  0x00005580 call  0x00001ac8 
+ 00017321  0x00005581 branch  0x0000443e 
+ 00017322  0x00005584 arg  0x00000002 , 0x00000007 
+ 00017323  0x00005585 branch  0x000043b5 
+ 00017324  0x00005589 jam  0x00000012 , 0x0000095b 
+ 00017325  0x0000558a branch  0x000078e5 
+ 00017326  0x0000558d fetch  0x00000001 , 0x00004ad8 
+ 00017327  0x0000558e beq  0x00000001 , 0x000043b1 
+ 00017328  0x0000558f branch  0x000043b3 
+ 00017329  0x00005591 call  0x000043ac 
+ 00017330  0x00005592 jam  0x00000014 , 0x00004b87 
+ 00017331  0x00005594 arg  0x00000001 , 0x00000007 
+ 00017332  0x00005595 branch  0x000043b5 
+ 00017333  0x00005598 fetch  0x00000001 , 0x00004b86 
+ 00017334  0x00005599 qset1  0x0000003f 
+ 00017335  0x0000559a store  0x00000001 , 0x00004b86 
+ 00017336  0x0000559b rtn 
+ 00017337  0x0000559e branch  0x0000328f 
+ 00017338  0x000055a1 fetch  0x00000002 , 0x000043db 
+ 00017339  0x000055a2 rtneq  0x00000000 
+ 00017340  0x000055a3 fetch  0x00000001 , 0x00000289 
+ 00017341  0x000055a4 rshift2  0x0000003f , 0x0000003f 
+ 00017342  0x000055a5 sub  0x0000003f , 0x0000000c , 0x0000003e 
+ 00017343  0x000055a6 rtn  0x00000002 
+ 00017344  0x000055a7 setarg  0x00000009 
+ 00017345  0x000055a8 store  0x00000002 , 0x00004372 
+ 00017346  0x000055a9 store  0x00000002 , 0x00004374 
+ 00017347  0x000055aa call  0x000043ac 
+ 00017348  0x000055ac jam  0x00000001 , 0x00004b05 
+ 00017349  0x000055ad rtn 
+ 00017350  0x000055b0 jam  0x00000000 , 0x00004b05 
+ 00017351  0x000055b1 rtn 
+ 00017352  0x000055b4 fetch  0x00000001 , 0x00004ad8 
+ 00017353  0x000055b5 nrtn  0x00000034 
+ 00017354  0x000055b6 fetch  0x00000001 , 0x00004437 
+ 00017355  0x000055b7 sub  0x0000003f , 0x00000022 , 0x0000003f 
+ 00017356  0x000055b8 nrtn  0x00000005 
+ 00017357  0x000055b9 jam  0x00000000 , 0x00004b87 
+ 00017358  0x000055bb arg  0x00000000 , 0x00000007 
+ 00017359  0x000055bc branch  0x000043b5 
+ 00017360  0x000055bf fetch  0x00000001 , 0x000002c1 
+ 00017361  0x000055c0 sub  0x0000003f , 0x0000000c , 0x0000003e 
+ 00017362  0x000055c1 nbranch  0x000043c4 , 0x00000002 
+ 00017363  0x000055c2 fetch  0x00000001 , 0x000002c3 
+ 00017364  0x000055c3 fetcht  0x00000001 , 0x00004b9b 
+ 00017365  0x000055c4 isub  0x00000002 , 0x0000003e 
+ 00017366  0x000055c5 branch  0x000043da , 0x00000002 
+ 00017367  0x000055c6 fetch  0x00000001 , 0x000002c3 
+ 00017368  0x000055c7 store  0x00000001 , 0x00004177 
+ 00017369  0x000055c8 branch  0x000043c6 
+ 00017370  0x000055ca fetch  0x00000001 , 0x00004b9b 
+ 00017371  0x000055cb store  0x00000001 , 0x00004177 
+ 00017372  0x000055cc branch  0x000043c6 
+ 00017373  0x000055cf jam  0x00000000 , 0x00004b86 
+ 00017374  0x000055d0 rtn 
+ 00017375  0x000055d3 bpatch  0x000000d6 , 0x0000401a 
+ 00017376  0x000055d4 call  0x00001b24 
+ 00017377  0x000055d5 nrtn  0x00000034 
+ 00017378  0x000055d6 fetch  0x00000001 , 0x00004ad2 
+ 00017379  0x000055d7 beq  0x000000ff , 0x000043e7 
+ 00017380  0x000055d8 fetch  0x00000001 , 0x00004b86 
+ 00017381  0x000055d9 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00017382  0x000055da rtnne  0x00000003 
+ 00017383  0x000055dc fetch  0x00000001 , 0x00004abd 
+ 00017384  0x000055dd call  0x00004308 , 0x00000034 
+ 00017385  0x000055de fetch  0x00000008 , 0x00004bbc 
+ 00017386  0x000055df bbit1  0x00000001 , 0x00004411 
+ 00017387  0x000055e0 bbit1  0x00000000 , 0x00004411 
+ 00017388  0x000055e1 bbit1  0x00000005 , 0x00004411 
+ 00017389  0x000055e2 bbit1  0x00000006 , 0x00004411 
+ 00017390  0x000055e3 call  0x00003fb0 
+ 00017391  0x000055e4 call  0x00004364 
+ 00017392  0x000055e5 nrtn  0x00000028 
+ 00017393  0x000055e6 call  0x0000436f 
+ 00017394  0x000055e7 call  0x0000430b 
+ 00017395  0x000055e8 call  0x0000405d 
+ 00017396  0x000055e9 fetch  0x00000008 , 0x00004bbc 
+ 00017397  0x000055ea bbit0  0x00000015 , 0x000043f8 
+ 00017398  0x000055eb fetch  0x00000001 , 0x00004b9c 
+ 00017399  0x000055ec beq  0x00000001 , 0x000043f9 
+ 00017400  0x000055ee branch  0x00004413 
+ 00017401  0x000055f2 fetch  0x00000001 , 0x00004b9d 
+ 00017402  0x000055f3 branch  0x00004403 , 0x00000034 
+ 00017403  0x000055f4 fetch  0x00000008 , 0x00004bde 
+ 00017404  0x000055f6 store  0x00000008 , 0x0000095c 
+ 00017405  0x000055f7 fetch  0x00000001 , 0x00004bdd 
+ 00017406  0x000055f8 beq  0x00000003 , 0x00004405 
+ 00017407  0x000055f9 beq  0x00000002 , 0x00004408 
+ 00017408  0x000055fa jam  0x00000008 , 0x00004af7 
+ 00017409  0x000055fb fetcht  0x00000002 , 0x00004af8 
+ 00017410  0x000055fc branch  0x00004418 
+ 00017411  0x00005600 fetch  0x00000008 , 0x00004be7 
+ 00017412  0x00005601 branch  0x000043fc 
+ 00017413  0x00005604 jam  0x00000003 , 0x00004af7 
+ 00017414  0x00005605 fetcht  0x00000002 , 0x00004afa 
+ 00017415  0x00005606 branch  0x00004418 
+ 00017416  0x00005609 jam  0x00000002 , 0x00004af7 
+ 00017417  0x0000560a fetcht  0x00000002 , 0x00004afc 
+ 00017418  0x0000560b branch  0x00004418 
+ 00017419  0x0000560e arg  0x00000001 , 0x00000011 
+ 00017420  0x0000560f fetcht  0x00000002 , 0x00004afe 
+ 00017421  0x00005610 call  0x00001e5f 
+ 00017422  0x00005611 fetch  0x00000001 , 0x00004b00 
+ 00017423  0x00005612 istore  0x00000001 , 0x00000005 
+ 00017424  0x00005613 rtn 
+ 00017425  0x00005617 setarg  0x00000000 
+ 00017426  0x00005618 store  0x00000007 , 0x000048d4 
+ 00017427  0x0000561a jam  0x00000007 , 0x00004af7 
+ 00017428  0x0000561b fetch  0x00000007 , 0x000048d4 
+ 00017429  0x0000561c store  0x00000007 , 0x0000095c 
+ 00017430  0x0000561d fetcht  0x00000002 , 0x00004357 
+ 00017431  0x0000561e branch  0x00004418 
+ 00017432  0x00005621 fetch  0x00000001 , 0x00004af7 
+ 00017433  0x00005622 copy  0x0000003f , 0x00000011 
+ 00017434  0x00005623 call  0x00001e5f 
+ 00017435  0x00005624 fetcht  0x00000001 , 0x00004af7 
+ 00017436  0x00005625 copy  0x00000002 , 0x00000039 
+ 00017437  0x00005626 arg  0x0000095c , 0x00000006 
+ 00017438  0x00005627 branch  0x00007dd4 
+ 00017439  0x0000562a jam  0x00000000 , 0x00004ad8 
+ 00017440  0x0000562b fetch  0x00000003 , 0x00004add 
+ 00017441  0x0000562c store  0x00000003 , 0x000043ec 
+ 00017442  0x0000562d call  0x00004428 
+ 00017443  0x0000562e setarg  0x00000005 
+ 00017444  0x0000562f istore  0x00000001 , 0x00000006 
+ 00017445  0x00005630 arg  0x00004ae3 , 0x00000006 
+ 00017446  0x00005631 call  0x0000442f 
+ 00017447  0x00005632 branch  0x00007959 
+ 00017448  0x00005635 arg  0x000043e8 , 0x00000011 
+ 00017449  0x00005637 ifetch  0x00000001 , 0x00000011 
+ 00017450  0x00005638 rtn  0x00000034 
+ 00017451  0x00005639 iadd  0x00000006 , 0x00000011 
+ 00017452  0x0000563a ifetch  0x00000001 , 0x00000006 
+ 00017453  0x0000563b rtneq  0x00000001 
+ 00017454  0x0000563c branch  0x00004429 
+ 00017455  0x0000563f arg  0x000043f3 , 0x00000005 
+ 00017456  0x00005640 arg  0x00000013 , 0x00000039 
+ 00017457  0x00005641 call  0x00007dd4 
+ 00017458  0x00005642 branch  0x00001a6a 
+ 00017459  0x00005649 setarg  0x0000000c 
+ 00017460  0x0000564a store  0x00000002 , 0x00004455 
+ 00017461  0x0000564b fetch  0x00000008 , 0x00004bbc 
+ 00017462  0x0000564c rtnbit1  0x0000001b 
+ 00017463  0x0000564d setarg  0x0000000e 
+ 00017464  0x0000564e store  0x00000002 , 0x00004455 
+ 00017465  0x0000564f rtn 
+ 00017466  0x00005652 jam  0x00000000 , 0x00004abf 
+ 00017467  0x00005653 call  0x0000430a 
+ 00017468  0x00005654 call  0x00004861 
+ 00017469  0x00005655 branch  0x000045b6 
+ 00017470  0x00005658 jam  0x00000000 , 0x00004b90 
+ 00017471  0x00005659 jam  0x00000000 , 0x00004b99 
+ 00017472  0x0000565a call  0x00004433 
+ 00017473  0x0000565b call  0x00004449 
+ 00017474  0x0000565c fetch  0x00000002 , 0x00004480 
+ 00017475  0x0000565d bbit1  0x00000007 , 0x00004450 
+ 00017476  0x0000565e bbit1  0x00000000 , 0x00003238 
+ 00017477  0x0000565f bbit1  0x00000001 , 0x00004454 
+ 00017478  0x00005660 bbit1  0x00000002 , 0x00004457 
+ 00017479  0x00005661 bbit1  0x00000003 , 0x00004457 
+ 00017480  0x00005662 branch  0x00004593 
+ 00017481  0x00005664 setarg  0x00000000 
+ 00017482  0x00005665 store  0x00000008 , 0x000048dd 
+ 00017483  0x00005666 istore  0x00000004 , 0x00000005 
+ 00017484  0x00005667 jam  0x00000000 , 0x000049cd 
+ 00017485  0x00005668 jam  0x00000000 , 0x00004454 
+ 00017486  0x00005669 jam  0x00000000 , 0x00004326 
+ 00017487  0x0000566a rtn 
+ 00017488  0x0000566d call  0x000043dd 
+ 00017489  0x0000566e fetch  0x00000002 , 0x00004480 
+ 00017490  0x0000566f bbit1  0x00000000 , 0x00003238 
+ 00017491  0x00005670 branch  0x00003e5a 
+ 00017492  0x00005674 bbit1  0x00000005 , 0x00004457 
+ 00017493  0x00005675 bbit1  0x00000003 , 0x00004457 
+ 00017494  0x00005676 branch  0x00004593 
+ 00017495  0x00005678 fetch  0x00000002 , 0x0000478f 
+ 00017496  0x00005679 bbit1  0x0000000c , 0x00004593 
+ 00017497  0x0000567a call  0x00003238 
+ 00017498  0x0000567c call  0x00004150 
+ 00017499  0x0000567d call  0x0000451c 
+ 00017500  0x0000567e fetch  0x00000001 , 0x00004bb0 
+ 00017501  0x0000567f beq  0x00000001 , 0x00003e57 
+ 00017502  0x00005681 fetch  0x00000001 , 0x00004ad5 
+ 00017503  0x00005682 nrtn  0x00000034 
+ 00017504  0x00005683 branch  0x00003e5a 
+ 00017505  0x00005687 rtn 
+ 00017506  0x0000568a jam  0x00000004 , 0x00004b98 
+ 00017507  0x0000568b rtn 
+ 00017508  0x0000568e jam  0x00000001 , 0x00004454 
+ 00017509  0x0000568f call  0x00003295 
+ 00017510  0x00005690 call  0x00003291 
+ 00017511  0x00005691 setarg  0x00000000 
+ 00017512  0x00005692 store  0x00000002 , 0x0000478b 
+ 00017513  0x00005693 store  0x00000001 , 0x0000478d 
+ 00017514  0x00005694 call  0x00004462 
+ 00017515  0x00005695 branch  0x0000328d 
+ 00017516  0x00005698 jam  0x00000000 , 0x00004b91 
+ 00017517  0x00005699 fetch  0x00000001 , 0x000045f8 
+ 00017518  0x0000569a isolate1  0x00000000 , 0x0000003f 
+ 00017519  0x0000569b rtn  0x00000001 
+ 00017520  0x0000569c jam  0x00000001 , 0x00004b91 
+ 00017521  0x0000569d rtn 
+ 00017522  0x000056a2 fetch  0x00000001 , 0x00004ad2 
+ 00017523  0x000056a3 beq  0x000000ff , 0x00004338 
+ 00017524  0x000056a4 fetch  0x00000002 , 0x0000478f 
+ 00017525  0x000056a5 rtnbit1  0x0000000c 
+ 00017526  0x000056a6 rtnbit1  0x00000006 
+ 00017527  0x000056a7 rtnbit1  0x0000000b 
+ 00017528  0x000056a8 fetch  0x00000008 , 0x00004bbc 
+ 00017529  0x000056a9 rtnbit1  0x00000005 
+ 00017530  0x000056aa bbit1  0x00000033 , 0x00004593 
+ 00017531  0x000056ab bbit1  0x0000002f , 0x0000485e 
+ 00017532  0x000056ac branch  0x00003e5a 
+ 00017533  0x000056af fetch  0x00000001 , 0x00004b90 
+ 00017534  0x000056b0 rtnne  0x00000002 
+ 00017535  0x000056b1 jam  0x00000000 , 0x00004b90 
+ 00017536  0x000056b2 call  0x00004433 
+ 00017537  0x000056b3 call  0x00004462 
+ 00017538  0x000056b4 branch  0x0000328d 
+ 00017539  0x000056b7 fetch  0x00000001 , 0x00004b90 
+ 00017540  0x000056b8 rtneq  0x00000002 
+ 00017541  0x000056b9 increase  0x00000001 , 0x0000003f 
+ 00017542  0x000056ba store  0x00000001 , 0x00004b90 
+ 00017543  0x000056bb jam  0x00000012 , 0x00004455 
+ 00017544  0x000056bc call  0x00004462 
+ 00017545  0x000056bd branch  0x0000328d 
+ 00017546  0x000056c0 call  0x00005b4f 
+ 00017547  0x000056c1 branch  0x0000325c 
+ 00017548  0x000056c4 setarg  0x00000001 
+ 00017549  0x000056c5 store  0x00000006 , 0x00000040 
+ 00017550  0x000056c6 jam  0x00000033 , 0x000000e7 
+ 00017551  0x000056c7 branch  0x000045cd 
+ 00017552  0x000056ca setarg  0xffffffff 
+ 00017553  0x000056cb store  0x00000006 , 0x00000040 
+ 00017554  0x000056cc jam  0x00000033 , 0x000000e7 
+ 00017555  0x000056cd jam  0x000000ff , 0x00004ad2 
+ 00017556  0x000056ce call  0x000045e2 
+ 00017557  0x000056cf jam  0x000000ff , 0x0000493e 
+ 00017558  0x000056d0 branch  0x0000462e 
+ 00017559  0x000056d3 bpatch  0x000000d7 , 0x0000401a 
+ 00017560  0x000056d4 rtn  0x0000002e 
+ 00017561  0x000056d5 fetch  0x00000001 , 0x00004454 
+ 00017562  0x000056d6 rtn  0x00000034 
+ 00017563  0x000056d7 call  0x00005352 
+ 00017564  0x000056d8 nrtn  0x00000034 
+ 00017565  0x000056d9 fetch  0x00000001 , 0x00004ad2 
+ 00017566  0x000056da beq  0x000000ff , 0x00004346 
+ 00017567  0x000056db fetch  0x00000001 , 0x00004abd 
+ 00017568  0x000056dc call  0x00004308 , 0x00000034 
+ 00017569  0x000056dd fetch  0x00000008 , 0x00004bbc 
+ 00017570  0x000056de bbit1  0x00000001 , 0x000044ce 
+ 00017571  0x000056df bbit1  0x00000000 , 0x000044ce 
+ 00017572  0x000056e0 bbit1  0x00000005 , 0x000044ce 
+ 00017573  0x000056e1 bbit1  0x00000006 , 0x000044ce 
+ 00017574  0x000056e2 call  0x00003fb0 
+ 00017575  0x000056e3 call  0x00004364 
+ 00017576  0x000056e4 nrtn  0x00000028 
+ 00017577  0x000056e5 call  0x0000436f 
+ 00017578  0x000056e6 call  0x0000430b 
+ 00017579  0x000056e7 call  0x0000405d 
+ 00017580  0x000056e8 fetch  0x00000001 , 0x00004b91 
+ 00017581  0x000056e9 beq  0x00000001 , 0x000044bd 
+ 00017582  0x000056ea fetch  0x00000001 , 0x00004b99 
+ 00017583  0x000056eb rtn  0x00000034 
+ 00017584  0x000056ec fetch  0x00000008 , 0x00004bbc 
+ 00017585  0x000056ed bbit0  0x00000015 , 0x000044b4 
+ 00017586  0x000056ee fetch  0x00000001 , 0x00004b9c 
+ 00017587  0x000056ef beq  0x00000001 , 0x000044d1 
+ 00017588  0x000056f1 arg  0x00000009 , 0x00000011 
+ 00017589  0x000056f2 call  0x00004e1e 
+ 00017590  0x000056f3 fetch  0x00000002 , 0x000044e1 
+ 00017591  0x000056f4 istore  0x00000002 , 0x00000005 
+ 00017592  0x000056f5 setarg  0x000002a1 
+ 00017593  0x000056f6 istore  0x00000002 , 0x00000005 
+ 00017594  0x000056f7 fetch  0x00000007 , 0x000048d4 
+ 00017595  0x000056f8 istore  0x00000007 , 0x00000005 
+ 00017596  0x000056f9 rtn 
+ 00017597  0x000056fc fetch  0x00000001 , 0x000048d4 
+ 00017598  0x000056fd store  0x00000001 , 0x00004b92 
+ 00017599  0x000056fe fetch  0x00000001 , 0x000048d5 
+ 00017600  0x000056ff istore  0x00000001 , 0x00000005 
+ 00017601  0x00005700 fetch  0x00000001 , 0x000048d7 
+ 00017602  0x00005701 istore  0x00000001 , 0x00000005 
+ 00017603  0x00005702 fetch  0x00000002 , 0x000048d9 
+ 00017604  0x00005703 istore  0x00000002 , 0x00000005 
+ 00017605  0x00005704 arg  0x00000007 , 0x00000011 
+ 00017606  0x00005705 call  0x00004e1e 
+ 00017607  0x00005706 fetch  0x00000002 , 0x000044e1 
+ 00017608  0x00005707 istore  0x00000002 , 0x00000005 
+ 00017609  0x00005708 setarg  0x000002a1 
+ 00017610  0x00005709 istore  0x00000002 , 0x00000005 
+ 00017611  0x0000570a fetch  0x00000005 , 0x00004b92 
+ 00017612  0x0000570b istore  0x00000005 , 0x00000005 
+ 00017613  0x0000570c rtn 
+ 00017614  0x0000570f setarg  0x00000000 
+ 00017615  0x00005710 store  0x00000007 , 0x000048d4 
+ 00017616  0x00005711 branch  0x000044b4 
+ 00017617  0x00005715 fetch  0x00000001 , 0x00004b9d 
+ 00017618  0x00005716 branch  0x000044f3 , 0x00000034 
+ 00017619  0x00005717 fetch  0x00000008 , 0x00004bde 
+ 00017620  0x00005719 store  0x00000008 , 0x0000095c 
+ 00017621  0x0000571a fetch  0x00000001 , 0x00004bdd 
+ 00017622  0x0000571b beq  0x00000003 , 0x000044e1 
+ 00017623  0x0000571c beq  0x00000002 , 0x000044ea 
+ 00017624  0x0000571d arg  0x0000000a , 0x00000011 
+ 00017625  0x0000571e call  0x00004e1e 
+ 00017626  0x0000571f fetch  0x00000002 , 0x000044e1 
+ 00017627  0x00005720 istore  0x00000002 , 0x00000005 
+ 00017628  0x00005721 setarg  0x000001a1 
+ 00017629  0x00005722 istore  0x00000002 , 0x00000005 
+ 00017630  0x00005723 fetch  0x00000008 , 0x0000095c 
+ 00017631  0x00005724 istore  0x00000008 , 0x00000005 
+ 00017632  0x00005725 rtn 
+ 00017633  0x00005728 arg  0x00000004 , 0x00000011 
+ 00017634  0x00005729 call  0x00004e1e 
+ 00017635  0x0000572a fetch  0x00000002 , 0x000044e1 
+ 00017636  0x0000572b istore  0x00000002 , 0x00000005 
+ 00017637  0x0000572c setarg  0x000003a1 
+ 00017638  0x0000572d istore  0x00000002 , 0x00000005 
+ 00017639  0x0000572e fetch  0x00000002 , 0x0000095c 
+ 00017640  0x0000572f istore  0x00000002 , 0x00000005 
+ 00017641  0x00005730 rtn 
+ 00017642  0x00005733 arg  0x00000003 , 0x00000011 
+ 00017643  0x00005734 call  0x00004e1e 
+ 00017644  0x00005735 fetch  0x00000002 , 0x000044e1 
+ 00017645  0x00005736 istore  0x00000002 , 0x00000005 
+ 00017646  0x00005737 setarg  0x000004a1 
+ 00017647  0x00005738 istore  0x00000002 , 0x00000005 
+ 00017648  0x00005739 fetch  0x00000001 , 0x0000095c 
+ 00017649  0x0000573a istore  0x00000001 , 0x00000005 
+ 00017650  0x0000573b rtn 
+ 00017651  0x0000573e fetch  0x00000008 , 0x00004be7 
+ 00017652  0x0000573f branch  0x000044d4 
+ 00017653  0x00005746 bpatch  0x000000d8 , 0x0000401b 
+ 00017654  0x00005747 call  0x00003edc 
+ 00017655  0x00005748 call  0x000049a3 
+ 00017656  0x0000574a call  0x000022e1 
+ 00017657  0x0000574b call  0x0000255f 
+ 00017658  0x0000574c call  0x0000480b 
+ 00017659  0x0000574e call  0x0000490b 
+ 00017660  0x0000574f call  0x0000493c 
+ 00017661  0x00005751 call  0x000040bc 
+ 00017662  0x00005752 call  0x0000450c 
+ 00017663  0x00005753 call  0x0000451c 
+ 00017664  0x00005754 call  0x0000453f 
+ 00017665  0x00005756 call  0x00004544 
+ 00017666  0x00005757 call  0x00004552 
+ 00017667  0x00005758 call  0x0000455f 
+ 00017668  0x00005759 call  0x00004555 
+ 00017669  0x0000575b call  0x0000456a 
+ 00017670  0x0000575c call  0x0000456d 
+ 00017671  0x0000575d call  0x00004572 
+ 00017672  0x0000575e call  0x00004575 
+ 00017673  0x0000575f call  0x00004062 
+ 00017674  0x00005760 call  0x00004587 
+ 00017675  0x00005761 branch  0x0000457c 
+ 00017676  0x00005767 fetch  0x00000008 , 0x00004bbc 
+ 00017677  0x00005768 bbit1  0x00000037 , 0x0000450f 
+ 00017678  0x00005769 rtn 
+ 00017679  0x0000576c fetch  0x00000001 , 0x00004baf 
+ 00017680  0x0000576d rtnne  0x00000001 
+ 00017681  0x0000576e arg  0x00004bac , 0x00000013 
+ 00017682  0x0000576f arg  0x00004514 , 0x00000012 
+ 00017683  0x00005770 branch  0x000031fc 
+ 00017684  0x00005773 fetch  0x00000001 , 0x0000493d 
+ 00017685  0x00005774 rtneq  0x00000000 
+ 00017686  0x00005775 fetch  0x00000008 , 0x00004bbc 
+ 00017687  0x00005776 rtnbit1  0x00000006 
+ 00017688  0x00005777 arg  0x00000006 , 0x00000007 
+ 00017689  0x00005778 call  0x0000472e 
+ 00017690  0x00005779 call  0x000031e6 
+ 00017691  0x0000577a branch  0x0000458e 
+ 00017692  0x0000577e fetch  0x00000001 , 0x0000493d 
+ 00017693  0x0000577f beq  0x00000000 , 0x00004522 
+ 00017694  0x00005780 fetch  0x00000008 , 0x00004bbc 
+ 00017695  0x00005781 rtnbit0  0x00000035 
+ 00017696  0x00005782 fetcht  0x00000001 , 0x00004bdb 
+ 00017697  0x00005783 branch  0x00004525 
+ 00017698  0x00005786 fetch  0x00000008 , 0x00004bbc 
+ 00017699  0x00005787 rtnbit0  0x00000032 
+ 00017700  0x00005788 fetcht  0x00000001 , 0x00004bdc 
+ 00017701  0x0000578a storet  0x00000001 , 0x00004bae 
+ 00017702  0x0000578b call  0x00004155 
+ 00017703  0x0000578c and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00017704  0x0000578d fetcht  0x00000001 , 0x00004bae 
+ 00017705  0x0000578e isub  0x00000002 , 0x0000003e 
+ 00017706  0x0000578f branch  0x00004531 , 0x00000005 
+ 00017707  0x00005791 fetch  0x00000001 , 0x00004792 
+ 00017708  0x00005792 store  0x00000001 , 0x00004bb1 
+ 00017709  0x00005793 fetch  0x00000001 , 0x00004bb0 
+ 00017710  0x00005794 rtneq  0x00000000 
+ 00017711  0x00005795 jam  0x00000000 , 0x00004bb0 
+ 00017712  0x00005796 rtn 
+ 00017713  0x00005799 call  0x00004536 
+ 00017714  0x0000579a fetch  0x00000001 , 0x00004bb0 
+ 00017715  0x0000579b rtneq  0x00000001 
+ 00017716  0x0000579c jam  0x00000001 , 0x00004bb0 
+ 00017717  0x0000579d branch  0x0000799c 
+ 00017718  0x000057a1 arg  0x00004866 , 0x00000012 
+ 00017719  0x000057a2 arg  0x00004bb1 , 0x00000013 
+ 00017720  0x000057a3 fetch  0x00000001 , 0x0000493d 
+ 00017721  0x000057a4 beq  0x00000000 , 0x000031fc 
+ 00017722  0x000057a5 arg  0x00004514 , 0x00000012 
+ 00017723  0x000057a6 call  0x000031fc 
+ 00017724  0x000057a7 fetch  0x00000001 , 0x00004bb1 
+ 00017725  0x000057a8 beq  0x00000001 , 0x00004720 
+ 00017726  0x000057a9 rtn 
+ 00017727  0x000057ae arg  0x00004ad3 , 0x00000013 
+ 00017728  0x000057af arg  0x00004542 , 0x00000012 
+ 00017729  0x000057b0 branch  0x00003203 
+ 00017730  0x000057b3 call  0x000045b6 
+ 00017731  0x000057b4 branch  0x00003e5a 
+ 00017732  0x000057b8 arg  0x00004b88 , 0x00000013 
+ 00017733  0x000057b9 arg  0x0000454a , 0x00000012 
+ 00017734  0x000057ba call  0x00003203 
+ 00017735  0x000057bb fetch  0x00000001 , 0x00004b88 
+ 00017736  0x000057bc beq  0x00000001 , 0x00003275 
+ 00017737  0x000057bd rtn 
+ 00017738  0x000057c0 fetch  0x00000001 , 0x00004ad2 
+ 00017739  0x000057c1 beq  0x000000ff , 0x00004338 
+ 00017740  0x000057c2 fetch  0x00000001 , 0x00004ac1 
+ 00017741  0x000057c3 nbranch  0x0000474c , 0x00000034 
+ 00017742  0x000057c4 fetch  0x00000008 , 0x00004bbc 
+ 00017743  0x000057c5 bbit1  0x00000033 , 0x00004593 
+ 00017744  0x000057c6 bbit1  0x0000002f , 0x0000485e 
+ 00017745  0x000057c7 branch  0x00003e5a 
+ 00017746  0x000057ca arg  0x00004b87 , 0x00000013 
+ 00017747  0x000057cb arg  0x000043ce , 0x00000012 
+ 00017748  0x000057cc branch  0x000031fc 
+ 00017749  0x000057cf fetch  0x00000001 , 0x00004ad7 
+ 00017750  0x000057d0 rtn  0x00000034 
+ 00017751  0x000057d1 arg  0x00004ad9 , 0x00000013 
+ 00017752  0x000057d2 arg  0x0000455a , 0x00000012 
+ 00017753  0x000057d3 branch  0x000031fc 
+ 00017754  0x000057d5 fetch  0x00000001 , 0x00004ad8 
+ 00017755  0x000057d6 nrtn  0x00000034 
+ 00017756  0x000057d7 fetch  0x00000001 , 0x0000439b 
+ 00017757  0x000057d8 rtnne  0x00000000 
+ 00017758  0x000057d9 branch  0x0000203d 
+ 00017759  0x000057dc arg  0x00004b03 , 0x00000013 
+ 00017760  0x000057dd arg  0x00004562 , 0x00000012 
+ 00017761  0x000057de branch  0x000031fc 
+ 00017762  0x000057e1 fetch  0x00000002 , 0x00004b01 
+ 00017763  0x000057e2 store  0x00000002 , 0x00004b03 
+ 00017764  0x000057e3 branch  0x0000440b 
+ 00017765  0x000057e6 fetch  0x00000001 , 0x00004b86 
+ 00017766  0x000057e7 rtnbit1  0x00000002 
+ 00017767  0x000057e8 call  0x000043ac 
+ 00017768  0x000057e9 arg  0x00000000 , 0x00000007 
+ 00017769  0x000057ea branch  0x000043b5 
+ 00017770  0x000057ed arg  0x0000478d , 0x00000013 
+ 00017771  0x000057ee arg  0x00004464 , 0x00000012 
+ 00017772  0x000057ef branch  0x000031fc 
+ 00017773  0x000057f2 arg  0x00004b98 , 0x00000013 
+ 00017774  0x000057f3 arg  0x00004570 , 0x00000012 
+ 00017775  0x000057f4 branch  0x000031fc 
+ 00017776  0x000057f6 jam  0x00000001 , 0x00004b99 
+ 00017777  0x000057f7 rtn 
+ 00017778  0x000057fa arg  0x00004ad5 , 0x00000013 
+ 00017779  0x000057fb arg  0x00003e5a , 0x00000012 
+ 00017780  0x000057fc branch  0x000031fc 
+ 00017781  0x00005800 arg  0x00004ac0 , 0x00000013 
+ 00017782  0x00005801 arg  0x00004578 , 0x00000012 
+ 00017783  0x00005802 branch  0x000031fc 
+ 00017784  0x00005804 fetch  0x00000001 , 0x00004b9b 
+ 00017785  0x00005805 store  0x00000001 , 0x00004177 
+ 00017786  0x00005806 jam  0x00000001 , 0x00004abf 
+ 00017787  0x00005807 rtn 
+ 00017788  0x0000580b fetch  0x00000001 , 0x0000492f 
+ 00017789  0x0000580c rtnbit1  0x00000007 
+ 00017790  0x0000580d arg  0x00004ac3 , 0x00000013 
+ 00017791  0x0000580e arg  0x00004581 , 0x00000012 
+ 00017792  0x0000580f branch  0x00003203 
+ 00017793  0x00005812 fetch  0x00000001 , 0x0000493d 
+ 00017794  0x00005813 beq  0x00000000 , 0x00004820 
+ 00017795  0x00005814 branch  0x0000435b 
+ 00017796  0x00005817 fetch  0x00000002 , 0x00004bcf 
+ 00017797  0x00005818 store  0x00000002 , 0x00004ac3 
+ 00017798  0x00005819 rtn 
+ 00017799  0x0000581c arg  0x000049c4 , 0x00000013 
+ 00017800  0x0000581d arg  0x0000458a , 0x00000012 
+ 00017801  0x0000581e branch  0x000031fc 
+ 00017802  0x00005821 call  0x00004631 
+ 00017803  0x00005822 fetch  0x00000001 , 0x00004ad6 
+ 00017804  0x00005823 nbranch  0x000046fe , 0x00000034 
+ 00017805  0x00005824 rtn 
+ 00017806  0x00005827 isolate1  0x00000026 , 0x00000000 
+ 00017807  0x00005828 call  0x00004831 , 0x00000001 
+ 00017808  0x00005829 call  0x0000435b 
+ 00017809  0x0000582a call  0x000043dd 
+ 00017810  0x0000582b branch  0x00004593 
+ 00017811  0x0000582e bpatch  0x000000d9 , 0x0000401b 
+ 00017812  0x0000582f call  0x00004354 
+ 00017813  0x00005830 fetch  0x00000002 , 0x0000478f 
+ 00017814  0x00005831 bbit1  0x0000000b , 0x0000459f 
+ 00017815  0x00005832 fetch  0x00000008 , 0x00004bbc 
+ 00017816  0x00005833 bbit0  0x00000008 , 0x0000459f 
+ 00017817  0x00005834 fetcht  0x00000002 , 0x0000499c 
+ 00017818  0x00005835 increase  0x00000001 , 0x00000002 
+ 00017819  0x00005836 storet  0x00000002 , 0x0000499c 
+ 00017820  0x00005837 storet  0x00000002 , 0x0000437b 
+ 00017821  0x00005838 random  0x0000003f 
+ 00017822  0x00005839 store  0x00000001 , 0x0000437a 
+ 00017823  0x0000583b fetch  0x00000003 , 0x00004ada 
+ 00017824  0x0000583c store  0x00000003 , 0x0000437d 
+ 00017825  0x0000583d call  0x00003297 
+ 00017826  0x0000583e fetch  0x00000002 , 0x00004794 
+ 00017827  0x0000583f store  0x00000002 , 0x00004ad3 
+ 00017828  0x00005840 jam  0x00000006 , 0x000000bc 
+ 00017829  0x00005841 setarg  0x00000000 
+ 00017830  0x00005842 store  0x00000002 , 0x00004ac3 
+ 00017831  0x00005843 store  0x00000001 , 0x00004b88 
+ 00017832  0x00005844 store  0x00000001 , 0x00004ad5 
+ 00017833  0x00005845 store  0x00000001 , 0x00004bb8 
+ 00017834  0x00005846 store  0x00000001 , 0x00004abd 
+ 00017835  0x00005847 arg  0x00000002 , 0x00000007 
+ 00017836  0x00005848 call  0x0000472e 
+ 00017837  0x00005849 call  0x00004722 
+ 00017838  0x0000584a fetch  0x00000001 , 0x00004bc4 
+ 00017839  0x0000584b isolate1  0x00000001 , 0x0000003f 
+ 00017840  0x0000584c call  0x0000441f , 0x00000001 
+ 00017841  0x0000584d fetch  0x00000001 , 0x00004bc4 
+ 00017842  0x0000584e isolate1  0x00000000 , 0x0000003f 
+ 00017843  0x0000584f call  0x0000792f , 0x00000001 
+ 00017844  0x00005850 call  0x000049db 
+ 00017845  0x00005851 branch  0x00004919 
+ 00017846  0x00005855 bpatch  0x000000da , 0x0000401b 
+ 00017847  0x00005856 arg  0x00000006 , 0x00000007 
+ 00017848  0x00005857 call  0x00004732 
+ 00017849  0x00005858 jam  0x00000000 , 0x00004ad5 
+ 00017850  0x00005859 fetch  0x00000001 , 0x00004bc4 
+ 00017851  0x0000585a isolate1  0x00000001 , 0x0000003f 
+ 00017852  0x0000585b call  0x000045c1 , 0x00000001 
+ 00017853  0x0000585c fetch  0x00000001 , 0x00004bc4 
+ 00017854  0x0000585d isolate1  0x00000000 , 0x0000003f 
+ 00017855  0x0000585e call  0x000045c3 , 0x00000001 
+ 00017856  0x0000585f branch  0x0000495f 
+ 00017857  0x00005861 jam  0x00000000 , 0x00004b88 
+ 00017858  0x00005862 branch  0x0000795f 
+ 00017859  0x00005864 setarg  0x00000000 
+ 00017860  0x00005865 store  0x00000002 , 0x00004ad3 
+ 00017861  0x00005866 branch  0x00007934 
+ 00017862  0x00005869 bpatch  0x000000db , 0x0000401b 
+ 00017863  0x0000586a fetch  0x00000008 , 0x00004bbc 
+ 00017864  0x0000586b rtnbit0  0x00000002 
+ 00017865  0x0000586c call  0x00004913 
+ 00017866  0x0000586d arg  0x00000002 , 0x00000007 
+ 00017867  0x0000586e call  0x00004732 
+ 00017868  0x0000586f call  0x000045cf 
+ 00017869  0x00005871 call  0x000045e2 
+ 00017870  0x00005872 branch  0x0000462e 
+ 00017871  0x00005876 fetch  0x00000001 , 0x000000e7 
+ 00017872  0x00005877 beq  0x00000034 , 0x000045d3 
+ 00017873  0x00005878 beq  0x00000033 , 0x000045d6 
+ 00017874  0x00005879 rtn 
+ 00017875  0x0000587b store  0x00000001 , 0x00004b89 
+ 00017876  0x0000587c fetch  0x00000006 , 0x00000297 
+ 00017877  0x0000587d branch  0x000045d8 
+ 00017878  0x0000587f store  0x00000001 , 0x00004b89 
+ 00017879  0x00005880 fetch  0x00000006 , 0x00000040 
+ 00017880  0x00005882 store  0x00000006 , 0x00004b8a 
+ 00017881  0x00005883 fetch  0x00000007 , 0x00004b89 
+ 00017882  0x00005884 arg  0x0000493e , 0x00000006 
+ 00017883  0x00005885 arg  0x00000003 , 0x00000039 
+ 00017884  0x00005887 ifetcht  0x00000007 , 0x00000006 
+ 00017885  0x00005888 isub  0x00000002 , 0x0000003e 
+ 00017886  0x00005889 branch  0x000045f7 , 0x00000005 
+ 00017887  0x0000588a increase  0x00000016 , 0x00000006 
+ 00017888  0x0000588b loop  0x000045dc 
+ 00017889  0x0000588c rtn 
+ 00017890  0x0000588e arg  0x0000493e , 0x00000011 
+ 00017891  0x0000588f fetch  0x00000001 , 0x0000493d 
+ 00017892  0x00005890 increase  0xffffffff , 0x0000003f 
+ 00017893  0x00005891 mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00017894  0x00005892 iadd  0x00000011 , 0x00000011 
+ 00017895  0x00005893 fetch  0x00000001 , 0x000000e7 
+ 00017896  0x00005894 istore  0x00000001 , 0x00000011 
+ 00017897  0x00005895 beq  0x00000034 , 0x000045ec 
+ 00017898  0x00005896 beq  0x00000033 , 0x000045f3 
+ 00017899  0x00005897 rtn 
+ 00017900  0x0000589a fetch  0x00000006 , 0x00000297 
+ 00017901  0x0000589b istore  0x00000006 , 0x00000005 
+ 00017902  0x0000589c arg  0x00004316 , 0x00000006 
+ 00017903  0x0000589d call  0x00007d7f 
+ 00017904  0x0000589e fetch  0x00000006 , 0x0000437a 
+ 00017905  0x0000589f istore  0x00000006 , 0x00000005 
+ 00017906  0x000058a0 rtn 
+ 00017907  0x000058a2 fetch  0x00000006 , 0x00000040 
+ 00017908  0x000058a3 istore  0x00000006 , 0x00000005 
+ 00017909  0x000058a4 arg  0x000041cb , 0x00000006 
+ 00017910  0x000058a5 branch  0x00007d7f 
+ 00017911  0x000058a8 increase  0xfffffffa , 0x00000006 
+ 00017912  0x000058a9 copy  0x00000006 , 0x00000005 
+ 00017913  0x000058aa fetcht  0x00000006 , 0x00004b8a 
+ 00017914  0x000058ab increase  0x00000003 , 0x00000002 
+ 00017915  0x000058ac istoret  0x00000006 , 0x00000005 
+ 00017916  0x000058ad rtn 
+ 00017917  0x000058b0 arg  0x0000493e , 0x00000011 
+ 00017918  0x000058b1 fetch  0x00000001 , 0x0000493d 
+ 00017919  0x000058b2 rtneq  0x00000000 
+ 00017920  0x000058b3 increase  0xffffffff , 0x0000003f 
+ 00017921  0x000058b4 mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00017922  0x000058b5 iadd  0x00000011 , 0x00000011 
+ 00017923  0x000058b6 ifetch  0x00000001 , 0x00000011 
+ 00017924  0x000058b7 store  0x00000001 , 0x00004484 
+ 00017925  0x000058b8 beq  0x00000033 , 0x00004608 
+ 00017926  0x000058b9 beq  0x00000034 , 0x0000460d 
+ 00017927  0x000058ba rtn 
+ 00017928  0x000058bd ifetch  0x00000006 , 0x00000006 
+ 00017929  0x000058bf store  0x00000006 , 0x000041dd 
+ 00017930  0x000058c0 arg  0x000041cb , 0x00000005 
+ 00017931  0x000058c1 call  0x00007d7f 
+ 00017932  0x000058c2 branch  0x000060d0 
+ 00017933  0x000058c5 ifetch  0x00000006 , 0x00000006 
+ 00017934  0x000058c7 store  0x00000006 , 0x000041dd 
+ 00017935  0x000058c8 arg  0x00004316 , 0x00000005 
+ 00017936  0x000058c9 call  0x00007d7f 
+ 00017937  0x000058ca ifetch  0x00000006 , 0x00000006 
+ 00017938  0x000058cb store  0x00000006 , 0x0000437a 
+ 00017939  0x000058cc rtn 
+ 00017940  0x000058d1 fetch  0x00000002 , 0x00004995 
+ 00017941  0x000058d2 arg  0x0000aa55 , 0x00000002 
+ 00017942  0x000058d3 isub  0x00000002 , 0x0000003e 
+ 00017943  0x000058d4 branch  0x00004622 , 0x00000005 
+ 00017944  0x000058d5 storet  0x00000002 , 0x00004995 
+ 00017945  0x000058d6 call  0x00004627 
+ 00017946  0x000058d7 fetch  0x00000001 , 0x00004ac5 
+ 00017947  0x000058d8 store  0x00000001 , 0x0000493d 
+ 00017948  0x000058d9 fetch  0x00000001 , 0x0000492b 
+ 00017949  0x000058da store  0x00000001 , 0x00004997 
+ 00017950  0x000058db fetch  0x00000004 , 0x00004891 
+ 00017951  0x000058dc store  0x00000004 , 0x00004895 
+ 00017952  0x000058dd store  0x00000004 , 0x0000483f 
+ 00017953  0x000058de rtn 
+ 00017954  0x000058e1 call  0x000045fd 
+ 00017955  0x000058e2 fetch  0x00000004 , 0x00004998 
+ 00017956  0x000058e3 store  0x00000004 , 0x00004895 
+ 00017957  0x000058e4 store  0x00000004 , 0x0000483f 
+ 00017958  0x000058e5 rtn 
+ 00017959  0x000058e8 fetch  0x00000006 , 0x0000437a 
+ 00017960  0x000058e9 store  0x00000006 , 0x00004955 
+ 00017961  0x000058ea add  0x0000003f , 0x00000100 , 0x0000003f 
+ 00017962  0x000058eb store  0x00000006 , 0x00004972 
+ 00017963  0x000058ec add  0x0000003f , 0x00000100 , 0x0000003f 
+ 00017964  0x000058ed store  0x00000006 , 0x0000498f 
+ 00017965  0x000058ee rtn 
+ 00017966  0x000058f2 fetch  0x00000001 , 0x000049c5 
+ 00017967  0x000058f3 store  0x00000001 , 0x000049c4 
+ 00017968  0x000058f4 rtn 
+ 00017969  0x000058f7 bpatch  0x000000dc , 0x0000401b 
+ 00017970  0x000058f8 fetch  0x00000008 , 0x00004bbc 
+ 00017971  0x000058f9 bbit1  0x00000013 , 0x0000467f 
+ 00017972  0x000058fa bbit1  0x00000012 , 0x00004643 
+ 00017973  0x000058fb rtn 
+ 00017974  0x000058fe call  0x00005daf 
+ 00017975  0x000058ff call  0x0000464a 
+ 00017976  0x00005900 call  0x0000463d 
+ 00017977  0x00005901 call  0x00005dd2 
+ 00017978  0x00005902 call  0x00004651 
+ 00017979  0x00005903 call  0x00004614 
+ 00017980  0x00005904 branch  0x00003fa5 
+ 00017981  0x00005908 setarg  0x000049bd 
+ 00017982  0x00005909 arg  0x0000493d , 0x00000002 
+ 00017983  0x0000590a isub  0x00000002 , 0x00000002 
+ 00017984  0x0000590b fetch  0x00000003 , 0x000049bd 
+ 00017985  0x0000590c arg  0x0000493d , 0x00000011 
+ 00017986  0x0000590d rtn 
+ 00017987  0x00005910 call  0x00005daf 
+ 00017988  0x00005911 call  0x0000464a 
+ 00017989  0x00005912 call  0x0000465f 
+ 00017990  0x00005914 call  0x0000463d 
+ 00017991  0x00005915 call  0x00004662 
+ 00017992  0x00005916 call  0x00004651 
+ 00017993  0x00005917 branch  0x00003fa5 
+ 00017994  0x0000591a jam  0x000000ab , 0x00000964 
+ 00017995  0x0000591c call  0x0000623f 
+ 00017996  0x0000591d call  0x00005db4 
+ 00017997  0x0000591e arg  0x000049c0 , 0x00000011 
+ 00017998  0x0000591f fetcht  0x00000001 , 0x00000964 
+ 00017999  0x00005920 call  0x00004653 
+ 00018000  0x00005921 branch  0x0000623f 
+ 00018001  0x00005924 jam  0x000000b9 , 0x00000964 
+ 00018002  0x00005925 branch  0x0000464b 
+ 00018003  0x00005928 istoret  0x00000001 , 0x00000011 
+ 00018004  0x00005929 rshift16  0x0000003f , 0x00000002 
+ 00018005  0x0000592a istoret  0x00000001 , 0x00000005 
+ 00018006  0x0000592b rshift8  0x0000003f , 0x00000002 
+ 00018007  0x0000592c istoret  0x00000001 , 0x00000005 
+ 00018008  0x0000592d istore  0x00000001 , 0x00000005 
+ 00018009  0x0000592e deposit  0x00000011 
+ 00018010  0x0000592f store  0x00000002 , 0x0000808a 
+ 00018011  0x00005930 setarg  0x00000000 
+ 00018012  0x00005931 store  0x00000002 , 0x0000808e 
+ 00018013  0x00005932 jam  0x00000002 , 0x00008006 
+ 00018014  0x00005933 branch  0x00005d6e 
+ 00018015  0x00005936 fetch  0x00000003 , 0x000049bd 
+ 00018016  0x00005937 store  0x00000003 , 0x000044a7 
+ 00018017  0x00005938 branch  0x00005d8a 
+ 00018018  0x0000593b copy  0x0000003f , 0x00000013 
+ 00018019  0x0000593c copy  0x00000011 , 0x0000003f 
+ 00018020  0x0000593d increase  0xfffffffc , 0x0000003f 
+ 00018021  0x0000593e copy  0x0000003f , 0x00000012 
+ 00018022  0x0000593f ifetch  0x00000004 , 0x00000012 
+ 00018023  0x00005940 store  0x00000004 , 0x000049c0 
+ 00018024  0x00005941 copy  0x00000013 , 0x0000003f 
+ 00018025  0x00005942 call  0x00005dc1 
+ 00018026  0x00005943 fetch  0x00000004 , 0x000049c0 
+ 00018027  0x00005944 istore  0x00000004 , 0x00000012 
+ 00018028  0x00005945 rtn 
+ 00018029  0x00005948 fetch  0x00000008 , 0x00004bbc 
+ 00018030  0x00005949 rtnbit0  0x00000012 
+ 00018031  0x0000594a call  0x00004651 
+ 00018032  0x0000594b call  0x00005b66 
+ 00018033  0x0000594c fetcht  0x00000001 , 0x000044b7 
+ 00018034  0x0000594d call  0x00006109 
+ 00018035  0x0000594e fetcht  0x00000001 , 0x000044bc 
+ 00018036  0x0000594f branch  0x00003f94 
+ 00018037  0x00005952 call  0x00005e42 
+ 00018038  0x00005953 fetch  0x00000008 , 0x00004bbc 
+ 00018039  0x00005954 isolate1  0x00000009 , 0x0000003f 
+ 00018040  0x00005955 ncall  0x00005e5c , 0x00000001 
+ 00018041  0x00005956 call  0x0000467b 
+ 00018042  0x00005957 branch  0x00004614 
+ 00018043  0x0000595a arg  0x00000080 , 0x00000002 
+ 00018044  0x0000595b arg  0x0000493d , 0x00000011 
+ 00018045  0x0000595c arg  0x00000000 , 0x00000012 
+ 00018046  0x0000595d branch  0x00005e79 
+ 00018047  0x00005960 arg  0x00000080 , 0x00000002 
+ 00018048  0x00005961 arg  0x0000493d , 0x00000011 
+ 00018049  0x00005962 arg  0x00000000 , 0x00000012 
+ 00018050  0x00005963 branch  0x00005e6b 
+ 00018051  0x00005967 arg  0x00000001 , 0x00000002 
+ 00018052  0x00005968 arg  0x00004997 , 0x00000011 
+ 00018053  0x00005969 arg  0x0000005a , 0x00000012 
+ 00018054  0x0000596a branch  0x00005e6b 
+ 00018055  0x0000596d arg  0x00000001 , 0x00000002 
+ 00018056  0x0000596e arg  0x00004997 , 0x00000011 
+ 00018057  0x0000596f arg  0x0000005a , 0x00000012 
+ 00018058  0x00005970 branch  0x00005e79 
+ 00018059  0x00005975 bpatch  0x000000dd , 0x0000401b 
+ 00018060  0x00005976 call  0x000049dd 
+ 00018061  0x00005977 call  0x000079a1 
+ 00018062  0x00005978 call  0x00004067 
+ 00018063  0x00005979 call  0x00004693 
+ 00018064  0x0000597a call  0x000046de 
+ 00018065  0x0000597b call  0x00004714 
+ 00018066  0x0000597c branch  0x00003fc8 
+ 00018067  0x0000597f fetch  0x00000008 , 0x00004bbc 
+ 00018068  0x00005980 bbit1  0x00000029 , 0x00004698 
+ 00018069  0x00005981 bbit1  0x00000037 , 0x00004698 
+ 00018070  0x00005982 rtn 
+ 00018071  0x00005985 jam  0x00000003 , 0x00004ba5 
+ 00018072  0x00005987 fetch  0x00000001 , 0x0000491f 
+ 00018073  0x00005988 rtneq  0x000000ff 
+ 00018074  0x00005989 arg  0x00000000 , 0x00000011 
+ 00018075  0x0000598a jam  0x00000006 , 0x00004ba7 
+ 00018076  0x0000598b fetcht  0x00000001 , 0x0000491f 
+ 00018077  0x0000598c call  0x000046a8 
+ 00018078  0x0000598d store  0x00000001 , 0x00004ba5 
+ 00018079  0x0000598e fetch  0x00000001 , 0x00004914 
+ 00018080  0x0000598f beq  0x000000ff , 0x000046a5 
+ 00018081  0x00005990 call  0x000041a8 
+ 00018082  0x00005992 copy  0x00000011 , 0x0000003f 
+ 00018083  0x00005993 bbit1  0x00000006 , 0x000046c9 
+ 00018084  0x00005994 branch  0x000046be 
+ 00018085  0x00005997 fetcht  0x00000001 , 0x0000491f 
+ 00018086  0x00005998 call  0x00003f96 
+ 00018087  0x00005999 branch  0x000046a2 
+ 00018088  0x0000599d fetch  0x00000008 , 0x00004bbc 
+ 00018089  0x0000599e bbit1  0x0000002d , 0x000046b4 
+ 00018090  0x0000599f fetch  0x00000001 , 0x00004ba5 
+ 00018091  0x000059a0 copy  0x0000003f , 0x00000013 
+ 00018092  0x000059a1 fetch  0x00000001 , 0x00004914 
+ 00018093  0x000059a2 beq  0x000000ff , 0x000041d5 
+ 00018094  0x000059a3 fetch  0x00000001 , 0x00004bab 
+ 00018095  0x000059a4 nbranch  0x000046b1 , 0x00000034 
+ 00018096  0x000059a5 branch  0x000046b6 
+ 00018097  0x000059a8 jam  0x00000000 , 0x00004baf 
+ 00018098  0x000059a9 jam  0x00000000 , 0x00004ba5 
+ 00018099  0x000059aa rtn 
+ 00018100  0x000059ad fetch  0x00000001 , 0x00004ba5 
+ 00018101  0x000059ae branch  0x000041c7 
+ 00018102  0x000059b1 call  0x000060fd 
+ 00018103  0x000059b2 fetcht  0x00000001 , 0x00004914 
+ 00018104  0x000059b3 branch  0x000046b4 , 0x00000001 
+ 00018105  0x000059b4 fetcht  0x00000001 , 0x00004914 
+ 00018106  0x000059b5 call  0x0000610d 
+ 00018107  0x000059b6 fetcht  0x00000001 , 0x0000491f 
+ 00018108  0x000059b7 fetch  0x00000001 , 0x00004ba5 
+ 00018109  0x000059b8 branch  0x000041c7 
+ 00018110  0x000059bb fetch  0x00000001 , 0x00004baf 
+ 00018111  0x000059bc rtneq  0x00000000 
+ 00018112  0x000059bd jam  0x00000000 , 0x00004baf 
+ 00018113  0x000059be fetch  0x00000008 , 0x00004bbc 
+ 00018114  0x000059bf rtnbit1  0x00000034 
+ 00018115  0x000059c0 fetch  0x00000001 , 0x00004bac 
+ 00018116  0x000059c1 sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00018117  0x000059c2 ncall  0x000046f3 , 0x00000002 
+ 00018118  0x000059c3 fetch  0x00000001 , 0x00004792 
+ 00018119  0x000059c4 store  0x00000001 , 0x00004bac 
+ 00018120  0x000059c5 rtn 
+ 00018121  0x000059c8 call  0x000046d5 
+ 00018122  0x000059c9 rtn  0x00000028 
+ 00018123  0x000059ca fetch  0x00000001 , 0x00004baf 
+ 00018124  0x000059cb rtneq  0x00000001 
+ 00018125  0x000059cc jam  0x00000001 , 0x00004baf 
+ 00018126  0x000059cd fetch  0x00000008 , 0x00004bbc 
+ 00018127  0x000059ce bbit1  0x00000034 , 0x00004514 
+ 00018128  0x000059cf fetch  0x00000001 , 0x00004b88 
+ 00018129  0x000059d0 rtn  0x00000034 
+ 00018130  0x000059d1 fetch  0x00000001 , 0x00004906 
+ 00018131  0x000059d2 store  0x00000001 , 0x00004b88 
+ 00018132  0x000059d3 rtn 
+ 00018133  0x000059d6 disable  0x00000028 
+ 00018134  0x000059d7 fetch  0x00000008 , 0x00004bbc 
+ 00018135  0x000059d8 rtnbit1  0x0000002d 
+ 00018136  0x000059d9 fetch  0x00000001 , 0x00004b9f 
+ 00018137  0x000059da rtn  0x00000034 
+ 00018138  0x000059db fetch  0x00000001 , 0x00004ba0 
+ 00018139  0x000059dc rtn  0x00000034 
+ 00018140  0x000059dd enable  0x00000028 
+ 00018141  0x000059de rtn 
+ 00018142  0x000059e3 fetch  0x00000008 , 0x00004bbc 
+ 00018143  0x000059e4 bbit1  0x0000002a , 0x000046e2 
+ 00018144  0x000059e5 bbit1  0x0000002b , 0x00003edc 
+ 00018145  0x000059e6 rtn 
+ 00018146  0x000059e8 fetcht  0x00000001 , 0x00004922 
+ 00018147  0x000059e9 call  0x00003f96 
+ 00018148  0x000059ea fetcht  0x00000001 , 0x00004922 
+ 00018149  0x000059eb call  0x000060fd 
+ 00018150  0x000059ec branch  0x000046eb , 0x00000001 
+ 00018151  0x000059ee fetch  0x00000001 , 0x0000493d 
+ 00018152  0x000059ef rtneq  0x00000001 
+ 00018153  0x000059f0 jam  0x00000001 , 0x0000493d 
+ 00018154  0x000059f1 branch  0x00004356 
+ 00018155  0x000059f5 fetch  0x00000008 , 0x00004bbc 
+ 00018156  0x000059f6 bbit0  0x0000002b , 0x000046ef 
+ 00018157  0x000059f7 fetch  0x00000006 , 0x000048f3 
+ 00018158  0x000059f8 store  0x00000006 , 0x000048e7 
+ 00018159  0x000059fa fetch  0x00000001 , 0x0000493d 
+ 00018160  0x000059fb rtneq  0x00000000 
+ 00018161  0x000059fc jam  0x00000000 , 0x0000493d 
+ 00018162  0x000059fd branch  0x00004831 
+ 00018163  0x00005a02 bpatch  0x000000de , 0x0000401b 
+ 00018164  0x00005a03 fetch  0x00000001 , 0x00004bc5 
+ 00018165  0x00005a04 rtneq  0x00000001 
+ 00018166  0x00005a05 call  0x00004700 
+ 00018167  0x00005a06 storet  0x00000001 , 0x0000493d 
+ 00018168  0x00005a08 jam  0x00000000 , 0x000041ca 
+ 00018169  0x00005a09 call  0x00004718 
+ 00018170  0x00005a0a call  0x00004356 
+ 00018171  0x00005a0b call  0x0000471a 
+ 00018172  0x00005a0c jam  0x00000001 , 0x00004ad6 
+ 00018173  0x00005a0d branch  0x0000462e 
+ 00018174  0x00005a11 call  0x00004718 
+ 00018175  0x00005a12 branch  0x00005e29 
+ 00018176  0x00005a15 fetcht  0x00000001 , 0x0000493d 
+ 00018177  0x00005a16 increase  0x00000001 , 0x00000002 
+ 00018178  0x00005a17 fetch  0x00000008 , 0x00004bbc 
+ 00018179  0x00005a18 bbit1  0x00000011 , 0x00004707 
+ 00018180  0x00005a19 sub  0x00000002 , 0x00000002 , 0x0000003e 
+ 00018181  0x00005a1a ncall  0x0000470e , 0x00000002 
+ 00018182  0x00005a1b rtn 
+ 00018183  0x00005a1e fetch  0x00000001 , 0x00004bc5 
+ 00018184  0x00005a1f increase  0xffffffff , 0x0000003f 
+ 00018185  0x00005a20 isub  0x00000002 , 0x0000003e 
+ 00018186  0x00005a21 ncall  0x0000470c , 0x00000002 
+ 00018187  0x00005a22 rtn 
+ 00018188  0x00005a25 arg  0x00000000 , 0x00000002 
+ 00018189  0x00005a26 rtn 
+ 00018190  0x00005a28 arg  0x00000001 , 0x00000002 
+ 00018191  0x00005a29 rtn 
+ 00018192  0x00005a2d arg  0x00000001 , 0x00000002 
+ 00018193  0x00005a2e arg  0x0000493d , 0x00000011 
+ 00018194  0x00005a2f arg  0x00000000 , 0x00000012 
+ 00018195  0x00005a30 branch  0x00005e6b 
+ 00018196  0x00005a34 fetch  0x00000008 , 0x00004bbc 
+ 00018197  0x00005a35 rtnbit0  0x00000034 
+ 00018198  0x00005a36 call  0x00004698 
+ 00018199  0x00005a37 rtn 
+ 00018200  0x00005a3d arg  0x00000000 , 0x00000007 
+ 00018201  0x00005a3e branch  0x0000472e 
+ 00018202  0x00005a40 arg  0x00000000 , 0x00000007 
+ 00018203  0x00005a41 branch  0x00004732 
+ 00018204  0x00005a43 arg  0x00000003 , 0x00000007 
+ 00018205  0x00005a44 branch  0x0000472e 
+ 00018206  0x00005a46 arg  0x00000003 , 0x00000007 
+ 00018207  0x00005a47 branch  0x00004732 
+ 00018208  0x00005a49 arg  0x00000005 , 0x00000007 
+ 00018209  0x00005a4a branch  0x0000472e 
+ 00018210  0x00005a4c arg  0x00000005 , 0x00000007 
+ 00018211  0x00005a4d branch  0x00004732 
+ 00018212  0x00005a50 arg  0x00000014 , 0x00000007 
+ 00018213  0x00005a51 branch  0x0000472e 
+ 00018214  0x00005a54 arg  0x00000018 , 0x00000007 
+ 00018215  0x00005a55 branch  0x0000472e 
+ 00018216  0x00005a58 arg  0x00000016 , 0x00000007 
+ 00018217  0x00005a59 branch  0x0000472e 
+ 00018218  0x00005a5c arg  0x0000000c , 0x00000007 
+ 00018219  0x00005a5d branch  0x0000472e 
+ 00018220  0x00005a60 arg  0x0000001c , 0x00000007 
+ 00018221  0x00005a61 branch  0x0000472e 
+ 00018222  0x00005a65 fetch  0x00000008 , 0x00004bbc 
+ 00018223  0x00005a66 qset1  0x0000003f 
+ 00018224  0x00005a67 store  0x00000008 , 0x00004bbc 
+ 00018225  0x00005a68 rtn 
+ 00018226  0x00005a6b fetch  0x00000008 , 0x00004bbc 
+ 00018227  0x00005a6c qset0  0x0000003f 
+ 00018228  0x00005a6d store  0x00000008 , 0x00004bbc 
+ 00018229  0x00005a6e rtn 
+ 00018230  0x00005a71 arg  0x00000015 , 0x00000007 
+ 00018231  0x00005a72 call  0x0000472e 
+ 00018232  0x00005a73 setarg  0x00000000 
+ 00018233  0x00005a74 store  0x00000008 , 0x00004bdd 
+ 00018234  0x00005a75 store  0x00000008 , 0x00004be6 
+ 00018235  0x00005a76 fetch  0x00000001 , 0x0000490e 
+ 00018236  0x00005a77 and  0x0000003f , 0x000000c0 , 0x0000003f 
+ 00018237  0x00005a78 beq  0x00000040 , 0x00004743 
+ 00018238  0x00005a79 beq  0x00000080 , 0x00004745 
+ 00018239  0x00005a7a beq  0x000000c0 , 0x0000474a 
+ 00018240  0x00005a7b setarg  0x00070008 
+ 00018241  0x00005a7d store  0x00000008 , 0x00004bde 
+ 00018242  0x00005a7e rtn 
+ 00018243  0x00005a81 setarg  0x00040005 
+ 00018244  0x00005a82 branch  0x00004741 
+ 00018245  0x00005a86 setarg  0x00022303 
+ 00018246  0x00005a88 store  0x00000008 , 0x00004bdd 
+ 00018247  0x00005a89 setarg  0x00000003 
+ 00018248  0x00005a8a store  0x00000008 , 0x00004be6 
+ 00018249  0x00005a8b rtn 
+ 00018250  0x00005a8e setarg  0x0000cd03 
+ 00018251  0x00005a8f branch  0x00004746 
+ 00018252  0x00005a97 bpatch  0x000000df , 0x0000401b 
+ 00018253  0x00005a98 fetch  0x00000001 , 0x00004ac1 
+ 00018254  0x00005a99 increase  0xffffffff , 0x0000003f 
+ 00018255  0x00005a9a store  0x00000001 , 0x00004ac1 
+ 00018256  0x00005a9b fetcht  0x00000001 , 0x0000493d 
+ 00018257  0x00005a9c sub  0x00000002 , 0x00000001 , 0x0000003e 
+ 00018258  0x00005a9d ncall  0x00004700 , 0x00000005 
+ 00018259  0x00005a9e storet  0x00000001 , 0x0000493d 
+ 00018260  0x00005a9f jam  0x00000000 , 0x000041ca 
+ 00018261  0x00005aa0 call  0x00004710 
+ 00018262  0x00005aa1 call  0x000045e2 
+ 00018263  0x00005aa2 branch  0x00003e1c 
+ 00018264  0x00005aa8 fetch  0x00000008 , 0x00004bbc 
+ 00018265  0x00005aa9 rtnbit0  0x00000038 
+ 00018266  0x00005aaa fetch  0x00000004 , 0x000048d5 
+ 00018267  0x00005aab rtn  0x00000034 
+ 00018268  0x00005aac call  0x000047fb 
+ 00018269  0x00005aad setarg  0x00000003 
+ 00018270  0x00005aae call  0x000047f1 
+ 00018271  0x00005aaf call  0x000047ed , 0x00000034 
+ 00018272  0x00005ab0 ncall  0x000047ef , 0x00000034 
+ 00018273  0x00005ab1 setarg  0x00000002 
+ 00018274  0x00005ab2 call  0x000047f6 
+ 00018275  0x00005ab3 call  0x000047ed , 0x00000034 
+ 00018276  0x00005ab4 fetch  0x00000001 , 0x000049ce 
+ 00018277  0x00005ab5 beq  0x00000001 , 0x0000476b 
+ 00018278  0x00005ab7 fetch  0x00000008 , 0x00004bbc 
+ 00018279  0x00005ab8 rtnbit0  0x00000038 
+ 00018280  0x00005ab9 arg  0x00000005 , 0x00000039 
+ 00018281  0x00005aba arg  0x000049ce , 0x00000005 
+ 00018282  0x00005abb branch  0x00007d9b 
+ 00018283  0x00005abe call  0x0000477f 
+ 00018284  0x00005abf fetch  0x00000002 , 0x000049cf 
+ 00018285  0x00005ac0 store  0x00000002 , 0x000009f8 
+ 00018286  0x00005ac1 fetch  0x00000002 , 0x000048d5 
+ 00018287  0x00005ac2 store  0x00000002 , 0x000009fa 
+ 00018288  0x00005ac3 call  0x000047b7 
+ 00018289  0x00005ac4 fetch  0x00000002 , 0x000009f8 
+ 00018290  0x00005ac5 store  0x00000002 , 0x000049cf 
+ 00018291  0x00005ac6 fetch  0x00000002 , 0x000009fa 
+ 00018292  0x00005ac7 store  0x00000002 , 0x000048d5 
+ 00018293  0x00005ac9 fetch  0x00000002 , 0x000049d1 
+ 00018294  0x00005aca store  0x00000002 , 0x000009f8 
+ 00018295  0x00005acb fetch  0x00000002 , 0x000048d7 
+ 00018296  0x00005acc store  0x00000002 , 0x000009fa 
+ 00018297  0x00005acd call  0x000047bf 
+ 00018298  0x00005ace fetch  0x00000002 , 0x000009f8 
+ 00018299  0x00005acf store  0x00000002 , 0x000049d1 
+ 00018300  0x00005ad0 fetch  0x00000002 , 0x000009fa 
+ 00018301  0x00005ad1 store  0x00000002 , 0x000048d7 
+ 00018302  0x00005ad2 rtn 
+ 00018303  0x00005ad5 fetch  0x00000008 , 0x00004bbc 
+ 00018304  0x00005ad6 rtnbit0  0x00000039 
+ 00018305  0x00005ad7 fetch  0x00000002 , 0x000049cf 
+ 00018306  0x00005ad8 store  0x00000002 , 0x000009ff 
+ 00018307  0x00005ad9 call  0x00004792 
+ 00018308  0x00005ada store  0x00000002 , 0x000049cf 
+ 00018309  0x00005adb fetch  0x00000002 , 0x000048d5 
+ 00018310  0x00005adc store  0x00000002 , 0x000009ff 
+ 00018311  0x00005add call  0x000047a0 
+ 00018312  0x00005ade store  0x00000002 , 0x000048d5 
+ 00018313  0x00005adf fetch  0x00000002 , 0x000049d1 
+ 00018314  0x00005ae0 store  0x00000002 , 0x000009ff 
+ 00018315  0x00005ae1 call  0x00004792 
+ 00018316  0x00005ae2 store  0x00000002 , 0x000049d1 
+ 00018317  0x00005ae3 fetch  0x00000002 , 0x000048d7 
+ 00018318  0x00005ae4 store  0x00000002 , 0x000009ff 
+ 00018319  0x00005ae5 call  0x000047a0 
+ 00018320  0x00005ae6 store  0x00000002 , 0x000048d7 
+ 00018321  0x00005ae7 rtn 
+ 00018322  0x00005aea fetch  0x00000001 , 0x00000a00 
+ 00018323  0x00005aeb branch  0x00004795 , 0x00000034 
+ 00018324  0x00005aec branch  0x0000479a 
+ 00018325  0x00005aef fetch  0x00000001 , 0x000009ff 
+ 00018326  0x00005af0 call  0x000047ad 
+ 00018327  0x00005af1 store  0x00000001 , 0x000009ff 
+ 00018328  0x00005af3 fetch  0x00000002 , 0x000009ff 
+ 00018329  0x00005af4 rtn 
+ 00018330  0x00005af6 fetch  0x00000001 , 0x000009ff 
+ 00018331  0x00005af7 call  0x000047e9 
+ 00018332  0x00005af8 call  0x000047ad 
+ 00018333  0x00005af9 call  0x00007ecf , 0x00000034 
+ 00018334  0x00005afa call  0x000047e5 
+ 00018335  0x00005afb branch  0x00004798 
+ 00018336  0x00005afe fetch  0x00000001 , 0x00000a00 
+ 00018337  0x00005aff branch  0x000047a3 , 0x00000034 
+ 00018338  0x00005b00 branch  0x000047a7 
+ 00018339  0x00005b02 fetch  0x00000001 , 0x000009ff 
+ 00018340  0x00005b03 call  0x000047b2 
+ 00018341  0x00005b04 store  0x00000001 , 0x000009ff 
+ 00018342  0x00005b05 branch  0x00004798 
+ 00018343  0x00005b07 fetch  0x00000001 , 0x000009ff 
+ 00018344  0x00005b08 call  0x000047e9 
+ 00018345  0x00005b09 call  0x000047b2 
+ 00018346  0x00005b0a call  0x00007ecf , 0x00000034 
+ 00018347  0x00005b0b call  0x000047e5 
+ 00018348  0x00005b0c branch  0x00004798 
+ 00018349  0x00005b0f mul32  0x0000003f , 0x00000004 , 0x0000003f 
+ 00018350  0x00005b10 div  0x0000003f , 0x00000005 
+ 00018351  0x00005b11 call  0x00007e64 
+ 00018352  0x00005b12 quotient  0x0000003f 
+ 00018353  0x00005b13 rtn 
+ 00018354  0x00005b15 mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00018355  0x00005b16 div  0x0000003f , 0x0000000a 
+ 00018356  0x00005b17 call  0x00007e64 
+ 00018357  0x00005b18 quotient  0x0000003f 
+ 00018358  0x00005b19 rtn 
+ 00018359  0x00005b1c fetch  0x00000002 , 0x000009f8 
+ 00018360  0x00005b1d fetcht  0x00000002 , 0x000009fa 
+ 00018361  0x00005b1e iadd  0x00000002 , 0x0000003f 
+ 00018362  0x00005b1f fetcht  0x00000001 , 0x000049d3 
+ 00018363  0x00005b20 iadd  0x00000002 , 0x0000003f 
+ 00018364  0x00005b21 and  0x0000003f , 0x00000001 , 0x00000002 
+ 00018365  0x00005b22 storet  0x00000001 , 0x000049d3 
+ 00018366  0x00005b23 branch  0x000047c7 
+ 00018367  0x00005b26 fetch  0x00000002 , 0x000009f8 
+ 00018368  0x00005b27 fetcht  0x00000002 , 0x000009fa 
+ 00018369  0x00005b28 iadd  0x00000002 , 0x0000003f 
+ 00018370  0x00005b29 fetcht  0x00000001 , 0x000049d4 
+ 00018371  0x00005b2a iadd  0x00000002 , 0x0000003f 
+ 00018372  0x00005b2b and  0x0000003f , 0x00000001 , 0x00000002 
+ 00018373  0x00005b2c storet  0x00000001 , 0x000049d4 
+ 00018374  0x00005b2d branch  0x000047c7 
+ 00018375  0x00005b30 store  0x00000003 , 0x000009fc 
+ 00018376  0x00005b31 isolate1  0x00000010 , 0x0000003f 
+ 00018377  0x00005b32 branch  0x000047d1 , 0x00000001 
+ 00018378  0x00005b33 fetch  0x00000001 , 0x000009fd 
+ 00018379  0x00005b34 beq  0x000000ff , 0x000047d8 
+ 00018380  0x00005b35 fetch  0x00000001 , 0x000009fc 
+ 00018381  0x00005b37 rshift  0x0000003f , 0x0000003f 
+ 00018382  0x00005b38 store  0x00000002 , 0x000009f8 
+ 00018383  0x00005b39 store  0x00000002 , 0x000009fa 
+ 00018384  0x00005b3a rtn 
+ 00018385  0x00005b3c fetch  0x00000001 , 0x000009fd 
+ 00018386  0x00005b3d beq  0x00000000 , 0x000047d5 
+ 00018387  0x00005b3e fetch  0x00000003 , 0x000009fc 
+ 00018388  0x00005b3f branch  0x000047cd 
+ 00018389  0x00005b41 jam  0x00000000 , 0x000009fe 
+ 00018390  0x00005b42 fetch  0x00000001 , 0x000009fc 
+ 00018391  0x00005b43 branch  0x000047cd 
+ 00018392  0x00005b46 fetch  0x00000001 , 0x000009fc 
+ 00018393  0x00005b47 call  0x000047e3 
+ 00018394  0x00005b48 store  0x00000001 , 0x000009f8 
+ 00018395  0x00005b49 store  0x00000001 , 0x000009fa 
+ 00018396  0x00005b4a branch  0x000047e1 , 0x00000034 
+ 00018397  0x00005b4b setarg  0x000000ff 
+ 00018398  0x00005b4d store  0x00000001 , 0x000009f9 
+ 00018399  0x00005b4e store  0x00000001 , 0x000009fb 
+ 00018400  0x00005b4f rtn 
+ 00018401  0x00005b51 setarg  0x00000000 
+ 00018402  0x00005b52 branch  0x000047de 
+ 00018403  0x00005b55 call  0x000047e9 
+ 00018404  0x00005b56 rshift  0x0000003f , 0x0000003f 
+ 00018405  0x00005b58 call  0x000047ea 
+ 00018406  0x00005b59 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018407  0x00005b5a store  0x00000001 , 0x000009ff 
+ 00018408  0x00005b5b rtn 
+ 00018409  0x00005b5e sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018410  0x00005b60 store  0x00000001 , 0x00000970 
+ 00018411  0x00005b61 fetch  0x00000001 , 0x00000970 
+ 00018412  0x00005b62 rtn 
+ 00018413  0x00005b65 jam  0x00000000 , 0x000049ce 
+ 00018414  0x00005b66 rtn 
+ 00018415  0x00005b68 jam  0x00000001 , 0x000049ce 
+ 00018416  0x00005b69 rtn 
+ 00018417  0x00005b6d isub  0x00000011 , 0x0000003e 
+ 00018418  0x00005b6e nbranch  0x00007ecf , 0x00000002 
+ 00018419  0x00005b6f isub  0x00000012 , 0x0000003e 
+ 00018420  0x00005b70 nbranch  0x00007ecf , 0x00000002 
+ 00018421  0x00005b71 branch  0x00007ed1 
+ 00018422  0x00005b73 isub  0x00000011 , 0x0000003e 
+ 00018423  0x00005b74 nrtn  0x00000002 
+ 00018424  0x00005b75 isub  0x00000012 , 0x0000003e 
+ 00018425  0x00005b76 nrtn  0x00000002 
+ 00018426  0x00005b77 branch  0x00007ed1 
+ 00018427  0x00005b7a fetch  0x00000002 , 0x000048d5 
+ 00018428  0x00005b7b call  0x00004802 
+ 00018429  0x00005b7c copy  0x0000003f , 0x00000011 
+ 00018430  0x00005b7d fetch  0x00000002 , 0x000048d7 
+ 00018431  0x00005b7e call  0x00004802 
+ 00018432  0x00005b7f copy  0x0000003f , 0x00000012 
+ 00018433  0x00005b80 rtn 
+ 00018434  0x00005b83 store  0x00000002 , 0x000009fa 
+ 00018435  0x00005b84 fetch  0x00000001 , 0x000009fb 
+ 00018436  0x00005b85 beq  0x000000ff , 0x00004808 
+ 00018437  0x00005b86 fetch  0x00000001 , 0x000009fa 
+ 00018438  0x00005b88 and_into  0x000000ff , 0x0000003f 
+ 00018439  0x00005b8a rtn 
+ 00018440  0x00005b8c fetch  0x00000002 , 0x000009fa 
+ 00018441  0x00005b8d sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018442  0x00005b8e branch  0x00004806 
+ 00018443  0x00005b91 arg  0x000048c8 , 0x00000013 
+ 00018444  0x00005b92 arg  0x0000480e , 0x00000012 
+ 00018445  0x00005b93 branch  0x000031fc 
+ 00018446  0x00005b95 fetch  0x00000004 , 0x000048bc 
+ 00018447  0x00005b96 store  0x00000004 , 0x0000485f 
+ 00018448  0x00005b97 jam  0x00000001 , 0x00004abf 
+ 00018449  0x00005b98 rtn 
+ 00018450  0x00005b9c fetch  0x00000001 , 0x00004bf3 
+ 00018451  0x00005b9d beq  0x00000000 , 0x0000481a 
+ 00018452  0x00005b9e beq  0x00000001 , 0x0000481c 
+ 00018453  0x00005b9f beq  0x00000002 , 0x00004817 
+ 00018454  0x00005ba0 beq  0x00000003 , 0x0000481e 
+ 00018455  0x00005ba2 setarg  0x000ea600 
+ 00018456  0x00005ba4 store  0x00000004 , 0x000048bc 
+ 00018457  0x00005ba5 rtn 
+ 00018458  0x00005ba7 setarg  0x0005e740 
+ 00018459  0x00005ba8 branch  0x00004818 
+ 00018460  0x00005baa setarg  0x000927c0 
+ 00018461  0x00005bab branch  0x00004818 
+ 00018462  0x00005bad setarg  0x00124f80 
+ 00018463  0x00005bae branch  0x00004818 
+ 00018464  0x00005bb3 jam  0x00000000 , 0x000048a9 
+ 00018465  0x00005bb4 call  0x00002659 
+ 00018466  0x00005bb5 setarg  0xffffffff 
+ 00018467  0x00005bb6 store  0x00000004 , 0x0000485f 
+ 00018468  0x00005bb7 setarg  0x00000000 
+ 00018469  0x00005bb8 store  0x00000007 , 0x000048d4 
+ 00018470  0x00005bb9 jam  0x00000001 , 0x00004bf2 
+ 00018471  0x00005bba call  0x0000427c 
+ 00018472  0x00005bbb call  0x00003e6a 
+ 00018473  0x00005bbc branch  0x000026bc 
+ 00018474  0x00005bbf fetch  0x00000001 , 0x00004bf2 
+ 00018475  0x00005bc0 ncall  0x000041ea , 0x00000034 
+ 00018476  0x00005bc1 jam  0x00000000 , 0x00004bf2 
+ 00018477  0x00005bc2 branch  0x00002658 
+ 00018478  0x00005bc5 fetch  0x00000001 , 0x00004bf2 
+ 00018479  0x00005bc6 nbranch  0x00002633 , 0x00000034 
+ 00018480  0x00005bc7 branch  0x0000262f 
+ 00018481  0x00005bcb set0  0x00000026 , 0x00000000 
+ 00018482  0x00005bcc jam  0x00000000 , 0x000048a5 
+ 00018483  0x00005bcd arg  0x00000001 , 0x00000007 
+ 00018484  0x00005bce branch  0x00004732 
+ 00018485  0x00005bd2 fetch  0x00000008 , 0x00004bbc 
+ 00018486  0x00005bd3 bbit0  0x00000011 , 0x00004842 
+ 00018487  0x00005bd4 call  0x00003e28 
+ 00018488  0x00005bd5 branch  0x00004845 , 0x00000028 
+ 00018489  0x00005bd6 fetch  0x00000008 , 0x00004bbc 
+ 00018490  0x00005bd7 bbit1  0x00000030 , 0x0000484b 
+ 00018491  0x00005bd8 bbit0  0x00000031 , 0x0000484b 
+ 00018492  0x00005bd9 call  0x00004150 
+ 00018493  0x00005bda and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00018494  0x00005bdb fetcht  0x00000001 , 0x00004bdc 
+ 00018495  0x00005bdc isub  0x00000002 , 0x0000003e 
+ 00018496  0x00005bdd branch  0x00004866 , 0x00000005 
+ 00018497  0x00005bde branch  0x0000484b 
+ 00018498  0x00005be1 fetch  0x00000001 , 0x00004ac1 
+ 00018499  0x00005be2 nbranch  0x0000474c , 0x00000034 
+ 00018500  0x00005be3 rtn 
+ 00018501  0x00005be6 fetch  0x00000002 , 0x00004889 
+ 00018502  0x00005be7 store  0x00000002 , 0x0000488b 
+ 00018503  0x00005be8 jam  0x00000003 , 0x0000488f 
+ 00018504  0x00005be9 branch  0x00002562 
+ 00018505  0x00005bed call  0x00003e28 
+ 00018506  0x00005bee branch  0x00004855 , 0x00000028 
+ 00018507  0x00005bf0 jam  0x00000000 , 0x0000493d 
+ 00018508  0x00005bf1 fetch  0x00000002 , 0x00004bcb 
+ 00018509  0x00005bf2 store  0x00000002 , 0x0000488b 
+ 00018510  0x00005bf3 jam  0x00000002 , 0x0000488f 
+ 00018511  0x00005bf4 branch  0x00002562 
+ 00018512  0x00005bf7 call  0x00004919 
+ 00018513  0x00005bf8 fetch  0x00000002 , 0x00004885 
+ 00018514  0x00005bf9 store  0x00000002 , 0x0000488b 
+ 00018515  0x00005bfa jam  0x00000004 , 0x0000488f 
+ 00018516  0x00005bfb branch  0x00002562 
+ 00018517  0x00005bff fetch  0x00000001 , 0x0000493d 
+ 00018518  0x00005c00 beq  0x00000000 , 0x00004845 
+ 00018519  0x00005c01 call  0x00004354 
+ 00018520  0x00005c02 branch  0x00004859 
+ 00018521  0x00005c05 call  0x00004831 
+ 00018522  0x00005c06 call  0x0000495b 
+ 00018523  0x00005c07 jam  0x00000001 , 0x0000493d 
+ 00018524  0x00005c08 call  0x000045fd 
+ 00018525  0x00005c09 branch  0x00003e1c 
+ 00018526  0x00005c0c call  0x00003e28 
+ 00018527  0x00005c0d branch  0x00003e5a , 0x00000028 
+ 00018528  0x00005c0e branch  0x00004593 
+ 00018529  0x00005c12 call  0x00003e28 
+ 00018530  0x00005c13 rtn  0x00000028 
+ 00018531  0x00005c14 fetch  0x00000008 , 0x00004bbc 
+ 00018532  0x00005c15 bbit1  0x0000002f , 0x0000462e 
+ 00018533  0x00005c16 rtn 
+ 00018534  0x00005c19 arg  0x00000001 , 0x00000007 
+ 00018535  0x00005c1a call  0x0000472e 
+ 00018536  0x00005c1b setarg  0x00000000 
+ 00018537  0x00005c1c store  0x00000002 , 0x0000488b 
+ 00018538  0x00005c1d call  0x000045b6 
+ 00018539  0x00005c1e call  0x000049db 
+ 00018540  0x00005c1f call  0x00004919 
+ 00018541  0x00005c20 jam  0x00000001 , 0x00004839 
+ 00018542  0x00005c21 fetch  0x00000008 , 0x00004bbc 
+ 00018543  0x00005c22 bbit0  0x00000015 , 0x000022e4 
+ 00018544  0x00005c23 jam  0x00000002 , 0x00004839 
+ 00018545  0x00005c24 branch  0x000022e4 
+ 00018546  0x00005c28 fetch  0x00000001 , 0x000048a9 
+ 00018547  0x00005c29 nbranch  0x00004820 , 0x00000034 
+ 00018548  0x00005c2a fetch  0x00000001 , 0x0000488f 
+ 00018549  0x00005c2b beq  0x00000002 , 0x0000487f 
+ 00018550  0x00005c2c beq  0x00000004 , 0x00004883 
+ 00018551  0x00005c2d beq  0x00000003 , 0x00004888 
+ 00018552  0x00005c2f call  0x0000495f 
+ 00018553  0x00005c30 call  0x00004831 
+ 00018554  0x00005c31 fetch  0x00000001 , 0x00004ac1 
+ 00018555  0x00005c32 nbranch  0x0000474c , 0x00000034 
+ 00018556  0x00005c33 fetch  0x00000001 , 0x0000493d 
+ 00018557  0x00005c34 beq  0x00000000 , 0x00003e5a 
+ 00018558  0x00005c35 rtn 
+ 00018559  0x00005c38 fetch  0x00000008 , 0x00004bbc 
+ 00018560  0x00005c39 bbit1  0x0000002f , 0x00004850 
+ 00018561  0x00005c3a bbit1  0x00000030 , 0x00004850 
+ 00018562  0x00005c3b branch  0x00004845 
+ 00018563  0x00005c3f fetch  0x00000008 , 0x00004bbc 
+ 00018564  0x00005c40 bbit0  0x0000002f , 0x00004878 
+ 00018565  0x00005c41 fetch  0x00000001 , 0x00004bc5 
+ 00018566  0x00005c42 beq  0x00000001 , 0x00004878 
+ 00018567  0x00005c43 branch  0x00004859 
+ 00018568  0x00005c46 fetch  0x00000008 , 0x00004bbc 
+ 00018569  0x00005c47 bbit0  0x0000002f , 0x00004878 
+ 00018570  0x00005c48 bbit1  0x00000013 , 0x00004878 
+ 00018571  0x00005c49 bbit1  0x00000012 , 0x00004878 
+ 00018572  0x00005c4a branch  0x00004851 
+ 00018573  0x00005c4e call  0x0000430a 
+ 00018574  0x00005c4f jam  0x00000000 , 0x00004abf 
+ 00018575  0x00005c50 jam  0x00000000 , 0x000048a5 
+ 00018576  0x00005c51 jam  0x00000000 , 0x0000488f 
+ 00018577  0x00005c52 fetch  0x00000004 , 0x00004895 
+ 00018578  0x00005c53 fetch  0x00000004 , 0x00004891 
+ 00018579  0x00005c54 isub  0x00000002 , 0x0000003e 
+ 00018580  0x00005c55 rtn  0x00000005 
+ 00018581  0x00005c56 branch  0x00004861 
+ 00018582  0x00005c59 arg  0x00000001 , 0x00000007 
+ 00018583  0x00005c5a call  0x00004732 
+ 00018584  0x00005c5b call  0x00004913 
+ 00018585  0x00005c5c setarg  0x00000000 
+ 00018586  0x00005c5d store  0x00000002 , 0x00004887 
+ 00018587  0x00005c5e store  0x00000002 , 0x0000488b 
+ 00018588  0x00005c5f store  0x00000001 , 0x000048a5 
+ 00018589  0x00005c60 store  0x00000001 , 0x000049cd 
+ 00018590  0x00005c61 store  0x00000001 , 0x0000488f 
+ 00018591  0x00005c63 call  0x0000430a 
+ 00018592  0x00005c64 call  0x0000431b 
+ 00018593  0x00005c65 fetch  0x00000004 , 0x0000483f 
+ 00018594  0x00005c66 store  0x00000004 , 0x00004895 
+ 00018595  0x00005c67 store  0x00000004 , 0x00004998 
+ 00018596  0x00005c68 branch  0x0000462e 
+ 00018597  0x00005c6b rtnmark0  0x00000026 
+ 00018598  0x00005c6c call  0x00003fb0 
+ 00018599  0x00005c6d nrtn  0x00000028 
+ 00018600  0x00005c6e fetch  0x00000008 , 0x00004bbc 
+ 00018601  0x00005c6f bbit0  0x00000015 , 0x000048ac 
+ 00018602  0x00005c70 fetch  0x00000001 , 0x00004b9c 
+ 00018603  0x00005c71 nbranch  0x000048c1 , 0x00000034 
+ 00018604  0x00005c73 call  0x0000430b 
+ 00018605  0x00005c74 fetch  0x00000001 , 0x00004839 
+ 00018606  0x00005c75 bbit1  0x00000001 , 0x000048bb 
+ 00018607  0x00005c76 fetcht  0x00000001 , 0x000047ca 
+ 00018608  0x00005c77 fetch  0x00000001 , 0x000048d4 
+ 00018609  0x00005c78 ior  0x00000002 , 0x0000003f 
+ 00018610  0x00005c79 store  0x00000001 , 0x000048d4 
+ 00018611  0x00005c7a fetcht  0x00000001 , 0x000047cf 
+ 00018612  0x00005c7b fetch  0x00000001 , 0x000048d9 
+ 00018613  0x00005c7c iadd  0x00000002 , 0x0000003f 
+ 00018614  0x00005c7d store  0x00000001 , 0x000048d9 
+ 00018615  0x00005c7e fetcht  0x00000001 , 0x000047d0 
+ 00018616  0x00005c7f fetch  0x00000001 , 0x000048da 
+ 00018617  0x00005c80 iadd  0x00000002 , 0x0000003f 
+ 00018618  0x00005c81 store  0x00000001 , 0x000048da 
+ 00018619  0x00005c83 jam  0x00000001 , 0x00004839 
+ 00018620  0x00005c84 arg  0x00000007 , 0x00000011 
+ 00018621  0x00005c85 arg  0x000048d4 , 0x00000012 
+ 00018622  0x00005c86 fetch  0x00000002 , 0x000048d9 
+ 00018623  0x00005c87 rtn  0x00000034 
+ 00018624  0x00005c88 branch  0x000026e8 
+ 00018625  0x00005c8b jam  0x00000002 , 0x00004839 
+ 00018626  0x00005c8c arg  0x00000009 , 0x00000011 
+ 00018627  0x00005c8d fetch  0x00000001 , 0x00004b9d 
+ 00018628  0x00005c8e nbranch  0x000048c7 , 0x00000034 
+ 00018629  0x00005c8f arg  0x00004be6 , 0x00000012 
+ 00018630  0x00005c90 rtn 
+ 00018631  0x00005c92 arg  0x00004bdd , 0x00000012 
+ 00018632  0x00005c93 rtn 
+ 00018633  0x00005c9a setarg  0x00000000 
+ 00018634  0x00005c9b store  0x00000003 , 0x00004bb5 
+ 00018635  0x00005c9c rtn 
+ 00018636  0x00005c9f fetch  0x00000008 , 0x00004bbc 
+ 00018637  0x00005ca0 rtnbit0  0x00000016 
+ 00018638  0x00005ca1 fetch  0x00000001 , 0x00004abf 
+ 00018639  0x00005ca2 rtn  0x00000034 
+ 00018640  0x00005ca3 fetch  0x00000001 , 0x000048ab 
+ 00018641  0x00005ca4 rtn  0x00000034 
+ 00018642  0x00005ca5 fetch  0x00000001 , 0x00004bb2 
+ 00018643  0x00005ca6 increase  0x00000001 , 0x0000003f 
+ 00018644  0x00005ca7 and_into  0x00000003 , 0x0000003f 
+ 00018645  0x00005ca8 store  0x00000001 , 0x00004bb2 
+ 00018646  0x00005ca9 nrtn  0x00000034 
+ 00018647  0x00005caa jam  0x00000000 , 0x00004bb3 
+ 00018648  0x00005cac fetch  0x00000001 , 0x00004bb3 
+ 00018649  0x00005cad increase  0x00000001 , 0x0000003f 
+ 00018650  0x00005cae store  0x00000001 , 0x00004bb3 
+ 00018651  0x00005caf sub  0x0000003f , 0x00000008 , 0x0000003e 
+ 00018652  0x00005cb0 nbranch  0x000048e3 , 0x00000002 
+ 00018653  0x00005cb1 call  0x000025a3 
+ 00018654  0x00005cb2 call  0x00002662 
+ 00018655  0x00005cb3 nbranch  0x000048e9 , 0x00000018 
+ 00018656  0x00005cb4 nbranch  0x000048e9 , 0x0000002f 
+ 00018657  0x00005cb5 call  0x000048fb 
+ 00018658  0x00005cb6 call  0x000048f2 
+ 00018659  0x00005cb8 call  0x000025a0 
+ 00018660  0x00005cb9 fetch  0x00000001 , 0x00004bb4 
+ 00018661  0x00005cba increase  0x00000001 , 0x0000003f 
+ 00018662  0x00005cbb store  0x00000001 , 0x00004bb4 
+ 00018663  0x00005cbc beq  0x00000010 , 0x000048eb 
+ 00018664  0x00005cbd rtn 
+ 00018665  0x00005cc0 call  0x00002281 
+ 00018666  0x00005cc1 branch  0x000048d8 
+ 00018667  0x00005cc4 jam  0x00000000 , 0x00004bb4 
+ 00018668  0x00005cc5 fetch  0x00000001 , 0x00004bb5 
+ 00018669  0x00005cc6 rtnbit1  0x00000000 
+ 00018670  0x00005cc7 set1  0x00000000 , 0x0000003f 
+ 00018671  0x00005cc8 store  0x00000001 , 0x00004bb5 
+ 00018672  0x00005cc9 fetch  0x00000002 , 0x00004bcd 
+ 00018673  0x00005ccc branch  0x00004820 
+ 00018674  0x00005cd0 fetch  0x00000001 , 0x000048ab 
+ 00018675  0x00005cd1 branch  0x000048c9 , 0x00000034 
+ 00018676  0x00005cd2 jam  0x00000000 , 0x00004bb4 
+ 00018677  0x00005cd3 fetch  0x00000001 , 0x00004bb5 
+ 00018678  0x00005cd4 rtnbit0  0x00000000 
+ 00018679  0x00005cd5 set0  0x00000000 , 0x0000003f 
+ 00018680  0x00005cd6 store  0x00000001 , 0x00004bb5 
+ 00018681  0x00005cd7 call  0x00004584 
+ 00018682  0x00005cd8 branch  0x000041ea 
+ 00018683  0x00005cdb call  0x00002679 
+ 00018684  0x00005cdc fetch  0x00000001 , 0x000047a8 
+ 00018685  0x00005cdd compare  0x00000008 , 0x0000003f , 0x000000f8 
+ 00018686  0x00005cde nrtn  0x00000001 
+ 00018687  0x00005cdf fetch  0x00000001 , 0x000047a9 
+ 00018688  0x00005ce0 beq  0x000000ff , 0x00004820 
+ 00018689  0x00005ce1 rtn 
+ 00018690  0x00005ce8 fetch  0x00000001 , 0x0000493d 
+ 00018691  0x00005ce9 bne  0x00000000 , 0x00001468 
+ 00018692  0x00005cea fetch  0x00000001 , 0x0000487a 
+ 00018693  0x00005ceb rtn  0x00000034 
+ 00018694  0x00005ced jam  0x00000002 , 0x00008042 
+ 00018695  0x00005cee fetch  0x00000001 , 0x00008138 
+ 00018696  0x00005cef and  0x0000003f , 0x000000fc , 0x0000003f 
+ 00018697  0x00005cf0 store  0x00000001 , 0x0000804c 
+ 00018698  0x00005cf1 branch  0x0000154c 
+ 00018699  0x00005cf8 fetch  0x00000008 , 0x00004bbc 
+ 00018700  0x00005cf9 rtnbit0  0x00000020 
+ 00018701  0x00005cfa fetch  0x00000001 , 0x00004bb8 
+ 00018702  0x00005cfb rtn  0x00000034 
+ 00018703  0x00005cfc increase  0xffffffff , 0x0000003f 
+ 00018704  0x00005cfd store  0x00000001 , 0x00004bb8 
+ 00018705  0x00005cfe branch  0x0000495f , 0x00000034 
+ 00018706  0x00005cff branch  0x0000496d 
+ 00018707  0x00005d02 fetch  0x00000008 , 0x00004bbc 
+ 00018708  0x00005d03 rtnbit0  0x00000020 
+ 00018709  0x00005d04 call  0x000049db 
+ 00018710  0x00005d05 fetch  0x00000001 , 0x00004bd1 
+ 00018711  0x00005d06 store  0x00000001 , 0x00004bb8 
+ 00018712  0x00005d07 rtn 
+ 00018713  0x00005d0b jam  0x00000000 , 0x00004bb8 
+ 00018714  0x00005d0c fetch  0x00000002 , 0x00004bd5 
+ 00018715  0x00005d0d store  0x00000002 , 0x00004935 
+ 00018716  0x00005d0e store  0x00000002 , 0x00004937 
+ 00018717  0x00005d10 fetch  0x00000001 , 0x0000493d 
+ 00018718  0x00005d11 beq  0x00000000 , 0x00004922 
+ 00018719  0x00005d12 beq  0x00000001 , 0x00004924 
+ 00018720  0x00005d13 beq  0x00000002 , 0x00004926 
+ 00018721  0x00005d14 rtn 
+ 00018722  0x00005d16 fetch  0x00000001 , 0x00004919 
+ 00018723  0x00005d17 branch  0x00004927 
+ 00018724  0x00005d19 fetch  0x00000001 , 0x00004926 
+ 00018725  0x00005d1a branch  0x00004927 
+ 00018726  0x00005d1c fetch  0x00000001 , 0x00004927 
+ 00018727  0x00005d1e store  0x00000001 , 0x00000964 
+ 00018728  0x00005d1f call  0x0000495f 
+ 00018729  0x00005d20 fetch  0x00000001 , 0x00000964 
+ 00018730  0x00005d21 store  0x00000001 , 0x00004934 
+ 00018731  0x00005d22 arg  0x00000000 , 0x00000011 
+ 00018732  0x00005d23 jam  0x00000001 , 0x00004932 
+ 00018733  0x00005d24 branch  0x00007871 
+ 00018734  0x00005d28 fetch  0x00000001 , 0x00004928 
+ 00018735  0x00005d29 rtneq  0x000000ff 
+ 00018736  0x00005d2a fetch  0x00000002 , 0x00004ad3 
+ 00018737  0x00005d2b nrtn  0x00000034 
+ 00018738  0x00005d2c fetch  0x00000002 , 0x00004887 
+ 00018739  0x00005d2d nrtn  0x00000034 
+ 00018740  0x00005d2e fetch  0x00000002 , 0x0000488b 
+ 00018741  0x00005d2f nrtn  0x00000034 
+ 00018742  0x00005d30 fetch  0x00000001 , 0x00004bb8 
+ 00018743  0x00005d31 nrtn  0x00000034 
+ 00018744  0x00005d32 fetch  0x00000001 , 0x00004bd2 
+ 00018745  0x00005d33 branch  0x0000493f , 0x00000034 
+ 00018746  0x00005d34 store  0x00000001 , 0x00004bb9 
+ 00018747  0x00005d35 rtn 
+ 00018748  0x00005d39 arg  0x00004bb9 , 0x00000013 
+ 00018749  0x00005d3a arg  0x0000493f , 0x00000012 
+ 00018750  0x00005d3b branch  0x000031fc 
+ 00018751  0x00005d3e fetch  0x00000001 , 0x00004928 
+ 00018752  0x00005d3f store  0x00000001 , 0x00004934 
+ 00018753  0x00005d40 fetch  0x00000002 , 0x00004bd3 
+ 00018754  0x00005d41 store  0x00000002 , 0x00004935 
+ 00018755  0x00005d42 store  0x00000002 , 0x00004937 
+ 00018756  0x00005d43 arg  0x00000000 , 0x00000011 
+ 00018757  0x00005d44 fetcht  0x00000001 , 0x00004997 
+ 00018758  0x00005d45 increase  0x00000001 , 0x00000002 
+ 00018759  0x00005d46 fetch  0x00000008 , 0x00004bbc 
+ 00018760  0x00005d47 bbit0  0x0000001c , 0x0000494c 
+ 00018761  0x00005d48 increase  0x00000001 , 0x00000002 
+ 00018762  0x00005d49 sub  0x00000002 , 0x00000004 , 0x0000003e 
+ 00018763  0x00005d4a ncall  0x0000494f , 0x00000002 
+ 00018764  0x00005d4c storet  0x00000001 , 0x00004933 
+ 00018765  0x00005d4d jam  0x00000001 , 0x00004932 
+ 00018766  0x00005d4e rtn 
+ 00018767  0x00005d51 arg  0x00000001 , 0x00000002 
+ 00018768  0x00005d52 rtn 
+ 00018769  0x00005d55 disable  0x00000028 
+ 00018770  0x00005d56 fetch  0x00000001 , 0x00004928 
+ 00018771  0x00005d57 fetcht  0x00000001 , 0x00004934 
+ 00018772  0x00005d58 isub  0x00000002 , 0x0000003e 
+ 00018773  0x00005d59 nrtn  0x00000005 
+ 00018774  0x00005d5a fetch  0x00000001 , 0x00004933 
+ 00018775  0x00005d5b rtn  0x00000034 
+ 00018776  0x00005d5c jam  0x00000000 , 0x000048fd 
+ 00018777  0x00005d5d enable  0x00000028 
+ 00018778  0x00005d5e rtn 
+ 00018779  0x00005d61 call  0x0000496b 
+ 00018780  0x00005d62 call  0x00004964 
+ 00018781  0x00005d63 call  0x00004967 
+ 00018782  0x00005d64 branch  0x00004969 
+ 00018783  0x00005d67 fetch  0x00000001 , 0x0000493d 
+ 00018784  0x00005d68 beq  0x00000000 , 0x00004964 
+ 00018785  0x00005d69 beq  0x00000001 , 0x00004967 
+ 00018786  0x00005d6a beq  0x00000002 , 0x00004969 
+ 00018787  0x00005d6b rtn 
+ 00018788  0x00005d6e jam  0x00000000 , 0x00004bbb 
+ 00018789  0x00005d6f fetcht  0x00000001 , 0x00004919 
+ 00018790  0x00005d70 branch  0x00004978 
+ 00018791  0x00005d73 fetcht  0x00000001 , 0x00004926 
+ 00018792  0x00005d74 branch  0x00004978 
+ 00018793  0x00005d77 fetcht  0x00000001 , 0x00004927 
+ 00018794  0x00005d78 branch  0x00004978 
+ 00018795  0x00005d7b fetcht  0x00000001 , 0x00004928 
+ 00018796  0x00005d7c branch  0x00004978 
+ 00018797  0x00005d7f fetch  0x00000001 , 0x0000493d 
+ 00018798  0x00005d80 beq  0x00000000 , 0x00004972 
+ 00018799  0x00005d81 beq  0x00000001 , 0x00004974 
+ 00018800  0x00005d82 beq  0x00000002 , 0x00004976 
+ 00018801  0x00005d83 rtn 
+ 00018802  0x00005d86 fetcht  0x00000001 , 0x00004919 
+ 00018803  0x00005d87 branch  0x0000497c 
+ 00018804  0x00005d89 fetcht  0x00000001 , 0x00004926 
+ 00018805  0x00005d8a branch  0x0000497c 
+ 00018806  0x00005d8c fetcht  0x00000001 , 0x00004927 
+ 00018807  0x00005d8d branch  0x0000497c 
+ 00018808  0x00005d90 bpatch  0x000000e0 , 0x0000401c 
+ 00018809  0x00005d91 storet  0x00000001 , 0x00004934 
+ 00018810  0x00005d92 arg  0x00000000 , 0x00000011 
+ 00018811  0x00005d93 branch  0x0000786c 
+ 00018812  0x00005d95 bpatch  0x000000e1 , 0x0000401c 
+ 00018813  0x00005d96 storet  0x00000001 , 0x00004934 
+ 00018814  0x00005d97 arg  0x00000000 , 0x00000011 
+ 00018815  0x00005d98 branch  0x00007867 
+ 00018816  0x00005d9b fetch  0x00000001 , 0x00004919 
+ 00018817  0x00005d9c isub  0x00000002 , 0x0000003e 
+ 00018818  0x00005d9d call  0x0000499f , 0x00000005 
+ 00018819  0x00005d9e fetch  0x00000008 , 0x00004bbc 
+ 00018820  0x00005d9f bbit0  0x00000024 , 0x00006109 
+ 00018821  0x00005da0 call  0x00004990 
+ 00018822  0x00005da1 call  0x00004994 
+ 00018823  0x00005da2 call  0x00004998 
+ 00018824  0x00005da3 fetch  0x00000001 , 0x00004bba 
+ 00018825  0x00005da4 branch  0x00006109 , 0x00000034 
+ 00018826  0x00005da5 jam  0x00000000 , 0x00004bba 
+ 00018827  0x00005da6 branch  0x00006121 
+ 00018828  0x00005da9 fetch  0x00000001 , 0x00004919 
+ 00018829  0x00005daa isub  0x00000002 , 0x0000003e 
+ 00018830  0x00005dab call  0x000049a1 , 0x00000005 
+ 00018831  0x00005dac branch  0x0000610d 
+ 00018832  0x00005db0 fetch  0x00000008 , 0x00004bbc 
+ 00018833  0x00005db1 rtnbit0  0x00000026 
+ 00018834  0x00005db2 fetch  0x00000001 , 0x00004927 
+ 00018835  0x00005db3 branch  0x0000499b 
+ 00018836  0x00005db5 fetch  0x00000008 , 0x00004bbc 
+ 00018837  0x00005db6 rtnbit0  0x00000025 
+ 00018838  0x00005db7 fetch  0x00000001 , 0x00004928 
+ 00018839  0x00005db8 branch  0x0000499b 
+ 00018840  0x00005dba fetch  0x00000008 , 0x00004bbc 
+ 00018841  0x00005dbb rtnbit0  0x00000027 
+ 00018842  0x00005dbc fetch  0x00000001 , 0x00004925 
+ 00018843  0x00005dbe isub  0x00000002 , 0x0000003e 
+ 00018844  0x00005dbf nrtn  0x00000005 
+ 00018845  0x00005dc0 jam  0x00000001 , 0x00004bba 
+ 00018846  0x00005dc1 rtn 
+ 00018847  0x00005dc4 jam  0x00000000 , 0x00004bbb 
+ 00018848  0x00005dc5 rtn 
+ 00018849  0x00005dc8 jam  0x00000001 , 0x00004bbb 
+ 00018850  0x00005dc9 rtn 
+ 00018851  0x00005dcc fetch  0x00000002 , 0x00004ad3 
+ 00018852  0x00005dcd nrtn  0x00000034 
+ 00018853  0x00005dce fetch  0x00000002 , 0x00004887 
+ 00018854  0x00005dcf nrtn  0x00000034 
+ 00018855  0x00005dd0 fetch  0x00000002 , 0x0000488b 
+ 00018856  0x00005dd1 nrtn  0x00000034 
+ 00018857  0x00005dd2 fetch  0x00000001 , 0x00004bb8 
+ 00018858  0x00005dd3 nrtn  0x00000034 
+ 00018859  0x00005dd4 call  0x00004951 
+ 00018860  0x00005dd5 rtn  0x00000028 
+ 00018861  0x00005dd6 fetch  0x00000008 , 0x00004bbc 
+ 00018862  0x00005dd7 rtnbit0  0x00000021 
+ 00018863  0x00005dd8 rtnbit0  0x00000004 
+ 00018864  0x00005dd9 bbit1  0x00000023 , 0x000049c9 
+ 00018865  0x00005dda fetch  0x00000001 , 0x000048fc 
+ 00018866  0x00005ddb increase  0x00000001 , 0x0000003f 
+ 00018867  0x00005ddc store  0x00000001 , 0x000048fc 
+ 00018868  0x00005ddd sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00018869  0x00005dde ncall  0x000049bb , 0x00000002 
+ 00018870  0x00005ddf beq  0x00000002 , 0x000049bd 
+ 00018871  0x00005de0 beq  0x00000004 , 0x000049c3 
+ 00018872  0x00005de1 beq  0x00000006 , 0x000049bd 
+ 00018873  0x00005de2 beq  0x00000008 , 0x000049c3 
+ 00018874  0x00005de3 rtn 
+ 00018875  0x00005de5 jam  0x00000001 , 0x000048fc 
+ 00018876  0x00005de6 branch  0x000049c3 
+ 00018877  0x00005de8 fetch  0x00000008 , 0x00004bbc 
+ 00018878  0x00005de9 bbit1  0x00000022 , 0x0000496d 
+ 00018879  0x00005dea fetch  0x00000001 , 0x00004925 
+ 00018880  0x00005deb rtneq  0x000000ff 
+ 00018881  0x00005dec fetcht  0x00000001 , 0x00004925 
+ 00018882  0x00005ded branch  0x0000497c 
+ 00018883  0x00005def fetch  0x00000008 , 0x00004bbc 
+ 00018884  0x00005df0 bbit1  0x00000022 , 0x0000495f 
+ 00018885  0x00005df1 fetch  0x00000001 , 0x00004925 
+ 00018886  0x00005df2 rtneq  0x000000ff 
+ 00018887  0x00005df3 fetcht  0x00000001 , 0x00004925 
+ 00018888  0x00005df4 branch  0x00004978 
+ 00018889  0x00005df7 fetch  0x00000002 , 0x00004bcf 
+ 00018890  0x00005df8 fetcht  0x00000002 , 0x00004ac3 
+ 00018891  0x00005df9 isub  0x00000002 , 0x00000002 
+ 00018892  0x00005dfa fetch  0x00000002 , 0x00004bd9 
+ 00018893  0x00005dfb isub  0x00000002 , 0x0000003e 
+ 00018894  0x00005dfc nbranch  0x000049db , 0x00000002 
+ 00018895  0x00005dfd fetch  0x00000001 , 0x000048fd 
+ 00018896  0x00005dfe nrtn  0x00000034 
+ 00018897  0x00005dff jam  0x00000001 , 0x000048fd 
+ 00018898  0x00005e00 branch  0x000049d3 
+ 00018899  0x00005e03 fetch  0x00000002 , 0x00004bd7 
+ 00018900  0x00005e04 store  0x00000002 , 0x00004935 
+ 00018901  0x00005e05 store  0x00000002 , 0x00004937 
+ 00018902  0x00005e06 fetch  0x00000008 , 0x00004bbc 
+ 00018903  0x00005e07 bbit1  0x00000022 , 0x0000491d 
+ 00018904  0x00005e08 fetch  0x00000001 , 0x00004925 
+ 00018905  0x00005e09 rtneq  0x000000ff 
+ 00018906  0x00005e0a branch  0x00004927 
+ 00018907  0x00005e0d jam  0x00000000 , 0x000048fd 
+ 00018908  0x00005e0e branch  0x000049c3 
+ 00018909  0x00005e12 fetch  0x00000008 , 0x00004bbc 
+ 00018910  0x00005e13 rtnbit0  0x00000021 
+ 00018911  0x00005e14 rtnbit0  0x00000004 
+ 00018912  0x00005e15 bbit1  0x00000023 , 0x000049ef 
+ 00018913  0x00005e16 fetch  0x00000001 , 0x000048fc 
+ 00018914  0x00005e17 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00018915  0x00005e18 branch  0x000049eb , 0x00000002 
+ 00018916  0x00005e1a fetch  0x00000001 , 0x0000493d 
+ 00018917  0x00005e1b beq  0x00000000 , 0x000049e8 
+ 00018918  0x00005e1c jam  0x00000001 , 0x00004099 
+ 00018919  0x00005e1d rtn 
+ 00018920  0x00005e20 fetch  0x00000008 , 0x00004bbc 
+ 00018921  0x00005e21 rtnbit1  0x00000018 
+ 00018922  0x00005e22 branch  0x000026d7 
+ 00018923  0x00005e25 fetch  0x00000001 , 0x0000493d 
+ 00018924  0x00005e26 beq  0x00000000 , 0x000026e8 
+ 00018925  0x00005e27 jam  0x00000000 , 0x00004099 
+ 00018926  0x00005e28 rtn 
+ 00018927  0x00005e2b fetch  0x00000001 , 0x000048fd 
+ 00018928  0x00005e2c nbranch  0x000049eb , 0x00000034 
+ 00018929  0x00005e2d branch  0x000049e4 
+ 00018930  0x00005e32 call  0x00001293 
+ 00018931  0x00005e33 fetch  0x00000001 , 0x00000018 
+ 00018932  0x00005e34 branch  0x000025e9 
+ 00018933  0x00005e37 call  0x000049f2 
+ 00018934  0x00005e38 branch  0x000026f5 
+ 00018935  0x00005e3b call  0x000049f2 
+ 00018936  0x00005e3c fetch  0x00000001 , 0x00000030 
+ 00018937  0x00005e3d isolate1  0x00000000 , 0x0000003f 
+ 00018938  0x00005e3e nrtn  0x00000001 
+ 00018939  0x00005e3f fetch  0x00000001 , 0x00000047 
+ 00018940  0x00005e40 isolate1  0x00000003 , 0x0000003f 
+ 00018941  0x00005e41 call  0x0000272b , 0x00000001 
+ 00018942  0x00005e42 ncall  0x00002727 , 0x00000001 
+ 00018943  0x00005e43 branch  0x000026f5 
+ 00018944  0x00005e46 fetch  0x00000001 , 0x00004b86 
+ 00018945  0x00005e47 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00018946  0x00005e48 nbranch  0x00007ecf , 0x00000001 
+ 00018947  0x00005e49 call  0x00003295 
+ 00018948  0x00005e4a branch  0x00007ed1 
+ 00018949  0x00005e4d call  0x00005355 
+ 00018950  0x00005e4e nrtn  0x00000034 
+ 00018951  0x00005e4f jam  0x00000001 , 0x00000088 
+ 00018952  0x00005e50 jam  0x00000000 , 0x00000089 
+ 00018953  0x00005e51 branch  0x00007ed1 
+ 00018954  0x00005e54 fetch  0x00000002 , 0x0000478f 
+ 00018955  0x00005e55 bbit1  0x00000009 , 0x00004a00 
+ 00018956  0x00005e56 branch  0x00004a05 
+ 00018957  0x00005e5d rtn  0x0000002b 
+ 00018958  0x00005e5e call  0x000061da 
+ 00018959  0x00005e5f setarg  0x00004ac1 
+ 00018960  0x00005e60 store  0x00000002 , 0x0000489f 
+ 00018961  0x00005e62 setarg  0x00004a50 
+ 00018962  0x00005e63 store  0x00000002 , 0x000048a3 
+ 00018963  0x00005e65 setarg  0x00004a4b 
+ 00018964  0x00005e66 store  0x00000002 , 0x0000445d 
+ 00018965  0x00005e68 setarg  0x00004a8b 
+ 00018966  0x00005e69 store  0x00000002 , 0x00004465 
+ 00018967  0x00005e6b setarg  0x00004a8d 
+ 00018968  0x00005e6c store  0x00000002 , 0x00004467 
+ 00018969  0x00005e6e setarg  0x00004aa6 
+ 00018970  0x00005e6f store  0x00000002 , 0x0000446f 
+ 00018971  0x00005e71 setarg  0x00004a40 
+ 00018972  0x00005e72 store  0x00000002 , 0x00004995 
+ 00018973  0x00005e74 setarg  0x00004a30 
+ 00018974  0x00005e75 store  0x00000002 , 0x00004999 
+ 00018975  0x00005e78 bpatch  0x000000e2 , 0x0000401c 
+ 00018976  0x00005e79 call  0x00005e59 
+ 00018977  0x00005e7a call  0x00004a47 
+ 00018978  0x00005e7c call  0x000079a5 
+ 00018979  0x00005e7d fetch  0x00000001 , 0x00004965 
+ 00018980  0x00005e7e store  0x00000001 , 0x000048d4 
+ 00018981  0x00005e7f beq  0x00000000 , 0x00004a2f 
+ 00018982  0x00005e80 fetch  0x00000001 , 0x00004966 
+ 00018983  0x00005e81 store  0x00000001 , 0x00004793 
+ 00018984  0x00005e83 call  0x00004a40 
+ 00018985  0x00005e84 call  0x00007826 
+ 00018986  0x00005e85 call  0x00007830 
+ 00018987  0x00005e86 jam  0x00000001 , 0x00004991 
+ 00018988  0x00005e87 fetch  0x00000002 , 0x0000478f 
+ 00018989  0x00005e88 rtnbit1  0x0000000c 
+ 00018990  0x00005e89 branch  0x00003289 
+ 00018991  0x00005e8e jam  0x00000002 , 0x00004991 
+ 00018992  0x00005e90 call  0x00004a40 
+ 00018993  0x00005e91 arg  0x00000000 , 0x00000011 
+ 00018994  0x00005e92 call  0x00007871 
+ 00018995  0x00005e93 call  0x00004a3c 
+ 00018996  0x00005e94 call  0x00005e79 
+ 00018997  0x00005e95 call  0x000026ec 
+ 00018998  0x00005e96 branch  0x000022e4 , 0x00000028 
+ 00018999  0x00005e97 fetch  0x00000004 , 0x0000483f 
+ 00019000  0x00005e98 store  0x00000004 , 0x00004895 
+ 00019001  0x00005e99 fetch  0x00000002 , 0x00004889 
+ 00019002  0x00005e9a store  0x00000002 , 0x0000488b 
+ 00019003  0x00005e9b branch  0x00002562 
+ 00019004  0x00005e9e arg  0x00000004 , 0x00000002 
+ 00019005  0x00005e9f arg  0x0000483f , 0x00000011 
+ 00019006  0x00005ea0 arg  0x00000000 , 0x00000012 
+ 00019007  0x00005ea1 rtn 
+ 00019008  0x00005ea6 bpatch  0x000000e3 , 0x0000401c 
+ 00019009  0x00005ea7 fetch  0x00000001 , 0x00004963 
+ 00019010  0x00005ea8 bne  0x000000ff , 0x00004a45 
+ 00019011  0x00005eaa fetcht  0x00000001 , 0x00004940 
+ 00019012  0x00005eab branch  0x0000610d 
+ 00019013  0x00005ead store  0x00000001 , 0x00004940 
+ 00019014  0x00005eae branch  0x00004a43 
+ 00019015  0x00005eb2 call  0x0000260e 
+ 00019016  0x00005eb4 fetch  0x00000002 , 0x0000498d 
+ 00019017  0x00005eb5 store  0x00000002 , 0x0000498f 
+ 00019018  0x00005eb6 rtn 
+ 00019019  0x00005eb9 call  0x00004a50 
+ 00019020  0x00005ebb fetch  0x00000001 , 0x00004936 
+ 00019021  0x00005ebc set1  0x00000007 , 0x0000003f 
+ 00019022  0x00005ebd arg  0x0000003f , 0x00000002 
+ 00019023  0x00005ebe branch  0x0000612b 
+ 00019024  0x00005ec1 call  0x00006136 
+ 00019025  0x00005ec2 branch  0x000061ff 
+ 00019026  0x00005ec5 call  0x0000620b 
+ 00019027  0x00005ec6 call  0x00004a63 
+ 00019028  0x00005ec7 call  0x00004a56 
+ 00019029  0x00005ec8 branch  0x00004a71 
+ 00019030  0x00005ecb fetch  0x00000001 , 0x0000499c 
+ 00019031  0x00005ecc rtnne  0x00000001 
+ 00019032  0x00005ecd fetch  0x00000004 , 0x000049a0 
+ 00019033  0x00005ece branch  0x00004a5d , 0x00000034 
+ 00019034  0x00005ecf jam  0x00000000 , 0x000049a6 
+ 00019035  0x00005ed0 enable  0x00000028 
+ 00019036  0x00005ed1 branch  0x00007976 
+ 00019037  0x00005ed3 fetch  0x00000001 , 0x000049a6 
+ 00019038  0x00005ed4 rtneq  0x000000ff 
+ 00019039  0x00005ed5 pincrease  0x00000001 
+ 00019040  0x00005ed6 store  0x00000001 , 0x000049a6 
+ 00019041  0x00005ed7 disable  0x00000028 
+ 00019042  0x00005ed8 branch  0x00007974 
+ 00019043  0x00005edc fetcht  0x00000002 , 0x000044ca 
+ 00019044  0x00005edd and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019045  0x00005ede rshift  0x00000002 , 0x00000002 
+ 00019046  0x00005edf store  0x00000001 , 0x000049a0 
+ 00019047  0x00005ee0 and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019048  0x00005ee1 rshift  0x00000002 , 0x00000002 
+ 00019049  0x00005ee2 store  0x00000001 , 0x000049a1 
+ 00019050  0x00005ee3 and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019051  0x00005ee4 rshift  0x00000002 , 0x00000002 
+ 00019052  0x00005ee5 store  0x00000001 , 0x000049a2 
+ 00019053  0x00005ee6 and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019054  0x00005ee7 rshift  0x00000002 , 0x00000002 
+ 00019055  0x00005ee8 store  0x00000001 , 0x000049a3 
+ 00019056  0x00005ee9 rtn 
+ 00019057  0x00005eeb bpatch  0x000000e4 , 0x0000401c 
+ 00019058  0x00005eec call  0x00004a81 
+ 00019059  0x00005eed call  0x00004a86 
+ 00019060  0x00005eee call  0x00004a77 
+ 00019061  0x00005eef nrtn  0x00000028 
+ 00019062  0x00005ef0 branch  0x00004abd 
+ 00019063  0x00005ef4 fetch  0x00000001 , 0x0000499c 
+ 00019064  0x00005ef5 rtnne  0x00000001 
+ 00019065  0x00005ef6 fetch  0x00000001 , 0x000049a6 
+ 00019066  0x00005ef7 rtn  0x00000034 
+ 00019067  0x00005ef8 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00019068  0x00005ef9 nrtn  0x00000002 
+ 00019069  0x00005efa fetch  0x00000002 , 0x00004889 
+ 00019070  0x00005efb store  0x00000002 , 0x0000488b 
+ 00019071  0x00005efc enable  0x00000028 
+ 00019072  0x00005efd rtn 
+ 00019073  0x00005f02 fetch  0x00000001 , 0x000049a0 
+ 00019074  0x00005f03 nbranch  0x00004ab1 , 0x00000034 
+ 00019075  0x00005f04 fetch  0x00000001 , 0x000049a1 
+ 00019076  0x00005f05 nbranch  0x00004ab3 , 0x00000034 
+ 00019077  0x00005f06 branch  0x00004ab9 
+ 00019078  0x00005f09 fetch  0x00000001 , 0x000049a2 
+ 00019079  0x00005f0a nbranch  0x00004ab5 , 0x00000034 
+ 00019080  0x00005f0b fetch  0x00000001 , 0x000049a3 
+ 00019081  0x00005f0c nbranch  0x00004ab7 , 0x00000034 
+ 00019082  0x00005f0d branch  0x00004abb 
+ 00019083  0x00005f11 call  0x00004a9b 
+ 00019084  0x00005f12 branch  0x00004a52 
+ 00019085  0x00005f15 copy  0x00000013 , 0x0000003f 
+ 00019086  0x00005f16 beq  0x0000002d , 0x000032b1 
+ 00019087  0x00005f17 beq  0x00000010 , 0x00003299 
+ 00019088  0x00005f18 beq  0x00000039 , 0x00004a95 
+ 00019089  0x00005f19 beq  0x0000003c , 0x00004a97 
+ 00019090  0x00005f1a beq  0x0000003a , 0x00004a94 
+ 00019091  0x00005f1b rtn 
+ 00019092  0x00005f1e branch  0x000025a0 
+ 00019093  0x00005f21 call  0x00004a3c 
+ 00019094  0x00005f22 call  0x00005e6b 
+ 00019095  0x00005f24 jam  0x00000000 , 0x000048a5 
+ 00019096  0x00005f25 jam  0x00000001 , 0x0000499d 
+ 00019097  0x00005f26 jam  0x00000001 , 0x0000499e 
+ 00019098  0x00005f27 rtn 
+ 00019099  0x00005f2a fetch  0x00000001 , 0x0000499d 
+ 00019100  0x00005f2b rtneq  0x00000000 
+ 00019101  0x00005f2c fetch  0x00000001 , 0x0000499c 
+ 00019102  0x00005f2d rtneq  0x00000001 
+ 00019103  0x00005f2e jam  0x00000001 , 0x0000499c 
+ 00019104  0x00005f30 arg  0x00000000 , 0x00000011 
+ 00019105  0x00005f31 branch  0x0000786c 
+ 00019106  0x00005f33 arg  0x00000000 , 0x00000011 
+ 00019107  0x00005f34 call  0x0000786c 
+ 00019108  0x00005f35 call  0x00004a40 
+ 00019109  0x00005f36 branch  0x00003289 
+ 00019110  0x00005f39 call  0x0000320a 
+ 00019111  0x00005f3a call  0x000022e1 
+ 00019112  0x00005f3b call  0x0000255f 
+ 00019113  0x00005f3c branch  0x00004aaa 
+ 00019114  0x00005f3f fetch  0x00000001 , 0x00004967 
+ 00019115  0x00005f40 rtn  0x00000034 
+ 00019116  0x00005f41 fetch  0x00000001 , 0x000044ca 
+ 00019117  0x00005f42 nbranch  0x00004a48 , 0x00000034 
+ 00019118  0x00005f43 arg  0x0000498f , 0x00000013 
+ 00019119  0x00005f44 arg  0x00004aa2 , 0x00000012 
+ 00019120  0x00005f45 branch  0x00003203 
+ 00019121  0x00005f4a jam  0x00000001 , 0x0000496e 
+ 00019122  0x00005f4b rtn 
+ 00019123  0x00005f4d jam  0x00000002 , 0x0000496e 
+ 00019124  0x00005f4e rtn 
+ 00019125  0x00005f50 jam  0x00000001 , 0x00004970 
+ 00019126  0x00005f51 rtn 
+ 00019127  0x00005f53 jam  0x00000002 , 0x00004970 
+ 00019128  0x00005f54 rtn 
+ 00019129  0x00005f59 jam  0x00000000 , 0x0000496e 
+ 00019130  0x00005f5a rtn 
+ 00019131  0x00005f5d jam  0x00000000 , 0x00004970 
+ 00019132  0x00005f5e rtn 
+ 00019133  0x00005f61 arg  0x00004968 , 0x00000011 
+ 00019134  0x00005f62 branch  0x000079aa 
+ 00019135  0x00005f64 arg  0x00004975 , 0x00000011 
+ 00019136  0x00005f65 branch  0x000079aa 
+ 00019137  0x00005f68 fetch  0x00000001 , 0x0000499e 
+ 00019138  0x00005f69 beq  0x00000001 , 0x00004acb 
+ 00019139  0x00005f6a arg  0x0000497e , 0x00000011 
+ 00019140  0x00005f6b call  0x000079c1 
+ 00019141  0x00005f6c nbranch  0x00004ad0 , 0x00000028 
+ 00019142  0x00005f6e arg  0x0000497e , 0x00000006 
+ 00019143  0x00005f6f ifetch  0x00000001 , 0x00000006 
+ 00019144  0x00005f70 copy  0x0000003f , 0x00000011 
+ 00019145  0x00005f71 arg  0x0000497f , 0x00000012 
+ 00019146  0x00005f74 rtn 
+ 00019147  0x00005f77 jam  0x00000000 , 0x0000499e 
+ 00019148  0x00005f78 enable  0x00000028 
+ 00019149  0x00005f79 arg  0x00000001 , 0x00000011 
+ 00019150  0x00005f7a arg  0x0000499f , 0x00000012 
+ 00019151  0x00005f7b rtn 
+ 00019152  0x00005f7e fetch  0x00000001 , 0x00004981 
+ 00019153  0x00005f7f beq  0x00000004 , 0x00004ad4 
+ 00019154  0x00005f80 beq  0x00000005 , 0x00004ad4 
+ 00019155  0x00005f81 rtn 
+ 00019156  0x00005f83 fetch  0x00000001 , 0x00004984 
+ 00019157  0x00005f84 nbranch  0x00004adb , 0x00000034 
+ 00019158  0x00005f85 fetch  0x00000001 , 0x00004986 
+ 00019159  0x00005f86 nbranch  0x00004adb , 0x00000034 
+ 00019160  0x00005f87 fetch  0x00000001 , 0x00004988 
+ 00019161  0x00005f88 nbranch  0x00004adb , 0x00000034 
+ 00019162  0x00005f89 rtn 
+ 00019163  0x00005f8b enable  0x00000028 
+ 00019164  0x00005f8c branch  0x00004ac6 
+ 00019165  0x00005f92 jam  0x00000014 , 0x00004792 
+ 00019166  0x00005f93 jam  0x00000001 , 0x00004786 
+ 00019167  0x00005f94 setarg  0x0000060f 
+ 00019168  0x00005f95 store  0x00000002 , 0x000048d5 
+ 00019169  0x00005f96 setarg  0x000048d5 
+ 00019170  0x00005f97 store  0x00000002 , 0x0000448c 
+ 00019171  0x00005f98 jam  0x00000001 , 0x00004099 
+ 00019172  0x00005f99 jam  0x00000006 , 0x0000415b 
+ 00019173  0x00005f9a jam  0x00000002 , 0x00004178 
+ 00019174  0x00005f9b jam  0x00000000 , 0x000048d4 
+ 00019175  0x00005f9c setarg  0x00004934 
+ 00019176  0x00005f9d store  0x00000002 , 0x0000448f 
+ 00019177  0x00005f9e jam  0x00000001 , 0x0000448e 
+ 00019178  0x00005f9f jam  0x000000ff , 0x00004935 
+ 00019179  0x00005fa0 setarg  0x00000296 
+ 00019180  0x00005fa1 store  0x00000002 , 0x00004937 
+ 00019181  0x00005fa2 setarg  0x0000073a 
+ 00019182  0x00005fa3 store  0x00000002 , 0x00004939 
+ 00019183  0x00005fa4 setarg  0x00004991 
+ 00019184  0x00005fa5 store  0x00000002 , 0x000044cc 
+ 00019185  0x00005fa6 setarg  0x00000c0c 
+ 00019186  0x00005fa7 store  0x00000002 , 0x00004993 
+ 00019187  0x00005fa8 setarg  0x00004948 
+ 00019188  0x00005fa9 store  0x00000002 , 0x000044c8 
+ 00019189  0x00005faa jam  0x00000000 , 0x00004965 
+ 00019190  0x00005fab jam  0x000000ff , 0x00004963 
+ 00019191  0x00005fac jam  0x000000ff , 0x00004966 
+ 00019192  0x00005fad jam  0x00000000 , 0x00004961 
+ 00019193  0x00005fae jam  0x00000000 , 0x00004962 
+ 00019194  0x00005faf jam  0x00000000 , 0x00004964 
+ 00019195  0x00005fb0 jam  0x00000001 , 0x00004967 
+ 00019196  0x00005fb1 setarg  0x00004e55 
+ 00019197  0x00005fb2 store  0x00000002 , 0x00004954 
+ 00019198  0x00005fb3 store  0x00000002 , 0x00004956 
+ 00019199  0x00005fb4 setarg  0x00000007 
+ 00019200  0x00005fb5 store  0x00000002 , 0x0000495a 
+ 00019201  0x00005fb6 jam  0x00000002 , 0x000044a2 
+ 00019202  0x00005fb7 setsect  0x00000000 , 0x00035a0c 
+ 00019203  0x00005fb8 setsect  0x00000001 , 0x0000011a 
+ 00019204  0x00005fb9 setsect  0x00000002 , 0x00000060 
+ 00019205  0x00005fba setsect  0x00000003 , 0x00000028 
+ 00019206  0x00005fbb store  0x00000009 , 0x00004968 
+ 00019207  0x00005fbc setsect  0x00000000 , 0x0002000a 
+ 00019208  0x00005fbd setsect  0x00000001 , 0x00000002 
+ 00019209  0x00005fbe istore  0x00000004 , 0x00000005 
+ 00019210  0x00005fbf setsect  0x00000000 , 0x00035a08 
+ 00019211  0x00005fc0 setsect  0x00000001 , 0x0000019a 
+ 00019212  0x00005fc1 setsect  0x00000002 , 0x00000000 
+ 00019213  0x00005fc2 setsect  0x00000003 , 0x00000000 
+ 00019214  0x00005fc3 store  0x00000009 , 0x00004975 
+ 00019215  0x00005fc4 setarg  0x00000064 
+ 00019216  0x00005fc5 store  0x00000002 , 0x0000498d 
+ 00019217  0x00005fc6 jam  0x00000000 , 0x000041e8 
+ 00019218  0x00005fc7 jam  0x00000001 , 0x00004839 
+ 00019219  0x00005fc8 jam  0x00000006 , 0x000048ac 
+ 00019220  0x00005fc9 jam  0x00000001 , 0x0000485e 
+ 00019221  0x00005fca jam  0x00000000 , 0x00004890 
+ 00019222  0x00005fcb call  0x000022d0 
+ 00019223  0x00005fcc call  0x0000261a 
+ 00019224  0x00005fcd call  0x000022b5 
+ 00019225  0x00005fce call  0x000022db 
+ 00019226  0x00005fcf setarg  0x00000708 
+ 00019227  0x00005fd0 store  0x00000002 , 0x00004885 
+ 00019228  0x00005fd1 setarg  0x00000050 
+ 00019229  0x00005fd2 store  0x00000002 , 0x00004889 
+ 00019230  0x00005fd3 setarg  0x000a7700 
+ 00019231  0x00005fd4 store  0x00000003 , 0x000048b4 
+ 00019232  0x00005fd5 setarg  0x00604800 
+ 00019233  0x00005fd6 store  0x00000003 , 0x0000485f 
+ 00019234  0x00005fd7 branch  0x00003174 
+ 00019235  0x00005fe4 call  0x00006e5e 
+ 00019236  0x00005fe5 rtn  0x0000002b 
+ 00019237  0x00005fe6 setarg  0x00004ba8 
+ 00019238  0x00005fe7 store  0x00000002 , 0x0000445d 
+ 00019239  0x00005fe9 setarg  0x00004ba6 
+ 00019240  0x00005fea store  0x00000002 , 0x0000445f 
+ 00019241  0x00005fec setarg  0x00003289 
+ 00019242  0x00005fed store  0x00000002 , 0x00004469 
+ 00019243  0x00005fef setarg  0x00004ba4 
+ 00019244  0x00005ff0 store  0x00000002 , 0x00004465 
+ 00019245  0x00005ff2 setarg  0x00004b53 
+ 00019246  0x00005ff3 store  0x00000002 , 0x00004467 
+ 00019247  0x00005ff5 setarg  0x00004b4d 
+ 00019248  0x00005ff6 store  0x00000002 , 0x0000445b 
+ 00019249  0x00005ff8 setarg  0x00004c15 
+ 00019250  0x00005ff9 store  0x00000002 , 0x0000446b 
+ 00019251  0x00005ffb setarg  0x00004b8a 
+ 00019252  0x00005ffc store  0x00000002 , 0x0000446f 
+ 00019253  0x00005ffe setarg  0x00004bf0 
+ 00019254  0x00005fff store  0x00000002 , 0x000047eb 
+ 00019255  0x00006001 setarg  0x00004c2c 
+ 00019256  0x00006002 store  0x00000002 , 0x000047e6 
+ 00019257  0x00006003 setarg  0x00004c2d 
+ 00019258  0x00006004 store  0x00000002 , 0x000047e8 
+ 00019259  0x00006006 call  0x00004b48 
+ 00019260  0x00006007 call  0x00001a55 
+ 00019261  0x00006008 call  0x00004c18 
+ 00019262  0x00006009 call  0x000061da 
+ 00019263  0x0000600a call  0x000079a5 
+ 00019264  0x0000600b call  0x0000785b 
+ 00019265  0x0000600d bpatch  0x000000e5 , 0x0000401c 
+ 00019266  0x0000600e call  0x00004c25 
+ 00019267  0x0000600f fetch  0x00000001 , 0x000047e1 
+ 00019268  0x00006010 beq  0x00000000 , 0x00004b4a 
+ 00019269  0x00006011 fetch  0x00000001 , 0x000047e2 
+ 00019270  0x00006012 store  0x00000001 , 0x00004793 
+ 00019271  0x00006013 branch  0x00004c34 
+ 00019272  0x00006017 jam  0x00000007 , 0x000045fa 
+ 00019273  0x00006018 rtn 
+ 00019274  0x0000601c jam  0x000000ff , 0x00004793 
+ 00019275  0x0000601d jam  0x00000001 , 0x000047e3 
+ 00019276  0x0000601e branch  0x00004bc3 
+ 00019277  0x00006023 fetch  0x00000001 , 0x000047e3 
+ 00019278  0x00006024 beq  0x00000002 , 0x0000324f 
+ 00019279  0x00006025 call  0x0000535f 
+ 00019280  0x00006026 fetch  0x00000001 , 0x000044e9 
+ 00019281  0x00006027 nbranch  0x0000324f , 0x00000034 
+ 00019282  0x00006028 branch  0x00003251 
+ 00019283  0x0000602d copy  0x00000013 , 0x0000003f 
+ 00019284  0x00006030 beq  0x00000014 , 0x00004b5c 
+ 00019285  0x00006031 beq  0x00000015 , 0x00004b60 
+ 00019286  0x00006032 beq  0x0000003f , 0x00004b63 
+ 00019287  0x00006033 beq  0x00000040 , 0x00004b69 
+ 00019288  0x00006035 beq  0x00000010 , 0x00004b6f 
+ 00019289  0x00006036 beq  0x0000002c , 0x00004b70 
+ 00019290  0x00006037 beq  0x0000002d , 0x00004b7b 
+ 00019291  0x00006038 rtn 
+ 00019292  0x0000603d call  0x00004baa 
+ 00019293  0x0000603e setarg  0x00000000 
+ 00019294  0x0000603f store  0x00000002 , 0x000047bb 
+ 00019295  0x00006040 branch  0x00003287 
+ 00019296  0x00006044 call  0x000079a5 
+ 00019297  0x00006045 jam  0x00000000 , 0x000047b4 
+ 00019298  0x00006046 branch  0x00004bc3 
+ 00019299  0x0000604a call  0x000079a5 
+ 00019300  0x0000604b jam  0x00000001 , 0x000047b4 
+ 00019301  0x0000604c fetch  0x00000008 , 0x000047c5 
+ 00019302  0x0000604d store  0x00000008 , 0x00004372 
+ 00019303  0x0000604e call  0x00003295 
+ 00019304  0x0000604f branch  0x00001f04 
+ 00019305  0x00006053 fetch  0x00000002 , 0x000043db 
+ 00019306  0x00006054 rtneq  0x00000000 
+ 00019307  0x00006055 fetch  0x00000008 , 0x000047cd 
+ 00019308  0x00006056 rtn  0x00000034 
+ 00019309  0x00006057 store  0x00000008 , 0x00004372 
+ 00019310  0x00006058 branch  0x00001f04 
+ 00019311  0x0000605d branch  0x00004c45 
+ 00019312  0x00006060 fetch  0x00000001 , 0x000047e1 
+ 00019313  0x00006061 rtneq  0x00000000 
+ 00019314  0x00006062 fetch  0x00000001 , 0x000047e3 
+ 00019315  0x00006063 rtnne  0x00000001 
+ 00019316  0x00006064 call  0x00004b76 
+ 00019317  0x00006065 branch  0x00003285 
+ 00019318  0x00006068 jam  0x00000001 , 0x000049e3 
+ 00019319  0x00006069 arg  0x0000000b , 0x00000039 
+ 00019320  0x0000606a arg  0x000049e4 , 0x00000005 
+ 00019321  0x0000606b arg  0x000049cd , 0x00000006 
+ 00019322  0x0000606c branch  0x00007dd4 
+ 00019323  0x0000606f fetch  0x00000001 , 0x000047e1 
+ 00019324  0x00006070 rtneq  0x00000000 
+ 00019325  0x00006071 fetch  0x00000001 , 0x000047e3 
+ 00019326  0x00006072 beq  0x00000001 , 0x00004b80 
+ 00019327  0x00006073 branch  0x00004c41 
+ 00019328  0x00006076 fetch  0x00000001 , 0x000049e3 
+ 00019329  0x00006077 rtnne  0x00000001 
+ 00019330  0x00006078 jam  0x00000000 , 0x000049e3 
+ 00019331  0x00006079 fetch  0x00000002 , 0x0000478f 
+ 00019332  0x0000607a bbit1  0x00000000 , 0x00003287 
+ 00019333  0x0000607b bbit1  0x00000009 , 0x00003287 
+ 00019334  0x0000607c arg  0x0000000b , 0x00000039 
+ 00019335  0x0000607d arg  0x000049e4 , 0x00000006 
+ 00019336  0x0000607e arg  0x000049cd , 0x00000005 
+ 00019337  0x0000607f branch  0x00007dd4 
+ 00019338  0x00006086 call  0x00004b8d 
+ 00019339  0x00006089 call  0x00004b94 
+ 00019340  0x0000608d branch  0x00004b9f 
+ 00019341  0x00006092 arg  0x000047df , 0x00000013 
+ 00019342  0x00006093 arg  0x00004b90 , 0x00000012 
+ 00019343  0x00006094 branch  0x00003203 
+ 00019344  0x00006096 jam  0x00000002 , 0x000047e3 
+ 00019345  0x00006097 call  0x00003287 
+ 00019346  0x00006098 call  0x00004bd4 
+ 00019347  0x00006099 branch  0x00004c31 
+ 00019348  0x0000609d arg  0x000049f0 , 0x00000013 
+ 00019349  0x0000609e arg  0x00004b97 , 0x00000012 
+ 00019350  0x0000609f branch  0x000031fc 
+ 00019351  0x000060a2 fetch  0x00000002 , 0x0000478f 
+ 00019352  0x000060a3 bbit1  0x00000009 , 0x00004c31 
+ 00019353  0x000060a4 bbit1  0x00000000 , 0x00004c31 
+ 00019354  0x000060a5 fetch  0x00000001 , 0x000049cd 
+ 00019355  0x000060a6 beq  0x00000001 , 0x00004c31 
+ 00019356  0x000060a7 beq  0x00000004 , 0x00004c31 
+ 00019357  0x000060a8 beq  0x00000005 , 0x00004c31 
+ 00019358  0x000060a9 branch  0x00003289 
+ 00019359  0x000060ad fetch  0x00000001 , 0x000047e3 
+ 00019360  0x000060ae rtnne  0x00000001 
+ 00019361  0x000060af arg  0x000047bb , 0x00000013 
+ 00019362  0x000060b0 arg  0x00004bb1 , 0x00000012 
+ 00019363  0x000060b1 branch  0x00003203 
+ 00019364  0x000060b5 call  0x00004c01 
+ 00019365  0x000060b6 branch  0x0000620b 
+ 00019366  0x000060ba call  0x00006136 
+ 00019367  0x000060bb branch  0x000061ff 
+ 00019368  0x000060be call  0x00006136 
+ 00019369  0x000060bf branch  0x00006e62 
+ 00019370  0x000060c6 fetch  0x00000001 , 0x000047a7 
+ 00019371  0x000060c7 bbit1  0x00000000 , 0x00004bad 
+ 00019372  0x000060c8 rtn 
+ 00019373  0x000060cb fetch  0x00000002 , 0x000047db 
+ 00019374  0x000060cc store  0x00000002 , 0x000047dd 
+ 00019375  0x000060cd store  0x00000002 , 0x000047df 
+ 00019376  0x000060ce branch  0x00003277 
+ 00019377  0x000060d2 fetch  0x00000001 , 0x000047e3 
+ 00019378  0x000060d3 rtnne  0x00000001 
+ 00019379  0x000060d4 fetch  0x00000001 , 0x000047a7 
+ 00019380  0x000060d5 bbit1  0x00000000 , 0x00004bb6 
+ 00019381  0x000060d6 rtn 
+ 00019382  0x000060d8 fetch  0x00000002 , 0x0000478f 
+ 00019383  0x000060d9 rtnbit1  0x00000009 
+ 00019384  0x000060da fetch  0x00000002 , 0x000047d9 
+ 00019385  0x000060db store  0x00000002 , 0x000047dd 
+ 00019386  0x000060dc store  0x00000002 , 0x000047df 
+ 00019387  0x000060dd fetch  0x00000002 , 0x000047b7 
+ 00019388  0x000060de call  0x00004c56 
+ 00019389  0x000060df call  0x00003283 
+ 00019390  0x000060e0 fetch  0x00000004 , 0x000047c1 
+ 00019391  0x000060e1 store  0x00000004 , 0x000049d0 
+ 00019392  0x000060e2 fetch  0x00000002 , 0x0000478f 
+ 00019393  0x000060e3 rtnbit1  0x0000000b 
+ 00019394  0x000060e4 branch  0x00003279 
+ 00019395  0x000060e8 fetch  0x00000001 , 0x000047e3 
+ 00019396  0x000060e9 rtnne  0x00000001 
+ 00019397  0x000060ea fetch  0x00000001 , 0x000047a7 
+ 00019398  0x000060eb bbit1  0x00000000 , 0x00004bc8 
+ 00019399  0x000060ec rtn 
+ 00019400  0x000060ee fetch  0x00000002 , 0x000047bb 
+ 00019401  0x000060ef fetcht  0x00000002 , 0x000047b9 
+ 00019402  0x000060f0 storet  0x00000002 , 0x000047bb 
+ 00019403  0x000060f1 nrtn  0x00000034 
+ 00019404  0x000060f2 fetch  0x00000002 , 0x000047b5 
+ 00019405  0x000060f3 call  0x00004c56 
+ 00019406  0x000060f4 call  0x00003283 
+ 00019407  0x000060f5 fetch  0x00000004 , 0x000047bd 
+ 00019408  0x000060f6 store  0x00000004 , 0x000049d0 
+ 00019409  0x000060f7 fetch  0x00000002 , 0x0000478f 
+ 00019410  0x000060f8 rtnbit1  0x0000000b 
+ 00019411  0x000060f9 branch  0x00003279 
+ 00019412  0x000060fc fetch  0x00000002 , 0x0000478f 
+ 00019413  0x000060fd bbit1  0x00000009 , 0x00003281 
+ 00019414  0x000060fe branch  0x00004baa 
+ 00019415  0x00006103 call  0x00007ec7 
+ 00019416  0x00006104 fetch  0x00000002 , 0x0000478f 
+ 00019417  0x00006105 bbit1  0x00000009 , 0x00004bdb 
+ 00019418  0x00006106 rtn 
+ 00019419  0x0000610a fetch  0x00000001 , 0x000047b4 
+ 00019420  0x0000610b rtn  0x00000034 
+ 00019421  0x0000610c branch  0x00007ec5 
+ 00019422  0x00006112 call  0x00007ec7 
+ 00019423  0x00006113 fetch  0x00000002 , 0x0000478f 
+ 00019424  0x00006114 rtnbit1  0x00000000 
+ 00019425  0x00006115 rtnbit1  0x00000009 
+ 00019426  0x00006116 branch  0x00007ec5 
+ 00019427  0x0000611b fetch  0x00000001 , 0x000047a7 
+ 00019428  0x0000611c bbit1  0x00000000 , 0x00004be6 
+ 00019429  0x0000611d rtn 
+ 00019430  0x0000611f branch  0x00004bc3 
+ 00019431  0x00006124 disable  0x0000002c 
+ 00019432  0x00006125 fetch  0x00000002 , 0x000047dd 
+ 00019433  0x00006126 store  0x00000002 , 0x000047df 
+ 00019434  0x00006128 call  0x00004bde 
+ 00019435  0x00006129 branch  0x00004be3 , 0x00000028 
+ 00019436  0x0000612b call  0x00004bd7 
+ 00019437  0x0000612c nrtn  0x00000028 
+ 00019438  0x0000612d enable  0x0000002c 
+ 00019439  0x0000612e rtn 
+ 00019440  0x00006133 call  0x00004be7 
+ 00019441  0x00006134 nrtn  0x0000002c 
+ 00019442  0x00006135 deposit  0x00000011 
+ 00019443  0x00006136 branch  0x00004bf7 , 0x00000034 
+ 00019444  0x00006138 call  0x00003285 
+ 00019445  0x00006139 arg  0x000047f5 , 0x00000013 
+ 00019446  0x0000613a branch  0x00004bf9 
+ 00019447  0x0000613d call  0x00003287 
+ 00019448  0x0000613e arg  0x0000481d , 0x00000013 
+ 00019449  0x00006141 arg  0x00000005 , 0x0000003f 
+ 00019450  0x00006142 imul32  0x00000007 , 0x0000003f 
+ 00019451  0x00006143 iadd  0x00000013 , 0x00000013 
+ 00019452  0x00006147 ifetch  0x00000001 , 0x00000013 
+ 00019453  0x00006148 rtn  0x00000034 
+ 00019454  0x00006149 call  0x00004c0d 
+ 00019455  0x0000614a increase  0x00000001 , 0x00000013 
+ 00019456  0x0000614b branch  0x00004bfc 
+ 00019457  0x0000614f fetch  0x00000002 , 0x0000478f 
+ 00019458  0x00006150 bbit1  0x00000009 , 0x00004c04 
+ 00019459  0x00006151 rtn 
+ 00019460  0x00006154 call  0x00001b24 
+ 00019461  0x00006155 nrtn  0x00000034 
+ 00019462  0x00006156 call  0x00004c10 
+ 00019463  0x00006157 nrtn  0x00000028 
+ 00019464  0x00006158 pincrease  0xffffffff 
+ 00019465  0x00006159 mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00019466  0x0000615a arg  0x00004845 , 0x00000002 
+ 00019467  0x0000615b iadd  0x00000002 , 0x00000006 
+ 00019468  0x0000615c branch  0x00004c5a 
+ 00019469  0x00006161 store  0x00000001 , 0x0000095c 
+ 00019470  0x00006162 arg  0x0000095c , 0x00000011 
+ 00019471  0x00006163 branch  0x000079aa 
+ 00019472  0x00006166 arg  0x0000095c , 0x00000011 
+ 00019473  0x00006167 call  0x000079c1 
+ 00019474  0x00006168 nrtn  0x00000028 
+ 00019475  0x00006169 fetch  0x00000001 , 0x0000095c 
+ 00019476  0x0000616a rtn 
+ 00019477  0x0000616e fetch  0x00000002 , 0x00004437 
+ 00019478  0x0000616f beq  0x00000018 , 0x00004b63 
+ 00019479  0x00006170 rtn 
+ 00019480  0x00006173 setarg  0x00000002 
+ 00019481  0x00006174 store  0x00000001 , 0x000049ef 
+ 00019482  0x00006176 setarg  0x00200008 
+ 00019483  0x00006177 store  0x00000004 , 0x000047c5 
+ 00019484  0x00006178 setarg  0x012c0005 
+ 00019485  0x00006179 istore  0x00000004 , 0x00000005 
+ 00019486  0x0000617c jam  0x00000017 , 0x00004380 
+ 00019487  0x0000617f setarg  0x0000001b 
+ 00019488  0x00006180 store  0x00000002 , 0x000043d1 
+ 00019489  0x00006181 call  0x00001ac2 
+ 00019490  0x00006182 call  0x00001ade 
+ 00019491  0x00006183 call  0x00001aeb 
+ 00019492  0x00006184 branch  0x00001aca 
+ 00019493  0x00006189 arg  0x00000028 , 0x00000039 
+ 00019494  0x0000618a arg  0x00004845 , 0x00000005 
+ 00019495  0x0000618b arg  0x00009e57 , 0x00000006 
+ 00019496  0x0000618c branch  0x00007dc7 
+ 00019497  0x0000618f arg  0x0000017e , 0x00000039 
+ 00019498  0x00006190 arg  0x00009af2 , 0x00000006 
+ 00019499  0x00006191 branch  0x00007dc7 
+ 00019500  0x00006196 branch  0x00004bc3 
+ 00019501  0x0000619a arg  0x00000000 , 0x00000011 
+ 00019502  0x0000619b arg  0x000049d8 , 0x00000013 
+ 00019503  0x0000619c call  0x00007877 
+ 00019504  0x0000619d call  0x00004bd4 
+ 00019505  0x0000619f fetch  0x00000001 , 0x000049ef 
+ 00019506  0x000061a0 store  0x00000001 , 0x000049f0 
+ 00019507  0x000061a1 rtn 
+ 00019508  0x000061a6 setarg  0x00000000 
+ 00019509  0x000061a7 call  0x00004c3c 
+ 00019510  0x000061a8 jam  0x00000001 , 0x00004786 
+ 00019511  0x000061a9 call  0x00007826 
+ 00019512  0x000061aa call  0x00007830 
+ 00019513  0x000061ab fetch  0x00000002 , 0x0000478f 
+ 00019514  0x000061ac rtnbit1  0x0000000c 
+ 00019515  0x000061ad branch  0x00003289 
+ 00019516  0x000061b0 fetcht  0x00000002 , 0x000044cc 
+ 00019517  0x000061b1 istore  0x00000001 , 0x00000002 
+ 00019518  0x000061b2 ifetch  0x00000001 , 0x00000005 
+ 00019519  0x000061b3 store  0x00000001 , 0x00004792 
+ 00019520  0x000061b4 rtn 
+ 00019521  0x000061b8 fetch  0x00000002 , 0x000044cc 
+ 00019522  0x000061b9 ifetch  0x00000001 , 0x0000003f 
+ 00019523  0x000061ba rtnne  0x00000000 
+ 00019524  0x000061bb branch  0x00003289 
+ 00019525  0x000061bf fetcht  0x00000002 , 0x000044cc 
+ 00019526  0x000061c0 ifetch  0x00000001 , 0x00000002 
+ 00019527  0x000061c1 beq  0x00000001 , 0x00004c50 
+ 00019528  0x000061c3 setarg  0x00000001 
+ 00019529  0x000061c4 fetcht  0x00000002 , 0x000044cc 
+ 00019530  0x000061c5 istore  0x00000001 , 0x00000002 
+ 00019531  0x000061c6 add  0x00000002 , 0x00000002 , 0x00000006 
+ 00019532  0x000061c7 ifetch  0x00000001 , 0x00000006 
+ 00019533  0x000061c8 istore  0x00000001 , 0x00004792 
+ 00019534  0x000061c9 ifetch  0x00000002 , 0x00000006 
+ 00019535  0x000061ca branch  0x00007e7a 
+ 00019536  0x000061cd setarg  0x00000002 
+ 00019537  0x000061ce call  0x00004c3c 
+ 00019538  0x000061cf add  0x00000002 , 0x00000005 , 0x00000006 
+ 00019539  0x000061d0 ifetch  0x00000002 , 0x00000006 
+ 00019540  0x000061d1 branch  0x00003289 , 0x00000034 
+ 00019541  0x000061d2 branch  0x00007e7a 
+ 00019542  0x000061d8 store  0x00000002 , 0x00004159 
+ 00019543  0x000061d9 increase  0xfffffffc , 0x0000003f 
+ 00019544  0x000061da store  0x00000002 , 0x00004428 
+ 00019545  0x000061db rtn 
+ 00019546  0x000061de ifetch  0x00000001 , 0x00000006 
+ 00019547  0x000061df copy  0x0000003f , 0x00000011 
+ 00019548  0x000061e0 ifetcht  0x00000002 , 0x00000006 
+ 00019549  0x000061e1 call  0x00007d5e 
+ 00019550  0x000061e2 call  0x00001e5f 
+ 00019551  0x000061e3 copy  0x00000011 , 0x00000039 
+ 00019552  0x000061e4 call  0x00007d58 
+ 00019553  0x000061e5 branch  0x00007dd4 
+ 00019554  0x000061e9 fetch  0x00000002 , 0x000049f1 
+ 00019555  0x000061ea store  0x00000002 , 0x000047ed 
+ 00019556  0x000061eb fetch  0x00000001 , 0x000049f3 
+ 00019557  0x000061ec store  0x00000001 , 0x000049cf 
+ 00019558  0x000061ed store  0x00000001 , 0x000049da 
+ 00019559  0x000061ee fetch  0x00000001 , 0x000049f4 
+ 00019560  0x000061ef store  0x00000001 , 0x000047e1 
+ 00019561  0x000061f0 fetch  0x00000001 , 0x000049f5 
+ 00019562  0x000061f1 store  0x00000001 , 0x000047e2 
+ 00019563  0x000061f2 jam  0x00000001 , 0x000047a7 
+ 00019564  0x000061f3 setarg  0x00000030 
+ 00019565  0x000061f4 store  0x00000002 , 0x000047b2 
+ 00019566  0x000061f5 setarg  0x00000000 
+ 00019567  0x000061f6 store  0x00000002 , 0x000047a8 
+ 00019568  0x000061f7 setarg  0x00000001 
+ 00019569  0x000061f8 store  0x00000002 , 0x000047f5 
+ 00019570  0x000061f9 store  0x00000002 , 0x000047fa 
+ 00019571  0x000061fa setarg  0x00000006 
+ 00019572  0x000061fb store  0x00000002 , 0x0000481d 
+ 00019573  0x000061fc store  0x00000002 , 0x00004822 
+ 00019574  0x000061fd setarg  0x00000007 
+ 00019575  0x000061fe store  0x00000002 , 0x000047ff 
+ 00019576  0x000061ff setarg  0x00000008 
+ 00019577  0x00006200 store  0x00000002 , 0x00004827 
+ 00019578  0x00006201 setarg  0x000047e3 
+ 00019579  0x00006202 store  0x00000002 , 0x000044cc 
+ 00019580  0x00006203 setarg  0x00201400 
+ 00019581  0x00006204 store  0x00000003 , 0x000047e3 
+ 00019582  0x00006205 jam  0x00000001 , 0x00004099 
+ 00019583  0x00006206 setarg  0x00000100 
+ 00019584  0x00006207 store  0x00000002 , 0x00004159 
+ 00019585  0x00006208 jam  0x00000008 , 0x0000415b 
+ 00019586  0x00006209 jam  0x00000005 , 0x00004177 
+ 00019587  0x0000620a jam  0x00000002 , 0x00004178 
+ 00019588  0x0000620b setarg  0x00000030 
+ 00019589  0x0000620c store  0x00000002 , 0x00004455 
+ 00019590  0x0000620d setarg  0x00000001 
+ 00019591  0x0000620e istore  0x00000002 , 0x00000005 
+ 00019592  0x0000620f jam  0x0000000a , 0x00004644 
+ 00019593  0x00006210 setarg  0x00000096 
+ 00019594  0x00006211 store  0x00000002 , 0x000047bd 
+ 00019595  0x00006212 istore  0x00000002 , 0x00000005 
+ 00019596  0x00006213 setarg  0x00000296 
+ 00019597  0x00006214 store  0x00000002 , 0x000047c1 
+ 00019598  0x00006215 istore  0x00000002 , 0x00000005 
+ 00019599  0x00006216 setsect  0x00000000 , 0x00000010 
+ 00019600  0x00006217 setsect  0x00000001 , 0x00008008 
+ 00019601  0x00006218 setsect  0x00000002 , 0x0002c000 
+ 00019602  0x00006219 setsect  0x00000003 , 0x00000004 
+ 00019603  0x0000621a store  0x00000008 , 0x000047cd 
+ 00019604  0x0000621b jam  0x00000001 , 0x0000448e 
+ 00019605  0x0000621c setarg  0x000049cd 
+ 00019606  0x0000621d store  0x00000002 , 0x0000448f 
+ 00019607  0x0000621e setarg  0x00000000 
+ 00019608  0x0000621f store  0x00000002 , 0x000049cd 
+ 00019609  0x00006220 setsect  0x00000000 , 0x000001a0 
+ 00019610  0x00006221 setsect  0x00000001 , 0x00000068 
+ 00019611  0x00006222 setsect  0x00000002 , 0x00000000 
+ 00019612  0x00006223 setsect  0x00000003 , 0x00000000 
+ 00019613  0x00006224 store  0x00000008 , 0x000049d0 
+ 00019614  0x00006225 setarg  0x00000301 
+ 00019615  0x00006226 store  0x00000002 , 0x000049d8 
+ 00019616  0x00006227 setsect  0x00000000 , 0x000001a0 
+ 00019617  0x00006228 setsect  0x00000001 , 0x000000e8 
+ 00019618  0x00006229 setsect  0x00000002 , 0x00000000 
+ 00019619  0x0000622a setsect  0x00000003 , 0x00000000 
+ 00019620  0x0000622b store  0x00000008 , 0x000049db 
+ 00019621  0x0000622c setarg  0x0000000e 
+ 00019622  0x0000622d store  0x00000002 , 0x000047b5 
+ 00019623  0x0000622e setarg  0x00000140 
+ 00019624  0x0000622f store  0x00000002 , 0x000047b7 
+ 00019625  0x00006230 store  0x00000002 , 0x00004428 
+ 00019626  0x00006231 setarg  0x00000050 
+ 00019627  0x00006232 store  0x00000002 , 0x000047b9 
+ 00019628  0x00006233 jam  0x00000007 , 0x00004432 
+ 00019629  0x00006234 jam  0x00000000 , 0x00004427 
+ 00019630  0x00006235 setsect  0x00000000 , 0x000000fb 
+ 00019631  0x00006236 setsect  0x00000001 , 0x0002c212 
+ 00019632  0x00006237 setsect  0x00000002 , 0x0000800f 
+ 00019633  0x00006238 setsect  0x00000003 , 0x00000021 
+ 00019634  0x00006239 store  0x00000008 , 0x0000444c 
+ 00019635  0x0000623a setsect  0x00000000 , 0x00000bb8 
+ 00019636  0x0000623b setsect  0x00000001 , 0x000002ee 
+ 00019637  0x0000623c store  0x00000004 , 0x000047d9 
+ 00019638  0x0000623d setarg  0x000048fe 
+ 00019639  0x0000623e store  0x00000002 , 0x0000448c 
+ 00019640  0x0000623f setarg  0x00002001 
+ 00019641  0x00006240 store  0x00000002 , 0x000048fe 
+ 00019642  0x00006241 jam  0x0000001f , 0x000043e7 
+ 00019643  0x00006242 setsect  0x00000000 , 0x00010102 
+ 00019644  0x00006243 setsect  0x00000001 , 0x000080c1 
+ 00019645  0x00006244 setsect  0x00000002 , 0x00018120 
+ 00019646  0x00006245 setsect  0x00000003 , 0x0000640c 
+ 00019647  0x00006246 store  0x00000009 , 0x000043e8 
+ 00019648  0x00006247 setsect  0x00000000 , 0x000003c1 
+ 00019649  0x00006248 istore  0x00000002 , 0x00000005 
+ 00019650  0x00006249 jam  0x0000001f , 0x00004407 
+ 00019651  0x0000624a setsect  0x00000000 , 0x0002090d 
+ 00019652  0x0000624b setsect  0x00000001 , 0x00034c15 
+ 00019653  0x0000624c setsect  0x00000002 , 0x00028532 
+ 00019654  0x0000624d setsect  0x00000003 , 0x0001d1d5 
+ 00019655  0x0000624e store  0x00000009 , 0x00004408 
+ 00019656  0x0000624f setsect  0x00000000 , 0x00026574 
+ 00019657  0x00006250 setsect  0x00000001 , 0x0000001c 
+ 00019658  0x00006251 istore  0x00000003 , 0x00000005 
+ 00019659  0x00006252 setarg  0x000047ea 
+ 00019660  0x00006253 store  0x00000002 , 0x000044c8 
+ 00019661  0x00006254 jam  0x00000002 , 0x000047ea 
+ 00019662  0x00006255 jam  0x00000017 , 0x0000447f 
+ 00019663  0x00006256 setarg  0x00004923 
+ 00019664  0x00006257 store  0x00000002 , 0x00004489 
+ 00019665  0x00006258 jam  0x00000005 , 0x0000448b 
+ 00019666  0x00006259 setarg  0x00002540 
+ 00019667  0x0000625a store  0x00000002 , 0x000040b2 
+ 00019668  0x0000625b setarg  0x00040003 
+ 00019669  0x0000625c store  0x00000003 , 0x00004768 
+ 00019670  0x0000625d jam  0x00000003 , 0x0000476f 
+ 00019671  0x0000625e jam  0x00000001 , 0x00004767 
+ 00019672  0x0000625f jam  0x00000001 , 0x00004791 
+ 00019673  0x00006260 jam  0x00000000 , 0x0000415f 
+ 00019674  0x00006261 setsect  0x00000000 , 0x0003ffff 
+ 00019675  0x00006262 setsect  0x00000001 , 0x0002fe23 
+ 00019676  0x00006263 setsect  0x00000002 , 0x000199d9 
+ 00019677  0x00006264 setsect  0x00000003 , 0x0000020d 
+ 00019678  0x00006265 store  0x00000008 , 0x000040a0 
+ 00019679  0x00006266 setarg  0x00009af2 
+ 00019680  0x00006267 store  0x00000002 , 0x00004396 
+ 00019681  0x00006268 jam  0x00000001 , 0x000040d8 
+ 00019682  0x00006269 setsect  0x00000000 , 0x00010306 
+ 00019683  0x0000626a setsect  0x00000001 , 0x00000004 
+ 00019684  0x0000626b setsect  0x00000002 , 0x00002010 
+ 00019685  0x0000626c setsect  0x00000003 , 0x00009040 
+ 00019686  0x0000626d store  0x00000009 , 0x00004665 
+ 00019687  0x0000626e setsect  0x00000000 , 0x00020011 
+ 00019688  0x0000626f setsect  0x00000001 , 0x00000044 
+ 00019689  0x00006270 istore  0x00000005 , 0x00000005 
+ 00019690  0x00006271 jam  0x00000000 , 0x0000467b 
+ 00019691  0x00006272 setarg  0x00009c70 
+ 00019692  0x00006273 store  0x00000002 , 0x00004663 
+ 00019693  0x00006274 jam  0x00000018 , 0x000040c5 
+ 00019694  0x00006275 call  0x00003174 
+ 00019695  0x00006278 arg  0x0000001e , 0x00000039 
+ 00019696  0x00006279 arg  0x000042f8 , 0x00000005 
+ 00019697  0x0000627a call  0x00007d9b 
+ 00019698  0x0000627b jam  0x0000000b , 0x000042f7 
+ 00019699  0x0000627c setarg  0x00204241 
+ 00019700  0x0000627d store  0x00000003 , 0x000042f8 
+ 00019701  0x0000627e setarg  0x00756853 
+ 00019702  0x0000627f istore  0x00000003 , 0x00000005 
+ 00019703  0x00006280 setarg  0x00657474 
+ 00019704  0x00006281 istore  0x00000003 , 0x00000005 
+ 00019705  0x00006282 setarg  0x00003372 
+ 00019706  0x00006283 istore  0x00000002 , 0x00000005 
+ 00019707  0x00006284 fetch  0x00000001 , 0x000049f6 
+ 00019708  0x00006285 rtn  0x00000034 
+ 00019709  0x00006286 store  0x00000001 , 0x000042f7 
+ 00019710  0x00006287 copy  0x0000003f , 0x00000039 
+ 00019711  0x00006288 arg  0x000049f7 , 0x00000006 
+ 00019712  0x00006289 arg  0x000042f8 , 0x00000005 
+ 00019713  0x0000628a branch  0x00007dd4 
+ 00019714  0x00006298 fetch  0x00000001 , 0x000044d7 
+ 00019715  0x0000629a arg  0x0000003e , 0x00000002 
+ 00019716  0x0000629b branch  0x0000612b 
+ 00019717  0x0000629f fetch  0x00000001 , 0x000044d7 
+ 00019718  0x000062a1 arg  0x0000003f , 0x00000002 
+ 00019719  0x000062a2 branch  0x0000612b 
+ 00019720  0x000062a5 call  0x00004d05 
+ 00019721  0x000062a7 call  0x00004d02 
+ 00019722  0x000062a8 branch  0x00004d05 
+ 00019723  0x000062ac call  0x00004d09 
+ 00019724  0x000062ae branch  0x00004d02 
+ 00019725  0x000062b1 branch  0x00004d09 
+ 00019726  0x000062b4 call  0x00004d09 
+ 00019727  0x000062b5 branch  0x00004d0b 
+ 00019728  0x000062ba branch  0x00004d02 
+ 00019729  0x000062bf fetch  0x00000001 , 0x000044d8 
+ 00019730  0x000062c0 branch  0x00004d03 
+ 00019731  0x000062c4 fetch  0x00000001 , 0x000044d8 
+ 00019732  0x000062c5 branch  0x00004d06 
+ 00019733  0x000062c8 call  0x00004d11 
+ 00019734  0x000062c9 call  0x00004d13 
+ 00019735  0x000062ca branch  0x00004d11 
+ 00019736  0x000062d2 clear_stack 
+ 00019737  0x000062d3 call  0x00004d22 
+ 00019738  0x000062d4 call  0x00004d2c 
+ 00019739  0x000062d5 call  0x00004d40 
+ 00019740  0x000062d6 call  0x00004d5f 
+ 00019741  0x000062d7 call  0x00004d63 
+ 00019742  0x000062d9 jam  0x00000001 , 0x000009fc 
+ 00019743  0x000062da jam  0x00000004 , 0x000009f9 
+ 00019744  0x000062dd call  0x00004d6e 
+ 00019745  0x000062de branch  0x00004d20 
+ 00019746  0x000062e2 fetch  0x00000001 , 0x00000a2c 
+ 00019747  0x000062e3 bbit1  0x00000007 , 0x00004d2a 
+ 00019748  0x000062e5 jam  0x000000ff , 0x00008a01 
+ 00019749  0x000062e6 nop  0x00000064 
+ 00019750  0x000062e7 jam  0x0000000e , 0x00008a02 
+ 00019751  0x000062e8 jam  0x00000003 , 0x00008a00 
+ 00019752  0x000062e9 jam  0x00000005 , 0x00008042 
+ 00019753  0x000062ea rtn 
+ 00019754  0x000062ed jam  0x00000004 , 0x00008042 
+ 00019755  0x000062ee rtn 
+ 00019756  0x000062f1 call  0x00004d30 
+ 00019757  0x000062f2 call  0x00004d34 
+ 00019758  0x000062f3 call  0x00004d38 
+ 00019759  0x000062f4 branch  0x00004d3c 
+ 00019760  0x000062f7 fetch  0x00000001 , 0x000047a7 
+ 00019761  0x000062f8 nrtn  0x00000034 
+ 00019762  0x000062f9 jam  0x0000000d , 0x000047a7 
+ 00019763  0x000062fa rtn 
+ 00019764  0x000062fd fetch  0x00000001 , 0x000047a8 
+ 00019765  0x000062fe nrtn  0x00000034 
+ 00019766  0x000062ff jam  0x0000000e , 0x000047a8 
+ 00019767  0x00006300 rtn 
+ 00019768  0x00006302 fetch  0x00000001 , 0x000047a9 
+ 00019769  0x00006303 nrtn  0x00000034 
+ 00019770  0x00006304 jam  0x00000009 , 0x000047a9 
+ 00019771  0x00006305 rtn 
+ 00019772  0x00006307 fetch  0x00000001 , 0x000047aa 
+ 00019773  0x00006308 nrtn  0x00000034 
+ 00019774  0x00006309 jam  0x0000000a , 0x000047aa 
+ 00019775  0x0000630a rtn 
+ 00019776  0x0000630e setarg  0x00001800 
+ 00019777  0x0000630f store  0x00000002 , 0x0000095c 
+ 00019778  0x00006310 setarg  0x00001bff 
+ 00019779  0x00006311 istore  0x00000002 , 0x00000005 
+ 00019780  0x00006312 setarg  0x00001c00 
+ 00019781  0x00006313 istore  0x00000002 , 0x00000005 
+ 00019782  0x00006314 setarg  0x00001fff 
+ 00019783  0x00006315 istore  0x00000002 , 0x00000005 
+ 00019784  0x00006316 fetch  0x00000008 , 0x0000095c 
+ 00019785  0x00006317 call  0x00005f56 
+ 00019786  0x00006318 fetch  0x00000001 , 0x00000a2c 
+ 00019787  0x00006319 isolate1  0x00000007 , 0x0000003f 
+ 00019788  0x0000631a call  0x00005f7d , 0x00000001 
+ 00019789  0x0000631b ncall  0x00005f81 , 0x00000001 
+ 00019790  0x0000631c arg  0x0001c200 , 0x00000002 
+ 00019791  0x0000631d call  0x00005f6e 
+ 00019792  0x0000631e fetch  0x00000001 , 0x000047a7 
+ 00019793  0x0000631f arg  0x00000008 , 0x00000002 
+ 00019794  0x00006320 call  0x0000612c 
+ 00019795  0x00006321 fetch  0x00000001 , 0x000047a8 
+ 00019796  0x00006322 arg  0x00000049 , 0x00000002 
+ 00019797  0x00006323 call  0x0000612c 
+ 00019798  0x00006324 fetch  0x00000001 , 0x000047a9 
+ 00019799  0x00006325 arg  0x0000000a , 0x00000002 
+ 00019800  0x00006326 call  0x0000612c 
+ 00019801  0x00006327 fetch  0x00000001 , 0x000047aa 
+ 00019802  0x00006328 arg  0x0000000b , 0x00000002 
+ 00019803  0x00006329 call  0x0000612c 
+ 00019804  0x0000632b arg  0x00000081 , 0x00000002 
+ 00019805  0x0000632c storet  0x00000001 , 0x00008060 
+ 00019806  0x0000632d branch  0x00007e77 
+ 00019807  0x00006330 fetch  0x00000001 , 0x000047ab 
+ 00019808  0x00006331 nrtn  0x00000034 
+ 00019809  0x00006332 jam  0x0000000c , 0x000047ab 
+ 00019810  0x00006333 rtn 
+ 00019811  0x00006336 fetch  0x00000001 , 0x000047ab 
+ 00019812  0x00006337 arg  0x00000010 , 0x00000002 
+ 00019813  0x00006338 call  0x0000612c 
+ 00019814  0x00006339 arg  0x00000040 , 0x00000011 
+ 00019815  0x0000633a call  0x00006239 
+ 00019816  0x0000633b arg  0x00000000 , 0x00000011 
+ 00019817  0x0000633c arg  0x00000000 , 0x00000012 
+ 00019818  0x0000633d setarg  0x00000000 
+ 00019819  0x0000633e call  0x00006272 
+ 00019820  0x0000633f arg  0x00000000 , 0x00000007 
+ 00019821  0x00006340 branch  0x00006285 
+ 00019822  0x00006344 fetch  0x00000002 , 0x00008112 
+ 00019823  0x00006345 add  0x0000003f , 0xfffffffc , 0x00000011 
+ 00019824  0x00006346 nrtn  0x00000002 
+ 00019825  0x00006347 call  0x00005f9d 
+ 00019826  0x00006348 ifetch  0x00000001 , 0x00000003 
+ 00019827  0x00006349 beq  0x00000001 , 0x00004d76 
+ 00019828  0x0000634b call  0x00007d85 
+ 00019829  0x0000634c branch  0x00005fad 
+ 00019830  0x00006351 ifetch  0x00000002 , 0x00000003 
+ 00019831  0x00006352 store  0x00000002 , 0x000009fd 
+ 00019832  0x00006353 arg  0x000003ff , 0x00000002 
+ 00019833  0x00006354 iand  0x00000002 , 0x00000002 
+ 00019834  0x00006355 storet  0x00000002 , 0x000009f6 
+ 00019835  0x00006356 rshift2  0x0000003f , 0x0000003f 
+ 00019836  0x00006357 rshift8  0x0000003f , 0x0000003f 
+ 00019837  0x00006358 store  0x00000001 , 0x000009f8 
+ 00019838  0x00006359 ifetch  0x00000001 , 0x00000003 
+ 00019839  0x0000635a pincrease  0xffffffff 
+ 00019840  0x0000635b isub  0x00000011 , 0x0000003e 
+ 00019841  0x0000635c rtn  0x00000002 
+ 00019842  0x0000635d call  0x00004d84 
+ 00019843  0x0000635e branch  0x00004ddf 
+ 00019844  0x00006361 fetch  0x00000001 , 0x000009f8 
+ 00019845  0x00006369 beq  0x0000003f , 0x00004d87 
+ 00019846  0x0000636a branch  0x00004dcb 
+ 00019847  0x00006375 bpatch  0x000000e6 , 0x0000401c 
+ 00019848  0x00006376 fetch  0x00000001 , 0x000009f6 
+ 00019849  0x00006377 beq  0x00000000 , 0x00004dca 
+ 00019850  0x00006378 beq  0x00000001 , 0x00004d92 
+ 00019851  0x00006379 beq  0x00000002 , 0x00004d97 
+ 00019852  0x0000637a beq  0x00000003 , 0x00004da5 
+ 00019853  0x0000637b beq  0x00000004 , 0x00004daf 
+ 00019854  0x0000637c beq  0x00000005 , 0x00004dca 
+ 00019855  0x0000637d beq  0x00000010 , 0x00004dc0 
+ 00019856  0x0000637e beq  0x00000014 , 0x00004dc6 
+ 00019857  0x0000637f branch  0x00004dca 
+ 00019858  0x00006383 jam  0x00000000 , 0x000009ff 
+ 00019859  0x00006384 fetch  0x00000002 , 0x00008000 
+ 00019860  0x00006385 store  0x00000002 , 0x00000a00 
+ 00019861  0x00006386 arg  0x00000003 , 0x00000039 
+ 00019862  0x00006387 branch  0x00004dd2 
+ 00019863  0x0000638a ifetch  0x00000002 , 0x00000003 
+ 00019864  0x0000638b store  0x00000002 , 0x00008052 
+ 00019865  0x0000638c rtn 
+ 00019866  0x00006390 ifetch  0x00000001 , 0x00000003 
+ 00019867  0x00006391 copy  0x0000003f , 0x00000002 
+ 00019868  0x00006392 store  0x00000001 , 0x00008024 
+ 00019869  0x00006393 ifetch  0x00000001 , 0x00000003 
+ 00019870  0x00006394 iadd  0x00000002 , 0x00000002 
+ 00019871  0x00006395 set1  0x00000007 , 0x0000003f 
+ 00019872  0x00006396 store  0x00000001 , 0x00008023 
+ 00019873  0x00006397 ifetch  0x00000001 , 0x00000003 
+ 00019874  0x00006398 iadd  0x00000002 , 0x00000002 
+ 00019875  0x00006399 copy  0x0000003f , 0x00000039 
+ 00019876  0x0000639a rtn 
+ 00019877  0x0000639d call  0x00004d9a 
+ 00019878  0x0000639f ifetch  0x00000001 , 0x00000003 
+ 00019879  0x000063a0 store  0x00000001 , 0x00008025 
+ 00019880  0x000063a1 iadd  0x00000002 , 0x00000002 
+ 00019881  0x000063a2 loop  0x00004da6 
+ 00019882  0x000063a4 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00019883  0x000063a5 ifetch  0x00000001 , 0x00000003 
+ 00019884  0x000063a6 isub  0x00000002 , 0x0000003e 
+ 00019885  0x000063a7 nbranch  0x00004dbe , 0x00000005 
+ 00019886  0x000063a8 branch  0x00004dca 
+ 00019887  0x000063ab arg  0x00000020 , 0x00000039 
+ 00019888  0x000063ac arg  0x00004000 , 0x00000005 
+ 00019889  0x000063ad arg  0x00000000 , 0x00000002 
+ 00019890  0x000063af ifetch  0x00000001 , 0x00000003 
+ 00019891  0x000063b0 istore  0x00000001 , 0x00000005 
+ 00019892  0x000063b1 iadd  0x00000002 , 0x00000002 
+ 00019893  0x000063b2 loop  0x00004db2 
+ 00019894  0x000063b3 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00019895  0x000063b4 ifetch  0x00000001 , 0x00000003 
+ 00019896  0x000063b5 isub  0x00000002 , 0x0000003e 
+ 00019897  0x000063b6 nbranch  0x00004dbe , 0x00000005 
+ 00019898  0x000063b7 jam  0x00000000 , 0x00008023 
+ 00019899  0x000063b8 call  0x00004dca 
+ 00019900  0x000063b9 call  0x00007e7c 
+ 00019901  0x000063ba branch  0x00000801 
+ 00019902  0x000063bd jam  0x00000000 , 0x00008023 
+ 00019903  0x000063be branch  0x00004dcb 
+ 00019904  0x000063c2 ifetch  0x00000001 , 0x00000003 
+ 00019905  0x000063c3 copy  0x0000003f , 0x00000039 
+ 00019906  0x000063c4 ifetch  0x00000002 , 0x00000003 
+ 00019907  0x000063c5 copy  0x0000003f , 0x00000005 
+ 00019908  0x000063c6 call  0x00005ff3 
+ 00019909  0x000063c7 branch  0x00004dca 
+ 00019910  0x000063ca fetch  0x00000001 , 0x00008060 
+ 00019911  0x000063cb set1  0x00000004 , 0x0000003f 
+ 00019912  0x000063cc store  0x00000001 , 0x00008060 
+ 00019913  0x000063cd branch  0x00004dca 
+ 00019914  0x000063d1 branch  0x00004dcf 
+ 00019915  0x000063d4 jam  0x00000001 , 0x000009ff 
+ 00019916  0x000063d5 branch  0x00004dd0 
+ 00019917  0x000063d7 jam  0x0000000c , 0x000009ff 
+ 00019918  0x000063d8 branch  0x00004dd0 
+ 00019919  0x000063da jam  0x00000000 , 0x000009ff 
+ 00019920  0x000063db arg  0x00000001 , 0x00000039 
+ 00019921  0x000063dc branch  0x00004dd2 
+ 00019922  0x000063df jam  0x0000000e , 0x000009fa 
+ 00019923  0x000063e0 add  0x00000039 , 0x00000003 , 0x0000003f 
+ 00019924  0x000063e1 store  0x00000001 , 0x000009fb 
+ 00019925  0x000063e2 call  0x00004ddb 
+ 00019926  0x000063e3 fetch  0x00000003 , 0x000009fc 
+ 00019927  0x000063e4 istore  0x00000003 , 0x00000003 
+ 00019928  0x000063e6 arg  0x000009ff , 0x00000006 
+ 00019929  0x000063e7 call  0x00005fd9 
+ 00019930  0x000063e8 branch  0x00005fb9 
+ 00019931  0x000063ed call  0x00005fb5 
+ 00019932  0x000063ee fetch  0x00000003 , 0x000009f9 
+ 00019933  0x000063ef istore  0x00000003 , 0x00000003 
+ 00019934  0x000063f0 rtn 
+ 00019935  0x000063f3 call  0x00005f9d 
+ 00019936  0x000063f4 increase  0x00000003 , 0x00000003 
+ 00019937  0x000063f5 ifetch  0x00000001 , 0x00000003 
+ 00019938  0x000063f6 iadd  0x00000003 , 0x00000003 
+ 00019939  0x000063f7 branch  0x00005fa9 
+ 00019940  0x000063fa jam  0x00000000 , 0x000041db 
+ 00019941  0x000063fb rtn 
+ 00019942  0x000063fe fetch  0x00000006 , 0x000041dd 
+ 00019943  0x000063ff fetcht  0x00000006 , 0x00000040 
+ 00019944  0x00006400 isub  0x00000002 , 0x0000003e 
+ 00019945  0x00006401 rtn 
+ 00019946  0x00006407 bpatch  0x000000e7 , 0x0000401c 
+ 00019947  0x00006408 fetch  0x00000002 , 0x00000315 
+ 00019948  0x00006409 copy  0x0000003f , 0x00000006 
+ 00019949  0x0000640a ifetch  0x00000001 , 0x00000006 
+ 00019950  0x0000640b store  0x00000001 , 0x000045f8 
+ 00019951  0x0000640c and  0x0000003f , 0x0000000f , 0x00000002 
+ 00019952  0x0000640d rshift4  0x0000003f , 0x0000003f 
+ 00019953  0x0000640e beq  0x00000009 , 0x00004e0b 
+ 00019954  0x0000640f beq  0x00000007 , 0x00004e0b 
+ 00019955  0x00006410 beq  0x0000000a , 0x00004e1a 
+ 00019956  0x00006411 beq  0x00000005 , 0x00004e03 
+ 00019957  0x00006412 beq  0x00000001 , 0x00004df7 
+ 00019958  0x00006413 rtn 
+ 00019959  0x00006416 copy  0x00000002 , 0x0000003f 
+ 00019960  0x00006417 beq  0x00000005 , 0x00004dfb 
+ 00019961  0x00006418 beq  0x00000003 , 0x00004e02 
+ 00019962  0x00006419 rtn 
+ 00019963  0x0000641c jam  0x00000027 , 0x0000095b 
+ 00019964  0x0000641d call  0x000078dc 
+ 00019965  0x0000641e fetch  0x00000001 , 0x0000409a 
+ 00019966  0x0000641f rtnne  0x00000008 
+ 00019967  0x00006420 copy  0x00000002 , 0x0000003f 
+ 00019968  0x00006421 beq  0x00000005 , 0x0000448c 
+ 00019969  0x00006422 rtn 
+ 00019970  0x00006424 rtn 
+ 00019971  0x00006427 call  0x00004e1a 
+ 00019972  0x00006428 arg  0x00000001 , 0x00000011 
+ 00019973  0x00006429 call  0x00004e1e 
+ 00019974  0x0000642a fetch  0x00000002 , 0x000044df 
+ 00019975  0x0000642b istore  0x00000002 , 0x00000005 
+ 00019976  0x0000642c setarg  0x00000000 
+ 00019977  0x0000642d istore  0x00000001 , 0x00000005 
+ 00019978  0x0000642e rtn 
+ 00019979  0x00006431 arg  0x00000001 , 0x00000011 
+ 00019980  0x00006432 call  0x00004e1e 
+ 00019981  0x00006433 fetch  0x00000002 , 0x000044df 
+ 00019982  0x00006434 istore  0x00000002 , 0x00000005 
+ 00019983  0x00006435 setarg  0x00000000 
+ 00019984  0x00006436 istore  0x00000001 , 0x00000005 
+ 00019985  0x00006437 jam  0x00000001 , 0x00000950 
+ 00019986  0x00006438 fetch  0x00000001 , 0x000044e5 
+ 00019987  0x00006439 set1  0x00000006 , 0x0000003f 
+ 00019988  0x0000643a store  0x00000001 , 0x000044e5 
+ 00019989  0x0000643b jam  0x00000012 , 0x0000095b 
+ 00019990  0x0000643c call  0x000078dc 
+ 00019991  0x0000643d fetch  0x00000001 , 0x0000409a 
+ 00019992  0x0000643e rtnne  0x00000008 
+ 00019993  0x0000643f branch  0x0000446c 
+ 00019994  0x00006443 ifetch  0x00000001 , 0x00000006 
+ 00019995  0x00006444 beq  0x00000001 , 0x00004e1d 
+ 00019996  0x00006445 rtn 
+ 00019997  0x00006448 rtn 
+ 00019998  0x0000644c call  0x000052fb 
+ 00019999  0x0000644d copy  0x00000011 , 0x00000002 
+ 00020000  0x0000644e storet  0x00000001 , 0x00000950 
+ 00020001  0x0000644f copy  0x0000003f , 0x00000005 
+ 00020002  0x00006450 copy  0x00000011 , 0x0000003f 
+ 00020003  0x00006451 istore  0x00000002 , 0x00000005 
+ 00020004  0x00006452 rtn 
+ 00020005  0x00006464 branch  0x00004e2a , 0x0000002b 
+ 00020006  0x00006466 setarg  0x000045f9 
+ 00020007  0x00006467 arg  0x000044d9 , 0x00000005 
+ 00020008  0x00006468 isub  0x00000005 , 0x00000039 
+ 00020009  0x00006469 call  0x00007d9b 
+ 00020010  0x0000646b bpatch  0x000000e8 , 0x0000401d 
+ 00020011  0x0000646c setarg  0x00000424 
+ 00020012  0x0000646d arg  0x000003e4 , 0x00000005 
+ 00020013  0x0000646e isub  0x00000005 , 0x00000039 
+ 00020014  0x0000646f call  0x00007d9b 
+ 00020015  0x00006470 setarg  0x0000037a 
+ 00020016  0x00006471 arg  0x0000030e , 0x00000005 
+ 00020017  0x00006472 isub  0x00000005 , 0x00000039 
+ 00020018  0x00006473 call  0x00007d9b 
+ 00020019  0x00006474 branch  0x000053c9 
+ 00020020  0x00006477 bpatch  0x000000e9 , 0x0000401d 
+ 00020021  0x00006478 copy  0x00000006 , 0x00000002 
+ 00020022  0x0000647b copy  0x00000002 , 0x00000006 
+ 00020023  0x0000647c ifetch  0x00000002 , 0x00000006 
+ 00020024  0x0000647d store  0x00000002 , 0x00000317 
+ 00020025  0x0000647e ifetch  0x00000002 , 0x00000006 
+ 00020026  0x0000647f store  0x00000002 , 0x00000319 
+ 00020027  0x00006480 deposit  0x00000006 
+ 00020028  0x00006481 store  0x00000002 , 0x00000315 
+ 00020029  0x00006482 fetch  0x00000001 , 0x0000478e 
+ 00020030  0x00006483 beq  0x00000000 , 0x00004e40 
+ 00020031  0x00006484 branch  0x000051ab 
+ 00020032  0x00006487 fetch  0x00000002 , 0x00000317 
+ 00020033  0x00006488 branch  0x00004eb8 , 0x00000034 
+ 00020034  0x00006489 bpatch  0x000000ea , 0x0000401d 
+ 00020035  0x0000648a fetch  0x00000001 , 0x00000319 
+ 00020036  0x0000648b beq  0x00000001 , 0x00004e56 
+ 00020037  0x0000648d beq  0x00000050 , 0x00004e98 
+ 00020038  0x0000648e beq  0x00000051 , 0x00004eb1 
+ 00020039  0x0000648f beq  0x00000052 , 0x00004eaf 
+ 00020040  0x00006490 beq  0x00000053 , 0x00004eaf 
+ 00020041  0x00006491 branch  0x00004eb8 
+ 00020042  0x00006496 bpatch  0x000000eb , 0x0000401d 
+ 00020043  0x00006497 call  0x0000535f 
+ 00020044  0x00006498 fetch  0x00000001 , 0x000044e9 
+ 00020045  0x00006499 beq  0x00000000 , 0x00007ed1 
+ 00020046  0x0000649a beq  0x00000001 , 0x00007ed1 
+ 00020047  0x0000649b beq  0x00000002 , 0x00007ed1 
+ 00020048  0x0000649c beq  0x00000003 , 0x00007ed1 
+ 00020049  0x0000649d beq  0x00000081 , 0x00007ed1 
+ 00020050  0x0000649e beq  0x000000c0 , 0x00007ed1 
+ 00020051  0x0000649f beq  0x00000080 , 0x00007ed1 
+ 00020052  0x000064a0 beq  0x00000040 , 0x00007ed1 
+ 00020053  0x000064a1 rtn 
+ 00020054  0x000064a4 call  0x00004e4a 
+ 00020055  0x000064a5 nrtn  0x00000034 
+ 00020056  0x000064a7 call  0x00005369 
+ 00020057  0x000064a8 call  0x00004ebd 
+ 00020058  0x000064a9 fetcht  0x00000002 , 0x00000320 
+ 00020059  0x000064aa branch  0x00004eb7 , 0x00000034 
+ 00020060  0x000064ab call  0x00005372 
+ 00020061  0x000064ac fetch  0x00000002 , 0x00000320 
+ 00020062  0x000064ad istore  0x00000002 , 0x00000005 
+ 00020063  0x000064ae force  0x00000001 , 0x0000003f 
+ 00020064  0x000064af istore  0x00000002 , 0x00000005 
+ 00020065  0x000064b0 branch  0x00004eb8 
+ 00020066  0x000064b3 fetch  0x00000001 , 0x000045f7 
+ 00020067  0x000064b4 rtn  0x00000034 
+ 00020068  0x000064b5 copy  0x0000003f , 0x00000011 
+ 00020069  0x000064b6 bpatch  0x000000ec , 0x0000401d 
+ 00020070  0x000064b7 fetch  0x00000004 , 0x00000386 
+ 00020071  0x000064b8 arg  0x00000100 , 0x00000002 
+ 00020072  0x000064b9 iadd  0x00000002 , 0x00000002 
+ 00020073  0x000064ba copy  0x00000022 , 0x0000003f 
+ 00020074  0x000064bb isub  0x00000002 , 0x0000003e 
+ 00020075  0x000064bc nrtn  0x00000002 
+ 00020076  0x000064bd jam  0x00000000 , 0x000045f7 
+ 00020077  0x000064be copy  0x00000011 , 0x0000003f 
+ 00020078  0x000064bf beq  0x00000050 , 0x00004e70 
+ 00020079  0x000064c0 branch  0x0000137c 
+ 00020080  0x000064c2 arg  0x00000000 , 0x00000008 
+ 00020081  0x000064c3 call  0x00005369 
+ 00020082  0x000064c4 call  0x00004f36 
+ 00020083  0x000064c5 call  0x00005374 
+ 00020084  0x000064c6 call  0x00007d61 
+ 00020085  0x000064c7 call  0x00004f69 
+ 00020086  0x000064c8 call  0x00005372 
+ 00020087  0x000064ca setarg  0x0000000c 
+ 00020088  0x000064cb istore  0x00000002 , 0x00000005 
+ 00020089  0x000064cc force  0x00000001 , 0x0000003f 
+ 00020090  0x000064cd istore  0x00000002 , 0x00000005 
+ 00020091  0x000064ce branch  0x00004eb8 
+ 00020092  0x000064d3 bpatch  0x000000ed , 0x0000401d 
+ 00020093  0x000064d4 fetch  0x00000002 , 0x00000326 
+ 00020094  0x000064d5 increase  0x00000004 , 0x0000003f 
+ 00020095  0x000064d6 call  0x00007f27 
+ 00020096  0x000064d7 add  0x0000003f , 0x00000001 , 0x00000002 
+ 00020097  0x000064d8 arg  0x000044f3 , 0x00000006 
+ 00020098  0x000064d9 ifetch  0x00000003 , 0x00000006 
+ 00020099  0x000064da rtn  0x00000034 
+ 00020100  0x000064db store  0x00000003 , 0x0000098e 
+ 00020101  0x000064dc fetch  0x00000001 , 0x0000098e 
+ 00020102  0x000064dd copy  0x0000003f , 0x00000011 
+ 00020103  0x000064de call  0x00004e8b 
+ 00020104  0x000064df copy  0x00000012 , 0x0000003f 
+ 00020105  0x000064e0 store  0x00000001 , 0x000044f3 
+ 00020106  0x000064e1 rtn 
+ 00020107  0x000064e4 arg  0x00000000 , 0x00000007 
+ 00020108  0x000064e5 arg  0x00000000 , 0x00000012 
+ 00020109  0x000064e8 sub  0x00000007 , 0x00000007 , 0x0000003e 
+ 00020110  0x000064e9 nrtn  0x00000002 
+ 00020111  0x000064ea qisolate1  0x00000011 
+ 00020112  0x000064eb branch  0x00004e92 , 0x00000001 
+ 00020113  0x000064ec branch  0x00004e96 
+ 00020114  0x000064ef copy  0x00000002 , 0x0000003f 
+ 00020115  0x000064f0 branch  0x00004e96 , 0x00000034 
+ 00020116  0x000064f1 qset1  0x00000012 
+ 00020117  0x000064f2 increase  0xffffffff , 0x00000002 
+ 00020118  0x000064f5 increase  0x00000001 , 0x00000007 
+ 00020119  0x000064f6 branch  0x00004e8d 
+ 00020120  0x000064f9 call  0x00005355 
+ 00020121  0x000064fa nrtn  0x00000034 
+ 00020122  0x000064fb call  0x00004e4a 
+ 00020123  0x000064fc nrtn  0x00000034 
+ 00020124  0x000064fd call  0x00005376 
+ 00020125  0x000064fe call  0x00006e5e 
+ 00020126  0x000064ff call  0x0000672f 
+ 00020127  0x00006500 call  0x00006e62 
+ 00020128  0x00006501 call  0x00004e7c 
+ 00020129  0x00006502 branch  0x00004ea8 
+ 00020130  0x00006506 call  0x00005355 
+ 00020131  0x00006507 nrtn  0x00000034 
+ 00020132  0x00006508 call  0x00005376 
+ 00020133  0x00006509 call  0x00006e5e 
+ 00020134  0x0000650a call  0x0000672f 
+ 00020135  0x0000650b call  0x00006e62 
+ 00020136  0x0000650d call  0x0000537f 
+ 00020137  0x0000650e fetch  0x00000002 , 0x00000326 
+ 00020138  0x0000650f branch  0x00004eb7 , 0x00000034 
+ 00020139  0x00006510 istore  0x00000002 , 0x00000005 
+ 00020140  0x00006511 fetch  0x00000002 , 0x000044db 
+ 00020141  0x00006512 istore  0x00000002 , 0x00000005 
+ 00020142  0x00006513 branch  0x00004eb8 
+ 00020143  0x00006516 call  0x00004dea 
+ 00020144  0x00006517 branch  0x00004eb8 
+ 00020145  0x0000651a bpatch  0x000000ee , 0x0000401d 
+ 00020146  0x0000651b jam  0x00000000 , 0x00000335 
+ 00020147  0x0000651c call  0x000063a9 
+ 00020148  0x0000651d fetch  0x00000001 , 0x00000335 
+ 00020149  0x0000651e rtneq  0x00000001 
+ 00020150  0x0000651f branch  0x00004eb8 
+ 00020151  0x00006521 call  0x00005345 
+ 00020152  0x00006524 setarg  0x00000000 
+ 00020153  0x00006525 store  0x00000002 , 0x00000317 
+ 00020154  0x00006526 store  0x00000002 , 0x00000319 
+ 00020155  0x00006527 jam  0x00000001 , 0x0000031b 
+ 00020156  0x00006528 rtn 
+ 00020157  0x0000652b bpatch  0x000000ef , 0x0000401d 
+ 00020158  0x0000652c call  0x00005374 
+ 00020159  0x0000652d force  0x00000000 , 0x00000012 
+ 00020160  0x0000652e fetch  0x00000002 , 0x00000317 
+ 00020161  0x0000652f copy  0x0000003f , 0x00000013 
+ 00020162  0x00006530 fetch  0x00000002 , 0x00000315 
+ 00020163  0x00006531 iforce  0x00000006 
+ 00020164  0x00006533 call  0x00004ecc 
+ 00020165  0x00006534 deposit  0x00000013 
+ 00020166  0x00006535 increase  0xfffffffc , 0x00000013 
+ 00020167  0x00006536 increase  0xfffffffc , 0x0000003f 
+ 00020168  0x00006537 nbranch  0x00004ec4 , 0x00000034 
+ 00020169  0x00006538 copy  0x00000012 , 0x0000003f 
+ 00020170  0x00006539 store  0x00000002 , 0x00000320 
+ 00020171  0x0000653a rtn 
+ 00020172  0x0000653d bpatch  0x000000f0 , 0x0000401e 
+ 00020173  0x0000653e ifetch  0x00000001 , 0x00000006 
+ 00020174  0x0000653f beq  0x00000001 , 0x00004f05 
+ 00020175  0x00006540 beq  0x00000002 , 0x00004f0d 
+ 00020176  0x00006541 beq  0x00000003 , 0x00004f91 
+ 00020177  0x00006542 beq  0x00000004 , 0x00004fc1 
+ 00020178  0x00006543 beq  0x00000005 , 0x0000505e 
+ 00020179  0x00006544 beq  0x00000006 , 0x00005087 
+ 00020180  0x00006545 beq  0x00000007 , 0x000050d7 
+ 00020181  0x00006546 beq  0x00000008 , 0x0000510c 
+ 00020182  0x00006547 beq  0x00000009 , 0x0000511c 
+ 00020183  0x00006548 beq  0x0000000a , 0x00004edb 
+ 00020184  0x00006549 beq  0x0000000b , 0x0000511d 
+ 00020185  0x0000654a call  0x0000511e 
+ 00020186  0x0000654c rtn 
+ 00020187  0x0000654f ifetch  0x00000001 , 0x00000006 
+ 00020188  0x00006550 copy  0x0000003f , 0x00000007 
+ 00020189  0x00006551 ifetch  0x00000002 , 0x00000006 
+ 00020190  0x00006552 copy  0x0000003f , 0x00000011 
+ 00020191  0x00006553 copy  0x00000013 , 0x0000003f 
+ 00020192  0x00006554 isub  0x00000011 , 0x00000013 
+ 00020193  0x00006555 setarg  0x0000000b 
+ 00020194  0x00006556 istore  0x00000001 , 0x00000005 
+ 00020195  0x00006557 copy  0x00000007 , 0x0000003f 
+ 00020196  0x00006558 istore  0x00000001 , 0x00000005 
+ 00020197  0x00006559 ifetch  0x00000002 , 0x00000006 
+ 00020198  0x0000655b beq  0x00000002 , 0x00004ee9 
+ 00020199  0x0000655c beq  0x00000003 , 0x00004eef 
+ 00020200  0x0000655d rtn 
+ 00020201  0x0000655f setarg  0x00020008 
+ 00020202  0x00006560 istore  0x00000006 , 0x00000005 
+ 00020203  0x00006561 setarg  0x00000280 
+ 00020204  0x00006562 istore  0x00000004 , 0x00000005 
+ 00020205  0x00006563 force  0x0000000c , 0x0000003f 
+ 00020206  0x00006564 branch  0x00004ef4 
+ 00020207  0x00006566 setarg  0x0003000c 
+ 00020208  0x00006567 istore  0x00000006 , 0x00000005 
+ 00020209  0x00006568 setarg  0x00000006 
+ 00020210  0x00006569 istore  0x00000008 , 0x00000005 
+ 00020211  0x0000656a force  0x00000010 , 0x0000003f 
+ 00020212  0x0000656c iadd  0x00000012 , 0x00000012 
+ 00020213  0x0000656d branch  0x00004eda 
+ 00020214  0x00006570 ifetch  0x00000001 , 0x00000006 
+ 00020215  0x00006571 copy  0x0000003f , 0x00000007 
+ 00020216  0x00006572 ifetch  0x00000002 , 0x00000006 
+ 00020217  0x00006573 copy  0x0000003f , 0x00000011 
+ 00020218  0x00006574 ifetch  0x00000002 , 0x00000006 
+ 00020219  0x00006575 store  0x00000002 , 0x00000964 
+ 00020220  0x00006576 copy  0x00000013 , 0x0000003f 
+ 00020221  0x00006577 isub  0x00000011 , 0x00000013 
+ 00020222  0x00006578 call  0x00005374 
+ 00020223  0x00006579 setarg  0x0000000b 
+ 00020224  0x0000657a istore  0x00000001 , 0x00000005 
+ 00020225  0x0000657b copy  0x00000007 , 0x0000003f 
+ 00020226  0x0000657c istore  0x00000001 , 0x00000005 
+ 00020227  0x0000657d fetch  0x00000002 , 0x00000964 
+ 00020228  0x0000657e branch  0x00004ee6 
+ 00020229  0x00006583 ifetch  0x00000001 , 0x00000006 
+ 00020230  0x00006584 copy  0x0000003f , 0x00000007 
+ 00020231  0x00006585 ifetch  0x00000002 , 0x00000006 
+ 00020232  0x00006586 copy  0x0000003f , 0x00000011 
+ 00020233  0x00006587 iadd  0x00000006 , 0x00000006 
+ 00020234  0x00006588 copy  0x00000013 , 0x0000003f 
+ 00020235  0x00006589 isub  0x00000011 , 0x00000013 
+ 00020236  0x0000658b branch  0x00004eda 
+ 00020237  0x0000658e call  0x00007d61 
+ 00020238  0x00006591 call  0x00007d66 
+ 00020239  0x00006592 arg  0x00000000 , 0x00000008 
+ 00020240  0x00006593 ifetch  0x00000001 , 0x00000006 
+ 00020241  0x00006594 copy  0x0000003f , 0x00000007 
+ 00020242  0x00006595 ifetch  0x00000002 , 0x00000006 
+ 00020243  0x00006596 copy  0x0000003f , 0x00000011 
+ 00020244  0x00006597 ifetch  0x00000002 , 0x00000006 
+ 00020245  0x00006598 copy  0x0000003f , 0x00000002 
+ 00020246  0x00006599 ifetch  0x00000002 , 0x00000006 
+ 00020247  0x0000659a copy  0x0000003f , 0x0000000b 
+ 00020248  0x0000659b bpatch  0x000000f1 , 0x0000401e 
+ 00020249  0x0000659c copy  0x00000002 , 0x0000003f 
+ 00020250  0x0000659d beq  0x00000001 , 0x00004f20 
+ 00020251  0x0000659e beq  0x00000003 , 0x00004f42 
+ 00020252  0x0000659f beq  0x00000011 , 0x00004f4e 
+ 00020253  0x000065a0 beq  0x00000013 , 0x00004f59 
+ 00020254  0x000065a1 call  0x0000511e 
+ 00020255  0x000065a2 branch  0x00004f90 
+ 00020256  0x000065a5 call  0x00007d61 
+ 00020257  0x000065a6 arg  0x00000050 , 0x00000002 
+ 00020258  0x000065a7 fetch  0x00000002 , 0x000044db 
+ 00020259  0x000065a8 nbranch  0x00004f8a , 0x00000034 
+ 00020260  0x000065a9 copy  0x0000000b , 0x0000003f 
+ 00020261  0x000065aa store  0x00000002 , 0x000044db 
+ 00020262  0x000065ab copy  0x00000022 , 0x0000003f 
+ 00020263  0x000065ac store  0x00000004 , 0x00000386 
+ 00020264  0x000065ad call  0x00004f2a 
+ 00020265  0x000065ae branch  0x00004f65 
+ 00020266  0x000065b1 storet  0x00000002 , 0x00000384 
+ 00020267  0x000065b2 deposit  0x0000000b 
+ 00020268  0x000065b3 store  0x00000002 , 0x0000037a 
+ 00020269  0x000065b4 deposit  0x00000011 
+ 00020270  0x000065b5 store  0x00000002 , 0x0000037c 
+ 00020271  0x000065b6 deposit  0x00000012 
+ 00020272  0x000065b7 store  0x00000002 , 0x0000037e 
+ 00020273  0x000065b8 deposit  0x00000013 
+ 00020274  0x000065b9 store  0x00000002 , 0x00000380 
+ 00020275  0x000065ba deposit  0x00000007 
+ 00020276  0x000065bb store  0x00000002 , 0x00000382 
+ 00020277  0x000065bc rtn 
+ 00020278  0x000065bf fetcht  0x00000002 , 0x00000384 
+ 00020279  0x000065c0 fetch  0x00000002 , 0x0000037a 
+ 00020280  0x000065c1 copy  0x0000003f , 0x0000000b 
+ 00020281  0x000065c2 fetch  0x00000002 , 0x0000037c 
+ 00020282  0x000065c3 copy  0x0000003f , 0x00000011 
+ 00020283  0x000065c4 fetch  0x00000002 , 0x0000037e 
+ 00020284  0x000065c5 copy  0x0000003f , 0x00000012 
+ 00020285  0x000065c6 fetch  0x00000002 , 0x00000380 
+ 00020286  0x000065c7 copy  0x0000003f , 0x00000013 
+ 00020287  0x000065c8 fetch  0x00000002 , 0x00000382 
+ 00020288  0x000065c9 copy  0x0000003f , 0x00000007 
+ 00020289  0x000065ca rtn 
+ 00020290  0x000065cd call  0x00007d61 
+ 00020291  0x000065ce setarg  0x00000051 
+ 00020292  0x000065cf arg  0x00000051 , 0x00000002 
+ 00020293  0x000065d0 fetch  0x00000002 , 0x000044dd 
+ 00020294  0x000065d1 nbranch  0x00004f8a , 0x00000034 
+ 00020295  0x000065d2 copy  0x0000000b , 0x0000003f 
+ 00020296  0x000065d3 store  0x00000002 , 0x000044dd 
+ 00020297  0x000065d4 fetch  0x00000001 , 0x000044e4 
+ 00020298  0x000065d5 set1  0x00000000 , 0x0000003f 
+ 00020299  0x000065d6 set1  0x00000001 , 0x0000003f 
+ 00020300  0x000065d7 store  0x00000001 , 0x000044e4 
+ 00020301  0x000065d8 branch  0x00004f6d 
+ 00020302  0x000065da call  0x00007d61 
+ 00020303  0x000065db arg  0x00000052 , 0x00000002 
+ 00020304  0x000065dc fetch  0x00000002 , 0x000044df 
+ 00020305  0x000065dd nbranch  0x00004f8a , 0x00000034 
+ 00020306  0x000065de copy  0x0000000b , 0x0000003f 
+ 00020307  0x000065df store  0x00000002 , 0x000044df 
+ 00020308  0x000065e0 fetch  0x00000001 , 0x000044e5 
+ 00020309  0x000065e1 set1  0x00000000 , 0x0000003f 
+ 00020310  0x000065e2 set1  0x00000001 , 0x0000003f 
+ 00020311  0x000065e3 store  0x00000001 , 0x000044e5 
+ 00020312  0x000065e4 branch  0x00004f6d 
+ 00020313  0x000065e6 call  0x00007d61 
+ 00020314  0x000065e7 deposit  0x0000001a 
+ 00020315  0x000065e8 arg  0x00000053 , 0x00000002 
+ 00020316  0x000065e9 fetch  0x00000002 , 0x000044e1 
+ 00020317  0x000065ea nbranch  0x00004f8a , 0x00000034 
+ 00020318  0x000065eb copy  0x0000000b , 0x0000003f 
+ 00020319  0x000065ec store  0x00000002 , 0x000044e1 
+ 00020320  0x000065ed fetch  0x00000001 , 0x000044e6 
+ 00020321  0x000065ee set1  0x00000000 , 0x0000003f 
+ 00020322  0x000065ef set1  0x00000001 , 0x0000003f 
+ 00020323  0x000065f0 store  0x00000001 , 0x000044e6 
+ 00020324  0x000065f1 branch  0x00004f6d 
+ 00020325  0x000065f4 setarg  0x00000001 
+ 00020326  0x000065f5 store  0x00000002 , 0x0000032e 
+ 00020327  0x000065f6 jam  0x00000050 , 0x000045f7 
+ 00020328  0x000065f7 branch  0x00004f6f 
+ 00020329  0x000065f9 fetch  0x00000001 , 0x000044e3 
+ 00020330  0x000065fa set1  0x00000000 , 0x0000003f 
+ 00020331  0x000065fb set1  0x00000001 , 0x0000003f 
+ 00020332  0x000065fc store  0x00000001 , 0x000044e3 
+ 00020333  0x000065fe setarg  0x00000000 
+ 00020334  0x000065ff store  0x00000002 , 0x0000032e 
+ 00020335  0x00006601 bpatch  0x000000f2 , 0x0000401e 
+ 00020336  0x00006602 call  0x00007d66 
+ 00020337  0x00006603 setarg  0x00000003 
+ 00020338  0x00006604 istore  0x00000001 , 0x00000005 
+ 00020339  0x00006605 copy  0x00000007 , 0x0000003f 
+ 00020340  0x00006606 istore  0x00000001 , 0x00000005 
+ 00020341  0x00006607 setarg  0x00000008 
+ 00020342  0x00006608 istore  0x00000002 , 0x00000005 
+ 00020343  0x00006609 copy  0x00000002 , 0x0000003f 
+ 00020344  0x0000660a istore  0x00000002 , 0x00000005 
+ 00020345  0x0000660b copy  0x0000000b , 0x0000003f 
+ 00020346  0x0000660c istore  0x00000002 , 0x00000005 
+ 00020347  0x0000660d fetch  0x00000002 , 0x0000032e 
+ 00020348  0x0000660e beq  0x00000001 , 0x00004f85 
+ 00020349  0x0000660f isolate0  0x00000000 , 0x00000008 
+ 00020350  0x00006610 branch  0x00004f80 , 0x00000001 
+ 00020351  0x00006611 setarg  0x00000004 
+ 00020352  0x00006613 istore  0x00000002 , 0x00000005 
+ 00020353  0x00006614 force  0x00000000 , 0x0000003f 
+ 00020354  0x00006615 istore  0x00000002 , 0x00000005 
+ 00020355  0x00006616 setarg  0x0000000c 
+ 00020356  0x00006617 branch  0x00004f8c 
+ 00020357  0x00006619 istore  0x00000002 , 0x00000005 
+ 00020358  0x0000661a force  0x00000002 , 0x0000003f 
+ 00020359  0x0000661b istore  0x00000002 , 0x00000005 
+ 00020360  0x0000661c setarg  0x0000000c 
+ 00020361  0x0000661d branch  0x00004f8c 
+ 00020362  0x00006620 set1  0x00000000 , 0x00000008 
+ 00020363  0x00006621 branch  0x00004f6d 
+ 00020364  0x00006623 iadd  0x00000012 , 0x00000012 
+ 00020365  0x00006624 copy  0x00000013 , 0x0000003f 
+ 00020366  0x00006625 isub  0x00000011 , 0x00000013 
+ 00020367  0x00006626 branch  0x00004f90 
+ 00020368  0x00006628 branch  0x00004eda 
+ 00020369  0x0000662b ifetch  0x00000001 , 0x00000006 
+ 00020370  0x0000662c copy  0x0000003f , 0x00000007 
+ 00020371  0x0000662d ifetch  0x00000002 , 0x00000006 
+ 00020372  0x0000662e copy  0x0000003f , 0x00000011 
+ 00020373  0x0000662f copy  0x00000013 , 0x0000003f 
+ 00020374  0x00006630 isub  0x00000011 , 0x00000013 
+ 00020375  0x00006631 ifetch  0x00000002 , 0x00000006 
+ 00020376  0x00006632 copy  0x0000003f , 0x0000000b 
+ 00020377  0x00006633 ifetch  0x00000002 , 0x00000006 
+ 00020378  0x00006634 copy  0x0000003f , 0x00000002 
+ 00020379  0x00006635 bpatch  0x000000f3 , 0x0000401e 
+ 00020380  0x00006636 setarg  0x00000050 
+ 00020381  0x00006637 isub  0x00000002 , 0x0000003e 
+ 00020382  0x00006638 branch  0x00004fa9 , 0x00000005 
+ 00020383  0x00006639 setarg  0x00000051 
+ 00020384  0x0000663a isub  0x00000002 , 0x0000003e 
+ 00020385  0x0000663b branch  0x00004faf , 0x00000005 
+ 00020386  0x0000663c setarg  0x00000052 
+ 00020387  0x0000663d isub  0x00000002 , 0x0000003e 
+ 00020388  0x0000663e branch  0x00004fbb , 0x00000005 
+ 00020389  0x0000663f setarg  0x00000053 
+ 00020390  0x00006640 isub  0x00000002 , 0x0000003e 
+ 00020391  0x00006641 branch  0x00004fb5 , 0x00000005 
+ 00020392  0x00006642 rtn 
+ 00020393  0x00006645 copy  0x0000000b , 0x0000003f 
+ 00020394  0x00006646 store  0x00000002 , 0x000044db 
+ 00020395  0x00006647 fetch  0x00000001 , 0x000044e3 
+ 00020396  0x00006648 set1  0x00000001 , 0x0000003f 
+ 00020397  0x00006649 store  0x00000001 , 0x000044e3 
+ 00020398  0x0000664a branch  0x00004eda 
+ 00020399  0x0000664c copy  0x0000000b , 0x0000003f 
+ 00020400  0x0000664d store  0x00000002 , 0x000044dd 
+ 00020401  0x0000664e fetch  0x00000001 , 0x000044e4 
+ 00020402  0x0000664f set1  0x00000001 , 0x0000003f 
+ 00020403  0x00006650 store  0x00000001 , 0x000044e4 
+ 00020404  0x00006651 rtn 
+ 00020405  0x00006653 copy  0x0000000b , 0x0000003f 
+ 00020406  0x00006654 store  0x00000002 , 0x000044df 
+ 00020407  0x00006655 fetch  0x00000001 , 0x000044e6 
+ 00020408  0x00006656 set1  0x00000001 , 0x0000003f 
+ 00020409  0x00006657 store  0x00000001 , 0x000044e6 
+ 00020410  0x00006658 rtn 
+ 00020411  0x0000665a copy  0x0000000b , 0x0000003f 
+ 00020412  0x0000665b store  0x00000002 , 0x000044e1 
+ 00020413  0x0000665c fetch  0x00000001 , 0x000044e5 
+ 00020414  0x0000665d set1  0x00000001 , 0x0000003f 
+ 00020415  0x0000665e store  0x00000001 , 0x000044e5 
+ 00020416  0x0000665f rtn 
+ 00020417  0x00006662 ifetch  0x00000001 , 0x00000006 
+ 00020418  0x00006663 copy  0x0000003f , 0x00000007 
+ 00020419  0x00006664 ifetch  0x00000002 , 0x00000006 
+ 00020420  0x00006665 copy  0x0000003f , 0x00000011 
+ 00020421  0x00006666 copy  0x00000013 , 0x0000003f 
+ 00020422  0x00006667 isub  0x00000011 , 0x00000013 
+ 00020423  0x00006668 ifetch  0x00000002 , 0x00000006 
+ 00020424  0x00006669 copy  0x0000003f , 0x00000002 
+ 00020425  0x0000666a copy  0x00000002 , 0x00000011 
+ 00020426  0x0000666b bpatch  0x000000f4 , 0x0000401e 
+ 00020427  0x0000666c setarg  0x00000050 
+ 00020428  0x0000666d isub  0x00000002 , 0x0000003e 
+ 00020429  0x0000666e branch  0x00004fd8 , 0x00000005 
+ 00020430  0x0000666f setarg  0x00000051 
+ 00020431  0x00006670 isub  0x00000002 , 0x0000003e 
+ 00020432  0x00006671 branch  0x00004ff6 , 0x00000005 
+ 00020433  0x00006672 setarg  0x00000052 
+ 00020434  0x00006673 isub  0x00000002 , 0x0000003e 
+ 00020435  0x00006674 branch  0x00004fe2 , 0x00000005 
+ 00020436  0x00006675 setarg  0x00000053 
+ 00020437  0x00006676 isub  0x00000002 , 0x0000003e 
+ 00020438  0x00006677 branch  0x00004fec , 0x00000005 
+ 00020439  0x00006678 branch  0x0000511e 
+ 00020440  0x0000667b copy  0x00000005 , 0x0000000b 
+ 00020441  0x0000667c fetch  0x00000001 , 0x000044e3 
+ 00020442  0x0000667d set1  0x00000004 , 0x0000003f 
+ 00020443  0x0000667e set1  0x00000003 , 0x0000003f 
+ 00020444  0x00006680 store  0x00000001 , 0x000044e3 
+ 00020445  0x00006681 copy  0x0000000b , 0x00000005 
+ 00020446  0x00006682 arg  0x00000050 , 0x0000000b 
+ 00020447  0x00006683 fetch  0x00000002 , 0x000044db 
+ 00020448  0x00006684 copy  0x0000003f , 0x00000002 
+ 00020449  0x00006685 branch  0x00004fff 
+ 00020450  0x00006687 copy  0x00000005 , 0x0000000b 
+ 00020451  0x00006688 fetch  0x00000001 , 0x000044e5 
+ 00020452  0x00006689 set1  0x00000004 , 0x0000003f 
+ 00020453  0x0000668a set1  0x00000003 , 0x0000003f 
+ 00020454  0x0000668c store  0x00000001 , 0x000044e5 
+ 00020455  0x0000668d copy  0x0000000b , 0x00000005 
+ 00020456  0x0000668e arg  0x00000052 , 0x0000000b 
+ 00020457  0x0000668f fetch  0x00000002 , 0x000044df 
+ 00020458  0x00006690 copy  0x0000003f , 0x00000002 
+ 00020459  0x00006691 branch  0x00004fff 
+ 00020460  0x00006693 copy  0x00000005 , 0x0000000b 
+ 00020461  0x00006694 fetch  0x00000001 , 0x000044e6 
+ 00020462  0x00006695 set1  0x00000004 , 0x0000003f 
+ 00020463  0x00006696 set1  0x00000003 , 0x0000003f 
+ 00020464  0x00006698 store  0x00000001 , 0x000044e6 
+ 00020465  0x00006699 copy  0x0000000b , 0x00000005 
+ 00020466  0x0000669a arg  0x00000053 , 0x0000000b 
+ 00020467  0x0000669b fetch  0x00000002 , 0x000044e1 
+ 00020468  0x0000669c copy  0x0000003f , 0x00000002 
+ 00020469  0x0000669d branch  0x00004fff 
+ 00020470  0x0000669f copy  0x00000005 , 0x0000000b 
+ 00020471  0x000066a0 fetch  0x00000001 , 0x000044e4 
+ 00020472  0x000066a1 set1  0x00000004 , 0x0000003f 
+ 00020473  0x000066a2 set1  0x00000003 , 0x0000003f 
+ 00020474  0x000066a4 store  0x00000001 , 0x000044e4 
+ 00020475  0x000066a6 copy  0x0000000b , 0x00000005 
+ 00020476  0x000066a7 arg  0x00000051 , 0x0000000b 
+ 00020477  0x000066a8 fetch  0x00000002 , 0x000044dd 
+ 00020478  0x000066a9 copy  0x0000003f , 0x00000002 
+ 00020479  0x000066ab bpatch  0x000000f5 , 0x0000401e 
+ 00020480  0x000066ac setarg  0x00000005 
+ 00020481  0x000066ad istore  0x00000001 , 0x00000005 
+ 00020482  0x000066ae copy  0x00000007 , 0x0000003f 
+ 00020483  0x000066af istore  0x00000001 , 0x00000005 
+ 00020484  0x000066b0 setarg  0x00000006 
+ 00020485  0x000066b1 istore  0x00000002 , 0x00000005 
+ 00020486  0x000066b2 copy  0x00000002 , 0x0000003f 
+ 00020487  0x000066b3 istore  0x00000002 , 0x00000005 
+ 00020488  0x000066b4 force  0x00000000 , 0x0000003f 
+ 00020489  0x000066b5 istore  0x00000002 , 0x00000005 
+ 00020490  0x000066b6 force  0x00000000 , 0x0000003f 
+ 00020491  0x000066b7 istore  0x00000002 , 0x00000005 
+ 00020492  0x000066b8 force  0x0000000a , 0x0000003f 
+ 00020493  0x000066b9 iadd  0x00000012 , 0x00000012 
+ 00020494  0x000066bb storet  0x00000002 , 0x00000333 
+ 00020495  0x000066bc copy  0x00000007 , 0x0000003f 
+ 00020496  0x000066bd store  0x00000001 , 0x00000332 
+ 00020497  0x000066be force  0x00000050 , 0x0000003f 
+ 00020498  0x000066bf icompare  0x000000ff , 0x0000000b 
+ 00020499  0x000066c0 branch  0x00005015 , 0x00000001 
+ 00020500  0x000066c1 increase  0x00000001 , 0x0000003f 
+ 00020501  0x000066c4 rtn 
+ 00020502  0x000066c6 disable  0x00000028 
+ 00020503  0x000066c7 rtnbit1  0x00000002 , 0x0000003f 
+ 00020504  0x000066c8 rtnbit0  0x00000000 , 0x0000003f 
+ 00020505  0x000066c9 rtnbit0  0x00000001 , 0x0000003f 
+ 00020506  0x000066ca set1  0x00000002 , 0x0000003f 
+ 00020507  0x000066cb copy  0x00000006 , 0x00000005 
+ 00020508  0x000066cc increase  0xffffffff , 0x00000005 
+ 00020509  0x000066cd istore  0x00000001 , 0x00000005 
+ 00020510  0x000066ce enable  0x00000028 
+ 00020511  0x000066cf rtn 
+ 00020512  0x000066d2 fetch  0x00000001 , 0x000044e3 
+ 00020513  0x000066d3 call  0x00005016 
+ 00020514  0x000066d4 nbranch  0x00005027 , 0x00000028 
+ 00020515  0x000066d5 jam  0x00000050 , 0x00000331 
+ 00020516  0x000066d6 fetch  0x00000002 , 0x000044db 
+ 00020517  0x000066d7 store  0x00000002 , 0x00000333 
+ 00020518  0x000066d8 branch  0x0000503b 
+ 00020519  0x000066da fetch  0x00000001 , 0x000044e4 
+ 00020520  0x000066db call  0x00005016 
+ 00020521  0x000066dc nbranch  0x0000502e , 0x00000028 
+ 00020522  0x000066dd jam  0x00000051 , 0x00000331 
+ 00020523  0x000066de fetch  0x00000002 , 0x000044dd 
+ 00020524  0x000066df store  0x00000002 , 0x00000333 
+ 00020525  0x000066e0 branch  0x0000503b 
+ 00020526  0x000066e2 fetch  0x00000001 , 0x000044e5 
+ 00020527  0x000066e3 call  0x00005016 
+ 00020528  0x000066e4 nbranch  0x00005035 , 0x00000028 
+ 00020529  0x000066e5 jam  0x00000052 , 0x00000331 
+ 00020530  0x000066e6 fetch  0x00000002 , 0x000044df 
+ 00020531  0x000066e7 store  0x00000002 , 0x00000333 
+ 00020532  0x000066e8 branch  0x0000503b 
+ 00020533  0x000066ea fetch  0x00000001 , 0x000044e6 
+ 00020534  0x000066eb call  0x00005016 
+ 00020535  0x000066ec nrtn  0x00000028 
+ 00020536  0x000066ed jam  0x00000053 , 0x00000331 
+ 00020537  0x000066ee fetch  0x00000002 , 0x000044e1 
+ 00020538  0x000066ef store  0x00000002 , 0x00000333 
+ 00020539  0x000066f3 bpatch  0x000000f6 , 0x0000401e 
+ 00020540  0x000066f4 call  0x000052f5 
+ 00020541  0x000066f5 call  0x00005369 
+ 00020542  0x000066f6 force  0x00000000 , 0x00000012 
+ 00020543  0x000066f7 call  0x00005374 
+ 00020544  0x000066f8 force  0x00000004 , 0x0000003f 
+ 00020545  0x000066f9 istore  0x00000001 , 0x00000005 
+ 00020546  0x000066fa fetch  0x00000001 , 0x000044e8 
+ 00020547  0x000066fb istore  0x00000001 , 0x00000005 
+ 00020548  0x000066fc setarg  0x00000008 
+ 00020549  0x000066fd istore  0x00000002 , 0x00000005 
+ 00020550  0x000066fe fetch  0x00000002 , 0x00000333 
+ 00020551  0x000066ff istore  0x00000002 , 0x00000005 
+ 00020552  0x00006700 setarg  0x00000000 
+ 00020553  0x00006701 istore  0x00000002 , 0x00000005 
+ 00020554  0x00006702 force  0x00000001 , 0x0000003f 
+ 00020555  0x00006703 istore  0x00000001 , 0x00000005 
+ 00020556  0x00006704 force  0x00000002 , 0x0000003f 
+ 00020557  0x00006705 istore  0x00000001 , 0x00000005 
+ 00020558  0x00006706 fetch  0x00000001 , 0x00000331 
+ 00020559  0x00006707 beq  0x00000051 , 0x00005053 
+ 00020560  0x00006708 setarg  0x00000030 
+ 00020561  0x00006709 istore  0x00000002 , 0x00000005 
+ 00020562  0x0000670a branch  0x00005055 
+ 00020563  0x0000670c setarg  0x000003e3 
+ 00020564  0x0000670d istore  0x00000002 , 0x00000005 
+ 00020565  0x0000670f arg  0x0000000c , 0x00000002 
+ 00020566  0x00006710 storet  0x00000002 , 0x00000320 
+ 00020567  0x00006711 call  0x00005372 
+ 00020568  0x00006712 fetch  0x00000002 , 0x00000320 
+ 00020569  0x00006713 istore  0x00000002 , 0x00000005 
+ 00020570  0x00006714 force  0x00000001 , 0x0000003f 
+ 00020571  0x00006715 istore  0x00000002 , 0x00000005 
+ 00020572  0x00006716 jam  0x00000000 , 0x00000331 
+ 00020573  0x00006718 branch  0x00004eda 
+ 00020574  0x0000671b increase  0x00000001 , 0x00000006 
+ 00020575  0x0000671c ifetch  0x00000002 , 0x00000006 
+ 00020576  0x0000671d copy  0x0000003f , 0x00000011 
+ 00020577  0x0000671e copy  0x00000013 , 0x0000003f 
+ 00020578  0x0000671f isub  0x00000011 , 0x00000013 
+ 00020579  0x00006720 ifetch  0x00000002 , 0x00000006 
+ 00020580  0x00006721 copy  0x0000003f , 0x00000011 
+ 00020581  0x00006722 bpatch  0x000000f7 , 0x0000401e 
+ 00020582  0x00006723 setarg  0x00000050 
+ 00020583  0x00006724 isub  0x00000011 , 0x0000003e 
+ 00020584  0x00006725 branch  0x00005076 , 0x00000005 
+ 00020585  0x00006726 setarg  0x00000051 
+ 00020586  0x00006727 isub  0x00000011 , 0x0000003e 
+ 00020587  0x00006728 branch  0x0000507a , 0x00000005 
+ 00020588  0x00006729 setarg  0x00000052 
+ 00020589  0x0000672a isub  0x00000011 , 0x0000003e 
+ 00020590  0x0000672b branch  0x0000507e , 0x00000005 
+ 00020591  0x0000672c setarg  0x00000053 
+ 00020592  0x0000672d isub  0x00000011 , 0x0000003e 
+ 00020593  0x0000672e branch  0x00005082 , 0x00000005 
+ 00020594  0x0000672f increase  0x00000002 , 0x00000006 
+ 00020595  0x00006730 ifetch  0x00000002 , 0x00000006 
+ 00020596  0x00006731 iforce  0x0000003e 
+ 00020597  0x00006732 branch  0x00004eda 
+ 00020598  0x00006734 fetch  0x00000001 , 0x000044e3 
+ 00020599  0x00006735 set1  0x00000005 , 0x0000003f 
+ 00020600  0x00006736 store  0x00000001 , 0x000044e3 
+ 00020601  0x00006737 branch  0x00004eda 
+ 00020602  0x00006739 fetch  0x00000001 , 0x000044e4 
+ 00020603  0x0000673a set1  0x00000005 , 0x0000003f 
+ 00020604  0x0000673b store  0x00000001 , 0x000044e4 
+ 00020605  0x0000673c branch  0x00004eda 
+ 00020606  0x0000673e fetch  0x00000001 , 0x000044e5 
+ 00020607  0x0000673f set1  0x00000005 , 0x0000003f 
+ 00020608  0x00006740 store  0x00000001 , 0x000044e5 
+ 00020609  0x00006741 branch  0x00004eda 
+ 00020610  0x00006743 fetch  0x00000001 , 0x000044e6 
+ 00020611  0x00006744 set1  0x00000005 , 0x0000003f 
+ 00020612  0x00006745 store  0x00000001 , 0x000044e6 
+ 00020613  0x00006746 jam  0x00000006 , 0x0000095b 
+ 00020614  0x00006747 branch  0x000078dc 
+ 00020615  0x0000674c ifetch  0x00000001 , 0x00000006 
+ 00020616  0x0000674d copy  0x0000003f , 0x00000007 
+ 00020617  0x0000674e ifetch  0x00000002 , 0x00000006 
+ 00020618  0x0000674f copy  0x0000003f , 0x00000011 
+ 00020619  0x00006750 copy  0x00000013 , 0x0000003f 
+ 00020620  0x00006751 isub  0x00000011 , 0x00000013 
+ 00020621  0x00006752 ifetch  0x00000002 , 0x00000006 
+ 00020622  0x00006753 copy  0x0000003f , 0x00000011 
+ 00020623  0x00006754 ifetch  0x00000002 , 0x00000006 
+ 00020624  0x00006755 copy  0x0000003f , 0x0000000b 
+ 00020625  0x00006756 copy  0x00000011 , 0x00000002 
+ 00020626  0x00006757 call  0x00007d61 
+ 00020627  0x00006758 bpatch  0x000000f8 , 0x0000401f 
+ 00020628  0x00006759 setarg  0x00000050 
+ 00020629  0x0000675a isub  0x00000002 , 0x0000003e 
+ 00020630  0x0000675b branch  0x000050ae , 0x00000005 
+ 00020631  0x0000675c setarg  0x00000051 
+ 00020632  0x0000675d isub  0x00000002 , 0x0000003e 
+ 00020633  0x0000675e branch  0x000050be , 0x00000005 
+ 00020634  0x0000675f setarg  0x00000052 
+ 00020635  0x00006760 isub  0x00000002 , 0x0000003e 
+ 00020636  0x00006761 branch  0x000050a2 , 0x00000005 
+ 00020637  0x00006762 setarg  0x00000053 
+ 00020638  0x00006763 isub  0x00000002 , 0x0000003e 
+ 00020639  0x00006764 branch  0x000050a8 , 0x00000005 
+ 00020640  0x00006765 call  0x0000511e 
+ 00020641  0x00006766 branch  0x000050d3 
+ 00020642  0x00006768 copy  0x0000000b , 0x00000002 
+ 00020643  0x00006769 fetch  0x00000002 , 0x000044df 
+ 00020644  0x0000676a isub  0x00000002 , 0x0000003e 
+ 00020645  0x0000676b branch  0x000050b4 , 0x00000005 
+ 00020646  0x0000676c call  0x0000511e 
+ 00020647  0x0000676d branch  0x000050d3 
+ 00020648  0x0000676f copy  0x0000000b , 0x00000002 
+ 00020649  0x00006770 fetch  0x00000002 , 0x000044e1 
+ 00020650  0x00006771 isub  0x00000002 , 0x0000003e 
+ 00020651  0x00006772 branch  0x000050b6 , 0x00000005 
+ 00020652  0x00006773 call  0x0000511e 
+ 00020653  0x00006774 branch  0x000050d3 
+ 00020654  0x00006777 copy  0x0000000b , 0x00000002 
+ 00020655  0x00006778 fetch  0x00000002 , 0x000044db 
+ 00020656  0x00006779 isub  0x00000002 , 0x0000003e 
+ 00020657  0x0000677a branch  0x000050ba , 0x00000005 
+ 00020658  0x0000677b call  0x0000511e 
+ 00020659  0x0000677c branch  0x000050d3 
+ 00020660  0x0000677e call  0x00005135 
+ 00020661  0x0000677f branch  0x000050c6 
+ 00020662  0x00006781 call  0x0000513b 
+ 00020663  0x00006782 fetch  0x00000002 , 0x000044df 
+ 00020664  0x00006783 branch  0x000050c6 , 0x00000034 
+ 00020665  0x0000678b branch  0x000050c6 
+ 00020666  0x0000678e call  0x00005130 
+ 00020667  0x0000678f fetch  0x00000001 , 0x00000339 
+ 00020668  0x00006790 nbranch  0x000050c6 , 0x00000034 
+ 00020669  0x00006793 branch  0x000050c6 
+ 00020670  0x00006795 copy  0x0000000b , 0x00000002 
+ 00020671  0x00006796 fetch  0x00000002 , 0x000044dd 
+ 00020672  0x00006797 isub  0x00000002 , 0x0000003e 
+ 00020673  0x00006798 branch  0x000050c4 , 0x00000005 
+ 00020674  0x00006799 call  0x0000511e 
+ 00020675  0x0000679a branch  0x000050d3 
+ 00020676  0x0000679c call  0x0000512b 
+ 00020677  0x0000679d branch  0x000050c6 
+ 00020678  0x0000679f call  0x00007d66 
+ 00020679  0x000067a0 setarg  0x00000007 
+ 00020680  0x000067a1 istore  0x00000001 , 0x00000005 
+ 00020681  0x000067a2 copy  0x00000007 , 0x0000003f 
+ 00020682  0x000067a3 istore  0x00000001 , 0x00000005 
+ 00020683  0x000067a4 setarg  0x00000004 
+ 00020684  0x000067a5 istore  0x00000002 , 0x00000005 
+ 00020685  0x000067a6 copy  0x00000011 , 0x0000003f 
+ 00020686  0x000067a7 istore  0x00000002 , 0x00000005 
+ 00020687  0x000067a8 copy  0x0000000b , 0x0000003f 
+ 00020688  0x000067a9 istore  0x00000002 , 0x00000005 
+ 00020689  0x000067aa force  0x00000008 , 0x0000003f 
+ 00020690  0x000067ab branch  0x000050d5 
+ 00020691  0x000067ad call  0x00007d66 
+ 00020692  0x000067ae branch  0x000050d5 
+ 00020693  0x000067b0 iadd  0x00000012 , 0x00000012 
+ 00020694  0x000067b1 branch  0x00004eda 
+ 00020695  0x000067b3 ifetch  0x00000001 , 0x00000006 
+ 00020696  0x000067b4 copy  0x0000003f , 0x00000007 
+ 00020697  0x000067b5 ifetch  0x00000002 , 0x00000006 
+ 00020698  0x000067b6 copy  0x0000003f , 0x00000011 
+ 00020699  0x000067b7 copy  0x00000013 , 0x0000003f 
+ 00020700  0x000067b8 isub  0x00000011 , 0x00000013 
+ 00020701  0x000067b9 ifetch  0x00000002 , 0x00000006 
+ 00020702  0x000067ba copy  0x0000003f , 0x0000000b 
+ 00020703  0x000067bb ifetch  0x00000002 , 0x00000006 
+ 00020704  0x000067bc copy  0x0000003f , 0x00000002 
+ 00020705  0x000067bd call  0x00007d61 
+ 00020706  0x000067be bpatch  0x000000f9 , 0x0000401f 
+ 00020707  0x000067bf setarg  0x00000050 
+ 00020708  0x000067c0 isub  0x00000002 , 0x0000003e 
+ 00020709  0x000067c1 branch  0x000050f1 , 0x00000005 
+ 00020710  0x000067c2 setarg  0x00000051 
+ 00020711  0x000067c3 isub  0x00000002 , 0x0000003e 
+ 00020712  0x000067c4 branch  0x000050f7 , 0x00000005 
+ 00020713  0x000067c5 setarg  0x00000052 
+ 00020714  0x000067c6 isub  0x00000002 , 0x0000003e 
+ 00020715  0x000067c7 branch  0x000050fd , 0x00000005 
+ 00020716  0x000067c8 setarg  0x00000053 
+ 00020717  0x000067c9 isub  0x00000002 , 0x0000003e 
+ 00020718  0x000067ca branch  0x00005103 , 0x00000005 
+ 00020719  0x000067cb call  0x0000511e 
+ 00020720  0x000067cc branch  0x0000510b 
+ 00020721  0x000067ce copy  0x00000002 , 0x00000011 
+ 00020722  0x000067cf copy  0x0000000b , 0x00000002 
+ 00020723  0x000067d0 fetch  0x00000002 , 0x000044db 
+ 00020724  0x000067d1 isub  0x00000002 , 0x0000003e 
+ 00020725  0x000067d2 call  0x00005130 , 0x00000005 
+ 00020726  0x000067d3 branch  0x00005109 
+ 00020727  0x000067d5 copy  0x00000002 , 0x00000011 
+ 00020728  0x000067d6 copy  0x0000000b , 0x00000002 
+ 00020729  0x000067d7 fetch  0x00000002 , 0x000044dd 
+ 00020730  0x000067d8 isub  0x00000002 , 0x0000003e 
+ 00020731  0x000067d9 call  0x0000512b , 0x00000005 
+ 00020732  0x000067da branch  0x00005109 
+ 00020733  0x000067dc copy  0x00000002 , 0x00000011 
+ 00020734  0x000067dd copy  0x0000000b , 0x00000002 
+ 00020735  0x000067de fetch  0x00000002 , 0x000044df 
+ 00020736  0x000067df isub  0x00000002 , 0x0000003e 
+ 00020737  0x000067e0 call  0x00005135 , 0x00000005 
+ 00020738  0x000067e1 branch  0x00005109 
+ 00020739  0x000067e3 copy  0x00000002 , 0x00000011 
+ 00020740  0x000067e4 copy  0x0000000b , 0x00000002 
+ 00020741  0x000067e5 fetch  0x00000002 , 0x000044e1 
+ 00020742  0x000067e6 isub  0x00000002 , 0x0000003e 
+ 00020743  0x000067e7 call  0x0000513b , 0x00000005 
+ 00020744  0x000067e8 branch  0x00005109 
+ 00020745  0x000067ea call  0x00007d66 
+ 00020746  0x000067eb branch  0x00004eda 
+ 00020747  0x000067ed branch  0x00004eda 
+ 00020748  0x000067f1 ifetch  0x00000001 , 0x00000006 
+ 00020749  0x000067f2 copy  0x0000003f , 0x00000007 
+ 00020750  0x000067f3 ifetch  0x00000002 , 0x00000006 
+ 00020751  0x000067f4 copy  0x0000003f , 0x00000011 
+ 00020752  0x000067f5 iadd  0x00000006 , 0x00000006 
+ 00020753  0x000067f6 setarg  0x00000009 
+ 00020754  0x000067f7 istore  0x00000001 , 0x00000005 
+ 00020755  0x000067f8 copy  0x00000007 , 0x0000003f 
+ 00020756  0x000067f9 istore  0x00000001 , 0x00000005 
+ 00020757  0x000067fa force  0x00000000 , 0x0000003f 
+ 00020758  0x000067fb istore  0x00000002 , 0x00000005 
+ 00020759  0x000067fc force  0x00000004 , 0x0000003f 
+ 00020760  0x000067fd iadd  0x00000012 , 0x00000012 
+ 00020761  0x000067fe copy  0x00000013 , 0x0000003f 
+ 00020762  0x000067ff isub  0x00000011 , 0x00000013 
+ 00020763  0x00006800 branch  0x00004eda 
+ 00020764  0x00006802 branch  0x00004eda 
+ 00020765  0x00006805 branch  0x00004eda 
+ 00020766  0x00006807 force  0x00000000 , 0x00000012 
+ 00020767  0x00006808 call  0x00005374 
+ 00020768  0x00006809 setarg  0x00000001 
+ 00020769  0x0000680a istore  0x00000001 , 0x00000005 
+ 00020770  0x0000680b copy  0x00000007 , 0x0000003f 
+ 00020771  0x0000680c istore  0x00000001 , 0x00000005 
+ 00020772  0x0000680d setarg  0x00000002 
+ 00020773  0x0000680e istore  0x00000002 , 0x00000005 
+ 00020774  0x0000680f setarg  0x00000000 
+ 00020775  0x00006810 istore  0x00000002 , 0x00000005 
+ 00020776  0x00006811 increase  0x00000006 , 0x00000012 
+ 00020777  0x00006812 arg  0x00000004 , 0x00000013 
+ 00020778  0x00006813 branch  0x00004eda 
+ 00020779  0x00006818 setarg  0x00000000 
+ 00020780  0x00006819 store  0x00000002 , 0x0000032c 
+ 00020781  0x0000681a store  0x00000002 , 0x000044dd 
+ 00020782  0x0000681b jam  0x00000000 , 0x000044e4 
+ 00020783  0x0000681c rtn 
+ 00020784  0x0000681e setarg  0x00000000 
+ 00020785  0x0000681f store  0x00000002 , 0x00000326 
+ 00020786  0x00006820 store  0x00000002 , 0x000044db 
+ 00020787  0x00006821 jam  0x00000000 , 0x000044e3 
+ 00020788  0x00006822 rtn 
+ 00020789  0x00006824 setarg  0x00000000 
+ 00020790  0x00006825 store  0x00000002 , 0x000044df 
+ 00020791  0x00006826 jam  0x00000000 , 0x000044e5 
+ 00020792  0x00006827 fetch  0x00000001 , 0x000044e6 
+ 00020793  0x00006828 beq  0x00000000 , 0x00005141 
+ 00020794  0x00006829 rtn 
+ 00020795  0x0000682c setarg  0x00000000 
+ 00020796  0x0000682d store  0x00000002 , 0x000044e1 
+ 00020797  0x0000682e jam  0x00000000 , 0x000044e6 
+ 00020798  0x0000682f fetch  0x00000001 , 0x000044e5 
+ 00020799  0x00006830 beq  0x00000000 , 0x00005141 
+ 00020800  0x00006831 rtn 
+ 00020801  0x00006834 jam  0x00000007 , 0x0000095b 
+ 00020802  0x00006835 branch  0x000078dc 
+ 00020803  0x00006838 fetch  0x00000001 , 0x00000330 
+ 00020804  0x00006839 set0  0x00000000 , 0x0000003f 
+ 00020805  0x0000683a store  0x00000001 , 0x00000330 
+ 00020806  0x0000683b fetch  0x00000002 , 0x000044e1 
+ 00020807  0x0000683c rtn  0x00000034 
+ 00020808  0x0000683d call  0x00005369 
+ 00020809  0x0000683e fetch  0x00000002 , 0x000044e1 
+ 00020810  0x0000683f copy  0x0000003f , 0x00000011 
+ 00020811  0x00006840 force  0x00000053 , 0x00000012 
+ 00020812  0x00006841 branch  0x00005156 
+ 00020813  0x00006843 fetch  0x00000001 , 0x00000330 
+ 00020814  0x00006844 set0  0x00000007 , 0x0000003f 
+ 00020815  0x00006845 store  0x00000001 , 0x00000330 
+ 00020816  0x00006846 fetch  0x00000002 , 0x000044df 
+ 00020817  0x00006847 rtn  0x00000034 
+ 00020818  0x00006848 call  0x00005369 
+ 00020819  0x00006849 fetch  0x00000002 , 0x000044df 
+ 00020820  0x0000684a copy  0x0000003f , 0x00000011 
+ 00020821  0x0000684b force  0x00000052 , 0x00000012 
+ 00020822  0x0000684d call  0x000052f5 
+ 00020823  0x0000684e call  0x00005374 
+ 00020824  0x0000684f force  0x00000006 , 0x0000003f 
+ 00020825  0x00006850 istore  0x00000001 , 0x00000005 
+ 00020826  0x00006851 fetch  0x00000001 , 0x000044e8 
+ 00020827  0x00006852 istore  0x00000001 , 0x00000005 
+ 00020828  0x00006853 setarg  0x00000004 
+ 00020829  0x00006854 istore  0x00000002 , 0x00000005 
+ 00020830  0x00006855 copy  0x00000011 , 0x0000003f 
+ 00020831  0x00006856 istore  0x00000002 , 0x00000005 
+ 00020832  0x00006857 copy  0x00000012 , 0x0000003f 
+ 00020833  0x00006858 istore  0x00000002 , 0x00000005 
+ 00020834  0x00006859 force  0x00000008 , 0x00000002 
+ 00020835  0x0000685a branch  0x0000519a 
+ 00020836  0x0000685d bpatch  0x000000fa , 0x0000401f 
+ 00020837  0x0000685e call  0x000052f5 
+ 00020838  0x0000685f call  0x00005374 
+ 00020839  0x00006860 setarg  0x00000002 
+ 00020840  0x00006861 istore  0x00000001 , 0x00000005 
+ 00020841  0x00006862 fetch  0x00000001 , 0x000044e8 
+ 00020842  0x00006863 istore  0x00000001 , 0x00000005 
+ 00020843  0x00006864 setarg  0x00000004 
+ 00020844  0x00006865 istore  0x00000002 , 0x00000005 
+ 00020845  0x00006866 copy  0x00000002 , 0x0000003f 
+ 00020846  0x00006867 istore  0x00000002 , 0x00000005 
+ 00020847  0x00006868 copy  0x0000000b , 0x0000003f 
+ 00020848  0x00006869 istore  0x00000002 , 0x00000005 
+ 00020849  0x0000686a arg  0x00000008 , 0x00000002 
+ 00020850  0x0000686b branch  0x0000519a 
+ 00020851  0x0000686d bpatch  0x000000fb , 0x0000401f 
+ 00020852  0x0000686e call  0x000052f5 
+ 00020853  0x0000686f call  0x00005374 
+ 00020854  0x00006870 setarg  0x00000004 
+ 00020855  0x00006871 istore  0x00000001 , 0x00000005 
+ 00020856  0x00006872 fetch  0x00000001 , 0x000044e8 
+ 00020857  0x00006873 istore  0x00000001 , 0x00000005 
+ 00020858  0x00006874 setarg  0x00000008 
+ 00020859  0x00006875 istore  0x00000002 , 0x00000005 
+ 00020860  0x00006877 copy  0x00000002 , 0x0000003f 
+ 00020861  0x00006879 istore  0x00000002 , 0x00000005 
+ 00020862  0x0000687a setarg  0x00000000 
+ 00020863  0x0000687b istore  0x00000002 , 0x00000005 
+ 00020864  0x0000687c setarg  0x00000001 
+ 00020865  0x0000687d istore  0x00000001 , 0x00000005 
+ 00020866  0x0000687e setarg  0x00000002 
+ 00020867  0x0000687f istore  0x00000001 , 0x00000005 
+ 00020868  0x00006880 setarg  0x000003e3 
+ 00020869  0x00006881 istore  0x00000002 , 0x00000005 
+ 00020870  0x00006882 arg  0x0000000c , 0x00000002 
+ 00020871  0x00006883 branch  0x0000519a 
+ 00020872  0x00006885 bpatch  0x000000fc , 0x0000401f 
+ 00020873  0x00006886 call  0x000052f5 
+ 00020874  0x00006887 call  0x00005374 
+ 00020875  0x00006888 setarg  0x00000006 
+ 00020876  0x00006889 istore  0x00000001 , 0x00000005 
+ 00020877  0x0000688a fetch  0x00000001 , 0x000044e8 
+ 00020878  0x0000688b increase  0x00000001 , 0x0000003f 
+ 00020879  0x0000688c copy  0x00000005 , 0x00000011 
+ 00020880  0x0000688d store  0x00000001 , 0x000044e8 
+ 00020881  0x0000688e copy  0x00000011 , 0x00000005 
+ 00020882  0x0000688f istore  0x00000001 , 0x00000005 
+ 00020883  0x00006890 setarg  0x00000004 
+ 00020884  0x00006891 istore  0x00000002 , 0x00000005 
+ 00020885  0x00006892 copy  0x00000002 , 0x0000003f 
+ 00020886  0x00006893 istore  0x00000002 , 0x00000005 
+ 00020887  0x00006894 copy  0x0000000b , 0x0000003f 
+ 00020888  0x00006895 istore  0x00000002 , 0x00000005 
+ 00020889  0x00006896 arg  0x00000008 , 0x00000002 
+ 00020890  0x0000689a storet  0x00000002 , 0x00000320 
+ 00020891  0x0000689b copy  0x00000002 , 0x0000003f 
+ 00020892  0x0000689c branch  0x00005345 , 0x00000034 
+ 00020893  0x0000689d call  0x00005372 
+ 00020894  0x0000689e fetch  0x00000002 , 0x00000320 
+ 00020895  0x0000689f istore  0x00000002 , 0x00000005 
+ 00020896  0x000068a0 force  0x00000001 , 0x0000003f 
+ 00020897  0x000068a1 istore  0x00000002 , 0x00000005 
+ 00020898  0x000068a2 rtn 
+ 00020899  0x000068a5 fetch  0x00000002 , 0x00000326 
+ 00020900  0x000068a6 branch  0x0000137c , 0x00000034 
+ 00020901  0x000068a7 call  0x0000537f 
+ 00020902  0x000068a8 fetch  0x00000002 , 0x00000326 
+ 00020903  0x000068a9 istore  0x00000002 , 0x00000005 
+ 00020904  0x000068aa fetch  0x00000002 , 0x000044db 
+ 00020905  0x000068ab istore  0x00000002 , 0x00000005 
+ 00020906  0x000068ac rtn 
+ 00020907  0x000068ae fetch  0x00000002 , 0x00000317 
+ 00020908  0x000068af branch  0x00004eb8 , 0x00000034 
+ 00020909  0x000068b0 bpatch  0x000000fd , 0x0000401f 
+ 00020910  0x000068b1 fetch  0x00000001 , 0x00000319 
+ 00020911  0x000068b2 beq  0x00000001 , 0x000051b5 
+ 00020912  0x000068b3 beq  0x00000050 , 0x00004ea2 
+ 00020913  0x000068b4 beq  0x00000051 , 0x00004eb1 
+ 00020914  0x000068b5 beq  0x00000052 , 0x00004eaf 
+ 00020915  0x000068b6 beq  0x00000053 , 0x00004eaf 
+ 00020916  0x000068b7 branch  0x00004eb8 
+ 00020917  0x000068ba call  0x00005369 
+ 00020918  0x000068bb force  0x00000000 , 0x00000012 
+ 00020919  0x000068bc call  0x00005374 
+ 00020920  0x000068bd copy  0x0000003f , 0x00000005 
+ 00020921  0x000068be fetch  0x00000002 , 0x00000317 
+ 00020922  0x000068bf copy  0x0000003f , 0x00000013 
+ 00020923  0x000068c0 fetch  0x00000002 , 0x00000315 
+ 00020924  0x000068c1 iforce  0x00000006 
+ 00020925  0x000068c3 call  0x000051c3 
+ 00020926  0x000068c4 increase  0xfffffffc , 0x00000013 
+ 00020927  0x000068c5 nbranch  0x000051bd , 0x00000005 
+ 00020928  0x000068c6 copy  0x00000012 , 0x00000002 
+ 00020929  0x000068c7 call  0x0000519a 
+ 00020930  0x000068c8 branch  0x00004eb8 
+ 00020931  0x000068cb ifetch  0x00000001 , 0x00000006 
+ 00020932  0x000068cc beq  0x00000002 , 0x000051ce 
+ 00020933  0x000068cd beq  0x00000001 , 0x000051d1 
+ 00020934  0x000068ce beq  0x00000003 , 0x000051db 
+ 00020935  0x000068cf beq  0x00000005 , 0x00005217 
+ 00020936  0x000068d0 beq  0x00000004 , 0x00005249 
+ 00020937  0x000068d1 beq  0x00000007 , 0x000052ce 
+ 00020938  0x000068d2 beq  0x00000006 , 0x0000529c 
+ 00020939  0x000068d3 beq  0x00000008 , 0x0000510c 
+ 00020940  0x000068d4 beq  0x0000000a , 0x00004ef6 
+ 00020941  0x000068d5 branch  0x000052e9 
+ 00020942  0x000068d8 call  0x00007d61 
+ 00020943  0x000068da call  0x00007d66 
+ 00020944  0x000068db branch  0x00004f0d 
+ 00020945  0x000068dd ifetch  0x00000001 , 0x00000006 
+ 00020946  0x000068de copy  0x0000003f , 0x00000007 
+ 00020947  0x000068df ifetch  0x00000002 , 0x00000006 
+ 00020948  0x000068e0 copy  0x0000003f , 0x00000011 
+ 00020949  0x000068e1 copy  0x00000013 , 0x0000003f 
+ 00020950  0x000068e2 isub  0x00000011 , 0x00000013 
+ 00020951  0x000068e4 ifetch  0x00000001 , 0x00000006 
+ 00020952  0x000068e5 increase  0xffffffff , 0x00000011 
+ 00020953  0x000068e6 nbranch  0x000051d7 , 0x00000005 
+ 00020954  0x000068e7 rtn 
+ 00020955  0x000068e9 ifetch  0x00000001 , 0x00000006 
+ 00020956  0x000068ea copy  0x0000003f , 0x00000007 
+ 00020957  0x000068eb ifetch  0x00000002 , 0x00000006 
+ 00020958  0x000068ec copy  0x0000003f , 0x00000011 
+ 00020959  0x000068ed ifetch  0x00000002 , 0x00000006 
+ 00020960  0x000068ee copy  0x0000003f , 0x0000000b 
+ 00020961  0x000068ef ifetch  0x00000002 , 0x00000006 
+ 00020962  0x000068f0 copy  0x0000003f , 0x00000002 
+ 00020963  0x000068f1 ifetch  0x00000002 , 0x00000006 
+ 00020964  0x000068f2 sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00020965  0x000068f3 branch  0x000051ed , 0x00000005 
+ 00020966  0x000068f4 beq  0x00000002 , 0x000051e9 
+ 00020967  0x000068f5 beq  0x00000004 , 0x000051e9 
+ 00020968  0x000068f6 branch  0x000051eb 
+ 00020969  0x000068f8 jam  0x00000016 , 0x0000095b 
+ 00020970  0x000068f9 call  0x000078dc 
+ 00020971  0x000068fb ifetch  0x00000002 , 0x00000006 
+ 00020972  0x000068fc branch  0x00005214 
+ 00020973  0x000068fe call  0x00007d61 
+ 00020974  0x00006902 bpatch  0x000000fe , 0x0000401f 
+ 00020975  0x00006903 setarg  0x00000050 
+ 00020976  0x00006904 isub  0x00000002 , 0x0000003e 
+ 00020977  0x00006905 branch  0x000051fc , 0x00000005 
+ 00020978  0x00006906 setarg  0x00000051 
+ 00020979  0x00006907 isub  0x00000002 , 0x0000003e 
+ 00020980  0x00006908 branch  0x00005202 , 0x00000005 
+ 00020981  0x00006909 setarg  0x00000053 
+ 00020982  0x0000690a isub  0x00000002 , 0x0000003e 
+ 00020983  0x0000690b branch  0x0000520e , 0x00000005 
+ 00020984  0x0000690c setarg  0x00000052 
+ 00020985  0x0000690d isub  0x00000002 , 0x0000003e 
+ 00020986  0x0000690e branch  0x00005208 , 0x00000005 
+ 00020987  0x0000690f branch  0x00005214 
+ 00020988  0x00006911 copy  0x0000000b , 0x0000003f 
+ 00020989  0x00006912 store  0x00000002 , 0x000044db 
+ 00020990  0x00006913 fetch  0x00000001 , 0x000044e3 
+ 00020991  0x00006914 set1  0x00000001 , 0x0000003f 
+ 00020992  0x00006915 store  0x00000001 , 0x000044e3 
+ 00020993  0x00006916 branch  0x00005213 
+ 00020994  0x00006918 copy  0x0000000b , 0x0000003f 
+ 00020995  0x00006919 store  0x00000002 , 0x000044dd 
+ 00020996  0x0000691a fetch  0x00000001 , 0x000044e4 
+ 00020997  0x0000691b set1  0x00000001 , 0x0000003f 
+ 00020998  0x0000691c store  0x00000001 , 0x000044e4 
+ 00020999  0x0000691d branch  0x00005213 
+ 00021000  0x0000691f copy  0x0000000b , 0x0000003f 
+ 00021001  0x00006920 store  0x00000002 , 0x000044df 
+ 00021002  0x00006921 fetch  0x00000001 , 0x000044e5 
+ 00021003  0x00006922 set1  0x00000001 , 0x0000003f 
+ 00021004  0x00006923 store  0x00000001 , 0x000044e5 
+ 00021005  0x00006924 branch  0x00005213 
+ 00021006  0x00006926 copy  0x0000000b , 0x0000003f 
+ 00021007  0x00006927 store  0x00000002 , 0x000044e1 
+ 00021008  0x00006928 fetch  0x00000001 , 0x000044e6 
+ 00021009  0x00006929 set1  0x00000001 , 0x0000003f 
+ 00021010  0x0000692a store  0x00000001 , 0x000044e6 
+ 00021011  0x0000692e call  0x00007d66 
+ 00021012  0x00006930 copy  0x00000013 , 0x0000003f 
+ 00021013  0x00006931 isub  0x00000011 , 0x00000013 
+ 00021014  0x00006932 rtn 
+ 00021015  0x00006935 ifetch  0x00000001 , 0x00000006 
+ 00021016  0x00006936 copy  0x0000003f , 0x00000007 
+ 00021017  0x00006937 ifetch  0x00000002 , 0x00000006 
+ 00021018  0x00006938 copy  0x0000003f , 0x00000011 
+ 00021019  0x00006939 copy  0x00000013 , 0x0000003f 
+ 00021020  0x0000693a isub  0x00000011 , 0x00000013 
+ 00021021  0x0000693b ifetch  0x00000002 , 0x00000006 
+ 00021022  0x0000693c copy  0x0000003f , 0x0000000b 
+ 00021023  0x0000693d ifetch  0x00000002 , 0x00000006 
+ 00021024  0x0000693e ifetch  0x00000002 , 0x00000006 
+ 00021025  0x0000693f nbranch  0x00005243 , 0x00000034 
+ 00021026  0x00006940 call  0x00007d61 
+ 00021027  0x00006944 copy  0x0000000b , 0x00000002 
+ 00021028  0x00006945 bpatch  0x000000ff , 0x0000401f 
+ 00021029  0x00006946 setarg  0x00000050 
+ 00021030  0x00006947 isub  0x00000002 , 0x0000003e 
+ 00021031  0x00006948 branch  0x00005231 , 0x00000005 
+ 00021032  0x00006949 setarg  0x00000051 
+ 00021033  0x0000694a isub  0x00000002 , 0x0000003e 
+ 00021034  0x0000694b branch  0x00005235 , 0x00000005 
+ 00021035  0x0000694c setarg  0x00000052 
+ 00021036  0x0000694d isub  0x00000002 , 0x0000003e 
+ 00021037  0x0000694e branch  0x00005239 , 0x00000005 
+ 00021038  0x0000694f setarg  0x00000053 
+ 00021039  0x00006950 isub  0x00000002 , 0x0000003e 
+ 00021040  0x00006951 branch  0x0000523d , 0x00000005 
+ 00021041  0x00006953 fetch  0x00000001 , 0x000044e3 
+ 00021042  0x00006954 set1  0x00000005 , 0x0000003f 
+ 00021043  0x00006955 store  0x00000001 , 0x000044e3 
+ 00021044  0x00006956 rtn 
+ 00021045  0x00006958 fetch  0x00000001 , 0x000044e4 
+ 00021046  0x00006959 set1  0x00000005 , 0x0000003f 
+ 00021047  0x0000695a store  0x00000001 , 0x000044e4 
+ 00021048  0x0000695b rtn 
+ 00021049  0x0000695d fetch  0x00000001 , 0x000044e5 
+ 00021050  0x0000695e set1  0x00000005 , 0x0000003f 
+ 00021051  0x0000695f store  0x00000001 , 0x000044e5 
+ 00021052  0x00006960 rtn 
+ 00021053  0x00006962 fetch  0x00000001 , 0x000044e6 
+ 00021054  0x00006963 set1  0x00000005 , 0x0000003f 
+ 00021055  0x00006964 store  0x00000001 , 0x000044e6 
+ 00021056  0x00006965 jam  0x00000006 , 0x0000095b 
+ 00021057  0x00006966 branch  0x000078dc 
+ 00021058  0x0000696a call  0x00007d66 
+ 00021059  0x0000696c increase  0xfffffffa , 0x00000011 
+ 00021060  0x0000696e branch  0x00005248 , 0x00000005 
+ 00021061  0x0000696f increase  0x00000001 , 0x00000006 
+ 00021062  0x00006970 increase  0xffffffff , 0x00000011 
+ 00021063  0x00006971 branch  0x00005244 
+ 00021064  0x00006973 rtn 
+ 00021065  0x00006975 ifetch  0x00000001 , 0x00000006 
+ 00021066  0x00006976 copy  0x0000003f , 0x00000007 
+ 00021067  0x00006977 ifetch  0x00000002 , 0x00000006 
+ 00021068  0x00006978 copy  0x0000003f , 0x00000011 
+ 00021069  0x00006979 copy  0x00000013 , 0x0000003f 
+ 00021070  0x0000697a isub  0x00000011 , 0x00000013 
+ 00021071  0x0000697b ifetch  0x00000002 , 0x00000006 
+ 00021072  0x0000697c increase  0x00000002 , 0x00000006 
+ 00021073  0x0000697d copy  0x0000003f , 0x00000002 
+ 00021074  0x0000697e setarg  0x00000005 
+ 00021075  0x0000697f istore  0x00000001 , 0x00000005 
+ 00021076  0x00006980 copy  0x00000007 , 0x0000003f 
+ 00021077  0x00006981 istore  0x00000001 , 0x00000005 
+ 00021078  0x00006982 increase  0x00000002 , 0x00000011 
+ 00021079  0x00006983 copy  0x00000011 , 0x0000003f 
+ 00021080  0x00006984 istore  0x00000002 , 0x00000005 
+ 00021081  0x00006985 call  0x00007d61 
+ 00021082  0x00006986 bpatchx  0x00000000 , 0x00004020 
+ 00021083  0x00006987 setarg  0x00000050 
+ 00021084  0x00006988 isub  0x00000002 , 0x0000003e 
+ 00021085  0x00006989 branch  0x00005268 , 0x00000005 
+ 00021086  0x0000698a setarg  0x00000051 
+ 00021087  0x0000698b isub  0x00000002 , 0x0000003e 
+ 00021088  0x0000698c branch  0x00005279 , 0x00000005 
+ 00021089  0x0000698d setarg  0x00000052 
+ 00021090  0x0000698e isub  0x00000002 , 0x0000003e 
+ 00021091  0x0000698f branch  0x0000527f , 0x00000005 
+ 00021092  0x00006990 setarg  0x00000053 
+ 00021093  0x00006991 isub  0x00000002 , 0x0000003e 
+ 00021094  0x00006992 branch  0x00005285 , 0x00000005 
+ 00021095  0x00006993 branch  0x0000528a 
+ 00021096  0x00006995 fetch  0x00000001 , 0x000044e3 
+ 00021097  0x00006996 set1  0x00000004 , 0x0000003f 
+ 00021098  0x00006997 set1  0x00000003 , 0x0000003f 
+ 00021099  0x00006998 store  0x00000001 , 0x000044e3 
+ 00021100  0x00006999 bbit1  0x00000002 , 0x00005276 
+ 00021101  0x0000699a fetcht  0x00000001 , 0x00000330 
+ 00021102  0x0000699b set1  0x00000006 , 0x00000002 
+ 00021103  0x0000699c storet  0x00000001 , 0x00000330 
+ 00021104  0x0000699d copy  0x00000007 , 0x0000003f 
+ 00021105  0x0000699e increase  0x00000001 , 0x0000003f 
+ 00021106  0x0000699f store  0x00000001 , 0x00000332 
+ 00021107  0x000069a0 fetch  0x00000001 , 0x000044e3 
+ 00021108  0x000069a1 set1  0x00000002 , 0x0000003f 
+ 00021109  0x000069a2 store  0x00000001 , 0x000044e3 
+ 00021110  0x000069a4 fetch  0x00000002 , 0x000044db 
+ 00021111  0x000069a5 store  0x00000002 , 0x00000333 
+ 00021112  0x000069a6 branch  0x0000528a 
+ 00021113  0x000069a8 fetch  0x00000001 , 0x000044e4 
+ 00021114  0x000069a9 set1  0x00000004 , 0x0000003f 
+ 00021115  0x000069aa set1  0x00000003 , 0x0000003f 
+ 00021116  0x000069ab store  0x00000001 , 0x000044e4 
+ 00021117  0x000069ac fetch  0x00000002 , 0x000044dd 
+ 00021118  0x000069ad branch  0x0000528a 
+ 00021119  0x000069af fetch  0x00000001 , 0x000044e5 
+ 00021120  0x000069b0 set1  0x00000004 , 0x0000003f 
+ 00021121  0x000069b1 set1  0x00000003 , 0x0000003f 
+ 00021122  0x000069b2 store  0x00000001 , 0x000044e5 
+ 00021123  0x000069b3 fetch  0x00000002 , 0x000044df 
+ 00021124  0x000069b4 branch  0x0000528a 
+ 00021125  0x000069b6 fetch  0x00000001 , 0x000044e6 
+ 00021126  0x000069b7 set1  0x00000004 , 0x0000003f 
+ 00021127  0x000069b8 set1  0x00000003 , 0x0000003f 
+ 00021128  0x000069b9 store  0x00000001 , 0x000044e6 
+ 00021129  0x000069ba fetch  0x00000002 , 0x000044e1 
+ 00021130  0x000069be copy  0x0000003f , 0x0000000b 
+ 00021131  0x000069bf call  0x00007d66 
+ 00021132  0x000069c1 copy  0x0000000b , 0x0000003f 
+ 00021133  0x000069c3 istore  0x00000002 , 0x00000005 
+ 00021134  0x000069c4 force  0x00000000 , 0x0000003f 
+ 00021135  0x000069c5 istore  0x00000002 , 0x00000005 
+ 00021136  0x000069c6 force  0x00000000 , 0x0000003f 
+ 00021137  0x000069c7 istore  0x00000002 , 0x00000005 
+ 00021138  0x000069c8 force  0x0000000a , 0x0000003f 
+ 00021139  0x000069c9 iadd  0x00000012 , 0x00000012 
+ 00021140  0x000069ca increase  0xfffffffa , 0x00000011 
+ 00021141  0x000069cc branch  0x0000529b , 0x00000005 
+ 00021142  0x000069cd ifetch  0x00000001 , 0x00000006 
+ 00021143  0x000069ce istore  0x00000001 , 0x00000005 
+ 00021144  0x000069cf increase  0x00000001 , 0x00000012 
+ 00021145  0x000069d0 increase  0xffffffff , 0x00000011 
+ 00021146  0x000069d1 branch  0x00005295 
+ 00021147  0x000069d3 rtn 
+ 00021148  0x000069d5 ifetch  0x00000001 , 0x00000006 
+ 00021149  0x000069d6 copy  0x0000003f , 0x00000007 
+ 00021150  0x000069d7 ifetch  0x00000002 , 0x00000006 
+ 00021151  0x000069d8 copy  0x0000003f , 0x00000011 
+ 00021152  0x000069d9 copy  0x00000013 , 0x0000003f 
+ 00021153  0x000069da isub  0x00000011 , 0x00000013 
+ 00021154  0x000069dc ifetch  0x00000002 , 0x00000006 
+ 00021155  0x000069dd copy  0x0000003f , 0x00000011 
+ 00021156  0x000069de ifetch  0x00000002 , 0x00000006 
+ 00021157  0x000069df copy  0x0000003f , 0x0000000b 
+ 00021158  0x000069e0 call  0x00007d61 
+ 00021159  0x000069e1 bpatchx  0x00000001 , 0x00004020 
+ 00021160  0x000069e2 setarg  0x00000050 
+ 00021161  0x000069e3 copy  0x00000011 , 0x00000002 
+ 00021162  0x000069e4 isub  0x00000002 , 0x0000003e 
+ 00021163  0x000069e5 branch  0x000052b5 , 0x00000005 
+ 00021164  0x000069e6 setarg  0x00000052 
+ 00021165  0x000069e7 copy  0x00000011 , 0x00000002 
+ 00021166  0x000069e8 isub  0x00000002 , 0x0000003e 
+ 00021167  0x000069e9 branch  0x000052ba , 0x00000005 
+ 00021168  0x000069ea setarg  0x00000053 
+ 00021169  0x000069eb copy  0x00000011 , 0x00000002 
+ 00021170  0x000069ec isub  0x00000002 , 0x0000003e 
+ 00021171  0x000069ed branch  0x000052bc , 0x00000005 
+ 00021172  0x000069ee branch  0x000052be 
+ 00021173  0x000069f0 setarg  0x00000000 
+ 00021174  0x000069f1 store  0x00000002 , 0x00000326 
+ 00021175  0x000069f2 store  0x00000002 , 0x000044db 
+ 00021176  0x000069f3 store  0x00000001 , 0x000044e3 
+ 00021177  0x000069f4 branch  0x000052c0 
+ 00021178  0x000069f6 call  0x00005135 
+ 00021179  0x000069f7 branch  0x000052c0 
+ 00021180  0x000069f9 call  0x0000513b 
+ 00021181  0x000069ff branch  0x000052c0 
+ 00021182  0x00006a01 setarg  0x00000000 
+ 00021183  0x00006a02 store  0x00000002 , 0x0000032c 
+ 00021184  0x00006a04 call  0x00007d66 
+ 00021185  0x00006a05 setarg  0x00000007 
+ 00021186  0x00006a06 istore  0x00000001 , 0x00000005 
+ 00021187  0x00006a07 copy  0x00000007 , 0x0000003f 
+ 00021188  0x00006a08 istore  0x00000001 , 0x00000005 
+ 00021189  0x00006a09 setarg  0x00000004 
+ 00021190  0x00006a0a istore  0x00000002 , 0x00000005 
+ 00021191  0x00006a0b copy  0x00000011 , 0x0000003f 
+ 00021192  0x00006a0c istore  0x00000002 , 0x00000005 
+ 00021193  0x00006a0d copy  0x0000000b , 0x0000003f 
+ 00021194  0x00006a0e istore  0x00000002 , 0x00000005 
+ 00021195  0x00006a0f force  0x00000008 , 0x0000003f 
+ 00021196  0x00006a10 iadd  0x00000012 , 0x00000012 
+ 00021197  0x00006a11 rtn 
+ 00021198  0x00006a14 ifetch  0x00000001 , 0x00000006 
+ 00021199  0x00006a15 copy  0x0000003f , 0x00000007 
+ 00021200  0x00006a16 ifetch  0x00000002 , 0x00000006 
+ 00021201  0x00006a17 copy  0x0000003f , 0x00000011 
+ 00021202  0x00006a18 ifetch  0x00000002 , 0x00000006 
+ 00021203  0x00006a19 copy  0x0000003f , 0x0000000b 
+ 00021204  0x00006a1a ifetch  0x00000002 , 0x00000006 
+ 00021205  0x00006a1b copy  0x0000003f , 0x00000002 
+ 00021206  0x00006a1c call  0x00007d61 
+ 00021207  0x00006a1d bpatchx  0x00000002 , 0x00004020 
+ 00021208  0x00006a1e fetch  0x00000001 , 0x000044e8 
+ 00021209  0x00006a1f icompare  0x000000ff , 0x00000007 
+ 00021210  0x00006a20 nbranch  0x000052e5 , 0x00000001 
+ 00021211  0x00006a21 setarg  0x00000050 
+ 00021212  0x00006a22 isub  0x00000002 , 0x0000003e 
+ 00021213  0x00006a23 branch  0x000052e2 , 0x00000005 
+ 00021214  0x00006a24 setarg  0x00000051 
+ 00021215  0x00006a25 isub  0x00000002 , 0x0000003e 
+ 00021216  0x00006a26 branch  0x000052e5 , 0x00000005 
+ 00021217  0x00006a27 branch  0x000052e5 
+ 00021218  0x00006a29 jam  0x00000000 , 0x000044db 
+ 00021219  0x00006a2a jam  0x00000000 , 0x000044e3 
+ 00021220  0x00006a2b branch  0x000052e5 
+ 00021221  0x00006a30 call  0x00007d66 
+ 00021222  0x00006a31 copy  0x00000013 , 0x0000003f 
+ 00021223  0x00006a32 isub  0x00000011 , 0x00000013 
+ 00021224  0x00006a33 rtn 
+ 00021225  0x00006a36 setarg  0x00000001 
+ 00021226  0x00006a37 istore  0x00000001 , 0x00000005 
+ 00021227  0x00006a38 ifetch  0x00000001 , 0x00000006 
+ 00021228  0x00006a39 istore  0x00000001 , 0x00000005 
+ 00021229  0x00006a3a setarg  0x00000002 
+ 00021230  0x00006a3b istore  0x00000002 , 0x00000005 
+ 00021231  0x00006a3c setarg  0x00000000 
+ 00021232  0x00006a3d istore  0x00000002 , 0x00000005 
+ 00021233  0x00006a3e setarg  0x00000006 
+ 00021234  0x00006a3f iadd  0x00000012 , 0x00000012 
+ 00021235  0x00006a40 force  0x00000004 , 0x00000013 
+ 00021236  0x00006a41 rtn 
+ 00021237  0x00006a45 fetch  0x00000001 , 0x000044e8 
+ 00021238  0x00006a46 increase  0x00000001 , 0x0000003f 
+ 00021239  0x00006a47 bne  0x00000000 , 0x000052f9 
+ 00021240  0x00006a48 increase  0x00000001 , 0x0000003f 
+ 00021241  0x00006a4a store  0x00000001 , 0x000044e8 
+ 00021242  0x00006a4b rtn 
+ 00021243  0x00006a57 arg  0x00001800 , 0x00000018 
+ 00021244  0x00006a58 arg  0x00000080 , 0x0000002b 
+ 00021245  0x00006a59 call  0x00007ec5 
+ 00021246  0x00006a5a branch  0x00005303 
+ 00021247  0x00006a5d fetchr  0x00000018 , 0x00000002 , 0x000043de 
+ 00021248  0x00006a5e fetchr  0x0000002b , 0x00000002 , 0x000043e0 
+ 00021249  0x00006a5f call  0x00007ec7 
+ 00021250  0x00006a60 branch  0x00005303 
+ 00021251  0x00006a63 bpatchx  0x00000003 , 0x00004020 
+ 00021252  0x00006a64 call  0x0000534f 
+ 00021253  0x00006a65 nbranch  0x0000137c , 0x00000034 
+ 00021254  0x00006a66 call  0x0000535f 
+ 00021255  0x00006a67 arg  0x00000008 , 0x00000039 
+ 00021256  0x00006a69 fetcht  0x00000001 , 0x000044e9 
+ 00021257  0x00006a6a sub  0x00000039 , 0x00000008 , 0x00000007 
+ 00021258  0x00006a6b qisolate1  0x00000002 
+ 00021259  0x00006a6c branch  0x00005310 , 0x00000001 
+ 00021260  0x00006a6d call  0x00005317 
+ 00021261  0x00006a6e nbranch  0x00005310 , 0x00000002 
+ 00021262  0x00006a6f call  0x0000532d 
+ 00021263  0x00006a70 branch  0x00005314 
+ 00021264  0x00006a72 copy  0x0000002b , 0x0000003f 
+ 00021265  0x00006a73 iadd  0x00000018 , 0x00000018 
+ 00021266  0x00006a74 loop  0x00005308 
+ 00021267  0x00006a75 branch  0x0000137c 
+ 00021268  0x00006a77 copy  0x00000018 , 0x0000003f 
+ 00021269  0x00006a78 copy  0x00000018 , 0x00000005 
+ 00021270  0x00006a79 rtn 
+ 00021271  0x00006a83 bpatchx  0x00000004 , 0x00004020 
+ 00021272  0x00006a84 sub  0x00000039 , 0x00000008 , 0x00000007 
+ 00021273  0x00006a85 arg  0x00000000 , 0x00000002 
+ 00021274  0x00006a86 arg  0x00000000 , 0x0000000b 
+ 00021275  0x00006a88 copy  0x00000007 , 0x0000003f 
+ 00021276  0x00006a89 beq  0x00000008 , 0x00005328 
+ 00021277  0x00006a8a fetch  0x00000001 , 0x000044e9 
+ 00021278  0x00006a8b qisolate1  0x0000003f 
+ 00021279  0x00006a8c branch  0x00005328 , 0x00000001 
+ 00021280  0x00006a8d qset1  0x0000000b 
+ 00021281  0x00006a8e copy  0x0000002b , 0x0000003f 
+ 00021282  0x00006a8f iadd  0x00000002 , 0x00000002 
+ 00021283  0x00006a90 increase  0x00000001 , 0x00000007 
+ 00021284  0x00006a91 copy  0x00000011 , 0x0000003f 
+ 00021285  0x00006a92 isub  0x00000002 , 0x0000003e 
+ 00021286  0x00006a93 branch  0x00005328 , 0x00000005 
+ 00021287  0x00006a94 branch  0x0000531b , 0x00000002 
+ 00021288  0x00006a96 copy  0x00000002 , 0x0000003f 
+ 00021289  0x00006a97 isub  0x00000011 , 0x0000003e 
+ 00021290  0x00006a98 nrtn  0x00000005 
+ 00021291  0x00006a99 qset1  0x0000000b 
+ 00021292  0x00006a9a rtn 
+ 00021293  0x00006aa4 bpatchx  0x00000005 , 0x00004020 
+ 00021294  0x00006aa5 call  0x0000534f 
+ 00021295  0x00006aa6 nbranch  0x0000137c , 0x00000034 
+ 00021296  0x00006aa7 call  0x00005355 
+ 00021297  0x00006aa8 branch  0x00005336 , 0x00000034 
+ 00021298  0x00006aa9 fetch  0x00000009 , 0x000044ed 
+ 00021299  0x00006aaa store  0x00000009 , 0x000044ea 
+ 00021300  0x00006aab setarg  0x00000000 
+ 00021301  0x00006aac istore  0x00000003 , 0x00000005 
+ 00021302  0x00006aae storer  0x0000000b , 0x00000001 , 0x000044f3 
+ 00021303  0x00006aaf storer  0x00000018 , 0x00000002 , 0x000044f4 
+ 00021304  0x00006ab0 rtn 
+ 00021305  0x00006aba bpatchx  0x00000006 , 0x00004020 
+ 00021306  0x00006abb call  0x00005358 
+ 00021307  0x00006abc increase  0x00000001 , 0x00000006 
+ 00021308  0x00006abd ifetch  0x00000002 , 0x00000006 
+ 00021309  0x00006abe rtn 
+ 00021310  0x00006ac6 bpatchx  0x00000007 , 0x00004020 
+ 00021311  0x00006ac7 call  0x00005358 
+ 00021312  0x00006ac8 copy  0x00000006 , 0x00000005 
+ 00021313  0x00006ac9 copy  0x00000006 , 0x00000002 
+ 00021314  0x00006aca setarg  0x00000000 
+ 00021315  0x00006acb istore  0x00000003 , 0x00000005 
+ 00021316  0x00006acc rtn 
+ 00021317  0x00006ad4 bpatchx  0x00000008 , 0x00004021 
+ 00021318  0x00006ad5 call  0x00005355 
+ 00021319  0x00006ad6 branch  0x0000137c , 0x00000034 
+ 00021320  0x00006ad7 fetch  0x00000003 , 0x000044f0 
+ 00021321  0x00006ad8 store  0x00000003 , 0x000044f3 
+ 00021322  0x00006ad9 fetch  0x00000003 , 0x000044ed 
+ 00021323  0x00006ada store  0x00000003 , 0x000044f0 
+ 00021324  0x00006adb fetch  0x00000003 , 0x000044ea 
+ 00021325  0x00006adc store  0x00000003 , 0x000044ed 
+ 00021326  0x00006add rtn 
+ 00021327  0x00006ae6 bpatchx  0x00000009 , 0x00004021 
+ 00021328  0x00006ae7 fetch  0x00000003 , 0x000044ea 
+ 00021329  0x00006ae8 rtn 
+ 00021330  0x00006af1 bpatchx  0x0000000a , 0x00004021 
+ 00021331  0x00006af2 fetch  0x00000003 , 0x000044ed 
+ 00021332  0x00006af3 rtn 
+ 00021333  0x00006afc bpatchx  0x0000000b , 0x00004021 
+ 00021334  0x00006afd fetch  0x00000003 , 0x000044f3 
+ 00021335  0x00006afe rtn 
+ 00021336  0x00006b06 call  0x00005355 
+ 00021337  0x00006b07 branch  0x0000535d , 0x00000034 
+ 00021338  0x00006b08 arg  0x000044ea , 0x00000006 
+ 00021339  0x00006b0a ifetch  0x00000003 , 0x00000006 
+ 00021340  0x00006b0b branch  0x0000535b , 0x00000034 
+ 00021341  0x00006b0d increase  0xfffffffd , 0x00000006 
+ 00021342  0x00006b0e rtn 
+ 00021343  0x00006b17 bpatchx  0x0000000c , 0x00004021 
+ 00021344  0x00006b18 arg  0x00000004 , 0x00000039 
+ 00021345  0x00006b19 arg  0x000044ea , 0x00000006 
+ 00021346  0x00006b1a arg  0x00000000 , 0x00000002 
+ 00021347  0x00006b1c ifetch  0x00000003 , 0x00000006 
+ 00021348  0x00006b1d and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00021349  0x00006b1e ior  0x00000002 , 0x00000002 
+ 00021350  0x00006b1f loop  0x00005363 
+ 00021351  0x00006b20 storet  0x00000001 , 0x000044e9 
+ 00021352  0x00006b21 rtn 
+ 00021353  0x00006b25 bpatchx  0x0000000d , 0x00004021 
+ 00021354  0x00006b26 arg  0x0000007f , 0x00000011 
+ 00021355  0x00006b27 call  0x000052fb 
+ 00021356  0x00006b28 store  0x00000002 , 0x0000031c 
+ 00021357  0x00006b29 increase  0x00000004 , 0x0000003f 
+ 00021358  0x00006b2a store  0x00000002 , 0x0000031e 
+ 00021359  0x00006b2b setarg  0x00000000 
+ 00021360  0x00006b2c store  0x00000002 , 0x00000320 
+ 00021361  0x00006b2d rtn 
+ 00021362  0x00006b30 fetch  0x00000002 , 0x0000031c 
+ 00021363  0x00006b31 branch  0x00005393 
+ 00021364  0x00006b34 fetch  0x00000002 , 0x0000031e 
+ 00021365  0x00006b35 branch  0x00005393 
+ 00021366  0x00006b39 bpatchx  0x0000000e , 0x00004021 
+ 00021367  0x00006b3a arg  0x000000fa , 0x00000011 
+ 00021368  0x00006b3b call  0x000052fb 
+ 00021369  0x00006b3c store  0x00000002 , 0x00000322 
+ 00021370  0x00006b3d increase  0x00000004 , 0x0000003f 
+ 00021371  0x00006b3e store  0x00000002 , 0x00000324 
+ 00021372  0x00006b3f setarg  0x00000000 
+ 00021373  0x00006b40 store  0x00000002 , 0x00000326 
+ 00021374  0x00006b41 rtn 
+ 00021375  0x00006b44 fetch  0x00000002 , 0x00000322 
+ 00021376  0x00006b45 branch  0x00005393 
+ 00021377  0x00006b48 fetch  0x00000002 , 0x00000324 
+ 00021378  0x00006b49 branch  0x00005393 
+ 00021379  0x00006b4d bpatchx  0x0000000f , 0x00004021 
+ 00021380  0x00006b4e call  0x00007d3b 
+ 00021381  0x00006b4f jam  0x00000001 , 0x00000335 
+ 00021382  0x00006b50 call  0x0000534f 
+ 00021383  0x00006b51 nrtn  0x00000034 
+ 00021384  0x00006b52 arg  0x0000007f , 0x00000011 
+ 00021385  0x00006b53 call  0x000052fb 
+ 00021386  0x00006b54 store  0x00000002 , 0x00000328 
+ 00021387  0x00006b55 increase  0x00000004 , 0x0000003f 
+ 00021388  0x00006b56 store  0x00000002 , 0x0000032a 
+ 00021389  0x00006b57 setarg  0x00000000 
+ 00021390  0x00006b58 store  0x00000002 , 0x0000032c 
+ 00021391  0x00006b59 jam  0x00000000 , 0x00000335 
+ 00021392  0x00006b5a branch  0x00007d47 
+ 00021393  0x00006b5d fetch  0x00000002 , 0x00000328 
+ 00021394  0x00006b5e branch  0x00005393 
+ 00021395  0x00006b61 branch  0x0000137c , 0x00000034 
+ 00021396  0x00006b62 copy  0x0000003f , 0x00000005 
+ 00021397  0x00006b63 rtn 
+ 00021398  0x00006b67 bpatchx  0x00000010 , 0x00004022 
+ 00021399  0x00006b68 arg  0x00000000 , 0x00000012 
+ 00021400  0x00006b69 arg  0x000044ea , 0x00000011 
+ 00021401  0x00006b6a increase  0xfffffffe , 0x00000011 
+ 00021402  0x00006b6c increase  0x00000002 , 0x00000011 
+ 00021403  0x00006b6d setarg  0x000044f6 
+ 00021404  0x00006b6e isub  0x00000011 , 0x0000003e 
+ 00021405  0x00006b6f branch  0x000053a6 , 0x00000005 
+ 00021406  0x00006b70 ifetch  0x00000001 , 0x00000011 
+ 00021407  0x00006b71 increase  0x00000001 , 0x00000011 
+ 00021408  0x00006b72 branch  0x0000539a , 0x00000034 
+ 00021409  0x00006b73 ifetcht  0x00000002 , 0x00000011 
+ 00021410  0x00006b74 ifetch  0x00000002 , 0x00000002 
+ 00021411  0x00006b75 iadd  0x00000012 , 0x00000012 
+ 00021412  0x00006b76 increase  0x00000004 , 0x00000012 
+ 00021413  0x00006b77 branch  0x0000539a 
+ 00021414  0x00006b79 copy  0x00000012 , 0x0000003f 
+ 00021415  0x00006b7a rtn 
+ 00021416  0x00006b7e arg  0x0000000c , 0x00000007 
+ 00021417  0x00006b7f branch  0x00001566 
+ 00021418  0x00006b82 arg  0x0000000c , 0x00000007 
+ 00021419  0x00006b83 branch  0x0000156a 
+ 00021420  0x00006b86 bpatchx  0x00000011 , 0x00004022 
+ 00021421  0x00006b87 call  0x0000535f 
+ 00021422  0x00006b88 fetch  0x00000001 , 0x000044e9 
+ 00021423  0x00006b89 rtn  0x00000034 
+ 00021424  0x00006b8a call  0x00005396 
+ 00021425  0x00006b8b arg  0x00000100 , 0x00000002 
+ 00021426  0x00006b8c isub  0x00000002 , 0x0000003e 
+ 00021427  0x00006b8d branch  0x000053a8 , 0x00000002 
+ 00021428  0x00006b8e call  0x000053aa 
+ 00021429  0x00006b8f arg  0x000044f6 , 0x00000005 
+ 00021430  0x00006b90 arg  0x000044ea , 0x00000011 
+ 00021431  0x00006b92 setarg  0x000044f6 
+ 00021432  0x00006b93 isub  0x00000011 , 0x0000003e 
+ 00021433  0x00006b94 rtn  0x00000005 
+ 00021434  0x00006b95 ifetch  0x00000001 , 0x00000011 
+ 00021435  0x00006b96 increase  0x00000001 , 0x00000011 
+ 00021436  0x00006b97 nbranch  0x000053c0 , 0x00000034 
+ 00021437  0x00006b98 istore  0x00000002 , 0x00000005 
+ 00021438  0x00006b99 increase  0x00000002 , 0x00000011 
+ 00021439  0x00006b9a branch  0x000053b7 
+ 00021440  0x00006b9c ifetch  0x00000002 , 0x00000011 
+ 00021441  0x00006b9d increase  0x00000002 , 0x00000011 
+ 00021442  0x00006b9e copy  0x0000003f , 0x00000006 
+ 00021443  0x00006b9f ifetch  0x00000002 , 0x00000006 
+ 00021444  0x00006ba0 istore  0x00000002 , 0x00000005 
+ 00021445  0x00006ba1 copy  0x0000003f , 0x00000039 
+ 00021446  0x00006ba2 increase  0x00000002 , 0x00000039 
+ 00021447  0x00006ba3 call  0x00007dd4 
+ 00021448  0x00006ba4 branch  0x000053b7 
+ 00021449  0x00006ba7 bpatchx  0x00000012 , 0x00004022 
+ 00021450  0x00006ba8 call  0x0000535f 
+ 00021451  0x00006ba9 fetch  0x00000001 , 0x000044e9 
+ 00021452  0x00006baa rtn  0x00000034 
+ 00021453  0x00006bab arg  0x000044eb , 0x00000011 
+ 00021454  0x00006bac increase  0xfffffffd , 0x00000011 
+ 00021455  0x00006bad arg  0x000044f6 , 0x00000006 
+ 00021456  0x00006baf increase  0x00000003 , 0x00000011 
+ 00021457  0x00006bb0 setarg  0x000044f7 
+ 00021458  0x00006bb1 isub  0x00000011 , 0x0000003e 
+ 00021459  0x00006bb2 rtn  0x00000005 
+ 00021460  0x00006bb3 ifetch  0x00000002 , 0x00000006 
+ 00021461  0x00006bb4 branch  0x000053d0 , 0x00000034 
+ 00021462  0x00006bb5 increase  0x00000004 , 0x0000003f 
+ 00021463  0x00006bb6 copy  0x0000003f , 0x00000039 
+ 00021464  0x00006bb7 copy  0x00000006 , 0x00000012 
+ 00021465  0x00006bb8 ifetch  0x00000002 , 0x00000011 
+ 00021466  0x00006bb9 copy  0x0000003f , 0x00000005 
+ 00021467  0x00006bba copy  0x00000012 , 0x00000006 
+ 00021468  0x00006bbb increase  0xfffffffe , 0x00000006 
+ 00021469  0x00006bbc call  0x00007dd4 
+ 00021470  0x00006bbd branch  0x000053d0 
+ 00021471  0x00006bc7 rtn  0x0000002b 
+ 00021472  0x00006bc9 bpatchx  0x00000013 , 0x00004022 
+ 00021473  0x00006bca setarg  0x00000000 
+ 00021474  0x00006bcb store  0x00000001 , 0x00000048 
+ 00021475  0x00006bcc store  0x00000001 , 0x00000055 
+ 00021476  0x00006bcd store  0x00000001 , 0x00000078 
+ 00021477  0x00006bce store  0x00000001 , 0x0000007c 
+ 00021478  0x00006bcf store  0x00000001 , 0x0000415d 
+ 00021479  0x00006bd0 store  0x00000001 , 0x000000bc 
+ 00021480  0x00006bd1 store  0x00000001 , 0x00000877 
+ 00021481  0x00006bd2 store  0x00000003 , 0x00004647 
+ 00021482  0x00006bd3 store  0x00000001 , 0x0000464a 
+ 00021483  0x00006bd4 jam  0x00000000 , 0x00004645 
+ 00021484  0x00006bd5 jam  0x00000000 , 0x0000030c 
+ 00021485  0x00006bd6 jam  0x00000000 , 0x000003ab 
+ 00021486  0x00006bd8 jam  0x00000000 , 0x00000877 
+ 00021487  0x00006bd9 jam  0x00000000 , 0x00000876 
+ 00021488  0x00006bda jam  0x00000000 , 0x000003a5 
+ 00021489  0x00006bdd rtn 
+ 00021490  0x00006be0 bpatchx  0x00000014 , 0x00004022 
+ 00021491  0x00006be1 call  0x00005a82 , 0x00000029 
+ 00021492  0x00006be2 ncall  0x00005a86 , 0x00000029 
+ 00021493  0x00006be3 call  0x00005a3f 
+ 00021494  0x00006be4 nrtn  0x00000034 
+ 00021495  0x00006be5 fetch  0x00000001 , 0x0000004c 
+ 00021496  0x00006be6 rtnbit0  0x00000006 
+ 00021497  0x00006be7 set0  0x00000006 , 0x0000003f 
+ 00021498  0x00006be8 set0  0x00000001 , 0x00000000 
+ 00021499  0x00006be9 store  0x00000001 , 0x0000004c 
+ 00021500  0x00006bea fetch  0x00000001 , 0x000000ce 
+ 00021501  0x00006beb fetcht  0x00000001 , 0x0000004c 
+ 00021502  0x00006bec isolate1  0x00000000 , 0x0000003f 
+ 00021503  0x00006bed setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00021504  0x00006bee storet  0x00000001 , 0x0000004c 
+ 00021505  0x00006bef and_into  0x00000002 , 0x00000002 
+ 00021506  0x00006bf0 storet  0x00000001 , 0x0000007f 
+ 00021507  0x00006bf1 fetcht  0x00000001 , 0x0000004c 
+ 00021508  0x00006bf2 rshift  0x0000003f , 0x0000003f 
+ 00021509  0x00006bf3 store  0x00000001 , 0x0000007d 
+ 00021510  0x00006bf4 bpatchx  0x00000015 , 0x00004022 
+ 00021511  0x00006bf5 fetch  0x00000001 , 0x0000007d 
+ 00021512  0x00006bf6 beq  0x0000007f , 0x00005454 
+ 00021513  0x00006bf7 beq  0x00000003 , 0x000054c0 
+ 00021514  0x00006bf8 beq  0x00000004 , 0x000054d1 
+ 00021515  0x00006bf9 beq  0x0000003c , 0x00005447 
+ 00021516  0x00006bfa beq  0x00000005 , 0x00005443 
+ 00021517  0x00006bfb beq  0x0000000f , 0x000056f7 
+ 00021518  0x00006bfc beq  0x00000010 , 0x00005536 
+ 00021519  0x00006bfd beq  0x00000023 , 0x00005555 
+ 00021520  0x00006bfe beq  0x00000039 , 0x00005710 
+ 00021521  0x00006bff beq  0x00000038 , 0x0000570b 
+ 00021522  0x00006c00 beq  0x00000031 , 0x0000553b 
+ 00021523  0x00006c01 beq  0x00000037 , 0x000055d7 
+ 00021524  0x00006c02 beq  0x00000027 , 0x000055d3 
+ 00021525  0x00006c03 beq  0x00000033 , 0x000055d0 
+ 00021526  0x00006c04 beq  0x00000025 , 0x000055d5 
+ 00021527  0x00006c05 beq  0x00000026 , 0x00005551 
+ 00021528  0x00006c06 beq  0x00000007 , 0x0000554a 
+ 00021529  0x00006c07 beq  0x0000002d , 0x00005541 
+ 00021530  0x00006c08 beq  0x0000002e , 0x00005542 
+ 00021531  0x00006c09 beq  0x00000001 , 0x000055cc 
+ 00021532  0x00006c0a beq  0x00000002 , 0x000055b7 
+ 00021533  0x00006c0b beq  0x00000028 , 0x00005702 
+ 00021534  0x00006c0c beq  0x00000009 , 0x000055ad 
+ 00021535  0x00006c0d beq  0x0000000b , 0x00005574 
+ 00021536  0x00006c0e beq  0x00000008 , 0x00005556 
+ 00021537  0x00006c0f beq  0x0000000c , 0x00005586 
+ 00021538  0x00006c10 beq  0x0000001f , 0x0000554d 
+ 00021539  0x00006c11 beq  0x00000020 , 0x0000554f 
+ 00021540  0x00006c12 beq  0x00000021 , 0x000055f1 
+ 00021541  0x00006c13 beq  0x00000022 , 0x000055f1 
+ 00021542  0x00006c14 beq  0x00000035 , 0x000055f2 
+ 00021543  0x00006c15 beq  0x00000036 , 0x000055f3 
+ 00021544  0x00006c16 beq  0x00000024 , 0x000055f1 
+ 00021545  0x00006c17 beq  0x00000034 , 0x000055f4 
+ 00021546  0x00006c18 beq  0x00000017 , 0x000055fd 
+ 00021547  0x00006c19 beq  0x00000011 , 0x00005617 
+ 00021548  0x00006c1a beq  0x00000012 , 0x00005624 
+ 00021549  0x00006c1b beq  0x00000013 , 0x00005626 
+ 00021550  0x00006c1c beq  0x0000000d , 0x00005636 
+ 00021551  0x00006c1d beq  0x0000000e , 0x00005636 
+ 00021552  0x00006c1e beq  0x0000002f , 0x000055d1 
+ 00021553  0x00006c1f beq  0x00000030 , 0x00005636 
+ 00021554  0x00006c20 beq  0x0000000a , 0x00005636 
+ 00021555  0x00006c21 beq  0x00000018 , 0x00005637 
+ 00021556  0x00006c22 beq  0x00000032 , 0x00005636 
+ 00021557  0x00006c23 beq  0x0000003d , 0x0000563c 
+ 00021558  0x00006c24 beq  0x0000003e , 0x00005685 
+ 00021559  0x00006c25 beq  0x0000003f , 0x0000567e 
+ 00021560  0x00006c26 beq  0x00000040 , 0x000056c8 
+ 00021561  0x00006c27 beq  0x00000041 , 0x000056d9 
+ 00021562  0x00006c28 beq  0x00000006 , 0x000056f6 
+ 00021563  0x00006c29 beq  0x0000003a , 0x00005445 
+ 00021564  0x00006c2a beq  0x0000002a , 0x00005441 
+ 00021565  0x00006c2b beq  0x00000029 , 0x00005442 
+ 00021566  0x00006c2f jam  0x00000019 , 0x0000007e 
+ 00021567  0x00006c31 jam  0x00000004 , 0x0000007c 
+ 00021568  0x00006c32 rtn 
+ 00021569  0x00006c35 branch  0x0000554b 
+ 00021570  0x00006c38 rtn 
+ 00021571  0x00006c3b jam  0x00000006 , 0x0000007c 
+ 00021572  0x00006c3c rtn 
+ 00021573  0x00006c3f jam  0x0000003b , 0x0000007c 
+ 00021574  0x00006c40 rtn 
+ 00021575  0x00006c43 fetch  0x00000004 , 0x000000cf 
+ 00021576  0x00006c44 lshift  0x0000003f , 0x0000003f 
+ 00021577  0x00006c45 store  0x00000004 , 0x000040d9 
+ 00021578  0x00006c46 fetch  0x00000001 , 0x000000d3 
+ 00021579  0x00006c47 store  0x00000001 , 0x000040e0 
+ 00021580  0x00006c48 fetch  0x00000005 , 0x000000d4 
+ 00021581  0x00006c49 store  0x00000005 , 0x000040ee 
+ 00021582  0x00006c4a fetch  0x00000005 , 0x000000d9 
+ 00021583  0x00006c4b istore  0x00000005 , 0x00000005 
+ 00021584  0x00006c4c fetch  0x00000001 , 0x00000031 
+ 00021585  0x00006c4d set1  0x00000003 , 0x0000003f 
+ 00021586  0x00006c4e store  0x00000001 , 0x00000031 
+ 00021587  0x00006c4f rtn 
+ 00021588  0x00006c51 bpatchx  0x00000016 , 0x00004022 
+ 00021589  0x00006c52 fetch  0x00000001 , 0x000000cf 
+ 00021590  0x00006c53 set1  0x00000007 , 0x0000003f 
+ 00021591  0x00006c54 store  0x00000001 , 0x0000007d 
+ 00021592  0x00006c55 beq  0x00000081 , 0x00005479 
+ 00021593  0x00006c56 beq  0x00000082 , 0x0000547e 
+ 00021594  0x00006c57 beq  0x00000095 , 0x000055d8 
+ 00021595  0x00006c58 beq  0x00000096 , 0x000055f1 
+ 00021596  0x00006c59 beq  0x0000008b , 0x000055e6 
+ 00021597  0x00006c5a beq  0x00000083 , 0x00005494 
+ 00021598  0x00006c5b beq  0x00000084 , 0x000054b6 
+ 00021599  0x00006c5c beq  0x00000090 , 0x0000546b 
+ 00021600  0x00006c5d beq  0x00000097 , 0x0000548d 
+ 00021601  0x00006c5e beq  0x00000098 , 0x00005492 
+ 00021602  0x00006c5f beq  0x00000099 , 0x0000546e 
+ 00021603  0x00006c60 beq  0x0000009a , 0x00005471 
+ 00021604  0x00006c61 beq  0x000000a1 , 0x00005469 
+ 00021605  0x00006c62 rtneq  0x00000084 
+ 00021606  0x00006c65 jam  0x00000082 , 0x0000007c 
+ 00021607  0x00006c66 jam  0x00000019 , 0x0000007e 
+ 00021608  0x00006c67 rtn 
+ 00021609  0x00006c6a jam  0x000000a2 , 0x0000007c 
+ 00021610  0x00006c6b rtn 
+ 00021611  0x00006c6e jam  0x00000082 , 0x0000007c 
+ 00021612  0x00006c6f jam  0x0000002e , 0x0000007e 
+ 00021613  0x00006c70 rtn 
+ 00021614  0x00006c73 call  0x00005473 
+ 00021615  0x00006c74 jam  0x0000009a , 0x0000007c 
+ 00021616  0x00006c75 rtn 
+ 00021617  0x00006c78 call  0x00005473 
+ 00021618  0x00006c79 branch  0x00005477 
+ 00021619  0x00006c7c arg  0x0000476b , 0x00000005 
+ 00021620  0x00006c7d fetch  0x00000003 , 0x000000d0 
+ 00021621  0x00006c7e istore  0x00000003 , 0x00000005 
+ 00021622  0x00006c7f rtn 
+ 00021623  0x00006c82 branch  0x000070d3 , 0x00000001 
+ 00021624  0x00006c83 rtn 
+ 00021625  0x00006c85 fetch  0x00000001 , 0x000000d1 
+ 00021626  0x00006c86 set1  0x00000007 , 0x0000003f 
+ 00021627  0x00006c87 store  0x00000001 , 0x0000039d 
+ 00021628  0x00006c88 beq  0x0000008b , 0x00005483 
+ 00021629  0x00006c89 rtn 
+ 00021630  0x00006c8d fetch  0x00000001 , 0x000000d1 
+ 00021631  0x00006c8e set1  0x00000007 , 0x0000003f 
+ 00021632  0x00006c8f store  0x00000001 , 0x0000039d 
+ 00021633  0x00006c90 beq  0x0000008b , 0x00005487 
+ 00021634  0x00006c91 rtn 
+ 00021635  0x00006c94 fetch  0x00000001 , 0x0000415f 
+ 00021636  0x00006c95 fetcht  0x00000001 , 0x0000004c 
+ 00021637  0x00006c96 nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00021638  0x00006c97 storet  0x00000001 , 0x0000004c 
+ 00021639  0x00006c99 fetch  0x00000001 , 0x00000030 
+ 00021640  0x00006c9a rtnbit0  0x00000005 
+ 00021641  0x00006c9b set0  0x00000005 , 0x0000003f 
+ 00021642  0x00006c9c store  0x00000001 , 0x00000030 
+ 00021643  0x00006c9d jam  0x00000031 , 0x0000007c 
+ 00021644  0x00006c9e rtn 
+ 00021645  0x00006ca1 nbranch  0x00005490 , 0x00000029 
+ 00021646  0x00006ca2 jam  0x00000012 , 0x0000007c 
+ 00021647  0x00006ca3 branch  0x00005a6e 
+ 00021648  0x00006ca6 jam  0x00000097 , 0x0000007c 
+ 00021649  0x00006ca7 rtn 
+ 00021650  0x00006cac call  0x00005a6e 
+ 00021651  0x00006cad branch  0x0000574d 
+ 00021652  0x00006cb0 ifetch  0x00000001 , 0x00000006 
+ 00021653  0x00006cb1 store  0x00000001 , 0x000003a1 
+ 00021654  0x00006cb2 beq  0x00000001 , 0x00005499 
+ 00021655  0x00006cb3 beq  0x00000002 , 0x0000549e 
+ 00021656  0x00006cb4 rtn 
+ 00021657  0x00006cb7 jam  0x00000084 , 0x0000007c 
+ 00021658  0x00006cb8 increase  0x00000001 , 0x00000006 
+ 00021659  0x00006cb9 ifetch  0x00000001 , 0x00000006 
+ 00021660  0x00006cba bbit1  0x00000003 , 0x000054b0 
+ 00021661  0x00006cbb branch  0x000054b3 
+ 00021662  0x00006cbe jam  0x00000084 , 0x0000007c 
+ 00021663  0x00006cbf increase  0x00000001 , 0x00000006 
+ 00021664  0x00006cc0 ifetch  0x00000002 , 0x00000006 
+ 00021665  0x00006cc1 bbit1  0x00000008 , 0x000054a3 
+ 00021666  0x00006cc2 branch  0x000054ac 
+ 00021667  0x00006cc5 fetch  0x00000001 , 0x0000464a 
+ 00021668  0x00006cc6 set1  0x00000001 , 0x0000003f 
+ 00021669  0x00006cc7 call  0x000054ae 
+ 00021670  0x00006cc9 fetch  0x00000001 , 0x0000464a 
+ 00021671  0x00006cca rtnne  0x00000003 
+ 00021672  0x00006ccb fetch  0x00000001 , 0x000046bb 
+ 00021673  0x00006ccc rtnbit0  0x00000001 
+ 00021674  0x00006ccd jam  0x00000002 , 0x00004648 
+ 00021675  0x00006cce rtn 
+ 00021676  0x00006cd1 fetch  0x00000001 , 0x0000464a 
+ 00021677  0x00006cd2 set0  0x00000001 , 0x0000003f 
+ 00021678  0x00006cd4 store  0x00000001 , 0x0000464a 
+ 00021679  0x00006cd5 rtn 
+ 00021680  0x00006cd8 fetch  0x00000001 , 0x0000464a 
+ 00021681  0x00006cd9 set1  0x00000000 , 0x0000003f 
+ 00021682  0x00006cda branch  0x000054ae 
+ 00021683  0x00006cdd fetch  0x00000001 , 0x0000464a 
+ 00021684  0x00006cde set0  0x00000000 , 0x0000003f 
+ 00021685  0x00006cdf branch  0x000054ae 
+ 00021686  0x00006ce2 fetcht  0x00000001 , 0x000000d2 
+ 00021687  0x00006ce3 and  0x00000002 , 0x00000001 , 0x00000002 
+ 00021688  0x00006ce4 storet  0x00000001 , 0x000003a4 
+ 00021689  0x00006ce5 fetch  0x00000001 , 0x000041db 
+ 00021690  0x00006ce6 bne  0x00000051 , 0x000054bc 
+ 00021691  0x00006ce7 jam  0x00000000 , 0x000041db 
+ 00021692  0x00006ce9 fetch  0x00000001 , 0x00000055 
+ 00021693  0x00006cea rtnne  0x00000015 
+ 00021694  0x00006ceb jam  0x00000004 , 0x00000055 
+ 00021695  0x00006cec branch  0x00005a9e 
+ 00021696  0x00006cef bpatchx  0x00000017 , 0x00004022 
+ 00021697  0x00006cf0 fetch  0x00000001 , 0x000000cf 
+ 00021698  0x00006cf1 store  0x00000001 , 0x0000039d 
+ 00021699  0x00006cf2 beq  0x00000033 , 0x000054e7 
+ 00021700  0x00006cf3 beq  0x00000008 , 0x000054f6 
+ 00021701  0x00006cf4 beq  0x0000000f , 0x000054fd 
+ 00021702  0x00006cf5 beq  0x00000010 , 0x00005503 
+ 00021703  0x00006cf6 beq  0x00000011 , 0x00005504 
+ 00021704  0x00006cf7 beq  0x00000012 , 0x0000550c 
+ 00021705  0x00006cf8 beq  0x00000018 , 0x00005525 
+ 00021706  0x00006cf9 beq  0x00000017 , 0x00005528 
+ 00021707  0x00006cfa beq  0x00000013 , 0x000054de 
+ 00021708  0x00006cfc beq  0x0000003d , 0x00005651 
+ 00021709  0x00006cfd beq  0x0000003e , 0x000056b2 
+ 00021710  0x00006cfe beq  0x00000040 , 0x00005653 
+ 00021711  0x00006cff beq  0x00000041 , 0x00005670 
+ 00021712  0x00006d00 rtn 
+ 00021713  0x00006d03 bpatchx  0x00000018 , 0x00004023 
+ 00021714  0x00006d04 fetch  0x00000001 , 0x000000cf 
+ 00021715  0x00006d05 store  0x00000001 , 0x0000039d 
+ 00021716  0x00006d06 beq  0x00000001 , 0x0000551c 
+ 00021717  0x00006d07 beq  0x00000033 , 0x000054f1 
+ 00021718  0x00006d08 beq  0x0000000b , 0x0000550d 
+ 00021719  0x00006d09 beq  0x00000008 , 0x00005513 
+ 00021720  0x00006d0a beq  0x00000013 , 0x000054e1 
+ 00021721  0x00006d0c beq  0x00000040 , 0x0000551d 
+ 00021722  0x00006d0d beq  0x00000041 , 0x00005520 
+ 00021723  0x00006d0e beq  0x00000018 , 0x00005523 
+ 00021724  0x00006d0f beq  0x00000017 , 0x00005534 
+ 00021725  0x00006d10 rtn 
+ 00021726  0x00006d13 jam  0x00000020 , 0x0000095b 
+ 00021727  0x00006d14 call  0x000078dc 
+ 00021728  0x00006d15 branch  0x000009dd 
+ 00021729  0x00006d18 jam  0x00000019 , 0x0000095b 
+ 00021730  0x00006d19 call  0x000078dc 
+ 00021731  0x00006d1a jam  0x00000002 , 0x00004645 
+ 00021732  0x00006d1b setarg  0x00000050 
+ 00021733  0x00006d1c arg  0x00000006 , 0x00000007 
+ 00021734  0x00006d1d branch  0x00007ddb 
+ 00021735  0x00006d23 fetch  0x00000001 , 0x000003a5 
+ 00021736  0x00006d24 set1  0x00000000 , 0x0000003f 
+ 00021737  0x00006d25 store  0x00000001 , 0x000003a5 
+ 00021738  0x00006d26 jam  0x00000001 , 0x0000095b 
+ 00021739  0x00006d27 call  0x000078dc 
+ 00021740  0x00006d28 jam  0x0000008b , 0x0000007c 
+ 00021741  0x00006d2c fetch  0x00000001 , 0x00000055 
+ 00021742  0x00006d2d bne  0x00000005 , 0x000053f1 
+ 00021743  0x00006d30 jam  0x00000006 , 0x00000055 
+ 00021744  0x00006d31 rtn 
+ 00021745  0x00006d3a jam  0x0000000b , 0x0000039e 
+ 00021746  0x00006d3b jam  0x00000007 , 0x0000007c 
+ 00021747  0x00006d3d jam  0x00000000 , 0x00000055 
+ 00021748  0x00006d3f branch  0x000053f1 , 0x00000001 
+ 00021749  0x00006d40 rtn 
+ 00021750  0x00006d43 fetch  0x00000001 , 0x000041ca 
+ 00021751  0x00006d44 nrtn  0x00000034 
+ 00021752  0x00006d45 call  0x00000c5c 
+ 00021753  0x00006d46 call  0x0000574b 
+ 00021754  0x00006d47 rtn  0x00000029 
+ 00021755  0x00006d48 set1  0x00000021 , 0x00000000 
+ 00021756  0x00006d49 rtn 
+ 00021757  0x00006d4c nrtn  0x00000029 
+ 00021758  0x00006d4d jam  0x00000010 , 0x0000007c 
+ 00021759  0x00006d4e fetch  0x00000001 , 0x0000004c 
+ 00021760  0x00006d4f rtnbit0  0x00000002 
+ 00021761  0x00006d50 jam  0x00000012 , 0x0000007c 
+ 00021762  0x00006d51 rtn 
+ 00021763  0x00006d54 branch  0x0000574d 
+ 00021764  0x00006d57 call  0x000057a9 
+ 00021765  0x00006d58 fetch  0x00000001 , 0x00000030 
+ 00021766  0x00006d59 rtnbit1  0x00000004 
+ 00021767  0x00006d5a jam  0x00000031 , 0x0000007c 
+ 00021768  0x00006d5b fetch  0x00000001 , 0x00000055 
+ 00021769  0x00006d5c rtnne  0x0000000a 
+ 00021770  0x00006d5d jam  0x0000000b , 0x00000055 
+ 00021771  0x00006d5e rtn 
+ 00021772  0x00006d68 rtn 
+ 00021773  0x00006d6c fetch  0x00000001 , 0x0000409a 
+ 00021774  0x00006d6d sub  0x0000003f , 0x00000008 , 0x0000003e 
+ 00021775  0x00006d6e call  0x00003e57 , 0x00000005 
+ 00021776  0x00006d6f jam  0x00000007 , 0x0000007c 
+ 00021777  0x00006d70 jam  0x00000013 , 0x0000039e 
+ 00021778  0x00006d71 rtn 
+ 00021779  0x00006d74 fetch  0x00000001 , 0x000000d0 
+ 00021780  0x00006d75 beq  0x00000006 , 0x00005519 
+ 00021781  0x00006d76 rtnne  0x00000018 
+ 00021782  0x00006d77 jam  0x00000018 , 0x0000039e 
+ 00021783  0x00006d78 jam  0x00000007 , 0x0000007c 
+ 00021784  0x00006d79 rtn 
+ 00021785  0x00006d7b jam  0x00000006 , 0x0000039e 
+ 00021786  0x00006d7c jam  0x00000007 , 0x0000007c 
+ 00021787  0x00006d7d rtn 
+ 00021788  0x00006d80 rtn 
+ 00021789  0x00006d83 jam  0x00000000 , 0x00000870 
+ 00021790  0x00006d84 jam  0x00000007 , 0x0000007c 
+ 00021791  0x00006d85 branch  0x000053f1 
+ 00021792  0x00006d88 jam  0x00000000 , 0x00000870 
+ 00021793  0x00006d89 jam  0x00000007 , 0x0000007c 
+ 00021794  0x00006d8a branch  0x000053f1 
+ 00021795  0x00006d8c jam  0x00000024 , 0x0000095b 
+ 00021796  0x00006d8d branch  0x000078dc 
+ 00021797  0x00006d90 jam  0x00000023 , 0x0000095b 
+ 00021798  0x00006d91 call  0x000078dc 
+ 00021799  0x00006d92 branch  0x00000f12 
+ 00021800  0x00006d95 jam  0x00000022 , 0x0000095b 
+ 00021801  0x00006d96 call  0x000078dc 
+ 00021802  0x00006d97 setarg  0x00000000 
+ 00021803  0x00006d98 store  0x00000002 , 0x00000075 
+ 00021804  0x00006d99 fetch  0x00000002 , 0x00004455 
+ 00021805  0x00006d9a lshift  0x0000003f , 0x0000003f 
+ 00021806  0x00006d9b store  0x00000002 , 0x00000032 
+ 00021807  0x00006d9c fetch  0x00000001 , 0x00004457 
+ 00021808  0x00006d9d store  0x00000001 , 0x00000073 
+ 00021809  0x00006d9e fetch  0x00000001 , 0x00004459 
+ 00021810  0x00006d9f store  0x00000001 , 0x00000074 
+ 00021811  0x00006da0 branch  0x00000ef1 
+ 00021812  0x00006da3 jam  0x00000021 , 0x0000095b 
+ 00021813  0x00006da4 branch  0x000078dc 
+ 00021814  0x00006da7 fetcht  0x00000001 , 0x000000cf 
+ 00021815  0x00006da8 sub  0x00000002 , 0x00000006 , 0x0000003e 
+ 00021816  0x00006da9 branch  0x000056ec , 0x00000002 
+ 00021817  0x00006daa storet  0x00000001 , 0x00000054 
+ 00021818  0x00006dab branch  0x0000554b 
+ 00021819  0x00006dae fetch  0x00000001 , 0x000003a5 
+ 00021820  0x00006daf set1  0x00000002 , 0x0000003f 
+ 00021821  0x00006db0 store  0x00000001 , 0x000003a5 
+ 00021822  0x00006db1 rtnbit1  0x00000003 
+ 00021823  0x00006db2 jam  0x00000031 , 0x0000007c 
+ 00021824  0x00006db3 branch  0x000053f1 
+ 00021825  0x00006db8 rtn 
+ 00021826  0x00006dbb fetch  0x00000001 , 0x000040d7 
+ 00021827  0x00006dbc fetcht  0x00000001 , 0x000000cf 
+ 00021828  0x00006dbd isub  0x00000002 , 0x0000003e 
+ 00021829  0x00006dbf branch  0x0000554b , 0x00000002 
+ 00021830  0x00006dc0 jam  0x00000004 , 0x0000007c 
+ 00021831  0x00006dc1 jam  0x0000001f , 0x0000007e 
+ 00021832  0x00006dc2 jam  0x0000002e , 0x0000007d 
+ 00021833  0x00006dc3 rtn 
+ 00021834  0x00006dc6 branch  0x000058c0 
+ 00021835  0x00006dc9 jam  0x00000003 , 0x0000007c 
+ 00021836  0x00006dca rtn 
+ 00021837  0x00006dcd jam  0x00000021 , 0x0000007c 
+ 00021838  0x00006dce rtn 
+ 00021839  0x00006dd1 jam  0x00000022 , 0x0000007c 
+ 00021840  0x00006dd2 rtn 
+ 00021841  0x00006dd5 fetch  0x00000001 , 0x00000055 
+ 00021842  0x00006dd6 rtneq  0x00000013 
+ 00021843  0x00006dd8 jam  0x00000002 , 0x00000055 
+ 00021844  0x00006dda rtn 
+ 00021845  0x00006dde rtn 
+ 00021846  0x00006de1 fetch  0x00000001 , 0x000046b9 
+ 00021847  0x00006de2 nbranch  0x0000555f , 0x00000034 
+ 00021848  0x00006de4 call  0x00005748 
+ 00021849  0x00006de5 jam  0x00000001 , 0x000003a8 
+ 00021850  0x00006de6 jam  0x0000000a , 0x0000095b 
+ 00021851  0x00006de7 call  0x000078dc 
+ 00021852  0x00006de9 call  0x00005a76 
+ 00021853  0x00006dea nbranch  0x00005750 , 0x00000001 
+ 00021854  0x00006deb nbranch  0x00005563 , 0x00000029 
+ 00021855  0x00006ded jam  0x00000004 , 0x0000007c 
+ 00021856  0x00006dee jam  0x00000008 , 0x0000007d 
+ 00021857  0x00006def jam  0x00000023 , 0x0000007e 
+ 00021858  0x00006df0 rtn 
+ 00021859  0x00006df3 fetch  0x00000001 , 0x0000004b 
+ 00021860  0x00006df4 set1  0x00000002 , 0x0000003f 
+ 00021861  0x00006df5 store  0x00000001 , 0x0000004b 
+ 00021862  0x00006df6 rtn 
+ 00021863  0x00006dfa fetcht  0x00000001 , 0x0000004c 
+ 00021864  0x00006dfb nsetflag  0x00000034 , 0x00000001 , 0x00000002 
+ 00021865  0x00006dfc storet  0x00000001 , 0x0000004c 
+ 00021866  0x00006dfd rtn 
+ 00021867  0x00006e01 fetch  0x00000001 , 0x0000007f 
+ 00021868  0x00006e02 rshift  0x0000003f , 0x0000003f 
+ 00021869  0x00006e03 and_into  0x00000001 , 0x0000003f 
+ 00021870  0x00006e04 rtn 
+ 00021871  0x00006e07 fetch  0x00000001 , 0x0000448b 
+ 00021872  0x00006e08 rtn  0x00000034 
+ 00021873  0x00006e09 fetch  0x00000001 , 0x00000877 
+ 00021874  0x00006e0a call  0x000060af , 0x00000034 
+ 00021875  0x00006e0b rtn 
+ 00021876  0x00006e0e call  0x0000556f 
+ 00021877  0x00006e0f call  0x0000556b 
+ 00021878  0x00006e10 store  0x00000001 , 0x000003a9 
+ 00021879  0x00006e11 fetch  0x00000001 , 0x00004648 
+ 00021880  0x00006e12 beq  0x00000002 , 0x00005581 
+ 00021881  0x00006e13 call  0x00005748 
+ 00021882  0x00006e14 jam  0x0000000c , 0x0000007c 
+ 00021883  0x00006e16 fetch  0x00000001 , 0x000041ca 
+ 00021884  0x00006e17 nrtn  0x00000034 
+ 00021885  0x00006e18 fetch  0x00000001 , 0x00000030 
+ 00021886  0x00006e19 rtnbit1  0x00000006 
+ 00021887  0x00006e1a jam  0x00000006 , 0x0000007e 
+ 00021888  0x00006e1b branch  0x0000543f 
+ 00021889  0x00006e1e jam  0x0000000b , 0x0000007c 
+ 00021890  0x00006e1f arg  0x000008f0 , 0x00000005 
+ 00021891  0x00006e20 arg  0x000000cf , 0x00000006 
+ 00021892  0x00006e21 call  0x00007d7f 
+ 00021893  0x00006e22 branch  0x0000557b 
+ 00021894  0x00006e26 fetch  0x00000001 , 0x00004648 
+ 00021895  0x00006e27 beq  0x00000002 , 0x00005596 
+ 00021896  0x00006e29 arg  0x00000040 , 0x00000011 
+ 00021897  0x00006e2a call  0x00006ba6 
+ 00021898  0x00006e2b fetcht  0x00000004 , 0x00000454 
+ 00021899  0x00006e2c fetch  0x00000004 , 0x000000cf 
+ 00021900  0x00006e2d isub  0x00000002 , 0x0000003e 
+ 00021901  0x00006e2e branch  0x00005591 , 0x00000005 
+ 00021902  0x00006e30 jam  0x00000007 , 0x0000007c 
+ 00021903  0x00006e31 jam  0x00000005 , 0x0000039e 
+ 00021904  0x00006e32 rtn 
+ 00021905  0x00006e35 call  0x00006ca4 
+ 00021906  0x00006e36 call  0x0000559f 
+ 00021907  0x00006e37 fetch  0x00000001 , 0x00004767 
+ 00021908  0x00006e38 branch  0x00005671 , 0x00000034 
+ 00021909  0x00006e39 rtn 
+ 00021910  0x00006e3c fetch  0x00000004 , 0x000000cf 
+ 00021911  0x00006e3d fetcht  0x00000004 , 0x0000091c 
+ 00021912  0x00006e3e isub  0x00000002 , 0x0000003e 
+ 00021913  0x00006e3f branch  0x0000559b , 0x00000005 
+ 00021914  0x00006e40 branch  0x0000558e 
+ 00021915  0x00006e43 call  0x0000559f 
+ 00021916  0x00006e44 fetch  0x00000001 , 0x000046bb 
+ 00021917  0x00006e45 bbit1  0x00000001 , 0x00005671 
+ 00021918  0x00006e46 rtn 
+ 00021919  0x00006e4a call  0x000009b4 
+ 00021920  0x00006e4b fetch  0x00000001 , 0x0000004b 
+ 00021921  0x00006e4c isolate1  0x00000001 , 0x0000003f 
+ 00021922  0x00006e4d set0  0x00000001 , 0x0000003f 
+ 00021923  0x00006e4e store  0x00000001 , 0x0000004b 
+ 00021924  0x00006e4f fetch  0x00000001 , 0x00000055 
+ 00021925  0x00006e50 beq  0x00000019 , 0x000055a8 
+ 00021926  0x00006e51 beq  0x00000018 , 0x000055a8 
+ 00021927  0x00006e52 rtn 
+ 00021928  0x00006e54 fetch  0x00000001 , 0x00000877 
+ 00021929  0x00006e55 rtnne  0x00000000 
+ 00021930  0x00006e56 fetch  0x00000001 , 0x0000004c 
+ 00021931  0x00006e57 rtnbit1  0x00000002 
+ 00021932  0x00006e58 branch  0x00005b35 
+ 00021933  0x00006e5b arg  0x000000cf , 0x00000011 
+ 00021934  0x00006e5c arg  0x00000444 , 0x00000012 
+ 00021935  0x00006e5d arg  0x00000424 , 0x00000005 
+ 00021936  0x00006e5e call  0x00006c70 
+ 00021937  0x00006e5f arg  0x00000040 , 0x00000011 
+ 00021938  0x00006e60 call  0x00005a94 
+ 00021939  0x00006e61 jam  0x0000000b , 0x0000007c 
+ 00021940  0x00006e62 fetch  0x00000001 , 0x00000030 
+ 00021941  0x00006e63 bbit0  0x00000006 , 0x0000574b 
+ 00021942  0x00006e64 rtn 
+ 00021943  0x00006e67 fetch  0x00000002 , 0x000000ae 
+ 00021944  0x00006e68 add  0x0000003f , 0xfffffffd , 0x00000039 
+ 00021945  0x00006e69 fetcht  0x00000001 , 0x000000cf 
+ 00021946  0x00006e6a setarg  0x00000a01 
+ 00021947  0x00006e6b iadd  0x00000002 , 0x00000005 
+ 00021948  0x00006e6c arg  0x000000d1 , 0x00000006 
+ 00021949  0x00006e6d call  0x00007dd4 
+ 00021950  0x00006e6e fetcht  0x00000001 , 0x00000053 
+ 00021951  0x00006e6f fetch  0x00000001 , 0x000000d0 
+ 00021952  0x00006e70 isub  0x00000002 , 0x0000003f 
+ 00021953  0x00006e71 sub  0x0000003f , 0x0000000e , 0x0000003e 
+ 00021954  0x00006e72 branch  0x000055c7 , 0x00000002 
+ 00021955  0x00006e73 add  0x00000002 , 0x0000000e , 0x0000003f 
+ 00021956  0x00006e74 store  0x00000001 , 0x00000053 
+ 00021957  0x00006e75 jam  0x00000001 , 0x0000007c 
+ 00021958  0x00006e76 rtn 
+ 00021959  0x00006e78 fetch  0x00000001 , 0x0000004c 
+ 00021960  0x00006e79 set1  0x00000003 , 0x0000003f 
+ 00021961  0x00006e7a store  0x00000001 , 0x0000004c 
+ 00021962  0x00006e7b bbit1  0x00000004 , 0x00005755 
+ 00021963  0x00006e7c rtn 
+ 00021964  0x00006e7e fetch  0x00000001 , 0x000000cf 
+ 00021965  0x00006e7f store  0x00000001 , 0x0000007d 
+ 00021966  0x00006e80 jam  0x00000002 , 0x0000007c 
+ 00021967  0x00006e81 rtn 
+ 00021968  0x00006e84 branch  0x0000554b 
+ 00021969  0x00006e87 jam  0x00000030 , 0x0000007c 
+ 00021970  0x00006e88 rtn 
+ 00021971  0x00006e8b jam  0x00000028 , 0x0000007c 
+ 00021972  0x00006e8c rtn 
+ 00021973  0x00006e8f jam  0x00000026 , 0x0000007c 
+ 00021974  0x00006e90 rtn 
+ 00021975  0x00006e95 rtn 
+ 00021976  0x00006e9a fetch  0x00000002 , 0x00000032 
+ 00021977  0x00006e9b iforce  0x00000002 
+ 00021978  0x00006e9c fetch  0x00000001 , 0x000000d0 
+ 00021979  0x00006e9d store  0x00000001 , 0x00000092 
+ 00021980  0x00006e9e imul32  0x00000002 , 0x00000002 
+ 00021981  0x00006e9f fetch  0x00000002 , 0x000000d1 
+ 00021982  0x00006ea0 lshift  0x0000003f , 0x0000003f 
+ 00021983  0x00006ea1 store  0x00000002 , 0x00000093 
+ 00021984  0x00006ea2 fetch  0x00000004 , 0x000000d3 
+ 00021985  0x00006ea3 lshift  0x0000003f , 0x0000003f 
+ 00021986  0x00006ea4 store  0x00000004 , 0x0000008e 
+ 00021987  0x00006ea6 deposit  0x00000002 
+ 00021988  0x00006ea7 store  0x00000002 , 0x00000095 
+ 00021989  0x00006ea8 rtn 
+ 00021990  0x00006eaa fetcht  0x00000001 , 0x0000415f 
+ 00021991  0x00006eab fetch  0x00000001 , 0x000000d0 
+ 00021992  0x00006eac ixor  0x00000002 , 0x0000003e 
+ 00021993  0x00006ead nbranch  0x00005466 , 0x00000005 
+ 00021994  0x00006eae isolate1  0x00000000 , 0x0000003f 
+ 00021995  0x00006eaf fetch  0x00000001 , 0x0000004c 
+ 00021996  0x00006eb0 setflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00021997  0x00006eb1 store  0x00000001 , 0x0000004c 
+ 00021998  0x00006eb2 jam  0x00000081 , 0x0000007c 
+ 00021999  0x00006eb3 jam  0x0000008b , 0x0000007d 
+ 00022000  0x00006eb4 rtn 
+ 00022001  0x00006ebb rtn 
+ 00022002  0x00006ebe branch  0x0000554b 
+ 00022003  0x00006ec2 branch  0x0000554b 
+ 00022004  0x00006ec7 fetch  0x00000002 , 0x000000cf 
+ 00022005  0x00006ec8 store  0x00000002 , 0x000000c0 
+ 00022006  0x00006ec9 rtn 
+ 00022007  0x00006ecc fetch  0x00000002 , 0x000000d2 
+ 00022008  0x00006ecd fetcht  0x00000001 , 0x00004177 
+ 00022009  0x00006ece imul32  0x00000002 , 0x0000003f 
+ 00022010  0x00006ecf arg  0x00000640 , 0x00000002 
+ 00022011  0x00006ed0 isub  0x00000002 , 0x0000003e 
+ 00022012  0x00006ed2 rtn 
+ 00022013  0x00006ed5 fetch  0x00000002 , 0x000000d4 
+ 00022014  0x00006ed6 branch  0x000056ec , 0x00000034 
+ 00022015  0x00006ed7 call  0x000055f7 
+ 00022016  0x00006ed8 branch  0x000056ec , 0x00000002 
+ 00022017  0x00006ed9 fetch  0x00000001 , 0x0000409a 
+ 00022018  0x00006eda sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00022019  0x00006edb call  0x00003c4c , 0x00000005 
+ 00022020  0x00006edc fetch  0x00000001 , 0x00000030 
+ 00022021  0x00006edd bbit1  0x00000001 , 0x000056ec 
+ 00022022  0x00006ede fetch  0x00000002 , 0x000000d0 
+ 00022023  0x00006edf lshift  0x0000003f , 0x0000003f 
+ 00022024  0x00006ee0 store  0x00000002 , 0x00000075 
+ 00022025  0x00006ee1 fetch  0x00000002 , 0x000000d2 
+ 00022026  0x00006ee2 lshift  0x0000003f , 0x0000003f 
+ 00022027  0x00006ee3 store  0x00000002 , 0x00000032 
+ 00022028  0x00006ee4 fetch  0x00000002 , 0x000000d4 
+ 00022029  0x00006ee5 store  0x00000001 , 0x00000073 
+ 00022030  0x00006ee6 iforce  0x00000002 
+ 00022031  0x00006ee7 fetch  0x00000002 , 0x000000d6 
+ 00022032  0x00006ee8 store  0x00000001 , 0x00000074 
+ 00022033  0x00006ee9 isub  0x00000002 , 0x0000003e 
+ 00022034  0x00006eea nbranch  0x00005614 , 0x00000002 
+ 00022035  0x00006eeb store  0x00000001 , 0x00000073 
+ 00022036  0x00006eee jam  0x00000003 , 0x0000007c 
+ 00022037  0x00006eef jam  0x00000017 , 0x0000007d 
+ 00022038  0x00006ef0 rtn 
+ 00022039  0x00006ef3 fetch  0x00000001 , 0x00004648 
+ 00022040  0x00006ef4 beq  0x00000002 , 0x0000561d 
+ 00022041  0x00006ef5 call  0x0000554b 
+ 00022042  0x00006ef6 call  0x00005748 
+ 00022043  0x00006ef7 call  0x00006ba9 
+ 00022044  0x00006ef8 branch  0x00000ee1 
+ 00022045  0x00006efb call  0x0000554b 
+ 00022046  0x00006efd call  0x00000ee1 
+ 00022047  0x00006eff call  0x00007537 
+ 00022048  0x00006f00 arg  0x00000062 , 0x00000005 
+ 00022049  0x00006f01 arg  0x00000910 , 0x00000006 
+ 00022050  0x00006f02 arg  0x00000010 , 0x00000039 
+ 00022051  0x00006f03 branch  0x00007ed9 
+ 00022052  0x00006f06 call  0x0000554b 
+ 00022053  0x00006f07 branch  0x00000eeb 
+ 00022054  0x00006f0b fetch  0x00000004 , 0x000000cf 
+ 00022055  0x00006f0c lshift  0x0000003f , 0x0000003f 
+ 00022056  0x00006f0e branch  0x00005630 , 0x00000029 
+ 00022057  0x00006f0f fetcht  0x00000001 , 0x000041ca 
+ 00022058  0x00006f10 nbranch  0x0000562d , 0x00000034 
+ 00022059  0x00006f12 jam  0x00000013 , 0x0000007d 
+ 00022060  0x00006f13 branch  0x000056ec 
+ 00022061  0x00006f16 jam  0x00000034 , 0x0000007c 
+ 00022062  0x00006f17 jam  0x00000000 , 0x00000055 
+ 00022063  0x00006f18 branch  0x000009db 
+ 00022064  0x00006f1b call  0x000009db 
+ 00022065  0x00006f1c set1  0x00000022 , 0x00000000 
+ 00022066  0x00006f1d fetch  0x00000001 , 0x000000bc 
+ 00022067  0x00006f1e set0  0x00000002 , 0x0000003f 
+ 00022068  0x00006f1f store  0x00000001 , 0x000000bc 
+ 00022069  0x00006f20 branch  0x0000554b 
+ 00022070  0x00006f29 rtn 
+ 00022071  0x00006f2d jam  0x00000003 , 0x0000007c 
+ 00022072  0x00006f2e jam  0x00000018 , 0x0000007d 
+ 00022073  0x00006f2f jam  0x0000002e , 0x0000095b 
+ 00022074  0x00006f30 call  0x000078dc 
+ 00022075  0x00006f31 branch  0x00000f12 
+ 00022076  0x00006f34 jam  0x00000000 , 0x00000879 
+ 00022077  0x00006f35 fetch  0x00000001 , 0x000000cf 
+ 00022078  0x00006f36 store  0x00000001 , 0x00004647 
+ 00022079  0x00006f37 bne  0x00000001 , 0x000056ec 
+ 00022080  0x00006f38 fetcht  0x00000001 , 0x000000d0 
+ 00022081  0x00006f39 storet  0x00000001 , 0x00004648 
+ 00022082  0x00006f3b fetch  0x00000001 , 0x000046b9 
+ 00022083  0x00006f3c branch  0x00005646 , 0x00000034 
+ 00022084  0x00006f3d sub  0x00000002 , 0x00000002 , 0x0000003e 
+ 00022085  0x00006f3e nbranch  0x0000558e , 0x00000005 
+ 00022086  0x00006f40 fetch  0x00000001 , 0x000000d1 
+ 00022087  0x00006f41 beq  0x00000040 , 0x0000564a 
+ 00022088  0x00006f42 beq  0x00000030 , 0x0000564a 
+ 00022089  0x00006f43 branch  0x000056ec 
+ 00022090  0x00006f46 store  0x00000001 , 0x00004649 
+ 00022091  0x00006f47 call  0x00005a7f 
+ 00022092  0x00006f48 branch  0x0000564e , 0x00000001 
+ 00022093  0x00006f49 jam  0x00000001 , 0x00000870 
+ 00022094  0x00006f4b jam  0x00000003 , 0x0000007c 
+ 00022095  0x00006f4c jam  0x0000003d , 0x0000007d 
+ 00022096  0x00006f4d branch  0x000053f1 
+ 00022097  0x00006f53 jam  0x0000003e , 0x0000007c 
+ 00022098  0x00006f55 rtn 
+ 00022099  0x00006f57 fetch  0x00000001 , 0x0000476f 
+ 00022100  0x00006f58 beq  0x00000001 , 0x0000565a 
+ 00022101  0x00006f59 beq  0x00000002 , 0x0000565e 
+ 00022102  0x00006f5b call  0x00005a7f 
+ 00022103  0x00006f5c rtn  0x00000001 
+ 00022104  0x00006f5d jam  0x00000008 , 0x00000870 
+ 00022105  0x00006f5e rtn 
+ 00022106  0x00006f61 call  0x0000735d 
+ 00022107  0x00006f62 jam  0x00000035 , 0x0000095b 
+ 00022108  0x00006f63 call  0x000078dc 
+ 00022109  0x00006f64 branch  0x00005656 
+ 00022110  0x00006f68 call  0x00005a7f 
+ 00022111  0x00006f69 rtn  0x00000001 
+ 00022112  0x00006f6a fetch  0x00000001 , 0x00004770 
+ 00022113  0x00006f6b beq  0x00000013 , 0x0000566e 
+ 00022114  0x00006f6c increase  0x00000001 , 0x0000003f 
+ 00022115  0x00006f6d store  0x00000001 , 0x00004770 
+ 00022116  0x00006f71 jam  0x00000001 , 0x00000872 
+ 00022117  0x00006f72 jam  0x00000004 , 0x00000870 
+ 00022118  0x00006f73 fetch  0x00000001 , 0x00004770 
+ 00022119  0x00006f74 copy  0x0000003f , 0x00000007 
+ 00022120  0x00006f75 fetch  0x00000006 , 0x00004797 
+ 00022121  0x00006f76 qisolate1  0x0000003f 
+ 00022122  0x00006f77 setarg  0x00000080 
+ 00022123  0x00006f78 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00022124  0x00006f79 store  0x00000001 , 0x00004771 
+ 00022125  0x00006f7a rtn 
+ 00022126  0x00006f7d jam  0x00000008 , 0x00000870 
+ 00022127  0x00006f7e rtn 
+ 00022128  0x00006f81 call  0x00005676 
+ 00022129  0x00006f83 fetch  0x00000001 , 0x00004772 
+ 00022130  0x00006f84 rtn  0x00000034 
+ 00022131  0x00006f85 jam  0x00000000 , 0x00004772 
+ 00022132  0x00006f86 jam  0x00000038 , 0x0000095b 
+ 00022133  0x00006f87 branch  0x000078dc 
+ 00022134  0x00006f8b call  0x00005a7f 
+ 00022135  0x00006f8c ncall  0x00007367 , 0x00000001 
+ 00022136  0x00006f8d call  0x00007377 , 0x00000001 
+ 00022137  0x00006f8e call  0x00005a7f 
+ 00022138  0x00006f8f rtn  0x00000001 
+ 00022139  0x00006f90 jam  0x0000000c , 0x00000870 
+ 00022140  0x00006f91 jam  0x00000001 , 0x00000872 
+ 00022141  0x00006f92 rtn 
+ 00022142  0x00006f95 arg  0x00000930 , 0x00000005 
+ 00022143  0x00006f96 arg  0x000000cf , 0x00000006 
+ 00022144  0x00006f97 call  0x00007d7f 
+ 00022145  0x00006f98 fetch  0x00000001 , 0x0000476f 
+ 00022146  0x00006f99 rtneq  0x00000002 
+ 00022147  0x00006f9a branch  0x000070d3 
+ 00022148  0x00006f9b rtn 
+ 00022149  0x00006f9e fetch  0x00000001 , 0x00004648 
+ 00022150  0x00006f9f beq  0x00000001 , 0x0000569b 
+ 00022151  0x00006fa0 beq  0x00000002 , 0x00005689 
+ 00022152  0x00006fa1 branch  0x000056ec 
+ 00022153  0x00006fa4 fetch  0x00000001 , 0x00000871 
+ 00022154  0x00006fa5 beq  0x00000007 , 0x0000568d 
+ 00022155  0x00006fa6 fetch  0x00000001 , 0x00000870 
+ 00022156  0x00006fa7 bne  0x00000001 , 0x000056ec 
+ 00022157  0x00006fa9 fetch  0x00000001 , 0x00000879 
+ 00022158  0x00006faa sub  0x0000003f , 0x00000030 , 0x00000005 
+ 00022159  0x00006fab nbranch  0x000056ec , 0x00000002 
+ 00022160  0x00006fac arg  0x00000880 , 0x00000005 
+ 00022161  0x00006fad iadd  0x00000005 , 0x00000005 
+ 00022162  0x00006fae fetch  0x00000008 , 0x000000cf 
+ 00022163  0x00006faf istore  0x00000008 , 0x00000005 
+ 00022164  0x00006fb0 fetch  0x00000008 , 0x000000d7 
+ 00022165  0x00006fb1 istore  0x00000008 , 0x00000005 
+ 00022166  0x00006fb2 fetch  0x00000001 , 0x00000879 
+ 00022167  0x00006fb3 increase  0x00000010 , 0x0000003f 
+ 00022168  0x00006fb4 store  0x00000001 , 0x00000879 
+ 00022169  0x00006fb5 bne  0x00000040 , 0x0000554b 
+ 00022170  0x00006fb6 branch  0x000056ac 
+ 00022171  0x00006fb9 fetch  0x00000001 , 0x00000871 
+ 00022172  0x00006fba beq  0x00000007 , 0x0000569f 
+ 00022173  0x00006fbb fetch  0x00000001 , 0x00000870 
+ 00022174  0x00006fbc bne  0x00000001 , 0x000056ec 
+ 00022175  0x00006fbe fetch  0x00000001 , 0x00000879 
+ 00022176  0x00006fbf sub  0x0000003f , 0x00000020 , 0x00000005 
+ 00022177  0x00006fc0 nbranch  0x000056ec , 0x00000002 
+ 00022178  0x00006fc1 arg  0x00000888 , 0x00000005 
+ 00022179  0x00006fc2 iadd  0x00000005 , 0x00000005 
+ 00022180  0x00006fc3 fetch  0x00000008 , 0x000000cf 
+ 00022181  0x00006fc4 istore  0x00000008 , 0x00000005 
+ 00022182  0x00006fc5 fetch  0x00000008 , 0x000000d7 
+ 00022183  0x00006fc6 istore  0x00000008 , 0x00000005 
+ 00022184  0x00006fc7 fetch  0x00000001 , 0x00000879 
+ 00022185  0x00006fc8 increase  0x00000010 , 0x0000003f 
+ 00022186  0x00006fc9 store  0x00000001 , 0x00000879 
+ 00022187  0x00006fca bne  0x00000030 , 0x0000554b 
+ 00022188  0x00006fcc call  0x00005a7f 
+ 00022189  0x00006fcd branch  0x0000554b , 0x00000001 
+ 00022190  0x00006fce jam  0x00000001 , 0x0000087a 
+ 00022191  0x00006fcf jam  0x00000002 , 0x00000870 
+ 00022192  0x00006fd0 jam  0x00000001 , 0x00000872 
+ 00022193  0x00006fd1 branch  0x0000554b 
+ 00022194  0x00006fd5 fetch  0x00000001 , 0x00004648 
+ 00022195  0x00006fd6 beq  0x00000001 , 0x000056b6 
+ 00022196  0x00006fd7 beq  0x00000002 , 0x000056ba 
+ 00022197  0x00006fd8 rtn 
+ 00022198  0x00006fdb fetch  0x00000001 , 0x00000878 
+ 00022199  0x00006fdc beq  0x00000030 , 0x000056be 
+ 00022200  0x00006fdd jam  0x0000003e , 0x0000007c 
+ 00022201  0x00006fde rtn 
+ 00022202  0x00006fe1 fetch  0x00000001 , 0x00000878 
+ 00022203  0x00006fe2 beq  0x00000040 , 0x000056be 
+ 00022204  0x00006fe3 jam  0x0000003e , 0x0000007c 
+ 00022205  0x00006fe4 rtn 
+ 00022206  0x00006fe7 call  0x00005a7f 
+ 00022207  0x00006fe8 branch  0x000056c7 , 0x00000001 
+ 00022208  0x00006fe9 fetch  0x00000001 , 0x0000476f 
+ 00022209  0x00006fea beq  0x00000002 , 0x000056c5 
+ 00022210  0x00006feb jam  0x00000001 , 0x00000872 
+ 00022211  0x00006fec jam  0x00000004 , 0x00000870 
+ 00022212  0x00006fed branch  0x000053f1 
+ 00022213  0x00006ff0 jam  0x00000036 , 0x0000095b 
+ 00022214  0x00006ff1 branch  0x000078dc 
+ 00022215  0x00006ff6 branch  0x000053f1 
+ 00022216  0x00006ff9 fetch  0x00000001 , 0x00000871 
+ 00022217  0x00006ffa beq  0x00000007 , 0x000056cc 
+ 00022218  0x00006ffb fetch  0x00000001 , 0x00000870 
+ 00022219  0x00006ffc bne  0x00000006 , 0x000056ec 
+ 00022220  0x00006ffe arg  0x000008f0 , 0x00000005 
+ 00022221  0x00006fff fetch  0x00000008 , 0x000000cf 
+ 00022222  0x00007000 istore  0x00000008 , 0x00000005 
+ 00022223  0x00007001 fetch  0x00000008 , 0x000000d7 
+ 00022224  0x00007002 istore  0x00000008 , 0x00000005 
+ 00022225  0x00007003 call  0x00005a7f 
+ 00022226  0x00007004 branch  0x000056d6 , 0x00000001 
+ 00022227  0x00007005 jam  0x00000007 , 0x00000870 
+ 00022228  0x00007006 jam  0x00000001 , 0x00000872 
+ 00022229  0x00007007 branch  0x0000554b 
+ 00022230  0x00007009 jam  0x00000004 , 0x00000871 
+ 00022231  0x0000700a branch  0x000070d3 
+ 00022232  0x0000700b branch  0x000056ec 
+ 00022233  0x0000700e fetch  0x00000001 , 0x00000871 
+ 00022234  0x0000700f beq  0x0000000b , 0x000056dd 
+ 00022235  0x00007010 fetch  0x00000001 , 0x00000870 
+ 00022236  0x00007011 bne  0x00000008 , 0x000056ec 
+ 00022237  0x00007013 arg  0x00000920 , 0x00000005 
+ 00022238  0x00007014 arg  0x000000cf , 0x00000006 
+ 00022239  0x00007015 call  0x00007d7f 
+ 00022240  0x00007016 call  0x00005a7f 
+ 00022241  0x00007017 branch  0x000056e9 , 0x00000001 
+ 00022242  0x00007018 fetch  0x00000001 , 0x0000476f 
+ 00022243  0x00007019 beq  0x00000001 , 0x000056ee 
+ 00022244  0x0000701b jam  0x00000000 , 0x0000476e 
+ 00022245  0x0000701c jam  0x00000009 , 0x00000870 
+ 00022246  0x0000701d jam  0x00000001 , 0x00000872 
+ 00022247  0x0000701e jam  0x00000041 , 0x0000007d 
+ 00022248  0x0000701f branch  0x000053f1 
+ 00022249  0x00007022 jam  0x00000009 , 0x00000871 
+ 00022250  0x00007023 jam  0x00000001 , 0x00000873 
+ 00022251  0x00007024 branch  0x000053f1 
+ 00022252  0x00007027 jam  0x00000024 , 0x0000007e 
+ 00022253  0x00007028 branch  0x0000543f 
+ 00022254  0x0000702b fetch  0x00000001 , 0x0000476e 
+ 00022255  0x0000702c bbit1  0x00000007 , 0x000056f3 
+ 00022256  0x0000702d set1  0x00000006 , 0x0000003f 
+ 00022257  0x0000702e store  0x00000001 , 0x0000476e 
+ 00022258  0x0000702f rtn 
+ 00022259  0x00007032 bbit1  0x00000000 , 0x000056e4 
+ 00022260  0x00007033 jam  0x00000000 , 0x0000476e 
+ 00022261  0x00007034 branch  0x000056ec 
+ 00022262  0x00007038 branch  0x000053f1 
+ 00022263  0x0000703b fetch  0x00000001 , 0x000000bc 
+ 00022264  0x0000703c set0  0x00000001 , 0x0000003f 
+ 00022265  0x0000703d store  0x00000001 , 0x000000bc 
+ 00022266  0x0000703e call  0x0000554b 
+ 00022267  0x0000703f nrtn  0x00000029 
+ 00022268  0x00007040 fetch  0x00000001 , 0x000000cf 
+ 00022269  0x00007041 fetcht  0x00000001 , 0x0000004b 
+ 00022270  0x00007042 setflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00022271  0x00007043 nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00022272  0x00007044 storet  0x00000001 , 0x0000004b 
+ 00022273  0x00007045 rtn 
+ 00022274  0x00007048 fetcht  0x00000008 , 0x000000cf 
+ 00022275  0x0000704a fetch  0x00000001 , 0x00000055 
+ 00022276  0x0000704b rtnne  0x00000003 
+ 00022277  0x0000704d fetch  0x00000001 , 0x000000bc 
+ 00022278  0x0000704e bbit0  0x00000004 , 0x00005709 
+ 00022279  0x00007050 jam  0x00000014 , 0x00000055 
+ 00022280  0x00007051 rtn 
+ 00022281  0x00007053 jam  0x00000004 , 0x00000055 
+ 00022282  0x00007054 rtn 
+ 00022283  0x00007056 fetch  0x00000001 , 0x000000e3 
+ 00022284  0x00007057 store  0x00000001 , 0x00000a5b 
+ 00022285  0x00007058 jam  0x00000003 , 0x0000007c 
+ 00022286  0x00007059 jam  0x00000038 , 0x0000007d 
+ 00022287  0x0000705a rtn 
+ 00022288  0x0000705e jam  0x00000003 , 0x0000007c 
+ 00022289  0x0000705f jam  0x00000039 , 0x0000007d 
+ 00022290  0x00007060 force  0x00000009 , 0x00000039 
+ 00022291  0x00007061 arg  0x000000cf , 0x00000006 
+ 00022292  0x00007062 arg  0x00000a52 , 0x00000005 
+ 00022293  0x00007064 ifetch  0x00000001 , 0x00000006 
+ 00022294  0x00007065 xor_into  0x00000055 , 0x0000003f 
+ 00022295  0x00007066 istore  0x00000001 , 0x00000005 
+ 00022296  0x00007067 loop  0x00005715 
+ 00022297  0x00007068 fetch  0x00000001 , 0x00000a52 
+ 00022298  0x00007069 fetcht  0x00000001 , 0x00000a51 
+ 00022299  0x0000706a set0  0x00000007 , 0x00000002 
+ 00022300  0x0000706b set0  0x00000004 , 0x00000002 
+ 00022301  0x0000706c beq  0x000000ff , 0x00005729 
+ 00022302  0x0000706d beq  0x00000000 , 0x00005742 
+ 00022303  0x0000706e beq  0x00000005 , 0x00005736 
+ 00022304  0x0000706f beq  0x00000007 , 0x00005735 
+ 00022305  0x00007070 beq  0x00000006 , 0x00005736 
+ 00022306  0x00007071 beq  0x00000008 , 0x00005735 
+ 00022307  0x00007072 beq  0x00000001 , 0x0000572e 
+ 00022308  0x00007073 beq  0x00000002 , 0x0000572e 
+ 00022309  0x00007074 beq  0x00000003 , 0x0000572e 
+ 00022310  0x00007075 beq  0x00000009 , 0x0000572e 
+ 00022311  0x00007076 beq  0x00000004 , 0x0000572e 
+ 00022312  0x00007077 rtn 
+ 00022313  0x0000707a fetch  0x00000001 , 0x00000a51 
+ 00022314  0x0000707b set1  0x00000003 , 0x0000003f 
+ 00022315  0x0000707c set1  0x00000002 , 0x0000003f 
+ 00022316  0x0000707d store  0x00000001 , 0x00000a51 
+ 00022317  0x0000707e rtn 
+ 00022318  0x00007080 set1  0x00000004 , 0x00000002 
+ 00022319  0x00007081 jam  0x00000005 , 0x000000e4 
+ 00022320  0x00007082 fetch  0x00000002 , 0x00000a59 
+ 00022321  0x00007083 iforce  0x00000039 
+ 00022322  0x00007084 store  0x00000002 , 0x000000ae 
+ 00022323  0x00007085 arg  0x000000ce , 0x00000005 
+ 00022324  0x00007086 call  0x00007e48 
+ 00022325  0x00007088 set1  0x00000007 , 0x00000002 
+ 00022326  0x0000708a set1  0x00000002 , 0x00000002 
+ 00022327  0x0000708b force  0x00000000 , 0x0000003f 
+ 00022328  0x0000708c store  0x00000001 , 0x0000000b 
+ 00022329  0x0000708d store  0x00000002 , 0x000009fa 
+ 00022330  0x0000708e store  0x00000002 , 0x000009fc 
+ 00022331  0x0000708f store  0x00000002 , 0x000009f8 
+ 00022332  0x00007090 store  0x00000002 , 0x000009f6 
+ 00022333  0x00007091 fetch  0x00000001 , 0x00000a53 
+ 00022334  0x00007092 compare  0x00000000 , 0x0000003f , 0x000000ff 
+ 00022335  0x00007093 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00022336  0x00007094 storet  0x00000001 , 0x00000a51 
+ 00022337  0x00007095 rtn 
+ 00022338  0x00007098 set0  0x00000011 , 0x00000000 
+ 00022339  0x00007099 jam  0x00000000 , 0x00000a51 
+ 00022340  0x0000709a fetch  0x00000001 , 0x000000e3 
+ 00022341  0x0000709b set0  0x00000006 , 0x0000003f 
+ 00022342  0x0000709c store  0x00000001 , 0x000000e3 
+ 00022343  0x0000709d rtn 
+ 00022344  0x000070a4 arg  0x000000cf , 0x00000006 
+ 00022345  0x000070a5 arg  0x00000424 , 0x00000005 
+ 00022346  0x000070a6 branch  0x00007d7f 
+ 00022347  0x000070a9 jam  0x00000009 , 0x0000007c 
+ 00022348  0x000070aa rtn 
+ 00022349  0x000070ad nrtn  0x00000029 
+ 00022350  0x000070ae jam  0x00000011 , 0x0000007c 
+ 00022351  0x000070af rtn 
+ 00022352  0x000070b2 arg  0x000040a8 , 0x00000011 
+ 00022353  0x000070b3 call  0x00006b73 
+ 00022354  0x000070b4 jam  0x00000003 , 0x0000007c 
+ 00022355  0x000070b5 jam  0x00000008 , 0x0000007d 
+ 00022356  0x000070b6 rtn 
+ 00022357  0x000070b9 jam  0x0000000a , 0x00000072 
+ 00022358  0x000070ba jam  0x00000007 , 0x0000007c 
+ 00022359  0x000070bb jam  0x00000016 , 0x0000039e 
+ 00022360  0x000070bc rtn 
+ 00022361  0x000070c3 bpatchx  0x00000019 , 0x00004023 
+ 00022362  0x000070c4 disable  0x00000028 
+ 00022363  0x000070c5 call  0x00005a44 
+ 00022364  0x000070c6 fetch  0x00000001 , 0x00000048 
+ 00022365  0x000070c7 rtn  0x00000034 
+ 00022366  0x000070cc bbit1  0x00000007 , 0x0000578e 
+ 00022367  0x000070ce beq  0x00000001 , 0x000058d8 
+ 00022368  0x000070cf beq  0x00000002 , 0x00005859 
+ 00022369  0x000070d0 beq  0x00000003 , 0x0000579a 
+ 00022370  0x000070d1 beq  0x00000004 , 0x000057b0 
+ 00022371  0x000070d2 beq  0x00000027 , 0x00005944 
+ 00022372  0x000070d3 beq  0x00000028 , 0x0000587d 
+ 00022373  0x000070d4 beq  0x00000030 , 0x00005869 
+ 00022374  0x000070d5 beq  0x00000025 , 0x0000593f 
+ 00022375  0x000070d6 beq  0x00000026 , 0x00005878 
+ 00022376  0x000070d7 beq  0x00000031 , 0x0000592c 
+ 00022377  0x000070d8 beq  0x00000037 , 0x000058d3 
+ 00022378  0x000070d9 beq  0x00000033 , 0x000058c5 
+ 00022379  0x000070da beq  0x00000008 , 0x000059c6 
+ 00022380  0x000070db beq  0x00000009 , 0x000059bc 
+ 00022381  0x000070dc beq  0x0000000b , 0x000059d1 
+ 00022382  0x000070dd beq  0x0000000c , 0x000059de 
+ 00022383  0x000070de beq  0x0000000f , 0x000058cb 
+ 00022384  0x000070df beq  0x00000010 , 0x00005a14 
+ 00022385  0x000070e0 beq  0x00000011 , 0x00005a0a 
+ 00022386  0x000070e1 beq  0x00000007 , 0x000058bb 
+ 00022387  0x000070e2 beq  0x0000002a , 0x000058e7 
+ 00022388  0x000070e3 beq  0x0000000a , 0x000058e8 
+ 00022389  0x000070e5 beq  0x0000001f , 0x00005925 
+ 00022390  0x000070e6 beq  0x00000006 , 0x0000586e 
+ 00022391  0x000070e7 beq  0x00000021 , 0x000058c8 
+ 00022392  0x000070e8 beq  0x0000002d , 0x0000591b 
+ 00022393  0x000070e9 beq  0x0000002e , 0x00005920 
+ 00022394  0x000070ea beq  0x00000022 , 0x000058c8 
+ 00022395  0x000070eb beq  0x00000034 , 0x000058e9 
+ 00022396  0x000070ec beq  0x00000013 , 0x000058fe 
+ 00022397  0x000070ed beq  0x00000017 , 0x0000590d 
+ 00022398  0x000070ee beq  0x00000012 , 0x00005a11 
+ 00022399  0x000070ef beq  0x0000002f , 0x00005913 
+ 00022400  0x000070f0 beq  0x00000018 , 0x00005918 
+ 00022401  0x000070f1 beq  0x0000003d , 0x00005967 
+ 00022402  0x000070f2 beq  0x0000003e , 0x0000596f 
+ 00022403  0x000070f3 beq  0x0000003f , 0x0000598a 
+ 00022404  0x000070f4 beq  0x00000040 , 0x00005994 
+ 00022405  0x000070f5 beq  0x00000041 , 0x000059a9 
+ 00022406  0x000070f6 beq  0x00000023 , 0x000059b8 
+ 00022407  0x000070f7 beq  0x0000003b , 0x000059b3 
+ 00022408  0x000070f9 beq  0x00000005 , 0x000059b9 
+ 00022409  0x000070fa beq  0x00000029 , 0x000059ba 
+ 00022410  0x000070fb beq  0x00000038 , 0x000059bb 
+ 00022411  0x000070fc beq  0x00000039 , 0x000058de 
+ 00022412  0x000070fe branch  0x0000137c 
+ 00022413  0x000070ff rtn 
+ 00022414  0x00007101 beq  0x00000081 , 0x000057bd 
+ 00022415  0x00007102 beq  0x00000083 , 0x00005882 
+ 00022416  0x00007103 beq  0x00000084 , 0x000057ec 
+ 00022417  0x00007104 beq  0x00000082 , 0x000057c6 
+ 00022418  0x00007105 beq  0x0000008b , 0x0000588f 
+ 00022419  0x00007106 beq  0x00000097 , 0x000058b7 
+ 00022420  0x00007107 beq  0x00000099 , 0x0000584a 
+ 00022421  0x00007108 beq  0x0000009a , 0x00005819 
+ 00022422  0x00007109 beq  0x00000095 , 0x0000584f 
+ 00022423  0x0000710a beq  0x00000096 , 0x00005850 
+ 00022424  0x0000710b beq  0x000000a2 , 0x000057e9 
+ 00022425  0x0000710c branch  0x0000137c 
+ 00022426  0x00007113 force  0x00000002 , 0x0000003f 
+ 00022427  0x00007114 call  0x00005a1a 
+ 00022428  0x00007115 fetch  0x00000001 , 0x00000049 
+ 00022429  0x00007116 istore  0x00000001 , 0x00000005 
+ 00022430  0x00007117 call  0x00005a29 
+ 00022431  0x00007118 bpatchx  0x0000001a , 0x00004023 
+ 00022432  0x00007119 fetch  0x00000001 , 0x00000049 
+ 00022433  0x0000711a beq  0x00000008 , 0x000057d0 
+ 00022434  0x0000711b beq  0x0000000f , 0x000057d4 
+ 00022435  0x0000711c beq  0x00000010 , 0x000057df 
+ 00022436  0x0000711d beq  0x00000017 , 0x000057af 
+ 00022437  0x0000711e beq  0x00000033 , 0x000057e2 
+ 00022438  0x0000711f beq  0x00000041 , 0x000057e8 
+ 00022439  0x00007120 beq  0x00000011 , 0x000057a9 
+ 00022440  0x00007121 rtn 
+ 00022441  0x00007124 fetch  0x00000001 , 0x00000055 
+ 00022442  0x00007125 rtn  0x00000034 
+ 00022443  0x00007126 jam  0x0000001b , 0x00000055 
+ 00022444  0x00007127 setarg  0x0000000c 
+ 00022445  0x00007128 arg  0x00000007 , 0x00000007 
+ 00022446  0x00007129 branch  0x00007ddb 
+ 00022447  0x0000712c branch  0x00000ef1 
+ 00022448  0x0000712e force  0x00000003 , 0x0000003f 
+ 00022449  0x0000712f call  0x00005a1a 
+ 00022450  0x00007130 fetch  0x00000001 , 0x00000049 
+ 00022451  0x00007131 beq  0x0000000b , 0x000057b8 
+ 00022452  0x00007132 istore  0x00000001 , 0x00000005 
+ 00022453  0x00007133 fetch  0x00000001 , 0x0000004a 
+ 00022454  0x00007134 istore  0x00000001 , 0x00000005 
+ 00022455  0x00007135 branch  0x00005a29 
+ 00022456  0x00007138 istore  0x00000001 , 0x00000005 
+ 00022457  0x00007139 fetch  0x00000001 , 0x0000004a 
+ 00022458  0x0000713a istore  0x00000001 , 0x00000005 
+ 00022459  0x0000713b arg  0x000003a9 , 0x00000002 
+ 00022460  0x0000713c branch  0x00005a65 
+ 00022461  0x0000713f force  0x00000004 , 0x00000007 
+ 00022462  0x00007140 call  0x00005a22 
+ 00022463  0x00007141 setarg  0x0000007f 
+ 00022464  0x00007142 istore  0x00000001 , 0x00000005 
+ 00022465  0x00007143 fetch  0x00000001 , 0x00000049 
+ 00022466  0x00007144 set0  0x00000007 , 0x0000003f 
+ 00022467  0x00007145 istore  0x00000001 , 0x00000005 
+ 00022468  0x00007146 fetch  0x00000001 , 0x00000049 
+ 00022469  0x00007147 branch  0x00005a29 
+ 00022470  0x0000714a force  0x00000005 , 0x00000007 
+ 00022471  0x0000714b call  0x00005a22 
+ 00022472  0x0000714c setarg  0x0000007f 
+ 00022473  0x0000714d istore  0x00000001 , 0x00000005 
+ 00022474  0x0000714e fetch  0x00000001 , 0x00000049 
+ 00022475  0x0000714f set0  0x00000007 , 0x0000003f 
+ 00022476  0x00007150 istore  0x00000001 , 0x00000005 
+ 00022477  0x00007151 fetch  0x00000001 , 0x0000004a 
+ 00022478  0x00007152 istore  0x00000001 , 0x00000005 
+ 00022479  0x00007153 branch  0x00005a29 
+ 00022480  0x00007157 call  0x00000c5c 
+ 00022481  0x00007158 call  0x00005a76 
+ 00022482  0x00007159 rtn  0x00000001 
+ 00022483  0x0000715a branch  0x0000574b 
+ 00022484  0x0000715d fetch  0x00000001 , 0x0000004b 
+ 00022485  0x0000715e bbit1  0x00000005 , 0x000057db 
+ 00022486  0x0000715f rtnbit0  0x00000004 
+ 00022487  0x00007160 jam  0x00000012 , 0x0000007c 
+ 00022488  0x00007161 set0  0x00000004 , 0x0000003f 
+ 00022489  0x00007162 call  0x00005a6e 
+ 00022490  0x00007163 branch  0x000057dd 
+ 00022491  0x00007165 jam  0x00000010 , 0x0000007c 
+ 00022492  0x00007166 set0  0x00000005 , 0x0000003f 
+ 00022493  0x00007168 store  0x00000001 , 0x0000004b 
+ 00022494  0x00007169 rtn 
+ 00022495  0x0000716c call  0x00005a7f 
+ 00022496  0x0000716d branch  0x0000574d , 0x00000001 
+ 00022497  0x0000716e rtn 
+ 00022498  0x00007171 jam  0x0000008b , 0x0000007c 
+ 00022499  0x00007173 fetch  0x00000001 , 0x000003a5 
+ 00022500  0x00007174 set1  0x00000000 , 0x0000003f 
+ 00022501  0x00007175 store  0x00000001 , 0x000003a5 
+ 00022502  0x00007176 jam  0x00000001 , 0x0000095b 
+ 00022503  0x00007177 branch  0x000078dc 
+ 00022504  0x0000717b rtn 
+ 00022505  0x00007181 force  0x00000002 , 0x00000007 
+ 00022506  0x00007182 call  0x00005a22 
+ 00022507  0x00007183 branch  0x00005a32 
+ 00022508  0x00007186 copy  0x0000003f , 0x00000011 
+ 00022509  0x00007187 call  0x00005802 
+ 00022510  0x00007188 fetch  0x00000001 , 0x000003a1 
+ 00022511  0x00007189 beq  0x00000001 , 0x000057f2 
+ 00022512  0x0000718a beq  0x00000002 , 0x000057fa 
+ 00022513  0x0000718b rtn 
+ 00022514  0x0000718e copy  0x00000011 , 0x0000003f 
+ 00022515  0x0000718f force  0x0000000c , 0x00000007 
+ 00022516  0x00007190 call  0x00005a22 
+ 00022517  0x00007191 setarg  0x00000001 
+ 00022518  0x00007192 istore  0x00000001 , 0x00000005 
+ 00022519  0x00007193 fetch  0x00000002 , 0x000003a2 
+ 00022520  0x00007194 istore  0x00000009 , 0x00000005 
+ 00022521  0x00007195 branch  0x00005a32 
+ 00022522  0x00007198 copy  0x00000011 , 0x0000003f 
+ 00022523  0x00007199 force  0x0000000c , 0x00000007 
+ 00022524  0x0000719a call  0x00005a22 
+ 00022525  0x0000719b setarg  0x00000002 
+ 00022526  0x0000719c istore  0x00000001 , 0x00000005 
+ 00022527  0x0000719d setarg  0x00010002 
+ 00022528  0x0000719e istore  0x00000009 , 0x00000005 
+ 00022529  0x0000719f branch  0x00005a32 
+ 00022530  0x000071a2 fetch  0x00000001 , 0x00004767 
+ 00022531  0x000071a3 branch  0x00005806 , 0x00000034 
+ 00022532  0x000071a4 call  0x0000580c 
+ 00022533  0x000071a5 branch  0x00005813 
+ 00022534  0x000071a8 fetch  0x00000001 , 0x000040a6 
+ 00022535  0x000071a9 set0  0x00000003 , 0x0000003f 
+ 00022536  0x000071aa store  0x00000001 , 0x000040a6 
+ 00022537  0x000071ab setarg  0x00000001 
+ 00022538  0x000071ac store  0x00000002 , 0x000003a2 
+ 00022539  0x000071ad branch  0x00006f37 
+ 00022540  0x000071b1 bpatchx  0x0000001b , 0x00004023 
+ 00022541  0x000071b2 fetch  0x00000001 , 0x000040a6 
+ 00022542  0x000071b3 set1  0x00000003 , 0x0000003f 
+ 00022543  0x000071b4 store  0x00000001 , 0x000040a6 
+ 00022544  0x000071b5 setarg  0x00000101 
+ 00022545  0x000071b6 store  0x00000002 , 0x000003a2 
+ 00022546  0x000071b7 rtn 
+ 00022547  0x000071ba fetch  0x00000001 , 0x000046bb 
+ 00022548  0x000071bb bbit1  0x00000001 , 0x00005816 
+ 00022549  0x000071bc rtn 
+ 00022550  0x000071bf setarg  0x00000902 
+ 00022551  0x000071c0 store  0x00000002 , 0x000003a2 
+ 00022552  0x000071c1 rtn 
+ 00022553  0x000071c4 force  0x00000005 , 0x00000007 
+ 00022554  0x000071c5 call  0x00005a22 
+ 00022555  0x000071c6 fetch  0x00000003 , 0x00004768 
+ 00022556  0x000071c7 istore  0x00000003 , 0x00000005 
+ 00022557  0x000071c8 call  0x00005a32 
+ 00022558  0x000071c9 jam  0x00000001 , 0x00004772 
+ 00022559  0x000071ca fetch  0x00000001 , 0x00004768 
+ 00022560  0x000071cb beq  0x00000001 , 0x0000582a 
+ 00022561  0x000071cc beq  0x00000002 , 0x00005824 
+ 00022562  0x000071cd beq  0x00000003 , 0x00005830 
+ 00022563  0x000071ce rtn 
+ 00022564  0x000071d1 fetch  0x00000001 , 0x0000476b 
+ 00022565  0x000071d2 beq  0x00000000 , 0x0000583c 
+ 00022566  0x000071d3 beq  0x00000001 , 0x0000583c 
+ 00022567  0x000071d4 beq  0x00000002 , 0x0000583c 
+ 00022568  0x000071d5 beq  0x00000003 , 0x00005836 
+ 00022569  0x000071d6 rtn 
+ 00022570  0x000071da fetch  0x00000001 , 0x0000476b 
+ 00022571  0x000071db beq  0x00000000 , 0x00005836 
+ 00022572  0x000071dc beq  0x00000001 , 0x0000583a 
+ 00022573  0x000071dd beq  0x00000002 , 0x0000583c 
+ 00022574  0x000071de beq  0x00000003 , 0x00005836 
+ 00022575  0x000071df rtn 
+ 00022576  0x000071e3 fetch  0x00000001 , 0x0000476b 
+ 00022577  0x000071e4 beq  0x00000000 , 0x00005836 
+ 00022578  0x000071e5 beq  0x00000001 , 0x00005836 
+ 00022579  0x000071e6 beq  0x00000002 , 0x00005836 
+ 00022580  0x000071e7 beq  0x00000003 , 0x00005836 
+ 00022581  0x000071e8 rtn 
+ 00022582  0x000071f2 jam  0x00000003 , 0x0000476f 
+ 00022583  0x000071f3 fetch  0x00000001 , 0x00004646 
+ 00022584  0x000071f4 bbit1  0x00000000 , 0x00003268 
+ 00022585  0x000071f5 rtn 
+ 00022586  0x000071f9 jam  0x00000001 , 0x0000476f 
+ 00022587  0x000071fa rtn 
+ 00022588  0x00007201 jam  0x00000002 , 0x0000476f 
+ 00022589  0x00007202 rtn 
+ 00022590  0x00007206 arg  0x00000000 , 0x00000007 
+ 00022591  0x00007207 branch  0x00005842 
+ 00022592  0x0000720a arg  0x00000000 , 0x00000007 
+ 00022593  0x0000720b branch  0x00005846 
+ 00022594  0x0000720e fetch  0x00000001 , 0x00004646 
+ 00022595  0x0000720f qset1  0x0000003f 
+ 00022596  0x00007210 store  0x00000001 , 0x00004646 
+ 00022597  0x00007211 rtn 
+ 00022598  0x00007214 fetch  0x00000001 , 0x00004646 
+ 00022599  0x00007215 qset0  0x0000003f 
+ 00022600  0x00007216 store  0x00000001 , 0x00004646 
+ 00022601  0x00007217 rtn 
+ 00022602  0x0000721b force  0x00000005 , 0x00000007 
+ 00022603  0x0000721c call  0x00005a22 
+ 00022604  0x0000721d fetch  0x00000003 , 0x00004768 
+ 00022605  0x0000721e istore  0x00000003 , 0x00000005 
+ 00022606  0x0000721f branch  0x00005a34 
+ 00022607  0x00007224 rtn 
+ 00022608  0x00007226 force  0x00000009 , 0x00000007 
+ 00022609  0x00007227 call  0x00005a22 
+ 00022610  0x00007228 fetch  0x00000001 , 0x00000092 
+ 00022611  0x00007229 istore  0x00000001 , 0x00000005 
+ 00022612  0x0000722a fetch  0x00000002 , 0x00000093 
+ 00022613  0x0000722b istore  0x00000002 , 0x00000005 
+ 00022614  0x0000722c fetch  0x00000004 , 0x0000008e 
+ 00022615  0x0000722d istore  0x00000004 , 0x00000005 
+ 00022616  0x0000722e branch  0x00005a32 
+ 00022617  0x00007231 force  0x00000011 , 0x0000003f 
+ 00022618  0x00007232 call  0x00005a1a 
+ 00022619  0x00007233 fetch  0x00000001 , 0x00000049 
+ 00022620  0x00007234 copy  0x0000003f , 0x00000002 
+ 00022621  0x00007235 beq  0x00000000 , 0x00005861 
+ 00022622  0x00007236 beq  0x0000000e , 0x00005861 
+ 00022623  0x00007237 beq  0x0000001c , 0x00005861 
+ 00022624  0x00007238 rtn 
+ 00022625  0x0000723a istore  0x00000001 , 0x00000005 
+ 00022626  0x0000723b fetch  0x00000001 , 0x000045ff 
+ 00022627  0x0000723c istore  0x00000001 , 0x00000005 
+ 00022628  0x0000723d arg  0x0000000e , 0x00000039 
+ 00022629  0x0000723e setarg  0x00004600 
+ 00022630  0x0000723f iadd  0x00000002 , 0x00000006 
+ 00022631  0x00007240 call  0x00007dd4 
+ 00022632  0x00007241 branch  0x00005a32 
+ 00022633  0x00007245 force  0x00000003 , 0x0000003f 
+ 00022634  0x00007246 call  0x00005a1a 
+ 00022635  0x00007247 setarg  0x00000114 
+ 00022636  0x00007248 istore  0x00000002 , 0x00000005 
+ 00022637  0x00007249 branch  0x00005a32 
+ 00022638  0x0000724d force  0x00000003 , 0x0000003f 
+ 00022639  0x0000724e call  0x00005a1a 
+ 00022640  0x0000724f fetch  0x00000004 , 0x000000b4 
+ 00022641  0x00007250 isub  0x00000022 , 0x0000003f 
+ 00022642  0x00007251 branch  0x00005874 , 0x00000029 
+ 00022643  0x00007252 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00022644  0x00007255 rshift2  0x0000003f , 0x0000003f 
+ 00022645  0x00007256 set0  0x0000000f , 0x0000003f 
+ 00022646  0x00007257 istore  0x00000002 , 0x00000005 
+ 00022647  0x00007258 branch  0x00005a32 
+ 00022648  0x0000725b force  0x00000006 , 0x0000003f 
+ 00022649  0x0000725c call  0x00005a1a 
+ 00022650  0x0000725d fetch  0x00000005 , 0x000045fa 
+ 00022651  0x0000725e istore  0x00000005 , 0x00000005 
+ 00022652  0x0000725f branch  0x00005a32 
+ 00022653  0x00007262 force  0x00000009 , 0x0000003f 
+ 00022654  0x00007263 call  0x00005a1a 
+ 00022655  0x00007264 fetch  0x00000008 , 0x000040a0 
+ 00022656  0x00007265 istore  0x00000008 , 0x00000005 
+ 00022657  0x00007266 branch  0x00005a32 
+ 00022658  0x0000726e call  0x00005802 
+ 00022659  0x0000726f fetch  0x00000001 , 0x00000048 
+ 00022660  0x00007270 force  0x0000000c , 0x00000007 
+ 00022661  0x00007271 call  0x00005a22 
+ 00022662  0x00007272 setarg  0x00000001 
+ 00022663  0x00007273 istore  0x00000001 , 0x00000005 
+ 00022664  0x00007274 fetch  0x00000002 , 0x000003a2 
+ 00022665  0x00007275 istore  0x00000002 , 0x00000005 
+ 00022666  0x00007276 setarg  0x00000000 
+ 00022667  0x00007277 istore  0x00000003 , 0x00000005 
+ 00022668  0x00007278 setarg  0x00000000 
+ 00022669  0x00007279 istore  0x00000004 , 0x00000005 
+ 00022670  0x0000727a branch  0x00005a34 
+ 00022671  0x0000727d force  0x00000003 , 0x00000007 
+ 00022672  0x0000727e call  0x00005a22 
+ 00022673  0x0000727f fetch  0x00000001 , 0x0000415f 
+ 00022674  0x00007280 istore  0x00000001 , 0x00000005 
+ 00022675  0x00007281 disable  0x00000028 
+ 00022676  0x00007282 call  0x00005a34 
+ 00022677  0x00007283 nrtn  0x00000028 
+ 00022678  0x00007284 nrtn  0x00000029 
+ 00022679  0x00007285 fetch  0x00000001 , 0x000040df 
+ 00022680  0x00007286 rtnbit0  0x00000000 
+ 00022681  0x00007287 call  0x0000589b 
+ 00022682  0x00007288 branch  0x000058a5 
+ 00022683  0x0000728c jam  0x00000003 , 0x000040df 
+ 00022684  0x0000728d setarg  0x00000000 
+ 00022685  0x0000728e store  0x00000004 , 0x00004149 
+ 00022686  0x0000728f arg  0x000040e1 , 0x00000005 
+ 00022687  0x00007290 call  0x000058a9 
+ 00022688  0x00007291 arg  0x000040ee , 0x00000005 
+ 00022689  0x00007292 call  0x000058a9 
+ 00022690  0x00007293 arg  0x0000414d , 0x00000005 
+ 00022691  0x00007294 call  0x000058a9 
+ 00022692  0x00007295 branch  0x000058b0 
+ 00022693  0x00007297 arg  0x000040ee , 0x00000005 
+ 00022694  0x00007298 call  0x000058a9 
+ 00022695  0x00007299 call  0x000058b0 
+ 00022696  0x0000729a branch  0x000058b3 
+ 00022697  0x0000729e setarg  0x00ffffff 
+ 00022698  0x0000729f istore  0x00000003 , 0x00000005 
+ 00022699  0x000072a0 istore  0x00000003 , 0x00000005 
+ 00022700  0x000072a1 istore  0x00000003 , 0x00000005 
+ 00022701  0x000072a2 setarg  0x0000007f 
+ 00022702  0x000072a3 istore  0x00000001 , 0x00000005 
+ 00022703  0x000072a4 rtn 
+ 00022704  0x000072a6 setarg  0x00000000 
+ 00022705  0x000072a7 store  0x00000002 , 0x000040dd 
+ 00022706  0x000072a8 rtn 
+ 00022707  0x000072aa fetch  0x00000001 , 0x000040df 
+ 00022708  0x000072ab set1  0x00000002 , 0x0000003f 
+ 00022709  0x000072ac store  0x00000001 , 0x000040df 
+ 00022710  0x000072ad rtn 
+ 00022711  0x000072b1 force  0x00000002 , 0x00000007 
+ 00022712  0x000072b2 call  0x00005a22 
+ 00022713  0x000072b3 nbranch  0x00005a32 , 0x00000029 
+ 00022714  0x000072b5 branch  0x00005a34 
+ 00022715  0x000072ba force  0x00000002 , 0x0000003f 
+ 00022716  0x000072bb call  0x00005a1a 
+ 00022717  0x000072bc fetch  0x00000001 , 0x0000039e 
+ 00022718  0x000072bd istore  0x00000001 , 0x00000005 
+ 00022719  0x000072be call  0x00005a34 
+ 00022720  0x000072c0 fetch  0x00000001 , 0x0000004b 
+ 00022721  0x000072c1 set1  0x00000003 , 0x0000003f 
+ 00022722  0x000072c2 store  0x00000001 , 0x0000004b 
+ 00022723  0x000072c3 jam  0x00000032 , 0x00000072 
+ 00022724  0x000072c4 rtn 
+ 00022725  0x000072c8 force  0x00000001 , 0x0000003f 
+ 00022726  0x000072c9 call  0x00005a1a 
+ 00022727  0x000072ca branch  0x00005a34 
+ 00022728  0x000072cc force  0x00000001 , 0x0000003f 
+ 00022729  0x000072cd call  0x00005a1a 
+ 00022730  0x000072ce branch  0x00005a32 
+ 00022731  0x000072d2 force  0x00000002 , 0x0000003f 
+ 00022732  0x000072d3 call  0x00005a1a 
+ 00022733  0x000072d4 fetch  0x00000001 , 0x0000004c 
+ 00022734  0x000072d5 isolate0  0x00000002 , 0x0000003f 
+ 00022735  0x000072d6 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00022736  0x000072d7 and_into  0x00000001 , 0x0000003f 
+ 00022737  0x000072d8 istore  0x00000001 , 0x00000005 
+ 00022738  0x000072d9 branch  0x00005a34 
+ 00022739  0x000072dd force  0x00000003 , 0x0000003f 
+ 00022740  0x000072de call  0x00005a1a 
+ 00022741  0x000072df fetch  0x00000002 , 0x00000051 
+ 00022742  0x000072e0 istore  0x00000002 , 0x00000005 
+ 00022743  0x000072e1 branch  0x00005a34 
+ 00022744  0x000072e4 jam  0x000000fa , 0x00000072 
+ 00022745  0x000072e5 force  0x00000002 , 0x0000003f 
+ 00022746  0x000072e6 call  0x00005a1a 
+ 00022747  0x000072e7 fetch  0x00000001 , 0x00000053 
+ 00022748  0x000072e8 istore  0x00000001 , 0x00000005 
+ 00022749  0x000072e9 branch  0x00005a34 
+ 00022750  0x000072ec force  0x0000000a , 0x0000003f 
+ 00022751  0x000072ed call  0x00005a1a 
+ 00022752  0x000072ee arg  0x00000a52 , 0x00000006 
+ 00022753  0x000072ef force  0x00000009 , 0x00000039 
+ 00022754  0x000072f1 ifetch  0x00000001 , 0x00000006 
+ 00022755  0x000072f2 xor_into  0x00000055 , 0x0000003f 
+ 00022756  0x000072f3 istore  0x00000001 , 0x00000005 
+ 00022757  0x000072f4 loop  0x000058e2 
+ 00022758  0x000072f5 branch  0x00005a34 
+ 00022759  0x000072f8 branch  0x00005a34 
+ 00022760  0x000072fa branch  0x00005a34 
+ 00022761  0x000072fd rtn  0x00000029 
+ 00022762  0x000072fe call  0x0000104a 
+ 00022763  0x000072ff force  0x00000009 , 0x0000003f 
+ 00022764  0x00007300 call  0x00005a1a 
+ 00022765  0x00007301 fetch  0x00000002 , 0x000000c0 
+ 00022766  0x00007302 istore  0x00000002 , 0x00000005 
+ 00022767  0x00007303 fetch  0x00000003 , 0x000040a8 
+ 00022768  0x00007304 istore  0x00000003 , 0x00000005 
+ 00022769  0x00007305 fetch  0x00000001 , 0x000040ab 
+ 00022770  0x00007306 istore  0x00000001 , 0x00000005 
+ 00022771  0x00007307 fetch  0x00000002 , 0x000040ac 
+ 00022772  0x00007308 istore  0x00000002 , 0x00000005 
+ 00022773  0x00007309 bmark0  0x00000003 , 0x000058fa 
+ 00022774  0x0000730a set0  0x00000003 , 0x00000000 
+ 00022775  0x0000730b call  0x00005a34 
+ 00022776  0x0000730c jam  0x00000013 , 0x0000007c 
+ 00022777  0x0000730d rtn 
+ 00022778  0x0000730f call  0x00005a32 
+ 00022779  0x00007310 jam  0x00000003 , 0x0000007c 
+ 00022780  0x00007311 jam  0x00000013 , 0x0000007d 
+ 00022781  0x00007312 rtn 
+ 00022782  0x00007315 arg  0x00000200 , 0x00000002 
+ 00022783  0x00007316 branch  0x00005902 , 0x00000029 
+ 00022784  0x00007317 deposit  0x00000028 
+ 00022785  0x00007318 branch  0x00005903 
+ 00022786  0x0000731a deposit  0x00000022 
+ 00022787  0x0000731c deposit  0x00000021 
+ 00022788  0x0000731d iadd  0x00000002 , 0x0000003f 
+ 00022789  0x0000731e and_into  0x000001fc , 0x0000003f 
+ 00022790  0x0000731f store  0x00000004 , 0x00000034 
+ 00022791  0x00007320 force  0x00000005 , 0x0000003f 
+ 00022792  0x00007321 call  0x00005a1a 
+ 00022793  0x00007322 fetch  0x00000004 , 0x00000034 
+ 00022794  0x00007323 rshift  0x0000003f , 0x0000003f 
+ 00022795  0x00007324 istore  0x00000004 , 0x00000005 
+ 00022796  0x00007325 branch  0x00005a34 
+ 00022797  0x00007328 force  0x0000000a , 0x0000003f 
+ 00022798  0x00007329 call  0x00005a1a 
+ 00022799  0x0000732a arg  0x000003ac , 0x00000006 
+ 00022800  0x0000732b ifetch  0x00000009 , 0x00000006 
+ 00022801  0x0000732c istore  0x00000009 , 0x00000005 
+ 00022802  0x0000732d branch  0x00005a34 
+ 00022803  0x00007332 force  0x00000003 , 0x0000003f 
+ 00022804  0x00007333 call  0x00005a1a 
+ 00022805  0x00007334 setarg  0x00000114 
+ 00022806  0x00007335 istore  0x00000002 , 0x00000005 
+ 00022807  0x00007336 branch  0x00005a34 
+ 00022808  0x0000733a force  0x00000001 , 0x0000003f 
+ 00022809  0x0000733b call  0x00005a1a 
+ 00022810  0x00007344 branch  0x00005a34 
+ 00022811  0x00007348 force  0x00000002 , 0x0000003f 
+ 00022812  0x00007349 call  0x00005a1a 
+ 00022813  0x0000734a fetch  0x00000001 , 0x000040d7 
+ 00022814  0x0000734b istore  0x00000001 , 0x00000005 
+ 00022815  0x0000734c branch  0x00005a34 
+ 00022816  0x00007350 force  0x00000002 , 0x0000003f 
+ 00022817  0x00007351 call  0x00005a1a 
+ 00022818  0x00007352 setarg  0x00000005 
+ 00022819  0x00007353 istore  0x00000001 , 0x00000005 
+ 00022820  0x00007354 branch  0x00005a34 
+ 00022821  0x00007358 force  0x00000002 , 0x0000003f 
+ 00022822  0x00007359 call  0x00005a1a 
+ 00022823  0x0000735a setarg  0x00000000 
+ 00022824  0x0000735b istore  0x00000001 , 0x00000005 
+ 00022825  0x0000735c branch  0x00005a34 
+ 00022826  0x00007360 jam  0x0000002e , 0x0000007c 
+ 00022827  0x00007361 rtn 
+ 00022828  0x00007363 fetch  0x00000001 , 0x0000409a 
+ 00022829  0x00007364 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00022830  0x00007365 call  0x0000592a , 0x00000005 
+ 00022831  0x00007366 fetch  0x00000001 , 0x00000030 
+ 00022832  0x00007367 set1  0x00000004 , 0x0000003f 
+ 00022833  0x00007368 store  0x00000001 , 0x00000030 
+ 00022834  0x00007369 copy  0x00000022 , 0x0000003f 
+ 00022835  0x0000736a store  0x00000004 , 0x000003bc 
+ 00022836  0x0000736b fetch  0x00000001 , 0x000003a5 
+ 00022837  0x0000736c bbit1  0x00000003 , 0x0000593d 
+ 00022838  0x0000736d set1  0x00000003 , 0x0000003f 
+ 00022839  0x0000736e store  0x00000001 , 0x000003a5 
+ 00022840  0x0000736f jam  0x00000005 , 0x0000095b 
+ 00022841  0x00007370 call  0x000078dc 
+ 00022842  0x00007371 force  0x00000001 , 0x0000003f 
+ 00022843  0x00007372 call  0x00005a1a 
+ 00022844  0x00007373 branch  0x00005a34 
+ 00022845  0x00007375 jam  0x00000000 , 0x00000048 
+ 00022846  0x00007376 rtn 
+ 00022847  0x00007379 force  0x00000006 , 0x0000003f 
+ 00022848  0x0000737a call  0x00005a1a 
+ 00022849  0x0000737b fetch  0x00000005 , 0x000045fa 
+ 00022850  0x0000737c istore  0x00000005 , 0x00000005 
+ 00022851  0x0000737d branch  0x00005a34 
+ 00022852  0x00007380 force  0x00000009 , 0x0000003f 
+ 00022853  0x00007381 call  0x00005a1a 
+ 00022854  0x00007382 fetch  0x00000008 , 0x000040a0 
+ 00022855  0x00007383 istore  0x00000008 , 0x00000005 
+ 00022856  0x00007384 branch  0x00005a34 
+ 00022857  0x00007387 jam  0x00000001 , 0x00000873 
+ 00022858  0x00007388 fetch  0x00000001 , 0x000046bc 
+ 00022859  0x00007389 rtnne  0x00000001 
+ 00022860  0x0000738a jam  0x00000013 , 0x00000871 
+ 00022861  0x0000738b rtn 
+ 00022862  0x0000738e call  0x00005a72 
+ 00022863  0x0000738f jam  0x00000099 , 0x0000007c 
+ 00022864  0x00007390 jam  0x00000003 , 0x00000871 
+ 00022865  0x00007391 rtn 
+ 00022866  0x00007395 call  0x00005a72 
+ 00022867  0x00007396 jam  0x0000003d , 0x0000007c 
+ 00022868  0x00007397 jam  0x00000007 , 0x00000871 
+ 00022869  0x00007398 rtn 
+ 00022870  0x0000739b arg  0x00000910 , 0x00000011 
+ 00022871  0x0000739c arg  0x00000930 , 0x00000012 
+ 00022872  0x0000739d arg  0x00000010 , 0x00000039 
+ 00022873  0x0000739e call  0x00007e66 
+ 00022874  0x0000739f branch  0x0000595f , 0x00000005 
+ 00022875  0x000073a0 jam  0x00000000 , 0x00000871 
+ 00022876  0x000073a1 call  0x000070d5 
+ 00022877  0x000073a2 jam  0x00000040 , 0x0000007d 
+ 00022878  0x000073a3 branch  0x000056ec 
+ 00022879  0x000073a6 jam  0x0000000a , 0x00000871 
+ 00022880  0x000073a7 call  0x000070d3 
+ 00022881  0x000073a8 jam  0x00000040 , 0x0000007d 
+ 00022882  0x000073a9 branch  0x0000554b 
+ 00022883  0x000073ae jam  0x00000040 , 0x0000007c 
+ 00022884  0x000073af rtn 
+ 00022885  0x000073b6 jam  0x0000003d , 0x0000007c 
+ 00022886  0x000073b8 rtn 
+ 00022887  0x000073bf jam  0x00000000 , 0x00000878 
+ 00022888  0x000073c0 force  0x00000004 , 0x0000003f 
+ 00022889  0x000073c1 call  0x00005a1a 
+ 00022890  0x000073c2 fetch  0x00000003 , 0x00004647 
+ 00022891  0x000073c3 istore  0x00000003 , 0x00000005 
+ 00022892  0x000073c4 call  0x00005a7f 
+ 00022893  0x000073c5 branch  0x00005a34 , 0x00000001 
+ 00022894  0x000073c6 branch  0x00005a32 
+ 00022895  0x000073ca fetch  0x00000001 , 0x00004648 
+ 00022896  0x000073cb beq  0x00000002 , 0x00005973 
+ 00022897  0x000073cc beq  0x00000001 , 0x00005978 
+ 00022898  0x000073cd rtn 
+ 00022899  0x000073d0 force  0x00000011 , 0x0000003f 
+ 00022900  0x000073d1 call  0x00005a1a 
+ 00022901  0x000073d2 fetch  0x00000001 , 0x00000878 
+ 00022902  0x000073d3 arg  0x000046df , 0x00000006 
+ 00022903  0x000073d4 branch  0x0000597c 
+ 00022904  0x000073d7 force  0x00000011 , 0x0000003f 
+ 00022905  0x000073d8 call  0x00005a1a 
+ 00022906  0x000073d9 fetch  0x00000001 , 0x00000878 
+ 00022907  0x000073da arg  0x00004737 , 0x00000006 
+ 00022908  0x000073dc iadd  0x00000006 , 0x00000006 
+ 00022909  0x000073dd ifetch  0x00000008 , 0x00000006 
+ 00022910  0x000073de istore  0x00000008 , 0x00000005 
+ 00022911  0x000073df ifetch  0x00000008 , 0x00000006 
+ 00022912  0x000073e0 istore  0x00000008 , 0x00000005 
+ 00022913  0x000073e1 fetch  0x00000001 , 0x00000878 
+ 00022914  0x000073e2 increase  0x00000010 , 0x0000003f 
+ 00022915  0x000073e3 store  0x00000001 , 0x00000878 
+ 00022916  0x000073e4 call  0x00005a7f 
+ 00022917  0x000073e5 branch  0x00005a34 , 0x00000001 
+ 00022918  0x000073e6 branch  0x00005a32 
+ 00022919  0x000073ea jam  0x00000006 , 0x00000870 
+ 00022920  0x000073eb jam  0x0000003f , 0x0000007c 
+ 00022921  0x000073ec rtn 
+ 00022922  0x000073f0 force  0x00000011 , 0x0000003f 
+ 00022923  0x000073f1 call  0x00005a1a 
+ 00022924  0x000073f2 arg  0x00000910 , 0x00000006 
+ 00022925  0x000073f3 ifetch  0x00000008 , 0x00000006 
+ 00022926  0x000073f4 istore  0x00000008 , 0x00000005 
+ 00022927  0x000073f5 ifetch  0x00000008 , 0x00000006 
+ 00022928  0x000073f6 istore  0x00000008 , 0x00000005 
+ 00022929  0x000073f7 branch  0x00005a32 
+ 00022930  0x000073fa jam  0x00000040 , 0x0000007c 
+ 00022931  0x000073fb rtn 
+ 00022932  0x000073ff call  0x00005a7f 
+ 00022933  0x00007400 call  0x00006fe9 , 0x00000001 
+ 00022934  0x00007401 force  0x00000011 , 0x0000003f 
+ 00022935  0x00007402 call  0x00005a1a 
+ 00022936  0x00007403 arg  0x000008e0 , 0x00000006 
+ 00022937  0x00007404 ifetch  0x00000008 , 0x00000006 
+ 00022938  0x00007405 istore  0x00000008 , 0x00000005 
+ 00022939  0x00007406 ifetch  0x00000008 , 0x00000006 
+ 00022940  0x00007407 istore  0x00000008 , 0x00000005 
+ 00022941  0x00007408 call  0x00005a7f 
+ 00022942  0x00007409 nbranch  0x00005a32 , 0x00000001 
+ 00022943  0x0000740a branch  0x00005a34 , 0x00000001 
+ 00022944  0x0000740e jam  0x0000000f , 0x00000871 
+ 00022945  0x00007410 call  0x00005a72 
+ 00022946  0x00007411 jam  0x0000000b , 0x0000007c 
+ 00022947  0x00007412 call  0x00005a8a 
+ 00022948  0x00007413 branch  0x00007037 , 0x00000001 
+ 00022949  0x00007414 branch  0x00007041 
+ 00022950  0x00007416 call  0x00005a6e 
+ 00022951  0x00007418 jam  0x00000041 , 0x0000007c 
+ 00022952  0x00007419 rtn 
+ 00022953  0x0000741c force  0x00000011 , 0x0000003f 
+ 00022954  0x0000741d call  0x00005a1a 
+ 00022955  0x0000741e arg  0x00000910 , 0x00000006 
+ 00022956  0x0000741f ifetch  0x00000008 , 0x00000006 
+ 00022957  0x00007420 istore  0x00000008 , 0x00000005 
+ 00022958  0x00007421 ifetch  0x00000008 , 0x00000006 
+ 00022959  0x00007422 istore  0x00000008 , 0x00000005 
+ 00022960  0x00007423 call  0x00005a7f 
+ 00022961  0x00007424 nbranch  0x00005a32 , 0x00000001 
+ 00022962  0x00007425 branch  0x00005a34 , 0x00000001 
+ 00022963  0x00007428 force  0x00000003 , 0x0000003f 
+ 00022964  0x00007429 call  0x00005a1a 
+ 00022965  0x0000742a setarg  0x0000fffe 
+ 00022966  0x0000742b istore  0x00000002 , 0x00000005 
+ 00022967  0x0000742c branch  0x00005a32 
+ 00022968  0x0000742f branch  0x00005a34 
+ 00022969  0x00007431 branch  0x00005a34 
+ 00022970  0x00007433 branch  0x00005a34 
+ 00022971  0x00007435 branch  0x00005a34 
+ 00022972  0x0000743b call  0x00005a8e 
+ 00022973  0x0000743c arg  0x000040a8 , 0x00000011 
+ 00022974  0x0000743d call  0x00005a94 
+ 00022975  0x0000743e force  0x00000011 , 0x0000003f 
+ 00022976  0x0000743f call  0x00005a1a 
+ 00022977  0x00007440 arg  0x00000444 , 0x00000011 
+ 00022978  0x00007441 arg  0x00000424 , 0x00000012 
+ 00022979  0x00007442 call  0x00006c70 
+ 00022980  0x00007443 nbranch  0x00005a29 , 0x00000029 
+ 00022981  0x00007444 branch  0x00005a2f 
+ 00022982  0x00007447 call  0x00005a8e 
+ 00022983  0x00007448 arg  0x00000040 , 0x00000011 
+ 00022984  0x00007449 call  0x00006b73 
+ 00022985  0x0000744b force  0x00000011 , 0x0000003f 
+ 00022986  0x0000744c call  0x00005a1a 
+ 00022987  0x0000744d arg  0x00000424 , 0x00000006 
+ 00022988  0x0000744e call  0x00007d7f 
+ 00022989  0x0000744f fetch  0x00000001 , 0x00000055 
+ 00022990  0x00007450 beq  0x00000019 , 0x00005a34 
+ 00022991  0x00007451 beq  0x00000018 , 0x00005a34 
+ 00022992  0x00007452 branch  0x00005a2f 
+ 00022993  0x00007455 fetch  0x00000001 , 0x00004648 
+ 00022994  0x00007456 beq  0x00000002 , 0x000059dc 
+ 00022995  0x00007458 fetch  0x00000001 , 0x00000877 
+ 00022996  0x00007459 branch  0x000059d9 , 0x00000034 
+ 00022997  0x0000745b call  0x00005a7f 
+ 00022998  0x0000745c call  0x00005a72 , 0x00000001 
+ 00022999  0x0000745d ncall  0x00005a6e , 0x00000001 
+ 00023000  0x0000745e branch  0x000059da 
+ 00023001  0x00007460 call  0x00005a72 
+ 00023002  0x00007462 call  0x00005a8e 
+ 00023003  0x00007463 branch  0x000059c9 
+ 00023004  0x00007466 jam  0x0000000c , 0x0000007c 
+ 00023005  0x00007467 branch  0x000059d5 
+ 00023006  0x0000746a fetch  0x00000001 , 0x00004648 
+ 00023007  0x0000746b beq  0x00000002 , 0x000059f8 
+ 00023008  0x0000746d arg  0x000040a8 , 0x00000011 
+ 00023009  0x0000746e call  0x00006ba6 
+ 00023010  0x0000746f force  0x00000005 , 0x0000003f 
+ 00023011  0x00007470 call  0x00005a1a 
+ 00023012  0x00007471 fetch  0x00000004 , 0x00000454 
+ 00023013  0x00007472 istore  0x00000004 , 0x00000005 
+ 00023014  0x00007473 arg  0x000003a9 , 0x00000002 
+ 00023015  0x00007474 call  0x00005a65 
+ 00023016  0x00007475 call  0x00006ca4 
+ 00023017  0x00007476 call  0x00005a7f 
+ 00023018  0x00007477 branch  0x000059ef , 0x00000001 
+ 00023019  0x00007478 jam  0x00000001 , 0x000003ab 
+ 00023020  0x00007479 fetch  0x00000001 , 0x00000877 
+ 00023021  0x0000747a rtn  0x00000034 
+ 00023022  0x0000747b jam  0x0000000b , 0x0000007c 
+ 00023023  0x0000747d fetch  0x00000001 , 0x000041ca 
+ 00023024  0x0000747e rtn  0x00000034 
+ 00023025  0x00007480 call  0x00005a7f 
+ 00023026  0x00007481 nbranch  0x000059f4 , 0x00000001 
+ 00023027  0x00007482 rtn 
+ 00023028  0x00007485 rtnmark0  0x00000021 
+ 00023029  0x00007486 set0  0x00000021 , 0x00000000 
+ 00023030  0x00007487 jam  0x0000000f , 0x0000007c 
+ 00023031  0x00007488 rtn 
+ 00023032  0x0000748b call  0x0000755f 
+ 00023033  0x0000748c call  0x00007584 
+ 00023034  0x0000748d force  0x00000005 , 0x0000003f 
+ 00023035  0x0000748e call  0x00005a1a 
+ 00023036  0x0000748f fetch  0x00000004 , 0x00000918 
+ 00023037  0x00007490 istore  0x00000004 , 0x00000005 
+ 00023038  0x00007491 arg  0x000003a9 , 0x00000002 
+ 00023039  0x00007492 call  0x00005a65 
+ 00023040  0x00007493 call  0x00005a07 
+ 00023041  0x00007494 call  0x00005a7f 
+ 00023042  0x00007495 branch  0x000059ef , 0x00000001 
+ 00023043  0x00007496 jam  0x00000001 , 0x000003ab 
+ 00023044  0x00007497 fetch  0x00000001 , 0x00000877 
+ 00023045  0x00007498 rtn  0x00000034 
+ 00023046  0x00007499 branch  0x000059ef 
+ 00023047  0x0000749c fetch  0x00000008 , 0x00000910 
+ 00023048  0x0000749d store  0x00000008 , 0x000046ad 
+ 00023049  0x0000749e rtn 
+ 00023050  0x000074a1 call  0x00005a8e 
+ 00023051  0x000074a2 call  0x00006ba9 
+ 00023052  0x000074a3 force  0x00000011 , 0x0000003f 
+ 00023053  0x000074a4 call  0x00005a1a 
+ 00023054  0x000074a5 arg  0x00000424 , 0x00000006 
+ 00023055  0x000074a6 call  0x00007d7f 
+ 00023056  0x000074a7 branch  0x00005a2f 
+ 00023057  0x000074aa force  0x00000001 , 0x0000003f 
+ 00023058  0x000074ab call  0x00005a1a 
+ 00023059  0x000074ac branch  0x00005a2f 
+ 00023060  0x000074af force  0x00000002 , 0x0000003f 
+ 00023061  0x000074b0 call  0x00005a1a 
+ 00023062  0x000074b1 force  0x00000010 , 0x0000003f 
+ 00023063  0x000074b2 istore  0x00000001 , 0x00000005 
+ 00023064  0x000074b3 store  0x00000001 , 0x00000054 
+ 00023065  0x000074b4 branch  0x00005a2f 
+ 00023066  0x000074b8 lshift3  0x0000003f , 0x0000003f 
+ 00023067  0x000074b9 or_into  0x00000007 , 0x0000003f 
+ 00023068  0x000074ba store  0x00000001 , 0x0000038a 
+ 00023069  0x000074bb arg  0x00000011 , 0x00000039 
+ 00023070  0x000074bc arg  0x0000038c , 0x00000005 
+ 00023071  0x000074bd call  0x00007d9b 
+ 00023072  0x000074be arg  0x0000038c , 0x00000005 
+ 00023073  0x000074bf rtn 
+ 00023074  0x000074c2 and  0x0000003f , 0x0000007f , 0x00000011 
+ 00023075  0x000074c3 jam  0x0000007f , 0x00000048 
+ 00023076  0x000074c4 deposit  0x00000007 
+ 00023077  0x000074c5 call  0x00005a1a 
+ 00023078  0x000074c6 deposit  0x00000011 
+ 00023079  0x000074c7 istore  0x00000001 , 0x00000005 
+ 00023080  0x000074c8 rtn 
+ 00023081  0x000074cb fetch  0x00000001 , 0x00000048 
+ 00023082  0x000074cc lshift  0x0000003f , 0x0000003f 
+ 00023083  0x000074cd fetcht  0x00000001 , 0x0000004c 
+ 00023084  0x000074ce isolate1  0x00000001 , 0x00000002 
+ 00023085  0x000074cf setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00023086  0x000074d0 branch  0x00005a39 
+ 00023087  0x000074d4 fetcht  0x00000001 , 0x0000004c 
+ 00023088  0x000074d5 and_into  0x00000001 , 0x00000002 
+ 00023089  0x000074d6 branch  0x00005a35 
+ 00023090  0x000074d9 force  0x00000000 , 0x00000002 
+ 00023091  0x000074da branch  0x00005a35 
+ 00023092  0x000074dd force  0x00000001 , 0x00000002 
+ 00023093  0x000074df fetch  0x00000001 , 0x00000048 
+ 00023094  0x000074e0 lshift  0x0000003f , 0x0000003f 
+ 00023095  0x000074e1 setflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00023096  0x000074e2 ixor  0x00000002 , 0x0000003f 
+ 00023097  0x000074e4 store  0x00000001 , 0x0000038b 
+ 00023098  0x000074e5 store  0x00000001 , 0x000045f9 
+ 00023099  0x000074e6 jam  0x00000000 , 0x00000048 
+ 00023100  0x000074e7 call  0x00005a4a 
+ 00023101  0x000074e8 enable  0x00000028 
+ 00023102  0x000074e9 rtn 
+ 00023103  0x000074ed fetch  0x00000001 , 0x0000007c 
+ 00023104  0x000074ee rtn  0x00000034 
+ 00023105  0x000074ef call  0x00005a44 
+ 00023106  0x000074f0 fetch  0x00000001 , 0x0000007c 
+ 00023107  0x000074f1 rtn 
+ 00023108  0x000074f4 bpatchx  0x0000001c , 0x00004023 
+ 00023109  0x000074f5 fetch  0x00000001 , 0x00000048 
+ 00023110  0x000074f6 branch  0x00005a4a , 0x00000034 
+ 00023111  0x000074f7 fetch  0x00000001 , 0x00000078 
+ 00023112  0x000074f8 nrtn  0x00000034 
+ 00023113  0x000074f9 branch  0x00005a54 
+ 00023114  0x000074fb fetch  0x00000001 , 0x00000078 
+ 00023115  0x000074fc branch  0x00005a5a , 0x00000034 
+ 00023116  0x000074fd fetch  0x00000003 , 0x00000078 
+ 00023117  0x000074fe store  0x00000003 , 0x00000048 
+ 00023118  0x000074ff fetcht  0x00000001 , 0x0000007b 
+ 00023119  0x00007500 fetch  0x00000001 , 0x0000004c 
+ 00023120  0x00007501 set0  0x00000001 , 0x0000003f 
+ 00023121  0x00007502 ior  0x00000002 , 0x0000003f 
+ 00023122  0x00007503 store  0x00000001 , 0x0000004c 
+ 00023123  0x00007504 jam  0x00000000 , 0x00000078 
+ 00023124  0x00007506 fetch  0x00000001 , 0x0000007c 
+ 00023125  0x00007507 rtn  0x00000034 
+ 00023126  0x00007508 fetch  0x00000004 , 0x0000007c 
+ 00023127  0x00007509 store  0x00000004 , 0x00000078 
+ 00023128  0x0000750a jam  0x00000000 , 0x0000007c 
+ 00023129  0x0000750b rtn 
+ 00023130  0x0000750d fetch  0x00000001 , 0x0000007c 
+ 00023131  0x0000750e rtn  0x00000034 
+ 00023132  0x0000750f fetch  0x00000003 , 0x0000007c 
+ 00023133  0x00007510 store  0x00000003 , 0x00000048 
+ 00023134  0x00007511 fetcht  0x00000001 , 0x0000007f 
+ 00023135  0x00007512 fetch  0x00000001 , 0x0000004c 
+ 00023136  0x00007513 set0  0x00000001 , 0x0000003f 
+ 00023137  0x00007514 ior  0x00000002 , 0x0000003f 
+ 00023138  0x00007515 store  0x00000001 , 0x0000004c 
+ 00023139  0x00007516 jam  0x00000000 , 0x0000007c 
+ 00023140  0x00007517 rtn 
+ 00023141  0x0000751b bpatchx  0x0000001d , 0x00004023 
+ 00023142  0x0000751c fetch  0x00000001 , 0x0000004c 
+ 00023143  0x0000751d copy  0x0000003f , 0x00000013 
+ 00023144  0x0000751e ifetch  0x00000001 , 0x00000002 
+ 00023145  0x0000751f call  0x00005567 
+ 00023146  0x00007520 call  0x00005a29 
+ 00023147  0x00007521 copy  0x00000013 , 0x0000003f 
+ 00023148  0x00007522 store  0x00000001 , 0x0000004c 
+ 00023149  0x00007523 rtn 
+ 00023150  0x00007526 fetcht  0x00000001 , 0x0000004c 
+ 00023151  0x00007527 set0  0x00000000 , 0x00000002 
+ 00023152  0x00007528 storet  0x00000001 , 0x0000004c 
+ 00023153  0x00007529 rtn 
+ 00023154  0x0000752c fetcht  0x00000001 , 0x0000004c 
+ 00023155  0x0000752d set1  0x00000000 , 0x00000002 
+ 00023156  0x0000752e storet  0x00000001 , 0x0000004c 
+ 00023157  0x0000752f rtn 
+ 00023158  0x00007533 nsetflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00023159  0x00007534 fetcht  0x00000001 , 0x0000004c 
+ 00023160  0x00007535 ixor  0x00000002 , 0x0000003f 
+ 00023161  0x00007536 isolate1  0x00000001 , 0x0000003f 
+ 00023162  0x00007537 rtn 
+ 00023163  0x0000753b fetch  0x00000001 , 0x0000004c 
+ 00023164  0x0000753c setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00023165  0x0000753d store  0x00000001 , 0x0000004c 
+ 00023166  0x0000753e rtn 
+ 00023167  0x00007542 fetch  0x00000001 , 0x00000876 
+ 00023168  0x00007543 compare  0x00000001 , 0x0000003f , 0x0000007f 
+ 00023169  0x00007544 rtn 
+ 00023170  0x00007546 fetch  0x00000001 , 0x00000876 
+ 00023171  0x00007547 set1  0x00000007 , 0x0000003f 
+ 00023172  0x00007548 store  0x00000001 , 0x00000876 
+ 00023173  0x00007549 rtn 
+ 00023174  0x0000754b fetch  0x00000001 , 0x00000876 
+ 00023175  0x0000754c set0  0x00000007 , 0x0000003f 
+ 00023176  0x0000754d store  0x00000001 , 0x00000876 
+ 00023177  0x0000754e rtn 
+ 00023178  0x00007550 fetch  0x00000001 , 0x00000876 
+ 00023179  0x00007551 isolate1  0x00000007 , 0x0000003f 
+ 00023180  0x00007552 store  0x00000001 , 0x00000876 
+ 00023181  0x00007553 rtn 
+ 00023182  0x00007557 arg  0x00000424 , 0x00000005 
+ 00023183  0x00007559 force  0x00000010 , 0x00000039 
+ 00023184  0x0000755c random  0x0000003f 
+ 00023185  0x0000755d istore  0x00000001 , 0x00000005 
+ 00023186  0x0000755e loop  0x00005a90 
+ 00023187  0x0000755f rtn 
+ 00023188  0x00007562 call  0x00006b77 
+ 00023189  0x00007563 arg  0x000041cb , 0x00000011 
+ 00023190  0x00007564 arg  0x00000454 , 0x00000012 
+ 00023191  0x00007565 ifetch  0x00000008 , 0x00000011 
+ 00023192  0x00007566 fetcht  0x00000001 , 0x00000030 
+ 00023193  0x00007567 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00023194  0x00007568 storet  0x00000001 , 0x00000030 
+ 00023195  0x00007569 copy  0x00000011 , 0x00000005 
+ 00023196  0x0000756a call  0x00006c70 
+ 00023197  0x0000756b branch  0x000009c6 
+ 00023198  0x00007573 bpatchx  0x0000001e , 0x00004023 
+ 00023199  0x00007575 call  0x00005a3f 
+ 00023200  0x00007576 nrtn  0x00000034 
+ 00023201  0x00007578 fetch  0x00000001 , 0x00000055 
+ 00023202  0x00007579 rtn  0x00000034 
+ 00023203  0x0000757d beq  0x00000004 , 0x00005af2 
+ 00023204  0x0000757e beq  0x00000005 , 0x00005af8 
+ 00023205  0x0000757f beq  0x00000002 , 0x00005ae9 
+ 00023206  0x00007580 beq  0x00000003 , 0x00005b00 
+ 00023207  0x00007581 beq  0x0000000e , 0x00005aec 
+ 00023208  0x00007582 beq  0x00000006 , 0x00005b1c 
+ 00023209  0x00007583 beq  0x00000007 , 0x00005b34 
+ 00023210  0x00007584 beq  0x00000009 , 0x00005b35 
+ 00023211  0x00007585 beq  0x0000000a , 0x00005b3e 
+ 00023212  0x00007586 beq  0x0000000b , 0x00005b42 
+ 00023213  0x00007587 beq  0x0000000c , 0x00005b0a 
+ 00023214  0x00007588 beq  0x0000000d , 0x00005b0d 
+ 00023215  0x00007589 beq  0x0000000f , 0x00005b13 
+ 00023216  0x0000758a beq  0x00000012 , 0x00005adc 
+ 00023217  0x0000758b beq  0x00000013 , 0x00005b00 
+ 00023218  0x0000758c beq  0x00000010 , 0x00005adf 
+ 00023219  0x0000758d beq  0x00000014 , 0x00005ad9 
+ 00023220  0x0000758e beq  0x00000015 , 0x00005b00 
+ 00023221  0x0000758f beq  0x00000016 , 0x00005ad3 
+ 00023222  0x00007590 beq  0x00000018 , 0x00005ad8 
+ 00023223  0x00007591 beq  0x00000017 , 0x00005acc 
+ 00023224  0x00007592 beq  0x00000019 , 0x00005ad2 
+ 00023225  0x00007593 beq  0x0000001a , 0x00005abd 
+ 00023226  0x00007594 beq  0x0000001b , 0x00005ac7 
+ 00023227  0x00007595 jam  0x00000000 , 0x00000055 
+ 00023228  0x00007597 rtn 
+ 00023229  0x00007599 fetch  0x00000001 , 0x000003a5 
+ 00023230  0x0000759a rtnbit0  0x00000002 
+ 00023231  0x0000759b rtnbit0  0x00000003 
+ 00023232  0x0000759c jam  0x00000000 , 0x00000055 
+ 00023233  0x0000759d call  0x00005ac3 
+ 00023234  0x0000759e branch  0x0000660d 
+ 00023235  0x000075a1 fetch  0x00000001 , 0x000000bc 
+ 00023236  0x000075a2 rtnbit0  0x00000001 
+ 00023237  0x000075a3 jam  0x0000000a , 0x00000055 
+ 00023238  0x000075a4 rtn 
+ 00023239  0x000075a7 arg  0x00000007 , 0x00000007 
+ 00023240  0x000075a8 call  0x00007de9 
+ 00023241  0x000075a9 nrtn  0x00000034 
+ 00023242  0x000075aa jam  0x0000001a , 0x00000055 
+ 00023243  0x000075ab rtn 
+ 00023244  0x000075ae fetch  0x00000001 , 0x000000bc 
+ 00023245  0x000075af set0  0x00000000 , 0x0000003f 
+ 00023246  0x000075b0 store  0x00000001 , 0x000000bc 
+ 00023247  0x000075b1 jam  0x00000019 , 0x00000055 
+ 00023248  0x000075b2 jam  0x0000000b , 0x0000007c 
+ 00023249  0x000075b3 rtn 
+ 00023250  0x000075b5 rtn 
+ 00023251  0x000075b7 fetch  0x00000001 , 0x000003a8 
+ 00023252  0x000075b8 rtnne  0x00000002 
+ 00023253  0x000075b9 call  0x00005b44 
+ 00023254  0x000075ba jam  0x00000018 , 0x00000055 
+ 00023255  0x000075bb rtn 
+ 00023256  0x000075be rtn 
+ 00023257  0x000075c0 jam  0x00000015 , 0x00000055 
+ 00023258  0x000075c1 jam  0x00000083 , 0x0000007c 
+ 00023259  0x000075c2 rtn 
+ 00023260  0x000075c4 jam  0x00000013 , 0x00000055 
+ 00023261  0x000075c5 jam  0x00000025 , 0x0000007c 
+ 00023262  0x000075c6 rtn 
+ 00023263  0x000075c9 fetch  0x00000001 , 0x00004645 
+ 00023264  0x000075ca rtneq  0x00000000 
+ 00023265  0x000075cb beq  0x00000001 , 0x00005ae7 
+ 00023266  0x000075cc arg  0x00000006 , 0x00000007 
+ 00023267  0x000075cd call  0x00007de9 
+ 00023268  0x000075ce nrtn  0x00000034 
+ 00023269  0x000075cf jam  0x00000000 , 0x00004645 
+ 00023270  0x000075d0 branch  0x00005b01 
+ 00023271  0x000075d2 rtn  0x00000029 
+ 00023272  0x000075d3 branch  0x00005b1c 
+ 00023273  0x000075d6 jam  0x00000003 , 0x00000055 
+ 00023274  0x000075d7 jam  0x00000027 , 0x0000007c 
+ 00023275  0x000075d8 rtn 
+ 00023276  0x000075da jam  0x00000013 , 0x0000007c 
+ 00023277  0x000075db set1  0x00000003 , 0x00000000 
+ 00023278  0x000075dc jam  0x00000005 , 0x00000055 
+ 00023279  0x000075dd setarg  0x000001ff 
+ 00023280  0x000075de store  0x00000002 , 0x000003a6 
+ 00023281  0x000075df rtn 
+ 00023282  0x000075e2 jam  0x00000005 , 0x00000055 
+ 00023283  0x000075e3 setarg  0x000000ff 
+ 00023284  0x000075e4 store  0x00000002 , 0x000003a6 
+ 00023285  0x000075e5 set0  0x00000022 , 0x00000000 
+ 00023286  0x000075e6 jam  0x00000033 , 0x0000007c 
+ 00023287  0x000075e7 branch  0x000053ee 
+ 00023288  0x000075e9 rtnmark1  0x00000022 
+ 00023289  0x000075ea fetch  0x00000002 , 0x000003a6 
+ 00023290  0x000075eb increase  0xffffffff , 0x0000003f 
+ 00023291  0x000075ec branch  0x00005afe , 0x00000005 
+ 00023292  0x000075ed store  0x00000002 , 0x000003a6 
+ 00023293  0x000075ee rtn 
+ 00023294  0x000075f0 jam  0x0000000e , 0x00000055 
+ 00023295  0x000075f1 rtn 
+ 00023296  0x000075f4 rtn 
+ 00023297  0x000075f7 fetch  0x00000001 , 0x000003a5 
+ 00023298  0x000075f8 rtnbit0  0x00000003 
+ 00023299  0x000075f9 rtnbit0  0x00000002 
+ 00023300  0x000075fa fetch  0x00000001 , 0x000000bc 
+ 00023301  0x000075fb set0  0x00000002 , 0x0000003f 
+ 00023302  0x000075fc store  0x00000001 , 0x000000bc 
+ 00023303  0x000075fd jam  0x00000013 , 0x0000007c 
+ 00023304  0x000075fe jam  0x00000010 , 0x00000055 
+ 00023305  0x000075ff rtn 
+ 00023306  0x00007602 jam  0x0000000d , 0x00000055 
+ 00023307  0x00007603 jam  0x00000031 , 0x0000007c 
+ 00023308  0x00007604 rtn 
+ 00023309  0x00007607 fetch  0x00000001 , 0x000003a5 
+ 00023310  0x00007608 rtnbit0  0x00000002 
+ 00023311  0x00007609 jam  0x00000000 , 0x00000055 
+ 00023312  0x0000760b rtn 
+ 00023313  0x0000760d jam  0x00000006 , 0x00000055 
+ 00023314  0x0000760e rtn 
+ 00023315  0x00007611 fetch  0x00000002 , 0x000003a6 
+ 00023316  0x00007612 increase  0xffffffff , 0x0000003f 
+ 00023317  0x00007613 branch  0x00005b18 , 0x00000034 
+ 00023318  0x00007614 store  0x00000002 , 0x000003a6 
+ 00023319  0x00007615 rtn 
+ 00023320  0x00007617 jam  0x00000007 , 0x0000007c 
+ 00023321  0x00007618 jam  0x00000016 , 0x0000039e 
+ 00023322  0x00007619 jam  0x00000000 , 0x00000055 
+ 00023323  0x0000761a rtn 
+ 00023324  0x0000761d fetch  0x00000001 , 0x000000bc 
+ 00023325  0x0000761e bbit1  0x00000002 , 0x00005b01 
+ 00023326  0x0000761f bbit1  0x00000000 , 0x00005b21 
+ 00023327  0x00007621 jam  0x0000001a , 0x00000055 
+ 00023328  0x00007622 rtn 
+ 00023329  0x00007624 fetch  0x00000001 , 0x000041ca 
+ 00023330  0x00007625 branch  0x00005b2d , 0x00000034 
+ 00023331  0x00007626 fetch  0x00000001 , 0x000003a5 
+ 00023332  0x00007627 rtnbit0  0x00000003 
+ 00023333  0x00007628 rtnbit0  0x00000002 
+ 00023334  0x00007629 fetch  0x00000004 , 0x000003bc 
+ 00023335  0x0000762a arg  0x00000064 , 0x00000002 
+ 00023336  0x0000762b iadd  0x00000002 , 0x00000002 
+ 00023337  0x0000762c copy  0x00000022 , 0x0000003f 
+ 00023338  0x0000762d isub  0x00000002 , 0x0000003e 
+ 00023339  0x0000762e nrtn  0x00000002 
+ 00023340  0x0000762f branch  0x00005acc 
+ 00023341  0x00007632 jam  0x00000016 , 0x00000055 
+ 00023342  0x00007633 jam  0x00000004 , 0x00004796 
+ 00023343  0x00007634 setarg  0x00003030 
+ 00023344  0x00007635 store  0x00000002 , 0x00004797 
+ 00023345  0x00007636 istore  0x00000002 , 0x00000005 
+ 00023346  0x00007637 jam  0x00000002 , 0x000003a8 
+ 00023347  0x00007638 branch  0x00005ad3 
+ 00023348  0x0000763b rtn 
+ 00023349  0x0000763d fetch  0x00000001 , 0x000000bc 
+ 00023350  0x0000763e bbit1  0x00000001 , 0x00005b39 
+ 00023351  0x0000763f jam  0x0000001a , 0x00000055 
+ 00023352  0x00007640 rtn 
+ 00023353  0x00007643 fetch  0x00000001 , 0x000000bc 
+ 00023354  0x00007644 set0  0x00000001 , 0x0000003f 
+ 00023355  0x00007645 store  0x00000001 , 0x000000bc 
+ 00023356  0x00007646 jam  0x0000000f , 0x0000007c 
+ 00023357  0x00007647 rtn 
+ 00023358  0x0000764a fetch  0x00000001 , 0x000003ab 
+ 00023359  0x0000764b rtn  0x00000034 
+ 00023360  0x0000764c jam  0x00000000 , 0x00000055 
+ 00023361  0x0000764d branch  0x00005b39 
+ 00023362  0x00007650 jam  0x0000000c , 0x00000055 
+ 00023363  0x00007651 rtn 
+ 00023364  0x00007654 fetch  0x00000001 , 0x0000004b 
+ 00023365  0x00007655 bbit1  0x00000002 , 0x00005b49 
+ 00023366  0x00007656 call  0x00005a72 
+ 00023367  0x00007657 jam  0x00000008 , 0x0000007c 
+ 00023368  0x00007658 branch  0x00004de4 
+ 00023369  0x0000765a fetch  0x00000001 , 0x0000004b 
+ 00023370  0x0000765b set0  0x00000002 , 0x0000003f 
+ 00023371  0x0000765c store  0x00000001 , 0x0000004b 
+ 00023372  0x0000765d call  0x00005750 
+ 00023373  0x0000765e call  0x00005a7b 
+ 00023374  0x0000765f branch  0x00004de4 
+ 00023375  0x00007662 setarg  0x00000004 
+ 00023376  0x00007663 store  0x00000001 , 0x00004796 
+ 00023377  0x00007664 setarg  0x00003030 
+ 00023378  0x00007665 istore  0x00000002 , 0x00000005 
+ 00023379  0x00007666 istore  0x00000002 , 0x00000005 
+ 00023380  0x00007667 rtn 
+ 00023381  0x0000766f bpatchx  0x0000001f , 0x00004023 
+ 00023382  0x00007670 and_into  0x000000ff , 0x0000003f 
+ 00023383  0x00007671 arg  0x00008070 , 0x00000005 
+ 00023384  0x00007672 iadd  0x00000005 , 0x00000005 
+ 00023385  0x00007673 copy  0x00000005 , 0x00000011 
+ 00023386  0x00007674 arg  0x0000003e , 0x00000002 
+ 00023387  0x00007675 istoret  0x00000001 , 0x00000005 
+ 00023388  0x00007676 call  0x00005b62 
+ 00023389  0x00007677 nop  0x0000001e 
+ 00023390  0x00007678 copy  0x00000011 , 0x00000005 
+ 00023391  0x00007679 arg  0x0000003f , 0x00000002 
+ 00023392  0x0000767a istoret  0x00000001 , 0x00000005 
+ 00023393  0x0000767b branch  0x00005b66 
+ 00023394  0x0000767e fetch  0x00000001 , 0x00008085 
+ 00023395  0x0000767f and_into  0x000000fb , 0x0000003f 
+ 00023396  0x00007680 store  0x00000001 , 0x00008085 
+ 00023397  0x00007681 rtn 
+ 00023398  0x00007684 fetch  0x00000001 , 0x00008085 
+ 00023399  0x00007685 or_into  0x00000004 , 0x0000003f 
+ 00023400  0x00007686 store  0x00000001 , 0x00008085 
+ 00023401  0x00007687 rtn 
+ 00023402  0x0000768c fetch  0x00000001 , 0x00008085 
+ 00023403  0x0000768d and_into  0x000000fd , 0x0000003f 
+ 00023404  0x0000768e store  0x00000001 , 0x00008085 
+ 00023405  0x0000768f rtn 
+ 00023406  0x00007692 nbranch  0x00005b72 , 0x00000028 
+ 00023407  0x00007693 fetch  0x00000001 , 0x00008085 
+ 00023408  0x00007694 or_into  0x00000002 , 0x0000003f 
+ 00023409  0x00007695 store  0x00000001 , 0x00008085 
+ 00023410  0x00007697 copy  0x00000002 , 0x0000003e 
+ 00023411  0x00007698 branch  0x00005b75 , 0x00000005 
+ 00023412  0x00007699 copy  0x00000013 , 0x0000003d 
+ 00023413  0x0000769b isolate0  0x00000000 , 0x0000003e 
+ 00023414  0x0000769c branch  0x00005c92 
+ 00023415  0x000076a0 force  0x00000004 , 0x00000002 
+ 00023416  0x000076a2 arg  0x000002eb , 0x00000011 
+ 00023417  0x000076a3 call  0x00005b6a 
+ 00023418  0x000076a4 call  0x00005b72 
+ 00023419  0x000076a5 arg  0x000055aa , 0x00000011 
+ 00023420  0x000076a6 fetch  0x00000002 , 0x000002eb 
+ 00023421  0x000076a7 ifetcht  0x00000002 , 0x00000006 
+ 00023422  0x000076a8 isub  0x00000011 , 0x0000003e 
+ 00023423  0x000076a9 rtn 
+ 00023424  0x000076ad arg  0x00000002 , 0x00000002 
+ 00023425  0x000076ae arg  0x000002f1 , 0x00000011 
+ 00023426  0x000076af call  0x00005b72 
+ 00023427  0x000076b0 fetch  0x00000002 , 0x000002f1 
+ 00023428  0x000076b1 store  0x00000002 , 0x000002e4 
+ 00023429  0x000076b2 call  0x00005b87 , 0x00000028 
+ 00023430  0x000076b3 rtn 
+ 00023431  0x000076b6 arg  0x00000010 , 0x00000002 
+ 00023432  0x000076b7 arg  0x000002f3 , 0x00000011 
+ 00023433  0x000076b8 call  0x00005b6a 
+ 00023434  0x000076b9 call  0x00005b72 
+ 00023435  0x000076bb arg  0x000002f3 , 0x00000006 
+ 00023436  0x000076bc arg  0x00000010 , 0x00000039 
+ 00023437  0x000076bd call  0x00006e1a 
+ 00023438  0x000076be call  0x00006dca 
+ 00023439  0x000076bf call  0x00006e36 
+ 00023440  0x000076c0 branch  0x00006dc4 
+ 00023441  0x000076c3 setarg  0x00000000 
+ 00023442  0x000076c4 store  0x00000002 , 0x00000985 
+ 00023443  0x000076c5 disable  0x0000002d 
+ 00023444  0x000076c6 call  0x00005b77 
+ 00023445  0x000076c7 nrtn  0x00000005 
+ 00023446  0x000076c8 jam  0x00000080 , 0x00008023 
+ 00023447  0x000076c9 jam  0x00000000 , 0x00008022 
+ 00023448  0x000076ca jam  0x00000000 , 0x00008024 
+ 00023449  0x000076cb arg  0x00008025 , 0x00000011 
+ 00023450  0x000076cc call  0x00005b6e 
+ 00023451  0x000076cd jam  0x00000000 , 0x00008023 
+ 00023452  0x000076cf arg  0x00000006 , 0x00000002 
+ 00023453  0x000076d0 call  0x00005b78 
+ 00023454  0x000076d1 nbranch  0x00005bb8 , 0x00000005 
+ 00023455  0x000076d2 ifetch  0x00000002 , 0x00000006 
+ 00023456  0x000076d3 iforce  0x00000011 
+ 00023457  0x000076d4 call  0x00005b72 
+ 00023458  0x000076d5 call  0x00005baf 
+ 00023459  0x000076d6 branch  0x00005b9c 
+ 00023460  0x000076d9 arg  0x0000aa55 , 0x00000011 
+ 00023461  0x000076da fetch  0x00000002 , 0x000002eb 
+ 00023462  0x000076db isub  0x00000011 , 0x0000003e 
+ 00023463  0x000076dc nrtn  0x00000005 
+ 00023464  0x000076dd arg  0x000055aa , 0x00000011 
+ 00023465  0x000076de fetch  0x00000002 , 0x000002ed 
+ 00023466  0x000076df isub  0x00000011 , 0x0000003e 
+ 00023467  0x000076e0 nrtn  0x00000005 
+ 00023468  0x000076e1 fetch  0x00000002 , 0x000002ef 
+ 00023469  0x000076e2 store  0x00000002 , 0x00000970 
+ 00023470  0x000076e3 rtn 
+ 00023471  0x000076e7 fetch  0x00000002 , 0x00000985 
+ 00023472  0x000076e8 arg  0x00000006 , 0x00000039 
+ 00023473  0x000076e9 arg  0x000002eb , 0x00000006 
+ 00023474  0x000076ea call  0x00007ed3 
+ 00023475  0x000076eb fetchr  0x00000039 , 0x00000002 , 0x000002ed 
+ 00023476  0x000076ec copy  0x00000011 , 0x00000006 
+ 00023477  0x000076ed call  0x00007ed3 
+ 00023478  0x000076ee store  0x00000002 , 0x00000985 
+ 00023479  0x000076ef rtn 
+ 00023480  0x000076f2 call  0x00005ba4 
+ 00023481  0x000076f3 branch  0x00005b9c , 0x00000005 
+ 00023482  0x000076f4 fetch  0x00000002 , 0x00000970 
+ 00023483  0x000076f5 fetcht  0x00000002 , 0x00000985 
+ 00023484  0x000076f6 isub  0x00000002 , 0x0000003e 
+ 00023485  0x000076f7 nrtn  0x00000005 
+ 00023486  0x000076f8 enable  0x0000002d 
+ 00023487  0x000076f9 rtn 
+ 00023488  0x000076fd fetch  0x00000001 , 0x00000a04 
+ 00023489  0x000076fe arg  0x00000a01 , 0x00000006 
+ 00023490  0x000076ff iadd  0x00000006 , 0x00000006 
+ 00023491  0x00007700 jam  0x00000080 , 0x00008023 
+ 00023492  0x00007701 jam  0x00000000 , 0x00008022 
+ 00023493  0x00007702 jam  0x00000000 , 0x00008024 
+ 00023494  0x00007703 arg  0x00008025 , 0x00000011 
+ 00023495  0x00007704 ifetchr  0x00000039 , 0x00000001 , 0x00000006 
+ 00023496  0x00007705 sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00023497  0x00007706 ncall  0x00005bd6 , 0x00000005 
+ 00023498  0x00007707 jam  0x00000000 , 0x00008023 
+ 00023499  0x00007709 ifetch  0x00000001 , 0x00000006 
+ 00023500  0x0000770a rtn  0x00000034 
+ 00023501  0x0000770b copy  0x0000003f , 0x00000039 
+ 00023502  0x0000770c ifetchr  0x00000012 , 0x00000002 , 0x00000006 
+ 00023503  0x0000770d copy  0x00000012 , 0x00000005 
+ 00023504  0x0000770e call  0x00007dd6 
+ 00023505  0x0000770f branch  0x00005bcb 
+ 00023506  0x00007712 ifetch  0x00000001 , 0x00000006 
+ 00023507  0x00007713 istore  0x00000001 , 0x00000011 
+ 00023508  0x00007714 loop  0x00005bd2 
+ 00023509  0x00007715 rtn 
+ 00023510  0x00007719 call  0x00007ec9 
+ 00023511  0x0000771a copy  0x00000039 , 0x00000002 
+ 00023512  0x0000771b nbranch  0x00005bd2 , 0x00000028 
+ 00023513  0x0000771d sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00023514  0x0000771e rtn  0x00000005 
+ 00023515  0x0000771f call  0x00005be0 
+ 00023516  0x00007720 call  0x00006dc4 
+ 00023517  0x00007721 add  0x00000002 , 0xfffffff0 , 0x00000002 
+ 00023518  0x00007722 branch  0x00005bd9 , 0x00000002 
+ 00023519  0x00007723 rtn 
+ 00023520  0x00007727 force  0x0000000c , 0x00000038 
+ 00023521  0x00007728 copy  0x00000002 , 0x00000039 
+ 00023522  0x0000772a ifetch  0x00000004 , 0x00000006 
+ 00023523  0x0000772b ixor  0x0000002f , 0x0000003f 
+ 00023524  0x0000772c copy  0x0000003f , 0x0000002f 
+ 00023525  0x0000772d istore  0x00000001 , 0x00000011 
+ 00023526  0x0000772e rshift8  0x0000003f , 0x0000003f 
+ 00023527  0x0000772f istore  0x00000001 , 0x00000011 
+ 00023528  0x00007730 rshift8  0x0000003f , 0x0000003f 
+ 00023529  0x00007731 istore  0x00000001 , 0x00000011 
+ 00023530  0x00007732 rshift8  0x0000003f , 0x0000003f 
+ 00023531  0x00007733 istore  0x00000001 , 0x00000011 
+ 00023532  0x00007734 increase  0x00000001 , 0x00000038 
+ 00023533  0x00007735 compare  0x00000000 , 0x00000038 , 0x00000003 
+ 00023534  0x00007736 rtn  0x00000001 
+ 00023535  0x00007737 add  0x00000039 , 0xfffffffc , 0x00000039 
+ 00023536  0x00007738 rtn  0x00000005 
+ 00023537  0x00007739 branch  0x00005be2 , 0x00000002 
+ 00023538  0x0000773a rtn 
+ 00023539  0x00007750 arg  0x00000000 , 0x0000003d 
+ 00023540  0x00007751 rtn 
+ 00023541  0x00007755 call  0x00007e77 
+ 00023542  0x00007756 jam  0x00000025 , 0x00008050 
+ 00023543  0x00007758 enable  0x00000028 
+ 00023544  0x00007759 jam  0x00000000 , 0x000041e3 
+ 00023545  0x0000775b call  0x00005c58 
+ 00023546  0x0000775c nbranch  0x00005c90 , 0x00000002 
+ 00023547  0x0000775d setarg  0x00000000 
+ 00023548  0x0000775e arg  0x00000a01 , 0x00000011 
+ 00023549  0x0000775f arg  0x00000040 , 0x00000002 
+ 00023550  0x00007760 call  0x00005f00 
+ 00023551  0x00007761 call  0x00005c68 
+ 00023552  0x00007762 nbranch  0x00005bf9 , 0x00000028 
+ 00023553  0x00007763 call  0x00005cb0 
+ 00023554  0x00007765 disable  0x00000028 
+ 00023555  0x00007766 fetch  0x00000001 , 0x00000a01 
+ 00023556  0x00007767 bbit0  0x00000003 , 0x00005c17 
+ 00023557  0x00007768 call  0x00006e33 
+ 00023558  0x00007769 jam  0x00000008 , 0x00008006 
+ 00023559  0x0000776a set1  0x0000002b , 0x00000000 
+ 00023560  0x0000776b force  0x00000004 , 0x00000038 
+ 00023561  0x0000776c call  0x00006e37 
+ 00023562  0x0000776d force  0x00000004 , 0x00000038 
+ 00023563  0x0000776e fetchr  0x0000002f , 0x00000004 , 0x00000a3d 
+ 00023564  0x0000776f setarg  0x00f1ab8f 
+ 00023565  0x00007770 store  0x00000004 , 0x000002f3 
+ 00023566  0x00007771 lshift2  0x0000003f , 0x0000003f 
+ 00023567  0x00007772 istore  0x00000004 , 0x00000005 
+ 00023568  0x00007773 lshift  0x0000003f , 0x0000003f 
+ 00023569  0x00007774 istore  0x00000004 , 0x00000005 
+ 00023570  0x00007775 lshift2  0x0000003f , 0x0000003f 
+ 00023571  0x00007776 istore  0x00000004 , 0x00000005 
+ 00023572  0x00007777 call  0x00005b6a 
+ 00023573  0x00007778 call  0x00005b8b 
+ 00023574  0x00007779 enable  0x00000028 
+ 00023575  0x0000777b fetch  0x00000004 , 0x00000a01 
+ 00023576  0x0000777c branch  0x00005c1e , 0x00000034 
+ 00023577  0x0000777d store  0x00000003 , 0x000044ce 
+ 00023578  0x0000777e call  0x00007ecb 
+ 00023579  0x0000777f call  0x00005ceb 
+ 00023580  0x00007780 call  0x00005bc0 
+ 00023581  0x00007781 call  0x00005bf3 , 0x0000002c 
+ 00023582  0x00007783 jam  0x00000000 , 0x000041e3 
+ 00023583  0x00007785 fetch  0x00000001 , 0x00000a01 
+ 00023584  0x00007786 bbit1  0x00000002 , 0x00005c3d 
+ 00023585  0x00007787 call  0x00005c58 
+ 00023586  0x00007788 nbranch  0x00005c2a , 0x00000002 
+ 00023587  0x00007789 call  0x00005c36 
+ 00023588  0x0000778a call  0x00005e5c 
+ 00023589  0x0000778b call  0x00005c8a 
+ 00023590  0x0000778c nbranch  0x00005c1f , 0x0000002d 
+ 00023591  0x0000778d fetch  0x00000001 , 0x000002e1 
+ 00023592  0x0000778e bbit0  0x00000000 , 0x00005c1f 
+ 00023593  0x0000778f branch  0x00005c4c 
+ 00023594  0x00007792 jam  0x00000000 , 0x000041e3 
+ 00023595  0x00007794 fetch  0x00000001 , 0x00000a01 
+ 00023596  0x00007795 bbit1  0x00000002 , 0x00005c3d 
+ 00023597  0x00007796 call  0x00005c58 
+ 00023598  0x00007797 nbranch  0x00005c3d , 0x00000002 
+ 00023599  0x00007798 call  0x00005c36 
+ 00023600  0x00007799 call  0x00005e59 
+ 00023601  0x0000779a call  0x00005c8a 
+ 00023602  0x0000779b nbranch  0x00005c2b , 0x0000002d 
+ 00023603  0x0000779c fetch  0x00000001 , 0x000002e1 
+ 00023604  0x0000779d bbit0  0x00000000 , 0x00005c2b 
+ 00023605  0x0000779e branch  0x00005c4c 
+ 00023606  0x000077a1 fetch  0x00000001 , 0x000044c5 
+ 00023607  0x000077a2 fetcht  0x00000001 , 0x000044c4 
+ 00023608  0x000077a3 isub  0x00000002 , 0x0000003e 
+ 00023609  0x000077a4 nbranch  0x00005e42 , 0x00000005 
+ 00023610  0x000077a6 setarg  0x00000102 
+ 00023611  0x000077a7 store  0x00000003 , 0x000044c3 
+ 00023612  0x000077a8 branch  0x00005e42 
+ 00023613  0x000077ab jam  0x00000000 , 0x000041e3 
+ 00023614  0x000077ad fetch  0x00000001 , 0x00000a01 
+ 00023615  0x000077ae bbit1  0x00000001 , 0x00005c4c 
+ 00023616  0x000077af call  0x00005c58 
+ 00023617  0x000077b0 nbranch  0x00005c4c , 0x00000002 
+ 00023618  0x000077b1 call  0x00005daf 
+ 00023619  0x000077b2 nop  0x000000c8 
+ 00023620  0x000077b3 call  0x00005dbd 
+ 00023621  0x000077b4 nop  0x00000064 
+ 00023622  0x000077b5 arg  0x00005df1 , 0x00000013 
+ 00023623  0x000077b6 call  0x00005b80 
+ 00023624  0x000077b7 call  0x00005b91 
+ 00023625  0x000077b8 nbranch  0x00005c3e , 0x0000002d 
+ 00023626  0x000077b9 fetch  0x00000001 , 0x000002e1 
+ 00023627  0x000077ba bbit0  0x00000000 , 0x00005c3e 
+ 00023628  0x000077bd fetch  0x00000001 , 0x00000a01 
+ 00023629  0x000077be bbit0  0x00000000 , 0x00005c50 
+ 00023630  0x000077bf call  0x00005c50 
+ 00023631  0x000077c0 branch  0x00004d18 
+ 00023632  0x000077c3 setarg  0x00000000 
+ 00023633  0x000077c4 store  0x00000004 , 0x00000a3d 
+ 00023634  0x000077c5 store  0x00000008 , 0x000002f3 
+ 00023635  0x000077c6 istore  0x00000008 , 0x00000005 
+ 00023636  0x000077c7 force  0x00000004 , 0x00000038 
+ 00023637  0x000077c8 call  0x00006e37 
+ 00023638  0x000077c9 jam  0x00000021 , 0x00008050 
+ 00023639  0x000077ca rtn 
+ 00023640  0x000077d1 call  0x00005c5e 
+ 00023641  0x000077d2 fetch  0x00000001 , 0x000041e3 
+ 00023642  0x000077d3 increase  0x00000001 , 0x0000003f 
+ 00023643  0x000077d4 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00023644  0x000077d5 store  0x00000001 , 0x000041e3 
+ 00023645  0x000077d6 rtn 
+ 00023646  0x000077d9 fetch  0x00000001 , 0x000041e3 
+ 00023647  0x000077da rtn  0x00000034 
+ 00023648  0x000077db fetch  0x00000001 , 0x00000a2c 
+ 00023649  0x000077dc and_into  0x00000040 , 0x0000003f 
+ 00023650  0x000077dd rtn  0x00000034 
+ 00023651  0x000077de branch  0x00007d89 
+ 00023652  0x000077e4 rshift4  0x0000003f , 0x00000002 
+ 00023653  0x000077e5 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023654  0x000077e6 ixor  0x00000002 , 0x0000003f 
+ 00023655  0x000077e7 rtn 
+ 00023656  0x000077ea fetch  0x00000004 , 0x00000a01 
+ 00023657  0x000077eb rtn  0x00000034 
+ 00023658  0x000077ec fetch  0x00000001 , 0x00000a01 
+ 00023659  0x000077ed call  0x00005c64 
+ 00023660  0x000077ee bne  0x0000000f , 0x00007ec7 
+ 00023661  0x000077ef fetch  0x00000001 , 0x00000a02 
+ 00023662  0x000077f0 call  0x00005c64 
+ 00023663  0x000077f1 bne  0x0000000f , 0x00007ec7 
+ 00023664  0x000077f4 fetch  0x00000001 , 0x00000a01 
+ 00023665  0x000077f5 ifetcht  0x00000001 , 0x00000006 
+ 00023666  0x000077f6 iadd  0x00000002 , 0x0000003f 
+ 00023667  0x000077f7 ifetcht  0x00000001 , 0x00000006 
+ 00023668  0x000077f8 iadd  0x00000002 , 0x0000003f 
+ 00023669  0x000077f9 ifetcht  0x00000001 , 0x00000006 
+ 00023670  0x000077fa iadd  0x00000002 , 0x00000011 
+ 00023671  0x000077fb arg  0x00000a01 , 0x0000003f 
+ 00023672  0x000077fc iadd  0x00000002 , 0x00000006 
+ 00023673  0x000077fd copy  0x00000011 , 0x0000003f 
+ 00023674  0x000077fe ifetchr  0x00000039 , 0x00000001 , 0x00000006 
+ 00023675  0x000077ff iadd  0x00000039 , 0x0000003f 
+ 00023676  0x00007800 call  0x00007ed3 
+ 00023677  0x00007801 call  0x00005c83 
+ 00023678  0x00007802 ifetcht  0x00000001 , 0x00000006 
+ 00023679  0x00007803 and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00023680  0x00007804 isub  0x00000002 , 0x0000003e 
+ 00023681  0x00007805 nbranch  0x00007ec7 , 0x00000005 
+ 00023682  0x00007806 rtn 
+ 00023683  0x00007809 ifetchr  0x00000039 , 0x00000001 , 0x00000006 
+ 00023684  0x0000780a sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00023685  0x0000780b rtn  0x00000005 
+ 00023686  0x0000780c iadd  0x00000039 , 0x0000003f 
+ 00023687  0x0000780d increase  0x00000002 , 0x00000039 
+ 00023688  0x0000780e call  0x00007ed3 
+ 00023689  0x0000780f branch  0x00005c83 
+ 00023690  0x00007812 setarg  0x00000000 
+ 00023691  0x00007813 store  0x00000002 , 0x000002e4 
+ 00023692  0x00007814 arg  0x00005e7f , 0x00000013 
+ 00023693  0x00007815 call  0x00005e2b 
+ 00023694  0x00007816 call  0x00005b80 
+ 00023695  0x00007817 branch  0x00005b91 
+ 00023696  0x00007823 call  0x00005c50 
+ 00023697  0x00007824 branch  0x00005d33 
+ 00023698  0x00007829 fetch  0x00000001 , 0x000002e1 
+ 00023699  0x0000782a lshift  0x0000003f , 0x0000003f 
+ 00023700  0x0000782b setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00023701  0x0000782c isolate0  0x0000000f , 0x00000011 
+ 00023702  0x0000782d rtn  0x00000001 
+ 00023703  0x0000782e store  0x00000001 , 0x000002e1 
+ 00023704  0x0000782f rtn 
+ 00023705  0x00007833 fetch  0x00000001 , 0x00008085 
+ 00023706  0x00007834 rtnbit0  0x00000001 
+ 00023707  0x00007835 branch  0x00005c9f 
+ 00023708  0x00007837 fetch  0x00000001 , 0x0000812c 
+ 00023709  0x00007838 qisolate1  0x0000003f 
+ 00023710  0x00007839 rtn  0x00000001 
+ 00023711  0x0000783b fetch  0x00000001 , 0x00008108 
+ 00023712  0x0000783c bbit0  0x00000001 , 0x00005c9c 
+ 00023713  0x0000783d call  0x00006dc4 
+ 00023714  0x0000783e branch  0x00005c9c 
+ 00023715  0x00007853 fetch  0x00000002 , 0x000041a6 
+ 00023716  0x00007854 rtn  0x00000034 
+ 00023717  0x00007855 jam  0x00000080 , 0x00008023 
+ 00023718  0x00007856 jam  0x00000000 , 0x00008022 
+ 00023719  0x00007857 jam  0x00000000 , 0x00008024 
+ 00023720  0x00007858 fetcht  0x00000002 , 0x000041a8 
+ 00023721  0x00007859 lshift2  0x00000002 , 0x00000039 
+ 00023722  0x0000785a iforce  0x00000006 
+ 00023723  0x0000785c ifetch  0x00000001 , 0x00000006 
+ 00023724  0x0000785d store  0x00000001 , 0x00008025 
+ 00023725  0x0000785e loop  0x00005cab 
+ 00023726  0x0000785f jam  0x00000000 , 0x00008023 
+ 00023727  0x00007860 rtn 
+ 00023728  0x00007866 fetch  0x00000001 , 0x00000a31 
+ 00023729  0x00007867 and_into  0x0000000f , 0x0000003f 
+ 00023730  0x00007868 isolate1  0x00000003 , 0x0000003f 
+ 00023731  0x00007869 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00023732  0x0000786a lshift  0x0000003f , 0x0000003f 
+ 00023733  0x0000786b store  0x00000001 , 0x00004182 
+ 00023734  0x0000786c branch  0x00001554 
+ 00023735  0x0000786f fetch  0x00000001 , 0x00000a2c 
+ 00023736  0x00007870 and_into  0x0000000f , 0x0000003f 
+ 00023737  0x00007871 rtn  0x00000034 
+ 00023738  0x00007872 store  0x00000001 , 0x0000409a 
+ 00023739  0x00007873 fetch  0x00000001 , 0x00000a2d 
+ 00023740  0x00007874 store  0x00000001 , 0x0000417b 
+ 00023741  0x00007875 fetch  0x00000001 , 0x00000a2e 
+ 00023742  0x00007876 store  0x00000001 , 0x0000417d 
+ 00023743  0x00007877 rtn 
+ 00023744  0x0000787a fetch  0x00000001 , 0x00000a2c 
+ 00023745  0x0000787b and_into  0x00000030 , 0x0000003f 
+ 00023746  0x0000787c rshift4  0x0000003f , 0x0000003f 
+ 00023747  0x0000787d rtn  0x00000034 
+ 00023748  0x0000787e store  0x00000001 , 0x000044d2 
+ 00023749  0x0000787f rtn 
+ 00023750  0x00007882 fetch  0x00000001 , 0x00000a32 
+ 00023751  0x00007883 and_into  0x0000000f , 0x0000003f 
+ 00023752  0x00007884 rtn  0x00000034 
+ 00023753  0x00007885 store  0x00000001 , 0x000044d3 
+ 00023754  0x00007886 rtn 
+ 00023755  0x00007889 fetch  0x00000001 , 0x00000a32 
+ 00023756  0x0000788a and_into  0x00000030 , 0x0000003f 
+ 00023757  0x0000788b rshift4  0x0000003f , 0x0000003f 
+ 00023758  0x0000788c rtn  0x00000034 
+ 00023759  0x0000788d store  0x00000001 , 0x000044d4 
+ 00023760  0x0000788e rtn 
+ 00023761  0x00007891 fetch  0x00000001 , 0x00000a33 
+ 00023762  0x00007892 rtn  0x00000034 
+ 00023763  0x00007893 store  0x00000001 , 0x000044d5 
+ 00023764  0x00007894 rtn 
+ 00023765  0x00007897 fetch  0x00000001 , 0x00000a32 
+ 00023766  0x00007898 bbit1  0x00000007 , 0x00005cde 
+ 00023767  0x00007899 jam  0x00000088 , 0x000041eb 
+ 00023768  0x0000789a jam  0x00000066 , 0x000041ec 
+ 00023769  0x0000789b jam  0x00000044 , 0x000041ed 
+ 00023770  0x0000789c fetch  0x00000002 , 0x00000a2f 
+ 00023771  0x0000789d rtn  0x00000034 
+ 00023772  0x0000789e store  0x00000002 , 0x000041ec 
+ 00023773  0x0000789f rtn 
+ 00023774  0x000078a2 jam  0x000000ff , 0x000041ea 
+ 00023775  0x000078a3 fetch  0x00000001 , 0x00000a32 
+ 00023776  0x000078a4 and_into  0x00000040 , 0x0000003f 
+ 00023777  0x000078a5 rshift3  0x0000003f , 0x0000003f 
+ 00023778  0x000078a6 store  0x00000001 , 0x000041ee 
+ 00023779  0x000078a7 rtn 
+ 00023780  0x000078ab jam  0x00000073 , 0x00008002 
+ 00023781  0x000078ac until  0x0000003e , 0x00000033 
+ 00023782  0x000078ad until  0x0000003e , 0x00000033 
+ 00023783  0x000078ae fetch  0x00000002 , 0x00008120 
+ 00023784  0x000078af set0  0x0000000d , 0x0000003f 
+ 00023785  0x000078b0 store  0x00000002 , 0x0000804c 
+ 00023786  0x000078b1 branch  0x00005d4e 
+ 00023787  0x000078b6 fetch  0x00000001 , 0x00000a02 
+ 00023788  0x000078b7 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023789  0x000078b8 beq  0x0000000a , 0x00005cf8 
+ 00023790  0x000078b9 beq  0x00000001 , 0x00005cf8 
+ 00023791  0x000078ba beq  0x00000004 , 0x00005cfb 
+ 00023792  0x000078bb beq  0x00000008 , 0x00005d00 
+ 00023793  0x000078bc beq  0x00000009 , 0x00005d05 
+ 00023794  0x000078bd beq  0x0000000b , 0x00005d0a 
+ 00023795  0x000078be beq  0x0000000c , 0x00005cf8 
+ 00023796  0x000078bf beq  0x0000000d , 0x00005d0d 
+ 00023797  0x000078c0 beq  0x0000000e , 0x00005d12 
+ 00023798  0x000078c1 beq  0x0000000f , 0x00005d17 
+ 00023799  0x000078c2 rtn 
+ 00023800  0x000078c7 call  0x00005ce4 
+ 00023801  0x000078c8 call  0x00005d1c 
+ 00023802  0x000078c9 branch  0x00005d3d 
+ 00023803  0x000078cc call  0x00005ce4 
+ 00023804  0x000078cd arg  0x00003814 , 0x0000003f 
+ 00023805  0x000078ce arg  0x00004c50 , 0x00000002 
+ 00023806  0x000078cf call  0x00005d22 
+ 00023807  0x000078d0 branch  0x00005d3d 
+ 00023808  0x000078d4 call  0x00005ce4 
+ 00023809  0x000078d5 arg  0x000032b9 , 0x0000003f 
+ 00023810  0x000078d6 arg  0x00003c71 , 0x00000002 
+ 00023811  0x000078d7 call  0x00005d22 
+ 00023812  0x000078d8 branch  0x00005d3d 
+ 00023813  0x000078db call  0x00005ce4 
+ 00023814  0x000078dc arg  0x000032b9 , 0x0000003f 
+ 00023815  0x000078dd arg  0x00004adb , 0x00000002 
+ 00023816  0x000078de call  0x00005d22 
+ 00023817  0x000078df branch  0x00005d3d 
+ 00023818  0x000078e2 call  0x00005ce4 
+ 00023819  0x000078e3 call  0x00005d25 
+ 00023820  0x000078e4 branch  0x00005d3d 
+ 00023821  0x000078e7 call  0x00005ce4 
+ 00023822  0x000078e8 arg  0x000032b9 , 0x0000003f 
+ 00023823  0x000078e9 arg  0x000049ef , 0x00000002 
+ 00023824  0x000078ea call  0x00005d22 
+ 00023825  0x000078eb branch  0x00005d3d 
+ 00023826  0x000078ee call  0x00005ce4 
+ 00023827  0x000078ef arg  0x0000369a , 0x0000003f 
+ 00023828  0x000078f0 arg  0x00004c50 , 0x00000002 
+ 00023829  0x000078f1 call  0x00005d22 
+ 00023830  0x000078f2 branch  0x00005d3d 
+ 00023831  0x000078f5 call  0x00005ce4 
+ 00023832  0x000078f6 arg  0x0000345e , 0x0000003f 
+ 00023833  0x000078f7 arg  0x00004c50 , 0x00000002 
+ 00023834  0x000078f8 call  0x00005d22 
+ 00023835  0x000078f9 branch  0x00005d3d 
+ 00023836  0x000078fc arg  0x00002735 , 0x0000003f 
+ 00023837  0x000078fd arg  0x0000314b , 0x00000002 
+ 00023838  0x000078fe branch  0x00005d22 
+ 00023839  0x00007903 call  0x00005ce4 
+ 00023840  0x00007904 arg  0x00003814 , 0x0000003f 
+ 00023841  0x00007905 arg  0x00003c71 , 0x00000002 
+ 00023842  0x00007907 store  0x00000002 , 0x00008013 
+ 00023843  0x00007908 storet  0x00000002 , 0x00008015 
+ 00023844  0x00007909 rtn 
+ 00023845  0x0000790c arg  0x000032b9 , 0x0000003f 
+ 00023846  0x0000790d arg  0x00004c50 , 0x00000002 
+ 00023847  0x0000790e branch  0x00005d22 
+ 00023848  0x00007911 arg  0x000053f2 , 0x0000003f 
+ 00023849  0x00007912 arg  0x00005b49 , 0x00000002 
+ 00023850  0x00007913 branch  0x00005d2d 
+ 00023851  0x00007916 arg  0x00001c7d , 0x0000003f 
+ 00023852  0x00007917 arg  0x0000217c , 0x00000002 
+ 00023853  0x00007919 store  0x00000002 , 0x00008017 
+ 00023854  0x0000791a storet  0x00000002 , 0x00008019 
+ 00023855  0x0000791b rtn 
+ 00023856  0x0000791e arg  0x00002181 , 0x0000003f 
+ 00023857  0x0000791f arg  0x00002733 , 0x00000002 
+ 00023858  0x00007920 branch  0x00005d2d 
+ 00023859  0x00007923 call  0x00005d28 
+ 00023860  0x00007924 arg  0x00001c7d , 0x0000003f 
+ 00023861  0x00007925 arg  0x0000217c , 0x00000002 
+ 00023862  0x00007926 branch  0x00005d22 
+ 00023863  0x00007929 fetch  0x00000001 , 0x00000a03 
+ 00023864  0x0000792a and  0x0000003f , 0x000000c0 , 0x0000003f 
+ 00023865  0x0000792b beq  0x000000c0 , 0x00005d33 
+ 00023866  0x0000792c bbit1  0x00000006 , 0x00005d2b 
+ 00023867  0x0000792d bbit1  0x00000007 , 0x00005d28 
+ 00023868  0x0000792e rtn 
+ 00023869  0x00007932 call  0x00005d37 
+ 00023870  0x00007933 fetch  0x00000001 , 0x00000a03 
+ 00023871  0x00007934 and  0x0000003f , 0x0000001f , 0x00000011 
+ 00023872  0x00007935 fetch  0x00000001 , 0x00000a01 
+ 00023873  0x00007936 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023874  0x00007937 fetcht  0x00000001 , 0x00000a02 
+ 00023875  0x00007938 and  0x00000002 , 0x0000000f , 0x00000002 
+ 00023876  0x00007939 lshift4  0x00000002 , 0x00000002 
+ 00023877  0x0000793a ior  0x00000002 , 0x0000003f 
+ 00023878  0x0000793b lshift8  0x00000011 , 0x00000011 
+ 00023879  0x0000793c ior  0x00000011 , 0x0000003f 
+ 00023880  0x0000793d set1  0x0000000d , 0x0000003f 
+ 00023881  0x0000793e set1  0x0000000e , 0x0000003f 
+ 00023882  0x0000793f store  0x00000004 , 0x0000804c 
+ 00023883  0x00007940 call  0x00005d4e 
+ 00023884  0x00007941 jam  0x00000008 , 0x00008011 
+ 00023885  0x00007942 rtn 
+ 00023886  0x00007949 setarg  0x00000002 
+ 00023887  0x0000794b until  0x0000003e , 0x00000033 
+ 00023888  0x0000794c store  0x00000001 , 0x00008012 
+ 00023889  0x0000794d until  0x0000003e , 0x00000033 
+ 00023890  0x0000794e until  0x0000003e , 0x00000033 
+ 00023891  0x0000794f rtn 
+ 00023892  0x0000795b bpatchx  0x00000020 , 0x00004024 
+ 00023893  0x0000795d fetch  0x00000001 , 0x00004486 
+ 00023894  0x0000795e store  0x00000001 , 0x00008086 
+ 00023895  0x0000795f fetch  0x00000001 , 0x00004487 
+ 00023896  0x00007960 store  0x00000001 , 0x00008087 
+ 00023897  0x00007961 setarg  0x000002e2 
+ 00023898  0x00007962 store  0x00000002 , 0x0000808a 
+ 00023899  0x00007963 setarg  0x000002e7 
+ 00023900  0x00007964 store  0x00000002 , 0x0000808c 
+ 00023901  0x00007965 branch  0x00005b62 
+ 00023902  0x0000796b set1  0x00000007 , 0x0000003f 
+ 00023903  0x0000796c store  0x00000002 , 0x000002e2 
+ 00023904  0x0000796d bpatchx  0x00000021 , 0x00004024 
+ 00023905  0x0000796e jam  0x00000002 , 0x00008088 
+ 00023906  0x0000796f jam  0x00000000 , 0x0000808e 
+ 00023907  0x00007970 jam  0x00000002 , 0x00008006 
+ 00023908  0x00007971 branch  0x00005d6e 
+ 00023909  0x00007977 force  0x00000001 , 0x00000002 
+ 00023910  0x00007979 store  0x00000001 , 0x000002e2 
+ 00023911  0x0000797a bpatchx  0x00000022 , 0x00004024 
+ 00023912  0x0000797b jam  0x00000001 , 0x00008088 
+ 00023913  0x0000797c storet  0x00000002 , 0x0000808e 
+ 00023914  0x0000797d jam  0x00000002 , 0x00008006 
+ 00023915  0x0000797e call  0x00005d6e 
+ 00023916  0x0000797f fetch  0x00000001 , 0x000002e7 
+ 00023917  0x00007980 rtn 
+ 00023918  0x00007984 fetch  0x00000002 , 0x000040dd 
+ 00023919  0x00007985 increase  0x00000001 , 0x0000003f 
+ 00023920  0x00007986 store  0x00000002 , 0x000040dd 
+ 00023921  0x00007987 fetch  0x00000001 , 0x0000812c 
+ 00023922  0x00007988 bbit0  0x00000003 , 0x00005d6e 
+ 00023923  0x00007989 rtn 
+ 00023924  0x00007992 disable  0x00000028 
+ 00023925  0x00007993 copy  0x0000003f , 0x00000012 
+ 00023926  0x00007994 fetch  0x00000001 , 0x000044ae 
+ 00023927  0x00007995 rtnne  0x00000000 
+ 00023928  0x00007996 enable  0x00000028 
+ 00023929  0x00007997 copy  0x00000012 , 0x0000003f 
+ 00023930  0x00007998 branch  0x00005d82 
+ 00023931  0x0000799c fetch  0x00000001 , 0x000044ae 
+ 00023932  0x0000799d beq  0x00000001 , 0x00005d82 
+ 00023933  0x0000799e beq  0x00000002 , 0x00005d88 
+ 00023934  0x0000799f beq  0x00000003 , 0x00005d90 
+ 00023935  0x000079a0 beq  0x00000004 , 0x00005d94 
+ 00023936  0x000079a1 beq  0x00000005 , 0x00005d9a 
+ 00023937  0x000079a2 rtn 
+ 00023938  0x000079a5 store  0x00000003 , 0x000044a7 
+ 00023939  0x000079a6 copy  0x00000011 , 0x0000003f 
+ 00023940  0x000079a7 store  0x00000002 , 0x000044aa 
+ 00023941  0x000079a8 storet  0x00000002 , 0x000044ac 
+ 00023942  0x000079a9 jam  0x00000002 , 0x000044ae 
+ 00023943  0x000079aa branch  0x00005daf 
+ 00023944  0x000079ac call  0x00005daf 
+ 00023945  0x000079ad jam  0x00000003 , 0x000044ae 
+ 00023946  0x000079ae call  0x00005db4 
+ 00023947  0x000079af arg  0x000002e2 , 0x00000011 
+ 00023948  0x000079b0 jam  0x00000004 , 0x00008088 
+ 00023949  0x000079b1 fetch  0x00000003 , 0x000044a7 
+ 00023950  0x000079b2 arg  0x00000020 , 0x00000002 
+ 00023951  0x000079b3 branch  0x00005dc5 
+ 00023952  0x000079b6 call  0x00005daf 
+ 00023953  0x000079b7 call  0x00005de8 
+ 00023954  0x000079b8 jam  0x00000004 , 0x000044ae 
+ 00023955  0x000079b9 rtn 
+ 00023956  0x000079bd call  0x00005daf 
+ 00023957  0x000079be jam  0x00000005 , 0x000044ae 
+ 00023958  0x000079bf call  0x00005db4 
+ 00023959  0x000079c0 call  0x00005da7 
+ 00023960  0x000079c1 call  0x00005dc1 
+ 00023961  0x000079c2 branch  0x00005da2 
+ 00023962  0x000079c4 call  0x00005daf 
+ 00023963  0x000079c5 call  0x00005db4 
+ 00023964  0x000079c6 setarg  0x00000005 
+ 00023965  0x000079c7 call  0x00005d65 
+ 00023966  0x000079c8 rtnbit1  0x00000000 
+ 00023967  0x000079c9 jam  0x00000000 , 0x000044ae 
+ 00023968  0x000079ca fetch  0x00000002 , 0x00004473 
+ 00023969  0x000079cb branch  0x00007e7a 
+ 00023970  0x000079cd fetch  0x00000004 , 0x00000964 
+ 00023971  0x000079ce fetcht  0x00000002 , 0x000044aa 
+ 00023972  0x000079d0 increase  0xfffffffc , 0x00000002 
+ 00023973  0x000079d1 istore  0x00000004 , 0x00000002 
+ 00023974  0x000079d2 rtn 
+ 00023975  0x000079d4 fetcht  0x00000002 , 0x000044aa 
+ 00023976  0x000079d5 copy  0x00000002 , 0x00000011 
+ 00023977  0x000079d6 increase  0xfffffffc , 0x00000002 
+ 00023978  0x000079d7 ifetch  0x00000004 , 0x00000002 
+ 00023979  0x000079d8 store  0x00000004 , 0x00000964 
+ 00023980  0x000079d9 fetcht  0x00000002 , 0x000044ac 
+ 00023981  0x000079da fetch  0x00000003 , 0x000044a7 
+ 00023982  0x000079db rtn 
+ 00023983  0x000079de call  0x00005e13 
+ 00023984  0x000079df call  0x00005b62 
+ 00023985  0x000079e0 setarg  0x00000000 
+ 00023986  0x000079e1 store  0x00000004 , 0x000002e2 
+ 00023987  0x000079e2 rtn 
+ 00023988  0x000079e5 jam  0x00000006 , 0x000002e2 
+ 00023989  0x000079e7 setarg  0x00000000 
+ 00023990  0x000079e8 store  0x00000002 , 0x0000808e 
+ 00023991  0x000079e9 setarg  0x00000001 
+ 00023992  0x000079ea store  0x00000002 , 0x00008088 
+ 00023993  0x000079eb setarg  0x000002e2 
+ 00023994  0x000079ec store  0x00000002 , 0x0000808a 
+ 00023995  0x000079ed jam  0x00000002 , 0x00008006 
+ 00023996  0x000079ee branch  0x00005d6e 
+ 00023997  0x000079f1 jam  0x000000ab , 0x000002e2 
+ 00023998  0x000079f2 branch  0x00005db5 
+ 00023999  0x000079f5 jam  0x000000b9 , 0x000002e2 
+ 00024000  0x000079f6 branch  0x00005db5 
+ 00024001  0x000079fa increase  0x00000004 , 0x00000002 
+ 00024002  0x000079fb storet  0x00000002 , 0x00008088 
+ 00024003  0x000079fc arg  0x00000002 , 0x00000002 
+ 00024004  0x000079fd increase  0xfffffffc , 0x00000011 
+ 00024005  0x00007a00 istoret  0x00000001 , 0x00000011 
+ 00024006  0x00007a01 rshift16  0x0000003f , 0x00000002 
+ 00024007  0x00007a02 istoret  0x00000001 , 0x00000005 
+ 00024008  0x00007a03 rshift8  0x0000003f , 0x00000002 
+ 00024009  0x00007a04 istoret  0x00000001 , 0x00000005 
+ 00024010  0x00007a05 istore  0x00000001 , 0x00000005 
+ 00024011  0x00007a06 deposit  0x00000011 
+ 00024012  0x00007a07 store  0x00000002 , 0x0000808a 
+ 00024013  0x00007a08 setarg  0x00000000 
+ 00024014  0x00007a09 store  0x00000002 , 0x0000808e 
+ 00024015  0x00007a0a jam  0x00000002 , 0x00008006 
+ 00024016  0x00007a0b call  0x00005d6e 
+ 00024017  0x00007a0c branch  0x00005de8 
+ 00024018  0x00007a11 storet  0x00000002 , 0x0000808e 
+ 00024019  0x00007a12 rshift16  0x0000003f , 0x00000002 
+ 00024020  0x00007a13 storet  0x00000001 , 0x000002e3 
+ 00024021  0x00007a14 rshift8  0x0000003f , 0x00000002 
+ 00024022  0x00007a15 storet  0x00000001 , 0x000002e4 
+ 00024023  0x00007a16 store  0x00000001 , 0x000002e5 
+ 00024024  0x00007a17 setarg  0x00000004 
+ 00024025  0x00007a18 store  0x00000002 , 0x00008088 
+ 00024026  0x00007a19 jam  0x00000003 , 0x000002e2 
+ 00024027  0x00007a1a setarg  0x000002e2 
+ 00024028  0x00007a1b store  0x00000002 , 0x0000808a 
+ 00024029  0x00007a1c deposit  0x00000011 
+ 00024030  0x00007a1d store  0x00000002 , 0x0000808c 
+ 00024031  0x00007a1e fetch  0x00000001 , 0x00008086 
+ 00024032  0x00007a1f isolate0  0x0000000f , 0x00000011 
+ 00024033  0x00007a20 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00024034  0x00007a21 store  0x00000001 , 0x00008086 
+ 00024035  0x00007a22 jam  0x00000002 , 0x00008006 
+ 00024036  0x00007a24 fetch  0x00000001 , 0x0000812c 
+ 00024037  0x00007a25 bbit1  0x00000007 , 0x00005de4 
+ 00024038  0x00007a26 arg  0x00000003 , 0x00000007 
+ 00024039  0x00007a27 branch  0x00005d6e 
+ 00024040  0x00007a2a setarg  0x000007d0 
+ 00024041  0x00007a2b call  0x0000137f 
+ 00024042  0x00007a2c call  0x00005db4 
+ 00024043  0x00007a2d setarg  0x000002e7 
+ 00024044  0x00007a2e store  0x00000002 , 0x0000808c 
+ 00024045  0x00007a2f setarg  0x00000005 
+ 00024046  0x00007a30 call  0x00005d65 
+ 00024047  0x00007a31 bbit1  0x00000000 , 0x00005de8 
+ 00024048  0x00007a32 rtn 
+ 00024049  0x00007a37 storet  0x00000002 , 0x0000808e 
+ 00024050  0x00007a38 setarg  0x00000004 
+ 00024051  0x00007a39 store  0x00000002 , 0x00008088 
+ 00024052  0x00007a3a jam  0x00000003 , 0x000002e2 
+ 00024053  0x00007a3b setarg  0x000002e2 
+ 00024054  0x00007a3c store  0x00000002 , 0x0000808a 
+ 00024055  0x00007a3d deposit  0x00000011 
+ 00024056  0x00007a3e store  0x00000002 , 0x0000808c 
+ 00024057  0x00007a3f fetch  0x00000001 , 0x00008086 
+ 00024058  0x00007a40 isolate0  0x0000000f , 0x00000011 
+ 00024059  0x00007a41 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00024060  0x00007a42 store  0x00000001 , 0x00008086 
+ 00024061  0x00007a43 jam  0x00000002 , 0x00008006 
+ 00024062  0x00007a45 fetch  0x00000001 , 0x0000812c 
+ 00024063  0x00007a46 bbit1  0x00000007 , 0x00005dfe 
+ 00024064  0x00007a47 arg  0x00000003 , 0x00000007 
+ 00024065  0x00007a48 call  0x00005c99 
+ 00024066  0x00007a49 call  0x00005d6e 
+ 00024067  0x00007a4a isolate1  0x00000002 , 0x0000003f 
+ 00024068  0x00007a4b call  0x00005c92 
+ 00024069  0x00007a4c fetch  0x00000001 , 0x000002e3 
+ 00024070  0x00007a4d lshift16  0x0000003f , 0x00000012 
+ 00024071  0x00007a4e fetch  0x00000001 , 0x000002e4 
+ 00024072  0x00007a4f lshift8  0x0000003f , 0x0000003f 
+ 00024073  0x00007a50 ior  0x00000012 , 0x00000012 
+ 00024074  0x00007a51 fetch  0x00000001 , 0x000002e5 
+ 00024075  0x00007a52 ior  0x00000012 , 0x0000003f 
+ 00024076  0x00007a53 iadd  0x00000002 , 0x0000003f 
+ 00024077  0x00007a54 store  0x00000001 , 0x000002e5 
+ 00024078  0x00007a55 rshift8  0x0000003f , 0x0000003f 
+ 00024079  0x00007a56 store  0x00000001 , 0x000002e4 
+ 00024080  0x00007a57 rshift8  0x0000003f , 0x0000003f 
+ 00024081  0x00007a58 store  0x00000001 , 0x000002e3 
+ 00024082  0x00007a59 rtn 
+ 00024083  0x00007a5c fetch  0x00000001 , 0x000044b7 
+ 00024084  0x00007a5d fetcht  0x00000001 , 0x000044b9 
+ 00024085  0x00007a5e isub  0x00000002 , 0x0000003e 
+ 00024086  0x00007a5f nbranch  0x00005e18 , 0x00000005 
+ 00024087  0x00007a60 call  0x00005e24 
+ 00024088  0x00007a63 fetch  0x00000001 , 0x000044b7 
+ 00024089  0x00007a64 arg  0x00000020 , 0x00000002 
+ 00024090  0x00007a65 call  0x0000612c 
+ 00024091  0x00007a66 fetch  0x00000001 , 0x000044ba 
+ 00024092  0x00007a67 arg  0x00000021 , 0x00000002 
+ 00024093  0x00007a68 call  0x0000612c 
+ 00024094  0x00007a69 fetch  0x00000001 , 0x000044b8 
+ 00024095  0x00007a6a arg  0x00000022 , 0x00000002 
+ 00024096  0x00007a6b call  0x0000612c 
+ 00024097  0x00007a6c fetch  0x00000001 , 0x000044b9 
+ 00024098  0x00007a6d arg  0x0000001f , 0x00000002 
+ 00024099  0x00007a6e branch  0x0000612c 
+ 00024100  0x00007a71 setarg  0x00100d0e 
+ 00024101  0x00007a72 store  0x00000003 , 0x000044b7 
+ 00024102  0x00007a73 setarg  0x0012110f 
+ 00024103  0x00007a74 istore  0x00000003 , 0x00000005 
+ 00024104  0x00007a75 rtn 
+ 00024105  0x00007a7b jam  0x00000001 , 0x00008010 
+ 00024106  0x00007a7c rtn 
+ 00024107  0x00007a83 jam  0x00000005 , 0x00008091 
+ 00024108  0x00007a84 jam  0x00000007 , 0x00008092 
+ 00024109  0x00007a85 jam  0x00000007 , 0x00008093 
+ 00024110  0x00007a86 jam  0x00000007 , 0x00008094 
+ 00024111  0x00007a87 jam  0x00000007 , 0x00008095 
+ 00024112  0x00007a88 jam  0x00000005 , 0x00008096 
+ 00024113  0x00007a89 jam  0x00000000 , 0x00008097 
+ 00024114  0x00007a8a rtn 
+ 00024115  0x00007a8d jam  0x0000000c , 0x00008091 
+ 00024116  0x00007a8e jam  0x0000000d , 0x00008092 
+ 00024117  0x00007a8f jam  0x0000000d , 0x00008093 
+ 00024118  0x00007a90 jam  0x0000000d , 0x00008094 
+ 00024119  0x00007a91 jam  0x0000000d , 0x00008095 
+ 00024120  0x00007a92 jam  0x0000000c , 0x00008096 
+ 00024121  0x00007a93 jam  0x00000000 , 0x00008097 
+ 00024122  0x00007a94 rtn 
+ 00024123  0x00007a97 call  0x00005e70 
+ 00024124  0x00007a99 fetch  0x00000001 , 0x000044c4 
+ 00024125  0x00007a9a arg  0x0000006c , 0x00000002 
+ 00024126  0x00007a9b call  0x0000612c 
+ 00024127  0x00007a9c fetch  0x00000001 , 0x000044c5 
+ 00024128  0x00007a9d arg  0x0000006d , 0x00000002 
+ 00024129  0x00007a9e branch  0x0000612c 
+ 00024130  0x00007aa1 call  0x00005e77 
+ 00024131  0x00007aa2 branch  0x00005e3c 
+ 00024132  0x00007aa5 fetch  0x00000001 , 0x0000812c 
+ 00024133  0x00007aa6 bbit0  0x00000005 , 0x00005e44 
+ 00024134  0x00007aa7 rtn 
+ 00024135  0x00007aab store  0x00000001 , 0x000002e6 
+ 00024136  0x00007aac setarg  0x000002e6 
+ 00024137  0x00007aad store  0x00000002 , 0x0000809a 
+ 00024138  0x00007aae setarg  0x00000001 
+ 00024139  0x00007aaf store  0x00000002 , 0x00008098 
+ 00024140  0x00007ab0 storet  0x00000002 , 0x0000809e 
+ 00024141  0x00007ab1 storer  0x00000011 , 0x00000002 , 0x0000809c 
+ 00024142  0x00007ab2 jam  0x00000001 , 0x00008090 
+ 00024143  0x00007ab3 jam  0x00000004 , 0x00008006 
+ 00024144  0x00007ab4 branch  0x00005e44 
+ 00024145  0x00007ab8 setarg  0x00000000 
+ 00024146  0x00007ab9 store  0x00000002 , 0x0000809e 
+ 00024147  0x00007aba store  0x00000002 , 0x0000809c 
+ 00024148  0x00007abb storet  0x00000002 , 0x00008098 
+ 00024149  0x00007abc storer  0x00000011 , 0x00000002 , 0x0000809a 
+ 00024150  0x00007abd jam  0x00000001 , 0x00008090 
+ 00024151  0x00007abe jam  0x00000004 , 0x00008006 
+ 00024152  0x00007abf branch  0x00005e44 
+ 00024153  0x00007ac2 set1  0x00000028 , 0x00000000 
+ 00024154  0x00007ac3 jam  0x00000008 , 0x00004485 
+ 00024155  0x00007ac4 rtn 
+ 00024156  0x00007ac7 set0  0x00000028 , 0x00000000 
+ 00024157  0x00007ac8 jam  0x00000020 , 0x00004485 
+ 00024158  0x00007ac9 rtn 
+ 00024159  0x00007acd fetch  0x00000001 , 0x0000447b 
+ 00024160  0x00007ace iadd  0x00000012 , 0x0000003f 
+ 00024161  0x00007acf store  0x00000001 , 0x000002e4 
+ 00024162  0x00007ad0 branch  0x00005e66 
+ 00024163  0x00007ad3 fetch  0x00000002 , 0x000002e4 
+ 00024164  0x00007ad4 byteswap  0x0000003f , 0x0000003f 
+ 00024165  0x00007ad5 store  0x00000001 , 0x000002e4 
+ 00024166  0x00007adb setarg  0x00000003 
+ 00024167  0x00007adc store  0x00000002 , 0x00008098 
+ 00024168  0x00007add jam  0x000000a0 , 0x000002e3 
+ 00024169  0x00007ade jam  0x000000a1 , 0x000002e5 
+ 00024170  0x00007adf branch  0x00005e85 
+ 00024171  0x00007ae6 storet  0x00000002 , 0x00000964 
+ 00024172  0x00007ae7 call  0x00005e70 
+ 00024173  0x00007ae8 fetcht  0x00000002 , 0x00000964 
+ 00024174  0x00007ae9 call  0x00005e9f 
+ 00024175  0x00007aea branch  0x00005e77 
+ 00024176  0x00007aed fetch  0x00000001 , 0x000044c3 
+ 00024177  0x00007aee rtneq  0x000000ff 
+ 00024178  0x00007aef bbit0  0x00000006 , 0x00005e75 
+ 00024179  0x00007af0 setarg  0x000249f0 
+ 00024180  0x00007af1 call  0x0000137f 
+ 00024181  0x00007af3 fetcht  0x00000001 , 0x000044c3 
+ 00024182  0x00007af4 branch  0x0000610d 
+ 00024183  0x00007af7 fetcht  0x00000001 , 0x000044c3 
+ 00024184  0x00007af8 branch  0x00006109 
+ 00024185  0x00007afe bpatchx  0x00000023 , 0x00004024 
+ 00024186  0x00007aff bmark1  0x00000028 , 0x00005e5f 
+ 00024187  0x00007b00 fetch  0x00000002 , 0x0000447b 
+ 00024188  0x00007b01 iadd  0x00000012 , 0x0000003f 
+ 00024189  0x00007b02 byteswap  0x0000003f , 0x0000003f 
+ 00024190  0x00007b03 store  0x00000002 , 0x000002e4 
+ 00024191  0x00007b07 bpatchx  0x00000024 , 0x00004024 
+ 00024192  0x00007b08 bmark1  0x00000028 , 0x00005e63 
+ 00024193  0x00007b09 setarg  0x00000004 
+ 00024194  0x00007b0a store  0x00000002 , 0x00008098 
+ 00024195  0x00007b0b jam  0x000000a0 , 0x000002e3 
+ 00024196  0x00007b0c jam  0x000000a1 , 0x000002e6 
+ 00024197  0x00007b0e setarg  0x000002e3 
+ 00024198  0x00007b0f store  0x00000002 , 0x0000809a 
+ 00024199  0x00007b10 storet  0x00000002 , 0x0000809e 
+ 00024200  0x00007b11 storer  0x00000011 , 0x00000002 , 0x0000809c 
+ 00024201  0x00007b12 setarg  0x00000002 
+ 00024202  0x00007b13 isolate0  0x0000000f , 0x00000011 
+ 00024203  0x00007b14 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024204  0x00007b15 store  0x00000001 , 0x00008090 
+ 00024205  0x00007b16 jam  0x00000004 , 0x00008006 
+ 00024206  0x00007b17 arg  0x00000005 , 0x00000007 
+ 00024207  0x00007b18 call  0x00005c99 
+ 00024208  0x00007b19 call  0x00005e44 
+ 00024209  0x00007b1a isolate1  0x00000004 , 0x0000003f 
+ 00024210  0x00007b1b call  0x00005c92 
+ 00024211  0x00007b1c bmark1  0x00000028 , 0x00005e9a 
+ 00024212  0x00007b1d fetch  0x00000002 , 0x000002e4 
+ 00024213  0x00007b1e byteswap  0x0000003f , 0x0000003f 
+ 00024214  0x00007b1f iadd  0x00000002 , 0x0000003f 
+ 00024215  0x00007b20 byteswap  0x0000003f , 0x0000003f 
+ 00024216  0x00007b21 store  0x00000002 , 0x000002e4 
+ 00024217  0x00007b22 rtn 
+ 00024218  0x00007b25 fetch  0x00000001 , 0x000002e4 
+ 00024219  0x00007b26 iadd  0x00000002 , 0x0000003f 
+ 00024220  0x00007b27 byteswap  0x0000003f , 0x0000003f 
+ 00024221  0x00007b28 store  0x00000002 , 0x000002e4 
+ 00024222  0x00007b29 rtn 
+ 00024223  0x00007b30 fetch  0x00000002 , 0x0000447b 
+ 00024224  0x00007b31 iadd  0x00000012 , 0x0000003f 
+ 00024225  0x00007b35 store  0x00000002 , 0x0000095c 
+ 00024226  0x00007b36 bpatchx  0x00000025 , 0x00004024 
+ 00024227  0x00007b37 storet  0x00000002 , 0x00000964 
+ 00024228  0x00007b38 storer  0x00000011 , 0x00000002 , 0x0000097b 
+ 00024229  0x00007b3a call  0x00005eb4 
+ 00024230  0x00007b3c fetcht  0x00000002 , 0x00000974 
+ 00024231  0x00007b3d fetchr  0x00000011 , 0x00000002 , 0x0000097b 
+ 00024232  0x00007b3e fetch  0x00000002 , 0x0000095c 
+ 00024233  0x00007b40 call  0x00005ed5 
+ 00024234  0x00007b42 fetch  0x00000002 , 0x00000974 
+ 00024235  0x00007b43 fetcht  0x00000002 , 0x0000097b 
+ 00024236  0x00007b44 iadd  0x00000002 , 0x00000002 
+ 00024237  0x00007b45 storet  0x00000002 , 0x0000097b 
+ 00024238  0x00007b46 fetcht  0x00000002 , 0x0000095c 
+ 00024239  0x00007b47 iadd  0x00000002 , 0x00000002 
+ 00024240  0x00007b48 storet  0x00000002 , 0x0000095c 
+ 00024241  0x00007b49 fetch  0x00000002 , 0x00000964 
+ 00024242  0x00007b4a nbranch  0x00005ea5 , 0x00000034 
+ 00024243  0x00007b4b rtn 
+ 00024244  0x00007b54 bpatchx  0x00000026 , 0x00004024 
+ 00024245  0x00007b55 fetch  0x00000001 , 0x00004485 
+ 00024246  0x00007b56 increase  0xffffffff , 0x0000003f 
+ 00024247  0x00007b57 fetcht  0x00000002 , 0x0000095c 
+ 00024248  0x00007b58 ior  0x00000002 , 0x0000003f 
+ 00024249  0x00007b59 increase  0x00000001 , 0x0000003f 
+ 00024250  0x00007b5a store  0x00000003 , 0x00000978 
+ 00024251  0x00007b5c fetch  0x00000002 , 0x00000964 
+ 00024252  0x00007b5d iadd  0x00000002 , 0x0000003f 
+ 00024253  0x00007b5f fetcht  0x00000003 , 0x00000978 
+ 00024254  0x00007b60 isub  0x00000002 , 0x0000003f 
+ 00024255  0x00007b61 nbranch  0x00005ec6 , 0x00000002 
+ 00024256  0x00007b62 store  0x00000002 , 0x00000964 
+ 00024257  0x00007b63 fetch  0x00000003 , 0x00000978 
+ 00024258  0x00007b64 fetcht  0x00000002 , 0x0000095c 
+ 00024259  0x00007b65 isub  0x00000002 , 0x0000003f 
+ 00024260  0x00007b66 store  0x00000002 , 0x00000974 
+ 00024261  0x00007b67 rtn 
+ 00024262  0x00007b69 fetch  0x00000002 , 0x00000964 
+ 00024263  0x00007b6a store  0x00000002 , 0x00000974 
+ 00024264  0x00007b6b setarg  0x00000000 
+ 00024265  0x00007b6c store  0x00000002 , 0x00000964 
+ 00024266  0x00007b6d rtn 
+ 00024267  0x00007b70 copy  0x00000012 , 0x0000003f 
+ 00024268  0x00007b71 increase  0x00000002 , 0x00000002 
+ 00024269  0x00007b72 storet  0x00000002 , 0x00008098 
+ 00024270  0x00007b73 increase  0xfffffffe , 0x00000011 
+ 00024271  0x00007b74 ifetcht  0x00000003 , 0x00000011 
+ 00024272  0x00007b75 copy  0x00000002 , 0x00000012 
+ 00024273  0x00007b76 arg  0x000000a0 , 0x00000002 
+ 00024274  0x00007b77 istoret  0x00000001 , 0x00000011 
+ 00024275  0x00007b78 istore  0x00000001 , 0x00000005 
+ 00024276  0x00007b79 branch  0x00005ee2 
+ 00024277  0x00007b7d copy  0x0000003f , 0x00000012 
+ 00024278  0x00007b7e bpatchx  0x00000027 , 0x00004024 
+ 00024279  0x00007b7f bmark1  0x00000028 , 0x00005ecb 
+ 00024280  0x00007b80 copy  0x00000012 , 0x0000003f 
+ 00024281  0x00007b81 increase  0x00000003 , 0x00000002 
+ 00024282  0x00007b82 storet  0x00000002 , 0x00008098 
+ 00024283  0x00007b83 increase  0xfffffffd , 0x00000011 
+ 00024284  0x00007b84 ifetcht  0x00000003 , 0x00000011 
+ 00024285  0x00007b85 copy  0x00000002 , 0x00000012 
+ 00024286  0x00007b86 arg  0x000000a0 , 0x00000002 
+ 00024287  0x00007b87 istoret  0x00000001 , 0x00000011 
+ 00024288  0x00007b88 byteswap  0x0000003f , 0x0000003f 
+ 00024289  0x00007b89 istore  0x00000002 , 0x00000005 
+ 00024290  0x00007b8b storer  0x00000011 , 0x00000002 , 0x0000809a 
+ 00024291  0x00007b8c setarg  0x00000000 
+ 00024292  0x00007b8d store  0x00000002 , 0x0000809e 
+ 00024293  0x00007b8e jam  0x00000001 , 0x00008090 
+ 00024294  0x00007b8f jam  0x00000004 , 0x00008006 
+ 00024295  0x00007b90 call  0x00005e44 
+ 00024296  0x00007b91 istorer  0x00000012 , 0x00000003 , 0x00000011 
+ 00024297  0x00007b93 bpatchx  0x00000028 , 0x00004025 
+ 00024298  0x00007b94 jam  0x00000000 , 0x000002e6 
+ 00024299  0x00007b96 setarg  0x00000001 
+ 00024300  0x00007b97 store  0x00000002 , 0x00008098 
+ 00024301  0x00007b98 jam  0x000000a0 , 0x000002e3 
+ 00024302  0x00007b99 setarg  0x000002e3 
+ 00024303  0x00007b9a store  0x00000002 , 0x0000809a 
+ 00024304  0x00007b9b setarg  0x00000000 
+ 00024305  0x00007b9c store  0x00000002 , 0x0000809e 
+ 00024306  0x00007b9d store  0x00000002 , 0x0000809c 
+ 00024307  0x00007b9e setarg  0x00000003 
+ 00024308  0x00007b9f store  0x00000001 , 0x00008090 
+ 00024309  0x00007ba0 jam  0x00000004 , 0x00008006 
+ 00024310  0x00007ba1 call  0x00005e44 
+ 00024311  0x00007ba2 fetch  0x00000001 , 0x0000812c 
+ 00024312  0x00007ba3 rtnbit0  0x00000006 
+ 00024313  0x00007ba4 nop  0x000005dc 
+ 00024314  0x00007ba5 fetch  0x00000001 , 0x000002e6 
+ 00024315  0x00007ba6 increase  0x00000001 , 0x0000003f 
+ 00024316  0x00007ba7 store  0x00000001 , 0x000002e6 
+ 00024317  0x00007ba8 sub  0x0000003f , 0x00000028 , 0x0000003e 
+ 00024318  0x00007ba9 nrtn  0x00000002 
+ 00024319  0x00007baa branch  0x00005eeb 
+ 00024320  0x00007baf copy  0x00000002 , 0x00000039 
+ 00024321  0x00007bb0 copy  0x0000003f , 0x00000002 
+ 00024322  0x00007bb1 bpatchx  0x00000029 , 0x00004025 
+ 00024323  0x00007bb2 lshift3  0x00000002 , 0x00000002 
+ 00024324  0x00007bb3 call  0x00005f3c 
+ 00024325  0x00007bb4 jam  0x00000080 , 0x00008047 
+ 00024326  0x00007bb6 jam  0x00000086 , 0x00008047 
+ 00024327  0x00007bb7 storet  0x00000002 , 0x00008045 
+ 00024328  0x00007bb8 increase  0x00000008 , 0x00000002 
+ 00024329  0x00007bb9 jam  0x00000087 , 0x00008047 
+ 00024330  0x00007bba fetch  0x00000001 , 0x00008007 
+ 00024331  0x00007bbb istore  0x00000001 , 0x00000011 
+ 00024332  0x00007bbc increase  0x00000001 , 0x00000011 
+ 00024333  0x00007bbd loop  0x00005f06 
+ 00024334  0x00007bbe jam  0x00000086 , 0x00008047 
+ 00024335  0x00007bbf jam  0x00000080 , 0x00008047 
+ 00024336  0x00007bc0 jam  0x00000000 , 0x00008047 
+ 00024337  0x00007bc1 branch  0x00005f44 
+ 00024338  0x00007bc5 call  0x00005f34 
+ 00024339  0x00007bc6 jam  0x00000080 , 0x00008047 
+ 00024340  0x00007bc7 lshift3  0x00000002 , 0x00000002 
+ 00024341  0x00007bc8 copy  0x00000011 , 0x00000006 
+ 00024342  0x00007bca ifetch  0x00000001 , 0x00000006 
+ 00024343  0x00007bcb arg  0x00000008 , 0x00000012 
+ 00024344  0x00007bcd and  0x0000003f , 0x00000001 , 0x0000003e 
+ 00024345  0x00007bce ncall  0x00005f50 , 0x00000005 
+ 00024346  0x00007bcf rshift  0x0000003f , 0x0000003f 
+ 00024347  0x00007bd0 increase  0x00000001 , 0x00000002 
+ 00024348  0x00007bd1 increase  0xffffffff , 0x00000012 
+ 00024349  0x00007bd2 nbranch  0x00005f18 , 0x00000005 
+ 00024350  0x00007bd3 loop  0x00005f16 
+ 00024351  0x00007bd4 jam  0x00000080 , 0x00008047 
+ 00024352  0x00007bd5 jam  0x00000000 , 0x00008047 
+ 00024353  0x00007bd6 branch  0x00005f44 
+ 00024354  0x00007bda fetch  0x00000002 , 0x00008a14 
+ 00024355  0x00007bdb store  0x00000002 , 0x0000095c 
+ 00024356  0x00007bdc jam  0x0000006a , 0x00008a14 
+ 00024357  0x00007bdd jam  0x0000000b , 0x00008a15 
+ 00024358  0x00007bde rtn 
+ 00024359  0x00007be1 fetch  0x00000002 , 0x0000095c 
+ 00024360  0x00007be2 store  0x00000002 , 0x00008a14 
+ 00024361  0x00007be3 rtn 
+ 00024362  0x00007be6 call  0x00005f22 
+ 00024363  0x00007be7 fetch  0x00000001 , 0x00008a0a 
+ 00024364  0x00007be8 set1  0x00000001 , 0x0000003f 
+ 00024365  0x00007be9 store  0x00000001 , 0x00008a0a 
+ 00024366  0x00007bea nop  0x000000c8 
+ 00024367  0x00007beb fetch  0x00000001 , 0x00008a0b 
+ 00024368  0x00007bec set1  0x00000000 , 0x0000003f 
+ 00024369  0x00007bed store  0x00000001 , 0x00008a0b 
+ 00024370  0x00007bee nop  0x000007d0 
+ 00024371  0x00007bef rtn 
+ 00024372  0x00007bf2 call  0x00005f2a 
+ 00024373  0x00007bf3 fetch  0x00000001 , 0x00008a0b 
+ 00024374  0x00007bf4 set0  0x00000005 , 0x0000003f 
+ 00024375  0x00007bf5 set1  0x00000004 , 0x0000003f 
+ 00024376  0x00007bf6 set1  0x00000003 , 0x0000003f 
+ 00024377  0x00007bf7 store  0x00000001 , 0x00008a0b 
+ 00024378  0x00007bf8 nop  0x000001f4 
+ 00024379  0x00007bf9 rtn 
+ 00024380  0x00007bfc call  0x00005f2a 
+ 00024381  0x00007bfd fetch  0x00000001 , 0x00008a0b 
+ 00024382  0x00007bfe set1  0x00000005 , 0x0000003f 
+ 00024383  0x00007bff set1  0x00000004 , 0x0000003f 
+ 00024384  0x00007c00 set0  0x00000003 , 0x0000003f 
+ 00024385  0x00007c01 store  0x00000001 , 0x00008a0b 
+ 00024386  0x00007c02 nop  0x000001f4 
+ 00024387  0x00007c03 rtn 
+ 00024388  0x00007c06 bpatchx  0x0000002a , 0x00004025 
+ 00024389  0x00007c07 fetch  0x00000001 , 0x00008a0b 
+ 00024390  0x00007c08 set0  0x00000005 , 0x0000003f 
+ 00024391  0x00007c09 set0  0x00000004 , 0x0000003f 
+ 00024392  0x00007c0a set0  0x00000003 , 0x0000003f 
+ 00024393  0x00007c0b set0  0x00000000 , 0x0000003f 
+ 00024394  0x00007c0c store  0x00000001 , 0x00008a0b 
+ 00024395  0x00007c0d nop  0x000000c8 
+ 00024396  0x00007c0e fetch  0x00000001 , 0x00008a0a 
+ 00024397  0x00007c0f set0  0x00000001 , 0x0000003f 
+ 00024398  0x00007c10 store  0x00000001 , 0x00008a0a 
+ 00024399  0x00007c11 branch  0x00005f27 
+ 00024400  0x00007c14 jam  0x00000080 , 0x00008047 
+ 00024401  0x00007c15 nop  0x0000000a 
+ 00024402  0x00007c16 storet  0x00000002 , 0x00008045 
+ 00024403  0x00007c17 jam  0x00000081 , 0x00008047 
+ 00024404  0x00007c18 nop  0x0000006e 
+ 00024405  0x00007c19 rtn 
+ 00024406  0x00007c1d call  0x00007ec5 
+ 00024407  0x00007c1e branch  0x00005f5a 
+ 00024408  0x00007c20 call  0x00007ec7 
+ 00024409  0x00007c21 branch  0x00005f5a 
+ 00024410  0x00007c23 rshift16  0x0000003f , 0x00000002 
+ 00024411  0x00007c24 call  0x00005f8d , 0x00000028 
+ 00024412  0x00007c25 ncall  0x00005f91 , 0x00000028 
+ 00024413  0x00007c26 rshift32  0x0000003f , 0x0000003f 
+ 00024414  0x00007c27 rshift16  0x0000003f , 0x00000002 
+ 00024415  0x00007c28 call  0x00005f85 , 0x00000028 
+ 00024416  0x00007c29 ncall  0x00005f89 , 0x00000028 
+ 00024417  0x00007c2a nbranch  0x00005f66 , 0x00000028 
+ 00024418  0x00007c2b fetch  0x00000002 , 0x00008050 
+ 00024419  0x00007c2c set0  0x0000000f , 0x0000003f 
+ 00024420  0x00007c2d store  0x00000002 , 0x00008050 
+ 00024421  0x00007c2e rtn 
+ 00024422  0x00007c30 fetch  0x00000002 , 0x00008050 
+ 00024423  0x00007c31 set0  0x0000000e , 0x0000003f 
+ 00024424  0x00007c32 store  0x00000002 , 0x00008050 
+ 00024425  0x00007c33 rtn 
+ 00024426  0x00007c37 store  0x00000002 , 0x00008052 
+ 00024427  0x00007c38 rtn 
+ 00024428  0x00007c3c store  0x00000002 , 0x00008062 
+ 00024429  0x00007c3d rtn 
+ 00024430  0x00007c40 call  0x00005f72 
+ 00024431  0x00007c41 branch  0x00005f6a 
+ 00024432  0x00007c44 call  0x00005f72 
+ 00024433  0x00007c45 branch  0x00005f6c 
+ 00024434  0x00007c48 call  0x00005f77 
+ 00024435  0x00007c49 idiv  0x00000002 
+ 00024436  0x00007c4a call  0x00007e64 
+ 00024437  0x00007c4b quotient  0x0000003f 
+ 00024438  0x00007c4c rtn 
+ 00024439  0x00007c4f fetch  0x00000001 , 0x00008043 
+ 00024440  0x00007c50 bbit0  0x00000000 , 0x00005f7b 
+ 00024441  0x00007c51 setarg  0x02dc6c00 
+ 00024442  0x00007c52 rtn 
+ 00024443  0x00007c54 setarg  0x016e3600 
+ 00024444  0x00007c55 rtn 
+ 00024445  0x00007c58 fetch  0x00000001 , 0x00008043 
+ 00024446  0x00007c59 and  0x0000003f , 0x000000fe , 0x0000003f 
+ 00024447  0x00007c5a store  0x00000001 , 0x00008043 
+ 00024448  0x00007c5b rtn 
+ 00024449  0x00007c5e fetch  0x00000001 , 0x00008043 
+ 00024450  0x00007c5f or  0x0000003f , 0x00000001 , 0x0000003f 
+ 00024451  0x00007c60 store  0x00000001 , 0x00008043 
+ 00024452  0x00007c61 rtn 
+ 00024453  0x00007c66 store  0x00000002 , 0x0000805a 
+ 00024454  0x00007c67 store  0x00000002 , 0x0000805e 
+ 00024455  0x00007c68 storet  0x00000002 , 0x0000805c 
+ 00024456  0x00007c69 rtn 
+ 00024457  0x00007c6d store  0x00000002 , 0x0000806a 
+ 00024458  0x00007c6e store  0x00000002 , 0x0000806e 
+ 00024459  0x00007c6f storet  0x00000002 , 0x0000806c 
+ 00024460  0x00007c70 rtn 
+ 00024461  0x00007c74 store  0x00000002 , 0x00008054 
+ 00024462  0x00007c75 store  0x00000002 , 0x00008058 
+ 00024463  0x00007c76 storet  0x00000002 , 0x00008056 
+ 00024464  0x00007c77 rtn 
+ 00024465  0x00007c7b store  0x00000002 , 0x00008064 
+ 00024466  0x00007c7c store  0x00000002 , 0x00008068 
+ 00024467  0x00007c7d storet  0x00000002 , 0x00008066 
+ 00024468  0x00007c7e rtn 
+ 00024469  0x00007c82 fetchr  0x0000000a , 0x00000002 , 0x0000805a 
+ 00024470  0x00007c83 fetchr  0x00000010 , 0x00000002 , 0x0000805c 
+ 00024471  0x00007c84 fetchr  0x00000003 , 0x00000002 , 0x0000805e 
+ 00024472  0x00007c85 rtn 
+ 00024473  0x00007c88 fetchr  0x0000000a , 0x00000002 , 0x0000806a 
+ 00024474  0x00007c89 fetchr  0x00000010 , 0x00000002 , 0x0000806c 
+ 00024475  0x00007c8a fetchr  0x00000003 , 0x00000002 , 0x0000806e 
+ 00024476  0x00007c8b rtn 
+ 00024477  0x00007c8e fetchr  0x0000000a , 0x00000002 , 0x00008054 
+ 00024478  0x00007c8f fetchr  0x00000010 , 0x00000002 , 0x00008056 
+ 00024479  0x00007c90 fetchr  0x00000003 , 0x00000002 , 0x00008058 
+ 00024480  0x00007c91 rtn 
+ 00024481  0x00007c94 fetchr  0x0000000a , 0x00000002 , 0x00008064 
+ 00024482  0x00007c95 fetchr  0x00000010 , 0x00000002 , 0x00008066 
+ 00024483  0x00007c96 fetchr  0x00000003 , 0x00000002 , 0x00008068 
+ 00024484  0x00007c97 rtn 
+ 00024485  0x00007c9a storer  0x00000003 , 0x00000002 , 0x0000805e 
+ 00024486  0x00007c9b rtn 
+ 00024487  0x00007c9e storer  0x00000003 , 0x00000002 , 0x0000806e 
+ 00024488  0x00007c9f rtn 
+ 00024489  0x00007ca2 storer  0x00000003 , 0x00000002 , 0x00008058 
+ 00024490  0x00007ca3 rtn 
+ 00024491  0x00007ca6 storer  0x00000003 , 0x00000002 , 0x00008068 
+ 00024492  0x00007ca7 rtn 
+ 00024493  0x00007caa call  0x00005f9d 
+ 00024494  0x00007cab fetch  0x00000002 , 0x00008112 
+ 00024495  0x00007cac iadd  0x00000003 , 0x00000003 
+ 00024496  0x00007cad branch  0x00005fa9 
+ 00024497  0x00007cb0 call  0x00005fa1 
+ 00024498  0x00007cb1 fetch  0x00000002 , 0x00008158 
+ 00024499  0x00007cb2 iadd  0x00000003 , 0x00000003 
+ 00024500  0x00007cb3 branch  0x00005fab 
+ 00024501  0x00007cb6 call  0x00005fbd 
+ 00024502  0x00007cb7 branch  0x00005f95 
+ 00024503  0x00007cba call  0x00005fbd 
+ 00024504  0x00007cbb branch  0x00005f99 
+ 00024505  0x00007cbe call  0x00005fa5 
+ 00024506  0x00007cbf branch  0x00005fc1 
+ 00024507  0x00007cc2 call  0x00005fa7 
+ 00024508  0x00007cc3 branch  0x00005fc1 
+ 00024509  0x00007cc7 storer  0x00000003 , 0x00000002 , 0x00000983 
+ 00024510  0x00007cc8 storer  0x0000000a , 0x00000002 , 0x00000981 
+ 00024511  0x00007cc9 storer  0x00000010 , 0x00000002 , 0x0000097f 
+ 00024512  0x00007cca rtn 
+ 00024513  0x00007ccd fetchr  0x00000003 , 0x00000002 , 0x00000983 
+ 00024514  0x00007cce fetchr  0x0000000a , 0x00000002 , 0x00000981 
+ 00024515  0x00007ccf fetchr  0x00000010 , 0x00000002 , 0x0000097f 
+ 00024516  0x00007cd0 rtn 
+ 00024517  0x00007cd4 deposit  0x00000039 
+ 00024518  0x00007cd5 rtn  0x00000034 
+ 00024519  0x00007cd7 increase  0xfffffff8 , 0x00000039 
+ 00024520  0x00007cd8 call  0x00005fd3 , 0x00000002 
+ 00024521  0x00007cd9 rtn  0x00000005 
+ 00024522  0x00007cda branch  0x00005fc7 , 0x00000002 
+ 00024523  0x00007cdb increase  0x00000008 , 0x00000039 
+ 00024524  0x00007cdd increase  0xfffffffc , 0x00000039 
+ 00024525  0x00007cde call  0x00005fd6 , 0x00000002 
+ 00024526  0x00007cdf rtn  0x00000005 
+ 00024527  0x00007ce0 branch  0x00005fcc , 0x00000002 
+ 00024528  0x00007ce1 increase  0x00000004 , 0x00000039 
+ 00024529  0x00007ce2 branch  0x00005fd9 
+ 00024530  0x00007ce5 call  0x00005fd3 
+ 00024531  0x00007ce7 ifetch  0x00000008 , 0x00000006 
+ 00024532  0x00007ce8 istore  0x00000008 , 0x00000003 
+ 00024533  0x00007ce9 rtn 
+ 00024534  0x00007cec ifetch  0x00000004 , 0x00000006 
+ 00024535  0x00007ced istore  0x00000004 , 0x00000003 
+ 00024536  0x00007cee rtn 
+ 00024537  0x00007cf1 deposit  0x00000039 
+ 00024538  0x00007cf2 rtn  0x00000034 
+ 00024539  0x00007cf4 ifetch  0x00000001 , 0x00000006 
+ 00024540  0x00007cf5 istore  0x00000001 , 0x00000003 
+ 00024541  0x00007cf6 loop  0x00005fdb 
+ 00024542  0x00007cf7 rtn 
+ 00024543  0x00007cfa deposit  0x00000039 
+ 00024544  0x00007cfb rtn  0x00000034 
+ 00024545  0x00007cfd increase  0xfffffff8 , 0x00000039 
+ 00024546  0x00007cfe call  0x00005fed , 0x00000002 
+ 00024547  0x00007cff rtn  0x00000005 
+ 00024548  0x00007d00 branch  0x00005fe1 , 0x00000002 
+ 00024549  0x00007d01 increase  0x00000008 , 0x00000039 
+ 00024550  0x00007d03 increase  0xfffffffc , 0x00000039 
+ 00024551  0x00007d04 call  0x00005ff0 , 0x00000002 
+ 00024552  0x00007d05 rtn  0x00000005 
+ 00024553  0x00007d06 branch  0x00005fe6 , 0x00000002 
+ 00024554  0x00007d07 increase  0x00000004 , 0x00000039 
+ 00024555  0x00007d08 branch  0x00005ff3 
+ 00024556  0x00007d0b call  0x00005fed 
+ 00024557  0x00007d0d ifetch  0x00000008 , 0x00000003 
+ 00024558  0x00007d0e istore  0x00000008 , 0x00000005 
+ 00024559  0x00007d0f rtn 
+ 00024560  0x00007d12 ifetch  0x00000004 , 0x00000003 
+ 00024561  0x00007d13 istore  0x00000004 , 0x00000005 
+ 00024562  0x00007d14 rtn 
+ 00024563  0x00007d18 deposit  0x00000039 
+ 00024564  0x00007d19 rtn  0x00000034 
+ 00024565  0x00007d1b ifetch  0x00000001 , 0x00000003 
+ 00024566  0x00007d1c istore  0x00000001 , 0x00000005 
+ 00024567  0x00007d1d loop  0x00005ff5 
+ 00024568  0x00007d1e rtn 
+ 00024569  0x00007d24 jam  0x0000003d , 0x0000095b 
+ 00024570  0x00007d25 branch  0x000078dc 
+ 00024571  0x00007d29 bpatchx  0x0000002b , 0x00004025 
+ 00024572  0x00007d2a fetch  0x00000001 , 0x0000448b 
+ 00024573  0x00007d2b rtn  0x00000034 
+ 00024574  0x00007d2c call  0x000060a0 
+ 00024575  0x00007d2d call  0x000060a6 , 0x00000005 
+ 00024576  0x00007d2e call  0x00007ecb 
+ 00024577  0x00007d2f call  0x0000602f 
+ 00024578  0x00007d31 fetch  0x00000001 , 0x0000448b 
+ 00024579  0x00007d32 icopy  0x00000013 
+ 00024580  0x00007d33 fetcht  0x00000002 , 0x00004489 
+ 00024581  0x00007d34 storet  0x00000002 , 0x000000ee 
+ 00024582  0x00007d36 copy  0x00000013 , 0x0000003f 
+ 00024583  0x00007d37 branch  0x00005ff9 , 0x00000034 
+ 00024584  0x00007d38 increase  0xffffffff , 0x00000013 
+ 00024585  0x00007d39 copy  0x00000002 , 0x00000011 
+ 00024586  0x00007d3a ifetch  0x00000001 , 0x00000011 
+ 00024587  0x00007d3b fetcht  0x00000001 , 0x000000e6 
+ 00024588  0x00007d3c isub  0x00000002 , 0x0000003e 
+ 00024589  0x00007d3d call  0x00006016 , 0x00000005 
+ 00024590  0x00007d3e branch  0x00006012 , 0x00000002 
+ 00024591  0x00007d3f ifetch  0x00000001 , 0x00000011 
+ 00024592  0x00007d40 increase  0x00000001 , 0x0000003f 
+ 00024593  0x00007d41 istore  0x00000001 , 0x00000011 
+ 00024594  0x00007d43 fetcht  0x00000002 , 0x000000ee 
+ 00024595  0x00007d44 increase  0x00000022 , 0x00000002 
+ 00024596  0x00007d45 storet  0x00000002 , 0x000000ee 
+ 00024597  0x00007d46 branch  0x00006006 
+ 00024598  0x00007d49 setarg  0x00000000 
+ 00024599  0x00007d4a istore  0x00000001 , 0x00000011 
+ 00024600  0x00007d4b fetch  0x00000001 , 0x000000e7 
+ 00024601  0x00007d4c istore  0x00000001 , 0x00000005 
+ 00024602  0x00007d4d bne  0x00000033 , 0x00006024 
+ 00024603  0x00007d4e arg  0x000041cb , 0x00000012 
+ 00024604  0x00007d50 ifetch  0x00000006 , 0x00000006 
+ 00024605  0x00007d51 istore  0x00000008 , 0x00000005 
+ 00024606  0x00007d52 setarg  0x00000000 
+ 00024607  0x00007d53 istore  0x00000008 , 0x00000005 
+ 00024608  0x00007d54 copy  0x00000012 , 0x00000006 
+ 00024609  0x00007d56 call  0x00007d7f 
+ 00024610  0x00007d57 force  0x00000001 , 0x0000003e 
+ 00024611  0x00007d58 rtn 
+ 00024612  0x00007d5b beq  0x00000036 , 0x00006028 
+ 00024613  0x00007d5c beq  0x00000037 , 0x0000602c 
+ 00024614  0x00007d5d arg  0x00004316 , 0x00000012 
+ 00024615  0x00007d5e branch  0x0000601c 
+ 00024616  0x00007d61 arg  0x000043ac , 0x00000006 
+ 00024617  0x00007d62 call  0x00007d7f 
+ 00024618  0x00007d64 arg  0x00004316 , 0x00000006 
+ 00024619  0x00007d65 branch  0x00006021 
+ 00024620  0x00007d68 arg  0x000043a4 , 0x00000006 
+ 00024621  0x00007d69 call  0x00007d7f 
+ 00024622  0x00007d6a branch  0x0000602a 
+ 00024623  0x00007d70 call  0x00007ec7 
+ 00024624  0x00007d71 fetch  0x00000001 , 0x0000448b 
+ 00024625  0x00007d72 rtn  0x00000034 
+ 00024626  0x00007d73 bpatchx  0x0000002c , 0x00004025 
+ 00024627  0x00007d74 fetch  0x00000002 , 0x0000478f 
+ 00024628  0x00007d75 bbit1  0x00000000 , 0x00006052 
+ 00024629  0x00007d76 rtnbit0  0x00000009 
+ 00024630  0x00007d78 fetch  0x00000001 , 0x0000436a 
+ 00024631  0x00007d79 beq  0x00000000 , 0x0000604b 
+ 00024632  0x00007d7a fetch  0x00000001 , 0x0000029c 
+ 00024633  0x00007d7b compare  0x000000c0 , 0x0000003f , 0x000000c0 
+ 00024634  0x00007d7c branch  0x0000603e , 0x00000001 
+ 00024635  0x00007d7d compare  0x00000040 , 0x0000003f , 0x000000c0 
+ 00024636  0x00007d7e branch  0x00006050 , 0x00000001 
+ 00024637  0x00007d7f branch  0x00006045 
+ 00024638  0x00007d82 branch  0x00006042 , 0x0000002c 
+ 00024639  0x00007d83 fetch  0x00000001 , 0x0000434e 
+ 00024640  0x00007d84 bbit0  0x00000001 , 0x0000604b 
+ 00024641  0x00007d85 branch  0x00006045 
+ 00024642  0x00007d88 call  0x0000604b 
+ 00024643  0x00007d89 rtn  0x00000028 
+ 00024644  0x00007d8a branch  0x00006045 
+ 00024645  0x00007d8f fetch  0x00000001 , 0x0000439d 
+ 00024646  0x00007d90 bbit1  0x00000007 , 0x00006048 
+ 00024647  0x00007d91 branch  0x0000604e 
+ 00024648  0x00007d95 fetch  0x00000006 , 0x00000297 
+ 00024649  0x00007d96 store  0x00000008 , 0x000043a4 
+ 00024650  0x00007d97 branch  0x0000604e 
+ 00024651  0x00007d9b jam  0x00000035 , 0x000000e7 
+ 00024652  0x00007d9c fetch  0x00000006 , 0x00000297 
+ 00024653  0x00007d9d branch  0x00006054 
+ 00024654  0x00007da0 jam  0x00000037 , 0x000000e7 
+ 00024655  0x00007da1 branch  0x00006054 
+ 00024656  0x00007da5 jam  0x00000036 , 0x000000e7 
+ 00024657  0x00007da6 branch  0x00006054 
+ 00024658  0x00007daa jam  0x00000033 , 0x000000e7 
+ 00024659  0x00007dab fetch  0x00000006 , 0x00000040 
+ 00024660  0x00007dad store  0x00000006 , 0x000000e8 
+ 00024661  0x00007dae fetch  0x00000002 , 0x00004489 
+ 00024662  0x00007daf ifetcht  0x00000001 , 0x0000003f 
+ 00024663  0x00007db0 pincrease  0x00000001 
+ 00024664  0x00007db1 store  0x00000002 , 0x000000ee 
+ 00024665  0x00007db2 storet  0x00000001 , 0x000000e6 
+ 00024666  0x00007db3 fetch  0x00000001 , 0x0000448b 
+ 00024667  0x00007db4 icopy  0x00000013 
+ 00024668  0x00007db6 fetch  0x00000002 , 0x000000ee 
+ 00024669  0x00007db7 copy  0x0000003f , 0x00000011 
+ 00024670  0x00007db8 call  0x0000606c 
+ 00024671  0x00007db9 rtn  0x00000028 
+ 00024672  0x00007dba fetcht  0x00000002 , 0x000000ee 
+ 00024673  0x00007dbb increase  0x00000022 , 0x00000002 
+ 00024674  0x00007dbc storet  0x00000002 , 0x000000ee 
+ 00024675  0x00007dbd increase  0xffffffff , 0x00000002 
+ 00024676  0x00007dbe ifetch  0x00000001 , 0x00000002 
+ 00024677  0x00007dbf store  0x00000001 , 0x000000e6 
+ 00024678  0x00007dc0 increase  0xffffffff , 0x00000013 
+ 00024679  0x00007dc1 nbranch  0x0000605c , 0x00000005 
+ 00024680  0x00007dc2 fetch  0x00000001 , 0x0000448b 
+ 00024681  0x00007dc3 pincrease  0xffffffff 
+ 00024682  0x00007dc4 store  0x00000001 , 0x000000e6 
+ 00024683  0x00007dc5 rtn 
+ 00024684  0x00007dc7 fetch  0x00000001 , 0x000000e7 
+ 00024685  0x00007dc8 bne  0x00000033 , 0x00006073 
+ 00024686  0x00007dca arg  0x000000e7 , 0x00000012 
+ 00024687  0x00007dcb arg  0x00000007 , 0x00000039 
+ 00024688  0x00007dcc call  0x00007e66 
+ 00024689  0x00007dcd branch  0x00007ec5 , 0x00000005 
+ 00024690  0x00007dce rtn 
+ 00024691  0x00007dd1 beq  0x00000036 , 0x00006076 
+ 00024692  0x00007dd2 beq  0x00000037 , 0x00006091 
+ 00024693  0x00007dd3 branch  0x0000606e 
+ 00024694  0x00007dd6 ifetcht  0x00000001 , 0x00000011 
+ 00024695  0x00007dd7 isub  0x00000002 , 0x0000003e 
+ 00024696  0x00007dd8 nrtn  0x00000005 
+ 00024697  0x00007dd9 arg  0x0000098e , 0x00000005 
+ 00024698  0x00007dda arg  0x00000010 , 0x00000039 
+ 00024699  0x00007ddb call  0x00007d9b 
+ 00024700  0x00007ddc fetch  0x00000003 , 0x0000029a 
+ 00024701  0x00007ddd store  0x00000003 , 0x0000098e 
+ 00024702  0x00007dde call  0x00006088 
+ 00024703  0x00007ddf fetch  0x00000002 , 0x000009ab 
+ 00024704  0x00007de0 byteswap  0x0000003f , 0x0000003f 
+ 00024705  0x00007de1 lshift8  0x0000003f , 0x00000002 
+ 00024706  0x00007de2 ifetch  0x00000001 , 0x00000006 
+ 00024707  0x00007de3 iadd  0x00000002 , 0x0000003f 
+ 00024708  0x00007de4 fetcht  0x00000003 , 0x00000297 
+ 00024709  0x00007de5 isub  0x00000002 , 0x0000003e 
+ 00024710  0x00007de6 branch  0x00007ec5 , 0x00000005 
+ 00024711  0x00007de7 rtn 
+ 00024712  0x00007deb arg  0x0000098e , 0x00000006 
+ 00024713  0x00007dec call  0x00006e28 
+ 00024714  0x00007dee ifetch  0x00000001 , 0x00000011 
+ 00024715  0x00007def call  0x00006e29 
+ 00024716  0x00007df0 force  0x00000038 , 0x00000036 
+ 00024717  0x00007df1 force  0x00000000 , 0x00000036 
+ 00024718  0x00007df2 call  0x00006dbf 
+ 00024719  0x00007df3 arg  0x0000099e , 0x00000005 
+ 00024720  0x00007df4 branch  0x00006e3c 
+ 00024721  0x00007df7 ifetcht  0x00000001 , 0x00000011 
+ 00024722  0x00007df8 isub  0x00000002 , 0x0000003e 
+ 00024723  0x00007df9 nrtn  0x00000005 
+ 00024724  0x00007dfa copy  0x00000006 , 0x00000011 
+ 00024725  0x00007dfb add  0x00000006 , 0x00000008 , 0x00000013 
+ 00024726  0x00007dfc arg  0x000043a4 , 0x00000012 
+ 00024727  0x00007dfd arg  0x00000008 , 0x00000039 
+ 00024728  0x00007dfe call  0x00007e66 
+ 00024729  0x00007dff branch  0x00007ec5 , 0x00000005 
+ 00024730  0x00007e00 copy  0x00000013 , 0x00000011 
+ 00024731  0x00007e01 arg  0x000043ac , 0x00000012 
+ 00024732  0x00007e02 arg  0x00000008 , 0x00000039 
+ 00024733  0x00007e03 call  0x00007e66 
+ 00024734  0x00007e04 branch  0x00007ec5 , 0x00000005 
+ 00024735  0x00007e05 rtn 
+ 00024736  0x00007e08 fetch  0x00000002 , 0x00004489 
+ 00024737  0x00007e09 ifetcht  0x00000001 , 0x0000003f 
+ 00024738  0x00007e0a pincrease  0x00000022 
+ 00024739  0x00007e0b ifetch  0x00000001 , 0x0000003f 
+ 00024740  0x00007e0c isub  0x00000002 , 0x0000003e 
+ 00024741  0x00007e0d rtn 
+ 00024742  0x00007e10 fetch  0x00000001 , 0x0000448b 
+ 00024743  0x00007e11 icopy  0x00000039 
+ 00024744  0x00007e12 fetcht  0x00000002 , 0x00004489 
+ 00024745  0x00007e13 setarg  0x00000000 
+ 00024746  0x00007e15 istore  0x00000001 , 0x00000002 
+ 00024747  0x00007e16 increase  0x00000022 , 0x00000002 
+ 00024748  0x00007e17 pincrease  0x00000001 
+ 00024749  0x00007e18 loop  0x000060aa 
+ 00024750  0x00007e19 rtn 
+ 00024751  0x00007e1c bpatchx  0x0000002d , 0x00004025 
+ 00024752  0x00007e1d call  0x00007ec9 
+ 00024753  0x00007e1e call  0x0000602f 
+ 00024754  0x00007e1f fetch  0x00000001 , 0x00000030 
+ 00024755  0x00007e20 setflag  0x00000028 , 0x00000006 , 0x0000003f 
+ 00024756  0x00007e21 store  0x00000001 , 0x00000030 
+ 00024757  0x00007e22 nbranch  0x000060ba , 0x00000028 
+ 00024758  0x00007e23 add  0x00000011 , 0x0000000a , 0x00000006 
+ 00024759  0x00007e24 arg  0x000041cb , 0x00000005 
+ 00024760  0x00007e25 call  0x00007d7f 
+ 00024761  0x00007e26 branch  0x000060d0 
+ 00024762  0x00007e28 jam  0x00000000 , 0x000041ca 
+ 00024763  0x00007e29 rtn 
+ 00024764  0x00007e2e call  0x00007ec9 
+ 00024765  0x00007e2f call  0x0000602f 
+ 00024766  0x00007e30 nbranch  0x000060c7 , 0x00000028 
+ 00024767  0x00007e31 fetch  0x00000002 , 0x000000ee 
+ 00024768  0x00007e32 add  0x0000003f , 0x00000001 , 0x00000006 
+ 00024769  0x00007e33 arg  0x000043ac , 0x00000005 
+ 00024770  0x00007e34 call  0x00007d7f 
+ 00024771  0x00007e35 arg  0x00004316 , 0x00000005 
+ 00024772  0x00007e36 call  0x00007d7f 
+ 00024773  0x00007e37 jam  0x00000001 , 0x00004326 
+ 00024774  0x00007e38 rtn 
+ 00024775  0x00007e3b jam  0x00000000 , 0x00004326 
+ 00024776  0x00007e3c rtn 
+ 00024777  0x00007e40 jam  0x00000034 , 0x000000e7 
+ 00024778  0x00007e41 branch  0x000060cc 
+ 00024779  0x00007e43 jam  0x00000033 , 0x000000e7 
+ 00024780  0x00007e45 fetch  0x00000001 , 0x0000409a 
+ 00024781  0x00007e46 beq  0x0000000a , 0x00005ffb 
+ 00024782  0x00007e47 beq  0x00000008 , 0x000045c6 
+ 00024783  0x00007e48 rtn 
+ 00024784  0x00007e4c fetch  0x00000008 , 0x000041cb 
+ 00024785  0x00007e4d fetcht  0x00000008 , 0x000041d3 
+ 00024786  0x00007e4e ior  0x00000002 , 0x0000003f 
+ 00024787  0x00007e4f rtn  0x00000034 
+ 00024788  0x00007e50 jam  0x00000001 , 0x000041ca 
+ 00024789  0x00007e51 rtn 
+ 00024790  0x00007e59 bpatchx  0x0000002e , 0x00004025 
+ 00024791  0x00007e5a set1  0x00000007 , 0x00000002 
+ 00024792  0x00007e5b call  0x000060fd 
+ 00024793  0x00007e5c nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00024794  0x00007e60 bpatchx  0x0000002f , 0x00004025 
+ 00024795  0x00007e61 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024796  0x00007e62 rtn  0x00000005 
+ 00024797  0x00007e63 isolate0  0x00000007 , 0x00000002 
+ 00024798  0x00007e64 and  0x00000002 , 0x0000001f , 0x00000007 
+ 00024799  0x00007e65 fetch  0x00000004 , 0x0000009e 
+ 00024800  0x00007e66 qsetflag  0x00000001 , 0x0000003f 
+ 00024801  0x00007e67 store  0x00000004 , 0x0000009e 
+ 00024802  0x00007e68 fetch  0x00000004 , 0x000000a2 
+ 00024803  0x00007e69 nqsetflag  0x00000001 , 0x0000003f 
+ 00024804  0x00007e6a store  0x00000004 , 0x000000a2 
+ 00024805  0x00007e6b rtn 
+ 00024806  0x00007e6f bpatchx  0x00000030 , 0x00004026 
+ 00024807  0x00007e70 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024808  0x00007e71 rtn  0x00000005 
+ 00024809  0x00007e72 isolate0  0x00000007 , 0x00000002 
+ 00024810  0x00007e73 and  0x00000002 , 0x0000001f , 0x00000007 
+ 00024811  0x00007e74 fetch  0x00000004 , 0x0000009e 
+ 00024812  0x00007e75 qset0  0x0000003f 
+ 00024813  0x00007e76 store  0x00000004 , 0x0000009e 
+ 00024814  0x00007e77 fetch  0x00000004 , 0x000000a2 
+ 00024815  0x00007e78 qset0  0x0000003f 
+ 00024816  0x00007e79 store  0x00000004 , 0x000000a2 
+ 00024817  0x00007e7a rtn 
+ 00024818  0x00007e7d call  0x000060e6 
+ 00024819  0x00007e7e branch  0x000060f7 
+ 00024820  0x00007e82 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024821  0x00007e83 rtn  0x00000005 
+ 00024822  0x00007e84 ncall  0x000060da , 0x0000002b 
+ 00024823  0x00007e86 call  0x00006124 
+ 00024824  0x00007e87 setarg  0x00000000 
+ 00024825  0x00007e88 isolate1  0x00000007 , 0x00000002 
+ 00024826  0x00007e89 nsetflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00024827  0x00007e8a setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00024828  0x00007e8b branch  0x0000611f 
+ 00024829  0x00007e8f arg  0x0000811c , 0x00000005 
+ 00024830  0x00007e90 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00024831  0x00007e91 rshift3  0x00000002 , 0x0000003f 
+ 00024832  0x00007e92 and_into  0x00000003 , 0x0000003f 
+ 00024833  0x00007e93 iadd  0x00000005 , 0x00000005 
+ 00024834  0x00007e94 ifetch  0x00000001 , 0x00000005 
+ 00024835  0x00007e95 isolate1  0x00000007 , 0x00000002 
+ 00024836  0x00007e96 branch  0x00006107 , 0x00000001 
+ 00024837  0x00007e97 qisolate0  0x0000003f 
+ 00024838  0x00007e98 rtn 
+ 00024839  0x00007e9a qisolate1  0x0000003f 
+ 00024840  0x00007e9b rtn 
+ 00024841  0x00007e9f sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024842  0x00007ea0 rtn  0x00000005 
+ 00024843  0x00007ea1 isolate1  0x00000007 , 0x0000003e 
+ 00024844  0x00007ea2 branch  0x00006110 
+ 00024845  0x00007ea6 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024846  0x00007ea7 rtn  0x00000005 
+ 00024847  0x00007ea8 isolate0  0x00000007 , 0x0000003e 
+ 00024848  0x00007eac setarg  0x00000000 
+ 00024849  0x00007ead nsetflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00024850  0x00007eae ixor  0x00000002 , 0x00000002 
+ 00024851  0x00007eb2 call  0x00006124 
+ 00024852  0x00007eb3 setarg  0x0000003f 
+ 00024853  0x00007eb4 isolate1  0x00000007 , 0x00000002 
+ 00024854  0x00007eb5 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024855  0x00007eb6 branch  0x0000611f 
+ 00024856  0x00007eba call  0x00006124 
+ 00024857  0x00007ebb ifetch  0x00000001 , 0x00000005 
+ 00024858  0x00007ebc bbit1  0x00000000 , 0x0000611d 
+ 00024859  0x00007ebd isolate0  0x00000007 , 0x00000002 
+ 00024860  0x00007ebe rtn 
+ 00024861  0x00007ec0 isolate1  0x00000007 , 0x00000002 
+ 00024862  0x00007ec1 rtn 
+ 00024863  0x00007ec7 istore  0x00000001 , 0x00000005 
+ 00024864  0x00007ec8 rtn 
+ 00024865  0x00007ecb call  0x00006124 
+ 00024866  0x00007ecc setarg  0x00000000 
+ 00024867  0x00007ecd branch  0x0000611f 
+ 00024868  0x00007ed0 and  0x00000002 , 0x0000003f , 0x0000003f 
+ 00024869  0x00007ed1 arg  0x00008070 , 0x00000005 
+ 00024870  0x00007ed2 iadd  0x00000005 , 0x00000005 
+ 00024871  0x00007ed3 rtn 
+ 00024872  0x00007ed6 and  0x0000003f , 0x000000ff , 0x00000002 
+ 00024873  0x00007ed7 rshift8  0x0000003f , 0x0000003f 
+ 00024874  0x00007ed8 branch  0x0000612c 
+ 00024875  0x00007edc rtnbit0  0x00000007 
+ 00024876  0x00007ede and_into  0x0000003f , 0x0000003f 
+ 00024877  0x00007edf arg  0x00008070 , 0x00000005 
+ 00024878  0x00007ee0 iadd  0x00000005 , 0x00000005 
+ 00024879  0x00007ee1 istoret  0x00000001 , 0x00000005 
+ 00024880  0x00007ee2 rtn 
+ 00024881  0x00007ee6 and_into  0x0000003f , 0x00000002 
+ 00024882  0x00007ee7 setarg  0x00008070 
+ 00024883  0x00007ee8 iadd  0x00000002 , 0x00000006 
+ 00024884  0x00007ee9 ifetch  0x00000001 , 0x00000006 
+ 00024885  0x00007eea rtn 
+ 00024886  0x00007eef arg  0x00000014 , 0x00000039 
+ 00024887  0x00007ef0 arg  0x00008070 , 0x00000006 
+ 00024888  0x00007ef2 copy  0x00000006 , 0x00000005 
+ 00024889  0x00007ef3 ifetch  0x00000001 , 0x00000006 
+ 00024890  0x00007ef4 beq  0x00000002 , 0x0000614a 
+ 00024891  0x00007ef5 beq  0x00000003 , 0x0000614a 
+ 00024892  0x00007ef6 beq  0x00000004 , 0x0000614a 
+ 00024893  0x00007ef7 beq  0x00000005 , 0x0000614a 
+ 00024894  0x00007ef8 beq  0x00000006 , 0x0000614a 
+ 00024895  0x00007ef9 beq  0x00000007 , 0x0000614a 
+ 00024896  0x00007efa beq  0x0000001f , 0x0000614a 
+ 00024897  0x00007efb beq  0x00000020 , 0x0000614a 
+ 00024898  0x00007efc beq  0x00000021 , 0x0000614a 
+ 00024899  0x00007efd beq  0x00000022 , 0x0000614a 
+ 00024900  0x00007efe beq  0x00000023 , 0x0000614a 
+ 00024901  0x00007eff beq  0x0000002c , 0x0000614a 
+ 00024902  0x00007f00 beq  0x0000002d , 0x0000614a 
+ 00024903  0x00007f01 beq  0x00000000 , 0x0000614a 
+ 00024904  0x00007f03 loop  0x00006138 
+ 00024905  0x00007f04 rtn 
+ 00024906  0x00007f06 setarg  0x00000040 
+ 00024907  0x00007f07 istore  0x00000001 , 0x00000005 
+ 00024908  0x00007f08 branch  0x00006148 
+ 00024909  0x00007f0a setarg  0x00000080 
+ 00024910  0x00007f0b istore  0x00000001 , 0x00000005 
+ 00024911  0x00007f0c branch  0x00006148 
+ 00024912  0x00007f13 bpatchx  0x00000031 , 0x00004026 
+ 00024913  0x00007f15 fetch  0x00000008 , 0x00000a34 
+ 00024914  0x00007f16 branch  0x0000615d , 0x00000034 
+ 00024915  0x00007f17 arg  0x00000a34 , 0x00000006 
+ 00024916  0x00007f18 arg  0x00004492 , 0x00000005 
+ 00024917  0x00007f19 arg  0x00000003 , 0x00000039 
+ 00024918  0x00007f1b ifetch  0x00000003 , 0x00000006 
+ 00024919  0x00007f1c lshift4  0x0000003f , 0x00000002 
+ 00024920  0x00007f1d istoret  0x00000002 , 0x00000005 
+ 00024921  0x00007f1e rshift8  0x0000003f , 0x00000002 
+ 00024922  0x00007f1f istoret  0x00000002 , 0x00000005 
+ 00024923  0x00007f20 loop  0x00006156 
+ 00024924  0x00007f21 rtn 
+ 00024925  0x00007f24 setarg  0x0000469a 
+ 00024926  0x00007f25 store  0x00000002 , 0x00004492 
+ 00024927  0x00007f26 setarg  0x0000ab77 
+ 00024928  0x00007f27 store  0x00000002 , 0x00004498 
+ 00024929  0x00007f28 setarg  0x000073d0 
+ 00024930  0x00007f29 store  0x00000002 , 0x0000449c 
+ 00024931  0x00007f2a setarg  0x00009658 
+ 00024932  0x00007f2b store  0x00000002 , 0x00004496 
+ 00024933  0x00007f2c rtn 
+ 00024934  0x00007f2f bpatchx  0x00000032 , 0x00004026 
+ 00024935  0x00007f30 fetchr  0x00000012 , 0x00000001 , 0x00008a12 
+ 00024936  0x00007f31 jam  0x0000003d , 0x00008a12 
+ 00024937  0x00007f32 jam  0x000000aa , 0x00008a11 
+ 00024938  0x00007f33 jam  0x0000000c , 0x00008a0a 
+ 00024939  0x00007f34 fetch  0x00000001 , 0x00008a09 
+ 00024940  0x00007f35 set1  0x00000007 , 0x0000003f 
+ 00024941  0x00007f36 store  0x00000001 , 0x00008a09 
+ 00024942  0x00007f37 jam  0x00000004 , 0x00008a0b 
+ 00024943  0x00007f38 nop  0x0000003c 
+ 00024944  0x00007f39 jam  0x00000000 , 0x00008a16 
+ 00024945  0x00007f3a jam  0x00000006 , 0x00008a17 
+ 00024946  0x00007f3b call  0x00006182 
+ 00024947  0x00007f3c store  0x00000001 , 0x00008a97 
+ 00024948  0x00007f3d jam  0x00000003 , 0x000080dc 
+ 00024949  0x00007f3e nop  0x0000003c 
+ 00024950  0x00007f3f fetch  0x00000001 , 0x00008053 
+ 00024951  0x00007f40 set1  0x00000007 , 0x0000003f 
+ 00024952  0x00007f41 store  0x00000001 , 0x00008053 
+ 00024953  0x00007f42 nop  0x000003e8 
+ 00024954  0x00007f43 fetch  0x00000002 , 0x00008150 
+ 00024955  0x00007f44 store  0x00000002 , 0x000044a4 
+ 00024956  0x00007f45 fetch  0x00000001 , 0x00008053 
+ 00024957  0x00007f46 set0  0x00000007 , 0x0000003f 
+ 00024958  0x00007f47 store  0x00000001 , 0x00008053 
+ 00024959  0x00007f48 jam  0x00000000 , 0x00008a97 
+ 00024960  0x00007f49 storer  0x00000012 , 0x00000001 , 0x00008a12 
+ 00024961  0x00007f4a rtn 
+ 00024962  0x00007f4e fetch  0x00000001 , 0x000044a2 
+ 00024963  0x00007f4f beq  0x00000000 , 0x00006189 
+ 00024964  0x00007f50 beq  0x00000001 , 0x0000618b 
+ 00024965  0x00007f53 fetch  0x00000001 , 0x000044a3 
+ 00024966  0x00007f54 lshift3  0x0000003f , 0x0000003f 
+ 00024967  0x00007f55 or  0x0000003f , 0x00000007 , 0x0000003f 
+ 00024968  0x00007f56 rtn 
+ 00024969  0x00007f59 setarg  0x00000057 
+ 00024970  0x00007f5a rtn 
+ 00024971  0x00007f5d setarg  0x0000004f 
+ 00024972  0x00007f5e rtn 
+ 00024973  0x00007f61 bpatchx  0x00000033 , 0x00004026 
+ 00024974  0x00007f62 fetch  0x00000001 , 0x000044a2 
+ 00024975  0x00007f63 beq  0x00000000 , 0x00006193 
+ 00024976  0x00007f64 beq  0x00000001 , 0x00006199 
+ 00024977  0x00007f65 beq  0x00000002 , 0x0000619f 
+ 00024978  0x00007f66 rtn 
+ 00024979  0x00007f69 setarg  0x00000064 
+ 00024980  0x00007f6a store  0x00000002 , 0x000044a0 
+ 00024981  0x00007f6b fetcht  0x00000002 , 0x0000449c 
+ 00024982  0x00007f6c fetch  0x00000002 , 0x00004496 
+ 00024983  0x00007f6d arg  0x0000012c , 0x00000013 
+ 00024984  0x00007f6e branch  0x000061a4 
+ 00024985  0x00007f71 setarg  0x00000064 
+ 00024986  0x00007f72 store  0x00000002 , 0x000044a0 
+ 00024987  0x00007f73 fetcht  0x00000002 , 0x0000449a 
+ 00024988  0x00007f74 fetch  0x00000002 , 0x00004494 
+ 00024989  0x00007f75 arg  0x0000012c , 0x00000013 
+ 00024990  0x00007f76 branch  0x000061a4 
+ 00024991  0x00007f79 setarg  0x000000c8 
+ 00024992  0x00007f7a store  0x00000002 , 0x000044a0 
+ 00024993  0x00007f7b fetcht  0x00000002 , 0x00004492 
+ 00024994  0x00007f7c fetch  0x00000002 , 0x00004498 
+ 00024995  0x00007f7d arg  0x0000012c , 0x00000013 
+ 00024996  0x00007f80 isub  0x00000002 , 0x00000011 
+ 00024997  0x00007f81 fetch  0x00000002 , 0x000044a4 
+ 00024998  0x00007f82 isub  0x00000002 , 0x0000003f 
+ 00024999  0x00007f83 nbranch  0x000061b1 , 0x00000002 
+ 00025000  0x00007f84 fetcht  0x00000002 , 0x000044a0 
+ 00025001  0x00007f85 imul32  0x00000002 , 0x00000012 
+ 00025002  0x00007f86 copy  0x00000013 , 0x0000003f 
+ 00025003  0x00007f87 imul32  0x00000011 , 0x0000003f 
+ 00025004  0x00007f88 isub  0x00000012 , 0x0000003f 
+ 00025005  0x00007f8a idiv  0x00000011 
+ 00025006  0x00007f8b call  0x00007e64 
+ 00025007  0x00007f8c quotient  0x0000003f 
+ 00025008  0x00007f8d rtn 
+ 00025009  0x00007f90 copy  0x00000002 , 0x0000003f 
+ 00025010  0x00007f91 fetcht  0x00000002 , 0x000044a4 
+ 00025011  0x00007f92 isub  0x00000002 , 0x0000003f 
+ 00025012  0x00007f93 fetcht  0x00000002 , 0x000044a0 
+ 00025013  0x00007f94 imul32  0x00000002 , 0x00000012 
+ 00025014  0x00007f95 copy  0x00000013 , 0x0000003f 
+ 00025015  0x00007f96 imul32  0x00000011 , 0x0000003f 
+ 00025016  0x00007f97 iadd  0x00000012 , 0x0000003f 
+ 00025017  0x00007f98 branch  0x000061ad 
+ 00025018  0x00007f9d ifetch  0x00000008 , 0x00000011 
+ 00025019  0x00007f9e store  0x00000008 , 0x0000095c 
+ 00025020  0x00007f9f fetch  0x00000002 , 0x0000095c 
+ 00025021  0x00007fa0 fetcht  0x00000002 , 0x0000095e 
+ 00025022  0x00007fa1 isub  0x00000002 , 0x00000011 
+ 00025023  0x00007fa2 fetch  0x00000002 , 0x00000962 
+ 00025024  0x00007fa3 isub  0x00000002 , 0x00000012 
+ 00025025  0x00007fa4 fetcht  0x00000002 , 0x00000960 
+ 00025026  0x00007fa5 isub  0x00000002 , 0x0000003e 
+ 00025027  0x00007fa6 ncall  0x000061ca , 0x00000002 
+ 00025028  0x00007fa7 mul32  0x00000012 , 0x00000064 , 0x0000003f 
+ 00025029  0x00007fa8 idiv  0x00000011 
+ 00025030  0x00007fa9 call  0x00007e64 
+ 00025031  0x00007faa quotient  0x0000003f 
+ 00025032  0x00007fab call  0x000061d2 , 0x00000034 
+ 00025033  0x00007fac rtn 
+ 00025034  0x00007fae fetch  0x00000001 , 0x000044a6 
+ 00025035  0x00007faf set1  0x00000000 , 0x0000003f 
+ 00025036  0x00007fb0 store  0x00000001 , 0x000044a6 
+ 00025037  0x00007fb1 rtn 
+ 00025038  0x00007fb4 fetch  0x00000001 , 0x000044a6 
+ 00025039  0x00007fb5 set0  0x00000000 , 0x0000003f 
+ 00025040  0x00007fb6 store  0x00000001 , 0x000044a6 
+ 00025041  0x00007fb7 rtn 
+ 00025042  0x00007fba fetcht  0x00000001 , 0x000044a6 
+ 00025043  0x00007fbb set1  0x00000001 , 0x00000002 
+ 00025044  0x00007fbc storet  0x00000001 , 0x000044a6 
+ 00025045  0x00007fbd rtn 
+ 00025046  0x00007fc0 fetcht  0x00000001 , 0x000044a6 
+ 00025047  0x00007fc1 set0  0x00000001 , 0x00000002 
+ 00025048  0x00007fc2 storet  0x00000001 , 0x000044a6 
+ 00025049  0x00007fc3 rtn 
+ 00025050  0x00007fc9 fetch  0x00000002 , 0x000044c8 
+ 00025051  0x00007fca ifetch  0x00000001 , 0x0000003f 
+ 00025052  0x00007fcc rtn  0x00000034 
+ 00025053  0x00007fcd copy  0x0000003f , 0x00000039 
+ 00025054  0x00007fcf fetch  0x00000002 , 0x000044c8 
+ 00025055  0x00007fd0 increase  0x00000003 , 0x0000003f 
+ 00025056  0x00007fd1 copy  0x0000003f , 0x00000011 
+ 00025057  0x00007fd3 ifetcht  0x00000001 , 0x00000011 
+ 00025058  0x00007fd4 call  0x000060f4 
+ 00025059  0x00007fd5 increase  0x00000001 , 0x00000011 
+ 00025060  0x00007fd6 loop  0x000061e1 
+ 00025061  0x00007fd8 rtn 
+ 00025062  0x00007fdb fetch  0x00000002 , 0x000044c8 
+ 00025063  0x00007fdc increase  0x00000003 , 0x0000003f 
+ 00025064  0x00007fdd copy  0x0000003f , 0x00000011 
+ 00025065  0x00007fdf force  0x00000000 , 0x00000012 
+ 00025066  0x00007fe0 setarg  0x00000000 
+ 00025067  0x00007fe1 store  0x00000002 , 0x000009de 
+ 00025068  0x00007fe3 ifetcht  0x00000001 , 0x00000011 
+ 00025069  0x00007fe4 call  0x000060fd 
+ 00025070  0x00007fe5 bpatchx  0x00000034 , 0x00004026 
+ 00025071  0x00007fe6 fetch  0x00000002 , 0x000009de 
+ 00025072  0x00007fe7 copy  0x00000012 , 0x00000007 
+ 00025073  0x00007fe8 qsetflag  0x00000001 , 0x0000003f 
+ 00025074  0x00007fe9 store  0x00000002 , 0x000009de 
+ 00025075  0x00007fea increase  0x00000001 , 0x00000011 
+ 00025076  0x00007feb increase  0x00000001 , 0x00000012 
+ 00025077  0x00007fec fetch  0x00000002 , 0x000044c8 
+ 00025078  0x00007fed ifetch  0x00000001 , 0x0000003f 
+ 00025079  0x00007fef ixor  0x00000012 , 0x0000003e 
+ 00025080  0x00007ff0 nbranch  0x000061ec , 0x00000005 
+ 00025081  0x00007ff1 fetch  0x00000002 , 0x000009de 
+ 00025082  0x00007ff2 fetcht  0x00000002 , 0x000044ca 
+ 00025083  0x00007ff3 ixor  0x00000002 , 0x0000003e 
+ 00025084  0x00007ff4 rtn  0x00000005 
+ 00025085  0x00007ff5 enable  0x00000028 
+ 00025086  0x00007ff6 rtn 
+ 00025087  0x00007ff9 fetch  0x00000002 , 0x000044c8 
+ 00025088  0x00007ffa ifetch  0x00000001 , 0x0000003f 
+ 00025089  0x00007ffc rtn  0x00000034 
+ 00025090  0x00007ffd copy  0x0000003f , 0x00000039 
+ 00025091  0x00007ffe fetch  0x00000002 , 0x000044c8 
+ 00025092  0x00007fff increase  0x00000003 , 0x0000003f 
+ 00025093  0x00008000 copy  0x0000003f , 0x00000011 
+ 00025094  0x00008002 ifetcht  0x00000001 , 0x00000011 
+ 00025095  0x00008003 call  0x000060d6 
+ 00025096  0x00008004 increase  0x00000001 , 0x00000011 
+ 00025097  0x00008005 loop  0x00006206 
+ 00025098  0x00008007 rtn 
+ 00025099  0x0000800a arg  0x00000009 , 0x00000007 
+ 00025100  0x0000800b call  0x00007de9 
+ 00025101  0x0000800c nrtn  0x00000034 
+ 00025102  0x0000800d setarg  0x00000020 
+ 00025103  0x0000800e arg  0x00000009 , 0x00000007 
+ 00025104  0x0000800f call  0x00007ddb 
+ 00025105  0x00008010 disable  0x00000028 
+ 00025106  0x00008011 call  0x000061ff 
+ 00025107  0x00008012 bpatchx  0x00000035 , 0x00004026 
+ 00025108  0x00008013 fetch  0x00000002 , 0x000044c8 
+ 00025109  0x00008014 ifetch  0x00000001 , 0x0000003f 
+ 00025110  0x00008016 rtn  0x00000034 
+ 00025111  0x00008017 call  0x000061e6 
+ 00025112  0x00008018 nbranch  0x00007855 , 0x00000028 
+ 00025113  0x00008019 call  0x00007853 
+ 00025114  0x0000801a disable  0x00000028 
+ 00025115  0x0000801b fetch  0x00000002 , 0x000009de 
+ 00025116  0x0000801c store  0x00000002 , 0x000009e5 
+ 00025117  0x0000801d jam  0x00000000 , 0x000009e7 
+ 00025118  0x0000801e force  0x00000000 , 0x00000007 
+ 00025119  0x00008020 fetch  0x00000002 , 0x000044ca 
+ 00025120  0x00008021 rshift  0x0000003f , 0x00000002 
+ 00025121  0x00008022 storet  0x00000002 , 0x000044ca 
+ 00025122  0x00008023 and  0x0000003f , 0x00000001 , 0x0000003f 
+ 00025123  0x00008024 fetcht  0x00000002 , 0x000009e5 
+ 00025124  0x00008025 and  0x00000002 , 0x00000001 , 0x00000011 
+ 00025125  0x00008026 rshift  0x00000002 , 0x00000002 
+ 00025126  0x00008027 storet  0x00000002 , 0x000009e5 
+ 00025127  0x00008028 ixor  0x00000011 , 0x0000003e 
+ 00025128  0x00008029 ncall  0x00006234 , 0x00000005 
+ 00025129  0x0000802a fetch  0x00000002 , 0x000044c8 
+ 00025130  0x0000802b ifetch  0x00000001 , 0x0000003f 
+ 00025131  0x0000802d fetcht  0x00000001 , 0x000009e7 
+ 00025132  0x0000802e increase  0x00000001 , 0x00000002 
+ 00025133  0x0000802f storet  0x00000001 , 0x000009e7 
+ 00025134  0x00008030 copy  0x00000002 , 0x00000007 
+ 00025135  0x00008031 ixor  0x00000007 , 0x0000003e 
+ 00025136  0x00008032 nbranch  0x0000621f , 0x00000005 
+ 00025137  0x00008033 fetch  0x00000002 , 0x000009de 
+ 00025138  0x00008034 store  0x00000002 , 0x000044ca 
+ 00025139  0x00008035 rtn 
+ 00025140  0x00008037 bpatchx  0x00000036 , 0x00004026 
+ 00025141  0x00008038 fetch  0x00000002 , 0x000044c8 
+ 00025142  0x00008039 increase  0x00000001 , 0x0000003f 
+ 00025143  0x0000803a ifetch  0x00000002 , 0x0000003f 
+ 00025144  0x0000803b branch  0x00007e7a 
+ 00025145  0x00008042 fetch  0x00000001 , 0x00008042 
+ 00025146  0x00008043 ior  0x00000011 , 0x0000003f 
+ 00025147  0x00008044 store  0x00000001 , 0x00008042 
+ 00025148  0x00008045 fetch  0x00000002 , 0x00008050 
+ 00025149  0x00008046 set0  0x0000000d , 0x0000003f 
+ 00025150  0x00008047 store  0x00000002 , 0x00008050 
+ 00025151  0x00008049 nop  0x00000064 
+ 00025152  0x0000804a rtn 
+ 00025153  0x0000804d fetch  0x00000001 , 0x00008042 
+ 00025154  0x0000804e bbit1  0x00000006 , 0x00006246 
+ 00025155  0x0000804f bbit1  0x00000007 , 0x00006248 
+ 00025156  0x00008051 setarg  0x00b71b00 
+ 00025157  0x00008052 rtn 
+ 00025158  0x00008054 setarg  0x016e3600 
+ 00025159  0x00008055 rtn 
+ 00025160  0x00008057 setarg  0x000080e8 
+ 00025161  0x00008058 rtn 
+ 00025162  0x0000805a fetch  0x00000001 , 0x0000095d 
+ 00025163  0x0000805b bbit1  0x00000004 , 0x0000624e 
+ 00025164  0x0000805c bbit0  0x00000004 , 0x00006255 
+ 00025165  0x0000805d rtn 
+ 00025166  0x0000805f enable  0x00000028 
+ 00025167  0x00008060 and  0x0000003f , 0x0000000f , 0x00000007 
+ 00025168  0x00008061 call  0x0000625c 
+ 00025169  0x00008062 quotient  0x00000012 
+ 00025170  0x00008063 copy  0x00000002 , 0x0000003f 
+ 00025171  0x00008064 isub  0x00000012 , 0x00000011 
+ 00025172  0x00008065 rtn 
+ 00025173  0x00008068 disable  0x00000028 
+ 00025174  0x00008069 and  0x0000003f , 0x0000000f , 0x00000007 
+ 00025175  0x0000806a call  0x0000625c 
+ 00025176  0x0000806b quotient  0x00000011 
+ 00025177  0x0000806c copy  0x00000002 , 0x0000003f 
+ 00025178  0x0000806d isub  0x00000011 , 0x00000012 
+ 00025179  0x0000806e rtn 
+ 00025180  0x00008071 fetch  0x00000001 , 0x000080d8 
+ 00025181  0x00008072 qsetflag  0x00000028 , 0x0000003f 
+ 00025182  0x00008073 store  0x00000001 , 0x000080d8 
+ 00025183  0x00008074 rtn 
+ 00025184  0x00008077 fetcht  0x00000003 , 0x0000095e 
+ 00025185  0x00008078 call  0x00006241 
+ 00025186  0x00008079 idiv  0x00000002 
+ 00025187  0x0000807a call  0x00007e64 
+ 00025188  0x0000807b quotient  0x00000002 
+ 00025189  0x0000807c fetch  0x00000001 , 0x00000961 
+ 00025190  0x0000807d imul32  0x00000002 , 0x0000003f 
+ 00025191  0x0000807e div  0x0000003f , 0x00000064 
+ 00025192  0x0000807f call  0x00007e64 
+ 00025193  0x00008080 call  0x0000624a 
+ 00025194  0x00008081 fetch  0x00000001 , 0x0000095d 
+ 00025195  0x00008082 call  0x00006272 
+ 00025196  0x00008083 fetch  0x00000001 , 0x0000095c 
+ 00025197  0x00008084 fetcht  0x00000001 , 0x0000095d 
+ 00025198  0x00008085 and_into  0x0000000f , 0x00000002 
+ 00025199  0x00008086 lshift8  0x00000002 , 0x00000002 
+ 00025200  0x00008087 ior  0x00000002 , 0x0000003f 
+ 00025201  0x00008088 branch  0x0000627b 
+ 00025202  0x0000808c and_into  0x0000000f , 0x0000003f 
+ 00025203  0x0000808d arg  0x000080a0 , 0x00000005 
+ 00025204  0x0000808e mul32  0x0000003f , 0x00000004 , 0x0000003f 
+ 00025205  0x0000808f iadd  0x00000005 , 0x00000005 
+ 00025206  0x00008090 copy  0x00000011 , 0x0000003f 
+ 00025207  0x00008091 istore  0x00000002 , 0x00000005 
+ 00025208  0x00008092 copy  0x00000012 , 0x0000003f 
+ 00025209  0x00008093 istore  0x00000002 , 0x00000005 
+ 00025210  0x00008094 rtn 
+ 00025211  0x00008099 enable  0x00000028 
+ 00025212  0x0000809a call  0x00006290 
+ 00025213  0x0000809b branch  0x00006280 
+ 00025214  0x0000809d disable  0x00000028 
+ 00025215  0x0000809e call  0x0000628b 
+ 00025216  0x000080a0 copy  0x00000002 , 0x0000003f 
+ 00025217  0x000080a1 lshift8  0x0000003f , 0x0000003f 
+ 00025218  0x000080a2 add  0x00000007 , 0x00000010 , 0x00000002 
+ 00025219  0x000080a3 ior  0x00000002 , 0x0000003f 
+ 00025220  0x000080a4 call  0x00006128 
+ 00025221  0x000080a6 fetch  0x00000001 , 0x00008084 
+ 00025222  0x000080a7 jam  0x00000000 , 0x00008084 
+ 00025223  0x000080a8 nop  0x000004b0 
+ 00025224  0x000080a9 qsetflag  0x00000028 , 0x0000003f 
+ 00025225  0x000080aa store  0x00000001 , 0x00008084 
+ 00025226  0x000080ab rtn 
+ 00025227  0x000080ad copy  0x0000003f , 0x00000002 
+ 00025228  0x000080ae rshift8  0x0000003f , 0x0000003f 
+ 00025229  0x000080af copy  0x0000003f , 0x00000007 
+ 00025230  0x000080b0 rtn 
+ 00025231  0x000080b4 disable  0x00000028 
+ 00025232  0x000080b6 call  0x0000628b 
+ 00025233  0x000080b7 fetch  0x00000001 , 0x000080dd 
+ 00025234  0x000080b8 nqsetflag  0x00000028 , 0x0000003f 
+ 00025235  0x000080b9 store  0x00000001 , 0x000080dd 
+ 00025236  0x000080ba branch  0x00006280 
+ 00025237  0x000080c0 arg  0x00002710 , 0x00000002 
+ 00025238  0x000080c1 imul32  0x00000002 , 0x0000003f 
+ 00025239  0x000080c2 arg  0x0001312d , 0x00000002 
+ 00025240  0x000080c3 idiv  0x00000002 
+ 00025241  0x000080c4 call  0x00007e64 
+ 00025242  0x000080c5 quotient  0x00000002 
+ 00025243  0x000080c6 setarg  0x00000800 
+ 00025244  0x000080c7 isub  0x00000002 , 0x0000003f 
+ 00025245  0x000080c8 copy  0x0000003f , 0x00000002 
+ 00025246  0x000080c9 and_into  0x0000000f , 0x00000002 
+ 00025247  0x000080ca storet  0x00000001 , 0x0000800b 
+ 00025248  0x000080cb copy  0x0000003f , 0x00000002 
+ 00025249  0x000080cc rshift4  0x00000002 , 0x00000002 
+ 00025250  0x000080cd storet  0x00000001 , 0x00008004 
+ 00025251  0x000080ce rtn 
+ 00025252  0x000080d1 enable  0x0000002c 
+ 00025253  0x000080d2 branch  0x000062a7 
+ 00025254  0x000080d4 disable  0x0000002c 
+ 00025255  0x000080d6 fetch  0x00000001 , 0x00008043 
+ 00025256  0x000080d7 setflag  0x0000002c , 0x00000003 , 0x0000003f 
+ 00025257  0x000080d8 store  0x00000001 , 0x00008043 
+ 00025258  0x000080d9 rtn 
+ 00025259  0x000080de arg  0x00000031 , 0x00000002 
+ 00025260  0x000080e2 store  0x00000004 , 0x000080ca 
+ 00025261  0x000080e3 store  0x00000002 , 0x000080ce 
+ 00025262  0x000080e4 storet  0x00000001 , 0x000080d0 
+ 00025263  0x000080e5 rtn 
+ 00025264  0x000080e9 fetch  0x00000002 , 0x00008130 
+ 00025265  0x000080ea rtn 
+ 00025266  0x000080ed fetchr  0x00000003 , 0x00000002 , 0x000080ce 
+ 00025267  0x000080ee fetchr  0x0000000a , 0x00000002 , 0x000080ca 
+ 00025268  0x000080ef fetchr  0x00000010 , 0x00000002 , 0x000080cc 
+ 00025269  0x000080f0 rtn 
+ 00025270  0x000080f3 storer  0x00000003 , 0x00000002 , 0x000080ce 
+ 00025271  0x000080f4 rtn 
+ 00025272  0x000080fc call  0x00007ec5 
+ 00025273  0x000080fd arg  0x00000000 , 0x0000002b 
+ 00025274  0x000080fe call  0x000062b0 
+ 00025275  0x000080ff beq  0x00000002 , 0x000062fa 
+ 00025276  0x00008100 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00025277  0x00008101 rtn  0x00000002 
+ 00025278  0x00008102 call  0x000062b2 
+ 00025279  0x00008103 ifetcht  0x00000002 , 0x00000003 
+ 00025280  0x00008104 setarg  0x0000a654 
+ 00025281  0x00008105 call  0x00006303 
+ 00025282  0x00008106 nbranch  0x000062e8 , 0x00000002 
+ 00025283  0x00008107 copy  0x00000018 , 0x00000002 
+ 00025284  0x00008108 setarg  0x00017f8e 
+ 00025285  0x00008109 call  0x00006303 
+ 00025286  0x0000810a nbranch  0x000062e8 , 0x00000002 
+ 00025287  0x0000810c copy  0x00000018 , 0x00000002 
+ 00025288  0x0000810d setarg  0x00002328 
+ 00025289  0x0000810e call  0x00006303 
+ 00025290  0x0000810f branch  0x000062df , 0x00000002 
+ 00025291  0x00008110 ifetcht  0x00000002 , 0x00000003 
+ 00025292  0x00008111 setarg  0x00001194 
+ 00025293  0x00008112 call  0x00006303 
+ 00025294  0x00008113 branch  0x000062df , 0x00000002 
+ 00025295  0x00008114 call  0x000062b0 
+ 00025296  0x00008115 sub  0x0000003f , 0x00000085 , 0x0000003e 
+ 00025297  0x00008116 rtn  0x00000002 
+ 00025298  0x00008117 arg  0x00000020 , 0x00000039 
+ 00025299  0x00008119 ifetcht  0x00000002 , 0x00000003 
+ 00025300  0x0000811a setarg  0x00000230 
+ 00025301  0x0000811b call  0x00006303 
+ 00025302  0x0000811c branch  0x000062df , 0x00000002 
+ 00025303  0x0000811d ifetcht  0x00000002 , 0x00000003 
+ 00025304  0x0000811e setarg  0x0000069a 
+ 00025305  0x0000811f call  0x00006303 
+ 00025306  0x00008120 nbranch  0x000062e4 , 0x00000002 
+ 00025307  0x00008121 copy  0x00000018 , 0x00000002 
+ 00025308  0x00008122 setarg  0x00000230 
+ 00025309  0x00008123 call  0x00006303 
+ 00025310  0x00008124 nbranch  0x000062e5 , 0x00000002 
+ 00025311  0x00008128 copy  0x00000018 , 0x00000002 
+ 00025312  0x00008129 setarg  0x0000ffff 
+ 00025313  0x0000812a isub  0x00000002 , 0x0000003e 
+ 00025314  0x0000812b branch  0x000062ff , 0x00000005 
+ 00025315  0x0000812c branch  0x000062b6 
+ 00025316  0x0000812f set1  0x00000020 , 0x0000002b 
+ 00025317  0x00008131 rshift  0x0000002b , 0x0000002b 
+ 00025318  0x00008132 loop  0x000062d3 
+ 00025319  0x00008133 branch  0x000062f3 
+ 00025320  0x00008136 call  0x000062b0 
+ 00025321  0x00008137 sub  0x0000003f , 0x00000007 , 0x0000003e 
+ 00025322  0x00008138 rtn  0x00000002 
+ 00025323  0x00008139 ifetcht  0x00000002 , 0x00000003 
+ 00025324  0x0000813a setarg  0x00002328 
+ 00025325  0x0000813b call  0x00006303 
+ 00025326  0x0000813c branch  0x000062df , 0x00000002 
+ 00025327  0x0000813d ifetcht  0x00000002 , 0x00000003 
+ 00025328  0x0000813e setarg  0x000008ca 
+ 00025329  0x0000813f call  0x00006303 
+ 00025330  0x00008140 branch  0x000062df , 0x00000002 
+ 00025331  0x00008142 ifetcht  0x00000002 , 0x00000003 
+ 00025332  0x00008143 setarg  0x00000230 
+ 00025333  0x00008144 call  0x00006303 
+ 00025334  0x00008145 branch  0x000062df , 0x00000002 
+ 00025335  0x00008146 call  0x000062b6 
+ 00025336  0x00008147 copy  0x00000013 , 0x0000003f 
+ 00025337  0x00008148 branch  0x00007e7a 
+ 00025338  0x0000814b call  0x000062b2 
+ 00025339  0x0000814c ifetcht  0x00000002 , 0x00000003 
+ 00025340  0x0000814d setarg  0x0000ffff 
+ 00025341  0x0000814e isub  0x00000002 , 0x0000003e 
+ 00025342  0x0000814f nrtn  0x00000005 
+ 00025343  0x00008151 call  0x000062b6 
+ 00025344  0x00008152 call  0x00007ec7 
+ 00025345  0x00008153 copy  0x00000013 , 0x0000003f 
+ 00025346  0x00008154 branch  0x00007e7a 
+ 00025347  0x0000815c fetchr  0x00000012 , 0x00000001 , 0x000044d6 
+ 00025348  0x00008166 copy  0x00000002 , 0x00000018 
+ 00025349  0x00008167 imul32  0x00000012 , 0x00000012 
+ 00025350  0x00008168 lshift  0x00000002 , 0x00000002 
+ 00025351  0x00008169 isub  0x00000002 , 0x00000011 
+ 00025352  0x0000816a ncall  0x0000630c , 0x00000002 
+ 00025353  0x0000816b mul32  0x00000011 , 0x00000064 , 0x0000003f 
+ 00025354  0x0000816c isub  0x00000012 , 0x0000003e 
+ 00025355  0x0000816d rtn 
+ 00025356  0x00008170 sub  0x00000011 , 0x00000000 , 0x00000011 
+ 00025357  0x00008171 rtn 
+ 00025358  0x00008176 jam  0x00000018 , 0x000041f0 
+ 00025359  0x00008177 jam  0x00000001 , 0x00008042 
+ 00025360  0x00008178 setarg  0x00001d4b 
+ 00025361  0x00008179 store  0x00000002 , 0x00008040 
+ 00025362  0x0000817b arg  0x0000000b , 0x00000039 
+ 00025363  0x0000817c arg  0x00000155 , 0x00000011 
+ 00025364  0x0000817e ifetch  0x00000002 , 0x00000011 
+ 00025365  0x0000817f lshift  0x0000003f , 0x0000003f 
+ 00025366  0x00008180 istore  0x00000002 , 0x00000011 
+ 00025367  0x00008181 increase  0x00000002 , 0x00000011 
+ 00025368  0x00008182 loop  0x00006314 
+ 00025369  0x00008183 rtn 
+ 00025370  0x00008186 lshift  0x0000001b , 0x0000001b 
+ 00025371  0x00008187 rtn 
+ 00025372  0x0000818a jam  0x00000004 , 0x00008042 
+ 00025373  0x0000818c jam  0x0000000c , 0x000041f0 
+ 00025374  0x0000818d setarg  0x00000ea5 
+ 00025375  0x0000818e store  0x00000002 , 0x00008040 
+ 00025376  0x0000818f rtn 
+ 00025377  0x00008192 jam  0x00000005 , 0x00008042 
+ 00025378  0x00008193 branch  0x0000631d 
+ 00025379  0x0000819d rtn  0x0000002b 
+ 00025380  0x0000819e jam  0x00000000 , 0x00004655 
+ 00025381  0x0000819f jam  0x00000003 , 0x000003c0 
+ 00025382  0x000081a0 jam  0x00000003 , 0x000003c1 
+ 00025383  0x000081a1 jam  0x00000011 , 0x000003c5 
+ 00025384  0x000081a2 jam  0x00000013 , 0x000003c6 
+ 00025385  0x000081a3 setarg  0x00000000 
+ 00025386  0x000081a4 store  0x00000003 , 0x000003c2 
+ 00025387  0x000081a5 store  0x00000001 , 0x000044e7 
+ 00025388  0x000081a6 jam  0x00000000 , 0x0000478e 
+ 00025389  0x000081a9 setarg  0x00000000 
+ 00025390  0x000081aa store  0x00000001 , 0x000044e7 
+ 00025391  0x000081ab store  0x00000001 , 0x00004652 
+ 00025392  0x000081ac store  0x00000001 , 0x0000464b 
+ 00025393  0x000081ad fetch  0x00000001 , 0x00004659 
+ 00025394  0x000081ae beq  0x00000001 , 0x00006335 
+ 00025395  0x000081af jam  0x00000050 , 0x00004657 
+ 00025396  0x000081b0 rtn 
+ 00025397  0x000081b3 jam  0x00000000 , 0x00004657 
+ 00025398  0x000081b4 rtn 
+ 00025399  0x000081b7 or_into  0x00000002 , 0x00000002 
+ 00025400  0x000081b8 rtn 
+ 00025401  0x000081c5 copy  0x00000002 , 0x0000003f 
+ 00025402  0x000081c6 reverse  0x0000003f , 0x0000003f 
+ 00025403  0x000081c7 store  0x00000001 , 0x00004650 
+ 00025404  0x000081c8 force  0x0000003f , 0x0000003f 
+ 00025405  0x000081c9 reverse  0x0000003f , 0x0000003f 
+ 00025406  0x000081ca store  0x00000001 , 0x0000464f 
+ 00025407  0x000081cb force  0x00000001 , 0x0000003f 
+ 00025408  0x000081cc reverse  0x0000003f , 0x0000003f 
+ 00025409  0x000081cd store  0x00000001 , 0x0000464e 
+ 00025410  0x000081ce call  0x0000636f 
+ 00025411  0x000081cf copy  0x00000002 , 0x0000003f 
+ 00025412  0x000081d0 rtn 
+ 00025413  0x000081d2 reverse  0x0000003f , 0x0000003f 
+ 00025414  0x000081d3 store  0x00000001 , 0x00004650 
+ 00025415  0x000081d4 force  0x00000073 , 0x0000003f 
+ 00025416  0x000081d5 reverse  0x0000003f , 0x0000003f 
+ 00025417  0x000081d6 store  0x00000001 , 0x0000464f 
+ 00025418  0x000081d7 force  0x00000001 , 0x0000003f 
+ 00025419  0x000081d8 reverse  0x0000003f , 0x0000003f 
+ 00025420  0x000081d9 store  0x00000001 , 0x0000464e 
+ 00025421  0x000081da branch  0x0000636f 
+ 00025422  0x000081dd fetch  0x00000001 , 0x00004651 
+ 00025423  0x000081de branch  0x00006352 , 0x00000034 
+ 00025424  0x000081df setarg  0x00000070 
+ 00025425  0x000081e0 rtn 
+ 00025426  0x000081e2 setarg  0x000000aa 
+ 00025427  0x000081e3 rtn 
+ 00025428  0x000081e6 reverse  0x0000003f , 0x0000003f 
+ 00025429  0x000081e7 store  0x00000001 , 0x00004650 
+ 00025430  0x000081e8 force  0x000000ef , 0x0000003f 
+ 00025431  0x000081e9 call  0x00006363 
+ 00025432  0x000081ea fetcht  0x00000002 , 0x000003ca 
+ 00025433  0x000081eb copy  0x00000002 , 0x00000005 
+ 00025434  0x000081ec istore  0x00000001 , 0x00000005 
+ 00025435  0x000081ed copy  0x00000005 , 0x00000002 
+ 00025436  0x000081ee storet  0x00000002 , 0x000003ca 
+ 00025437  0x000081ef force  0x000000ff , 0x0000003f 
+ 00025438  0x000081f0 call  0x00006363 
+ 00025439  0x000081f1 fetcht  0x00000002 , 0x000003ca 
+ 00025440  0x000081f2 copy  0x00000002 , 0x00000005 
+ 00025441  0x000081f3 istore  0x00000001 , 0x00000005 
+ 00025442  0x000081f4 rtn 
+ 00025443  0x000081fe reverse  0x0000003f , 0x0000003f 
+ 00025444  0x000081ff store  0x00000001 , 0x0000464f 
+ 00025445  0x00008200 fetch  0x00000002 , 0x0000464f 
+ 00025446  0x00008201 lshift8  0x0000003f , 0x0000003f 
+ 00025447  0x00008202 store  0x00000003 , 0x000003c7 
+ 00025448  0x00008203 arg  0x00000107 , 0x00000011 
+ 00025449  0x00008204 arg  0x0000000f , 0x00000012 
+ 00025450  0x00008205 call  0x0000637c 
+ 00025451  0x00008206 xor_into  0x000000d7 , 0x0000003f 
+ 00025452  0x00008207 invert  0x0000003f , 0x0000003f 
+ 00025453  0x00008208 reverse  0x0000003f , 0x0000003f 
+ 00025454  0x00008209 rtn 
+ 00025455  0x00008214 fetch  0x00000003 , 0x0000464e 
+ 00025456  0x00008215 store  0x00000003 , 0x000003c7 
+ 00025457  0x00008216 arg  0x00000107 , 0x00000011 
+ 00025458  0x00008217 arg  0x0000000f , 0x00000012 
+ 00025459  0x00008218 call  0x0000637c 
+ 00025460  0x00008219 lshift8  0x0000003f , 0x0000003f 
+ 00025461  0x0000821a arg  0x00000007 , 0x00000012 
+ 00025462  0x0000821b call  0x0000637c 
+ 00025463  0x0000821c xor_into  0x0000002b , 0x0000003f 
+ 00025464  0x0000821d invert  0x0000003f , 0x0000003f 
+ 00025465  0x0000821e reverse  0x0000003f , 0x0000003f 
+ 00025466  0x0000821f copy  0x0000003f , 0x00000002 
+ 00025467  0x00008220 rtn 
+ 00025468  0x00008223 arg  0x00000000 , 0x00000013 
+ 00025469  0x00008224 copy  0x00000012 , 0x00000039 
+ 00025470  0x00008225 call  0x00007d30 
+ 00025471  0x00008226 icopy  0x00000002 
+ 00025472  0x0000822c copy  0x00000002 , 0x0000003f 
+ 00025473  0x0000822d lshift  0x00000013 , 0x00000013 
+ 00025474  0x0000822e bbit0  0x00000008 , 0x00006385 
+ 00025475  0x0000822f ixor  0x00000011 , 0x00000002 
+ 00025476  0x00008230 increase  0x00000001 , 0x00000013 
+ 00025477  0x00008232 lshift  0x00000002 , 0x00000002 
+ 00025478  0x00008233 fetch  0x00000003 , 0x000003c7 
+ 00025479  0x00008234 increase  0xffffffff , 0x00000012 
+ 00025480  0x00008235 compare  0x000000ff , 0x00000012 , 0x000000ff 
+ 00025481  0x00008236 branch  0x0000638f , 0x00000001 
+ 00025482  0x00008237 copy  0x00000012 , 0x00000039 
+ 00025483  0x00008238 call  0x00007d30 
+ 00025484  0x00008239 isolate1  0x00000000 , 0x0000003f 
+ 00025485  0x0000823a setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00025486  0x0000823b branch  0x00006380 
+ 00025487  0x0000823e rshift  0x00000002 , 0x0000003f 
+ 00025488  0x0000823f rtn 
+ 00025489  0x00008242 fetcht  0x00000001 , 0x0000464b 
+ 00025490  0x00008245 lshift2  0x00000002 , 0x00000002 
+ 00025491  0x00008246 set1  0x00000000 , 0x00000002 
+ 00025492  0x00008247 fetch  0x00000001 , 0x00004651 
+ 00025493  0x00008248 ncall  0x00006337 , 0x00000034 
+ 00025494  0x00008249 storet  0x00000001 , 0x000003e0 
+ 00025495  0x0000824a rtn 
+ 00025496  0x0000824e lshift  0x00000002 , 0x00000002 
+ 00025497  0x0000824f fetch  0x00000001 , 0x00004651 
+ 00025498  0x00008250 setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00025499  0x00008252 rtn 
+ 00025500  0x00008254 fetcht  0x00000001 , 0x000003cf 
+ 00025501  0x00008255 jam  0x000000d7 , 0x000003d1 
+ 00025502  0x00008256 call  0x000064d5 
+ 00025503  0x00008257 fetch  0x00000001 , 0x000044e4 
+ 00025504  0x00008258 set1  0x00000006 , 0x0000003f 
+ 00025505  0x00008259 set1  0x00000007 , 0x0000003f 
+ 00025506  0x0000825a store  0x00000001 , 0x000044e4 
+ 00025507  0x0000825b jam  0x00000000 , 0x00004651 
+ 00025508  0x0000825c branch  0x000064b6 
+ 00025509  0x0000825e fetch  0x00000001 , 0x000044e4 
+ 00025510  0x0000825f set1  0x00000007 , 0x0000003f 
+ 00025511  0x00008260 store  0x00000001 , 0x000044e4 
+ 00025512  0x00008261 branch  0x000064b6 
+ 00025513  0x00008265 bpatchx  0x00000037 , 0x00004026 
+ 00025514  0x00008266 fetch  0x00000001 , 0x0000478e 
+ 00025515  0x00008267 beq  0x00000000 , 0x000063ad 
+ 00025516  0x00008268 branch  0x0000646b 
+ 00025517  0x0000826b fetch  0x00000002 , 0x00000315 
+ 00025518  0x0000826c copy  0x0000003f , 0x00000006 
+ 00025519  0x0000826d call  0x000063d7 
+ 00025520  0x0000826e fetch  0x00000001 , 0x000003cf 
+ 00025521  0x0000826f beq  0x00000000 , 0x000063b3 
+ 00025522  0x00008270 branch  0x00006437 
+ 00025523  0x00008272 bpatchx  0x00000038 , 0x00004027 
+ 00025524  0x00008273 fetch  0x00000001 , 0x000003d0 
+ 00025525  0x00008274 beq  0x0000003f , 0x0000639c 
+ 00025526  0x00008275 beq  0x00000073 , 0x000063a5 
+ 00025527  0x00008276 beq  0x000000ef , 0x000063ba 
+ 00025528  0x00008277 beq  0x00000053 , 0x00006463 
+ 00025529  0x00008278 rtn 
+ 00025530  0x0000827c fetch  0x00000002 , 0x000003d4 
+ 00025531  0x0000827d copy  0x0000003f , 0x00000006 
+ 00025532  0x0000827e call  0x000063e2 
+ 00025533  0x0000827f fetch  0x00000001 , 0x000003d6 
+ 00025534  0x00008280 beq  0x00000041 , 0x000063c4 
+ 00025535  0x00008281 beq  0x00000040 , 0x000063cc 
+ 00025536  0x00008282 beq  0x00000071 , 0x00006405 
+ 00025537  0x00008283 beq  0x00000070 , 0x00006411 
+ 00025538  0x00008284 beq  0x00000049 , 0x0000641c 
+ 00025539  0x00008285 branch  0x000064b6 
+ 00025540  0x00008288 call  0x000063ce 
+ 00025541  0x0000828a branch  0x000063c6 
+ 00025542  0x0000828d fetch  0x00000001 , 0x000044e7 
+ 00025543  0x0000828e set1  0x00000000 , 0x0000003f 
+ 00025544  0x0000828f set1  0x00000001 , 0x0000003f 
+ 00025545  0x00008290 store  0x00000001 , 0x000044e7 
+ 00025546  0x00008291 call  0x000064ff 
+ 00025547  0x00008292 branch  0x000064b6 
+ 00025548  0x00008295 call  0x000063ce 
+ 00025549  0x00008296 branch  0x000064b6 
+ 00025550  0x00008299 call  0x000063ea 
+ 00025551  0x0000829a branch  0x000063f6 
+ 00025552  0x0000829d call  0x000063ea 
+ 00025553  0x0000829e ifetch  0x00000001 , 0x00000006 
+ 00025554  0x0000829f rshift3  0x0000003f , 0x0000003f 
+ 00025555  0x000082a0 store  0x00000001 , 0x00004658 
+ 00025556  0x000082a1 ifetch  0x00000001 , 0x00000006 
+ 00025557  0x000082a2 store  0x00000001 , 0x000003db 
+ 00025558  0x000082a3 rtn 
+ 00025559  0x000082a7 ifetch  0x00000001 , 0x00000006 
+ 00025560  0x000082a8 store  0x00000001 , 0x000003ce 
+ 00025561  0x000082a9 rshift3  0x0000003f , 0x0000003f 
+ 00025562  0x000082aa store  0x00000001 , 0x000003cf 
+ 00025563  0x000082ab ifetch  0x00000001 , 0x00000006 
+ 00025564  0x000082ac store  0x00000001 , 0x000003d0 
+ 00025565  0x000082ae call  0x000063ed 
+ 00025566  0x000082af storet  0x00000002 , 0x000003d2 
+ 00025567  0x000082b0 copy  0x00000006 , 0x0000003f 
+ 00025568  0x000082b1 store  0x00000002 , 0x000003d4 
+ 00025569  0x000082b2 rtn 
+ 00025570  0x000082b5 ifetch  0x00000001 , 0x00000006 
+ 00025571  0x000082b6 rshift  0x0000003f , 0x0000003f 
+ 00025572  0x000082b7 store  0x00000001 , 0x000003d6 
+ 00025573  0x000082b8 call  0x000063ed 
+ 00025574  0x000082b9 storet  0x00000002 , 0x000003d7 
+ 00025575  0x000082ba copy  0x00000006 , 0x0000003f 
+ 00025576  0x000082bb store  0x00000002 , 0x000003d9 
+ 00025577  0x000082bc rtn 
+ 00025578  0x000082c0 fetch  0x00000002 , 0x000003d9 
+ 00025579  0x000082c1 copy  0x0000003f , 0x00000006 
+ 00025580  0x000082c2 rtn 
+ 00025581  0x000082c5 ifetch  0x00000001 , 0x00000006 
+ 00025582  0x000082c6 copy  0x0000003f , 0x00000002 
+ 00025583  0x000082c7 rshift  0x00000002 , 0x00000002 
+ 00025584  0x000082c8 rtnbit1  0x00000000 
+ 00025585  0x000082c9 ifetch  0x00000001 , 0x00000006 
+ 00025586  0x000082ca lshift3  0x0000003f , 0x0000003f 
+ 00025587  0x000082cb lshift4  0x0000003f , 0x0000003f 
+ 00025588  0x000082cc iadd  0x00000002 , 0x00000002 
+ 00025589  0x000082cd rtn 
+ 00025590  0x000082d0 ifetch  0x00000001 , 0x00000006 
+ 00025591  0x000082d1 store  0x00000001 , 0x0000464b 
+ 00025592  0x000082d2 ifetch  0x00000001 , 0x00000006 
+ 00025593  0x000082d3 store  0x00000001 , 0x000003dc 
+ 00025594  0x000082d4 ifetch  0x00000001 , 0x00000006 
+ 00025595  0x000082d5 store  0x00000001 , 0x000003dd 
+ 00025596  0x000082d6 ifetch  0x00000001 , 0x00000006 
+ 00025597  0x000082d7 store  0x00000001 , 0x000003de 
+ 00025598  0x000082d8 ifetch  0x00000002 , 0x00000006 
+ 00025599  0x000082d9 store  0x00000002 , 0x0000464c 
+ 00025600  0x000082da ifetch  0x00000001 , 0x00000006 
+ 00025601  0x000082db store  0x00000001 , 0x000003df 
+ 00025602  0x000082dc ifetch  0x00000001 , 0x00000006 
+ 00025603  0x000082dd store  0x00000001 , 0x00004656 
+ 00025604  0x000082de rtn 
+ 00025605  0x000082e2 call  0x000063d0 
+ 00025606  0x000082e4 branch  0x00006407 
+ 00025607  0x000082e7 fetch  0x00000001 , 0x000044e7 
+ 00025608  0x000082e8 set1  0x00000005 , 0x0000003f 
+ 00025609  0x000082e9 set1  0x00000006 , 0x0000003f 
+ 00025610  0x000082ea store  0x00000001 , 0x000044e7 
+ 00025611  0x000082eb fetcht  0x00000001 , 0x0000464b 
+ 00025612  0x000082ec lshift2  0x00000002 , 0x00000002 
+ 00025613  0x000082ed or_into  0x00000003 , 0x00000002 
+ 00025614  0x000082ee call  0x00006530 
+ 00025615  0x000082ef jam  0x00000003 , 0x00004655 
+ 00025616  0x000082f0 branch  0x000064b6 
+ 00025617  0x000082f3 jam  0x00000008 , 0x0000095b 
+ 00025618  0x000082f4 call  0x000078dc 
+ 00025619  0x000082f5 call  0x000063d0 
+ 00025620  0x000082f6 fetch  0x00000001 , 0x00004658 
+ 00025621  0x000082f7 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00025622  0x000082f8 branch  0x00006418 , 0x00000005 
+ 00025623  0x000082f9 branch  0x0000137c 
+ 00025624  0x000082fb fetch  0x00000001 , 0x000044e7 
+ 00025625  0x000082fc set1  0x00000007 , 0x0000003f 
+ 00025626  0x000082fd store  0x00000001 , 0x000044e7 
+ 00025627  0x000082fe branch  0x000064b6 
+ 00025628  0x00008301 call  0x000063ea 
+ 00025629  0x00008302 ifetch  0x00000001 , 0x00000006 
+ 00025630  0x00008303 store  0x00000001 , 0x0000098e 
+ 00025631  0x00008304 call  0x00005383 
+ 00025632  0x00008305 call  0x00005391 
+ 00025633  0x00008306 setarg  0x0000000e 
+ 00025634  0x00008307 istore  0x00000002 , 0x00000005 
+ 00025635  0x00008308 fetch  0x00000002 , 0x000044dd 
+ 00025636  0x00008309 istore  0x00000002 , 0x00000005 
+ 00025637  0x0000830a fetch  0x00000001 , 0x00004651 
+ 00025638  0x0000830c lshift  0x0000003f , 0x0000003f 
+ 00025639  0x0000830d set1  0x00000000 , 0x0000003f 
+ 00025640  0x0000830e istore  0x00000001 , 0x00000005 
+ 00025641  0x0000830f bpatchx  0x00000039 , 0x00004027 
+ 00025642  0x00008310 setarg  0x000015ef 
+ 00025643  0x00008311 istore  0x00000002 , 0x00000005 
+ 00025644  0x00008312 setarg  0x00001191 
+ 00025645  0x00008313 istore  0x00000002 , 0x00000005 
+ 00025646  0x00008316 fetch  0x00000001 , 0x0000098e 
+ 00025647  0x00008317 istore  0x00000001 , 0x00000005 
+ 00025648  0x00008318 setarg  0x00000007 
+ 00025649  0x00008319 istore  0x00000005 , 0x00000005 
+ 00025650  0x0000831c setarg  0x00000001 
+ 00025651  0x0000831d istore  0x00000002 , 0x00000005 
+ 00025652  0x00008320 call  0x0000634e 
+ 00025653  0x00008321 istore  0x00000001 , 0x00000005 
+ 00025654  0x00008322 rtn 
+ 00025655  0x00008327 branch  0x00006438 
+ 00025656  0x0000832a bpatchx  0x0000003a , 0x00004027 
+ 00025657  0x0000832b fetch  0x00000001 , 0x000003d0 
+ 00025658  0x0000832c beq  0x00000073 , 0x00006440 
+ 00025659  0x0000832d beq  0x0000003f , 0x00006444 
+ 00025660  0x0000832e beq  0x000000ef , 0x0000645e 
+ 00025661  0x0000832f beq  0x000000ff , 0x00006456 
+ 00025662  0x00008330 beq  0x00000053 , 0x00006465 
+ 00025663  0x00008331 rtn 
+ 00025664  0x00008333 fetch  0x00000001 , 0x000044e7 
+ 00025665  0x00008334 set1  0x00000003 , 0x0000003f 
+ 00025666  0x00008335 store  0x00000001 , 0x000044e7 
+ 00025667  0x00008336 branch  0x000064b6 
+ 00025668  0x00008338 fetch  0x00000001 , 0x000044e7 
+ 00025669  0x00008339 set1  0x00000003 , 0x0000003f 
+ 00025670  0x0000833a set1  0x00000002 , 0x0000003f 
+ 00025671  0x0000833b store  0x00000001 , 0x000044e7 
+ 00025672  0x0000833c fetch  0x00000001 , 0x000003ce 
+ 00025673  0x0000833d call  0x00006345 
+ 00025674  0x0000833e store  0x00000001 , 0x000003d1 
+ 00025675  0x0000833f call  0x000064d5 
+ 00025676  0x00008340 fetch  0x00000001 , 0x000003ce 
+ 00025677  0x00008341 rshift2  0x0000003f , 0x0000003f 
+ 00025678  0x00008342 store  0x00000001 , 0x0000464b 
+ 00025679  0x00008343 lshift2  0x0000003f , 0x0000003f 
+ 00025680  0x00008344 set0  0x00000001 , 0x0000003f 
+ 00025681  0x00008345 set1  0x00000000 , 0x0000003f 
+ 00025682  0x00008346 arg  0x00004653 , 0x00000002 
+ 00025683  0x00008347 storet  0x00000002 , 0x000003ca 
+ 00025684  0x00008348 call  0x00006354 
+ 00025685  0x00008349 branch  0x000064b6 
+ 00025686  0x0000834c fetch  0x00000002 , 0x000003d4 
+ 00025687  0x0000834d copy  0x0000003f , 0x00000006 
+ 00025688  0x0000834e increase  0x00000001 , 0x0000003f 
+ 00025689  0x0000834f store  0x00000002 , 0x000003d4 
+ 00025690  0x00008350 ifetch  0x00000001 , 0x00000006 
+ 00025691  0x00008351 fetcht  0x00000001 , 0x00004656 
+ 00025692  0x00008352 iadd  0x00000002 , 0x0000003f 
+ 00025693  0x00008353 store  0x00000001 , 0x00004656 
+ 00025694  0x00008355 call  0x00006561 
+ 00025695  0x00008357 call  0x00006391 
+ 00025696  0x00008358 call  0x00006547 
+ 00025697  0x00008359 call  0x0000656a 
+ 00025698  0x0000835a branch  0x000064b6 
+ 00025699  0x0000835d jam  0x00000009 , 0x0000095b 
+ 00025700  0x0000835e call  0x000078dc 
+ 00025701  0x00008360 call  0x0000632d 
+ 00025702  0x00008361 fetch  0x00000001 , 0x000003ce 
+ 00025703  0x00008362 call  0x00006345 
+ 00025704  0x00008363 store  0x00000001 , 0x000003d1 
+ 00025705  0x00008364 call  0x000064d5 
+ 00025706  0x00008365 branch  0x000064b6 
+ 00025707  0x0000836b fetch  0x00000002 , 0x00000315 
+ 00025708  0x0000836c copy  0x0000003f , 0x00000006 
+ 00025709  0x0000836d call  0x000063d7 
+ 00025710  0x0000836e fetch  0x00000001 , 0x000003cf 
+ 00025711  0x0000836f beq  0x00000000 , 0x00006471 
+ 00025712  0x00008370 branch  0x000064a5 
+ 00025713  0x00008373 bpatchx  0x0000003b , 0x00004027 
+ 00025714  0x00008374 fetch  0x00000001 , 0x000003d0 
+ 00025715  0x00008375 beq  0x0000003f , 0x0000639c 
+ 00025716  0x00008376 beq  0x00000073 , 0x000063a5 
+ 00025717  0x00008377 beq  0x000000ef , 0x00006477 
+ 00025718  0x00008378 branch  0x000064b6 
+ 00025719  0x0000837a fetch  0x00000002 , 0x000003d4 
+ 00025720  0x0000837b copy  0x0000003f , 0x00000006 
+ 00025721  0x0000837c call  0x000063e2 
+ 00025722  0x0000837d fetch  0x00000001 , 0x000003d6 
+ 00025723  0x0000837e beq  0x00000041 , 0x00006480 
+ 00025724  0x0000837f beq  0x00000040 , 0x00006480 
+ 00025725  0x00008380 beq  0x00000071 , 0x0000648b 
+ 00025726  0x00008381 beq  0x00000070 , 0x0000649b 
+ 00025727  0x00008382 branch  0x000064b6 
+ 00025728  0x00008385 call  0x000063ce 
+ 00025729  0x00008386 fetch  0x00000001 , 0x0000464b 
+ 00025730  0x00008387 rshift  0x0000003f , 0x0000003f 
+ 00025731  0x00008388 fetcht  0x00000001 , 0x00004652 
+ 00025732  0x00008389 isub  0x00000002 , 0x0000003e 
+ 00025733  0x0000838a branch  0x00006487 , 0x00000005 
+ 00025734  0x0000838b branch  0x0000137c 
+ 00025735  0x0000838d fetch  0x00000001 , 0x000044e7 
+ 00025736  0x0000838e set1  0x00000001 , 0x0000003f 
+ 00025737  0x0000838f store  0x00000001 , 0x000044e7 
+ 00025738  0x00008390 branch  0x000064b6 
+ 00025739  0x00008393 call  0x000063d0 
+ 00025740  0x00008394 fetch  0x00000001 , 0x00004658 
+ 00025741  0x00008395 fetcht  0x00000001 , 0x00004652 
+ 00025742  0x00008396 isub  0x00000002 , 0x0000003e 
+ 00025743  0x00008397 branch  0x00006492 , 0x00000005 
+ 00025744  0x00008398 branch  0x0000137c 
+ 00025745  0x00008399 branch  0x000064b6 
+ 00025746  0x0000839b fetch  0x00000001 , 0x000044e7 
+ 00025747  0x0000839c set1  0x00000005 , 0x0000003f 
+ 00025748  0x0000839d set1  0x00000006 , 0x0000003f 
+ 00025749  0x0000839e store  0x00000001 , 0x000044e7 
+ 00025750  0x0000839f fetcht  0x00000001 , 0x0000464b 
+ 00025751  0x000083a0 lshift2  0x00000002 , 0x00000002 
+ 00025752  0x000083a1 or_into  0x00000003 , 0x00000002 
+ 00025753  0x000083a2 call  0x00006530 
+ 00025754  0x000083a3 branch  0x000064b6 
+ 00025755  0x000083a6 call  0x000063d0 
+ 00025756  0x000083a7 fetch  0x00000001 , 0x00004658 
+ 00025757  0x000083a8 fetcht  0x00000001 , 0x00004652 
+ 00025758  0x000083a9 isub  0x00000002 , 0x0000003e 
+ 00025759  0x000083aa branch  0x000064a1 , 0x00000005 
+ 00025760  0x000083ab branch  0x0000137c 
+ 00025761  0x000083ad fetch  0x00000001 , 0x000044e7 
+ 00025762  0x000083ae set1  0x00000007 , 0x0000003f 
+ 00025763  0x000083af store  0x00000001 , 0x000044e7 
+ 00025764  0x000083b0 branch  0x000064b6 
+ 00025765  0x000083b3 fetch  0x00000001 , 0x000003cf 
+ 00025766  0x000083b4 fetcht  0x00000001 , 0x00004652 
+ 00025767  0x000083b5 isub  0x00000002 , 0x0000003e 
+ 00025768  0x000083b6 branch  0x000064ab , 0x00000005 
+ 00025769  0x000083b7 branch  0x0000137c 
+ 00025770  0x000083b8 branch  0x000064b6 
+ 00025771  0x000083bb fetch  0x00000001 , 0x000003d0 
+ 00025772  0x000083bc beq  0x00000073 , 0x000064b0 
+ 00025773  0x000083bd beq  0x000000ef , 0x0000645e 
+ 00025774  0x000083be beq  0x000000ff , 0x00006456 
+ 00025775  0x000083bf beq  0x00000053 , 0x000064b5 
+ 00025776  0x000083c1 fetch  0x00000001 , 0x000044e7 
+ 00025777  0x000083c2 set1  0x00000003 , 0x0000003f 
+ 00025778  0x000083c3 store  0x00000001 , 0x000044e7 
+ 00025779  0x000083c4 branch  0x000064b6 
+ 00025780  0x000083c6 branch  0x000064b4 
+ 00025781  0x000083c8 branch  0x00006465 
+ 00025782  0x000083ca rtn 
+ 00025783  0x000083cd fetch  0x00000001 , 0x00004655 
+ 00025784  0x000083ce rtn  0x00000034 
+ 00025785  0x000083cf beq  0x00000003 , 0x000064bb 
+ 00025786  0x000083d0 branch  0x0000137c 
+ 00025787  0x000083d3 jam  0x00000000 , 0x00004655 
+ 00025788  0x000083d4 call  0x00005383 
+ 00025789  0x000083d5 arg  0x00000001 , 0x00000002 
+ 00025790  0x000083d6 fetcht  0x00000001 , 0x0000464b 
+ 00025791  0x000083d7 lshift2  0x00000002 , 0x00000002 
+ 00025792  0x000083d9 or_into  0x00000003 , 0x00000002 
+ 00025793  0x000083da arg  0x000000aa , 0x00000011 
+ 00025794  0x000083db call  0x0000651b 
+ 00025795  0x000083dc call  0x00005391 
+ 00025796  0x000083dd copy  0x00000005 , 0x00000006 
+ 00025797  0x000083de ifetch  0x00000002 , 0x00000006 
+ 00025798  0x000083df branch  0x0000137c , 0x00000034 
+ 00025799  0x000083e0 rtn 
+ 00025800  0x000083e3 call  0x00005391 
+ 00025801  0x000083e4 setarg  0x00000004 
+ 00025802  0x000083e5 istore  0x00000002 , 0x00000005 
+ 00025803  0x000083e6 fetch  0x00000002 , 0x000044dd 
+ 00025804  0x000083e7 istore  0x00000002 , 0x00000005 
+ 00025805  0x000083e8 fetch  0x00000001 , 0x000003ce 
+ 00025806  0x000083e9 istore  0x00000001 , 0x00000005 
+ 00025807  0x000083ea bpatchx  0x0000003c , 0x00004027 
+ 00025808  0x000083eb setarg  0x0000013f 
+ 00025809  0x000083ec istore  0x00000002 , 0x00000005 
+ 00025810  0x000083ed fetch  0x00000001 , 0x000003d1 
+ 00025811  0x000083ee istore  0x00000001 , 0x00000005 
+ 00025812  0x000083ef rtn 
+ 00025813  0x000083f1 call  0x00005383 
+ 00025814  0x000083f2 call  0x00005391 
+ 00025815  0x000083f3 setarg  0x00000004 
+ 00025816  0x000083f4 istore  0x00000002 , 0x00000005 
+ 00025817  0x000083f5 fetch  0x00000002 , 0x000044dd 
+ 00025818  0x000083f6 istore  0x00000002 , 0x00000005 
+ 00025819  0x000083f7 fetch  0x00000001 , 0x000003ce 
+ 00025820  0x000083f8 istore  0x00000001 , 0x00000005 
+ 00025821  0x000083f9 bpatchx  0x0000003d , 0x00004027 
+ 00025822  0x000083fa setarg  0x00000173 
+ 00025823  0x000083fb istore  0x00000002 , 0x00000005 
+ 00025824  0x000083fc fetch  0x00000001 , 0x000003d1 
+ 00025825  0x000083fd istore  0x00000001 , 0x00000005 
+ 00025826  0x000083fe rtn 
+ 00025827  0x00008400 call  0x00005391 
+ 00025828  0x00008401 setarg  0x0000000e 
+ 00025829  0x00008402 istore  0x00000002 , 0x00000005 
+ 00025830  0x00008403 fetch  0x00000002 , 0x000044dd 
+ 00025831  0x00008404 istore  0x00000002 , 0x00000005 
+ 00025832  0x00008405 fetch  0x00000001 , 0x00004651 
+ 00025833  0x00008406 lshift  0x0000003f , 0x0000003f 
+ 00025834  0x00008407 set1  0x00000000 , 0x0000003f 
+ 00025835  0x00008408 istore  0x00000001 , 0x00000005 
+ 00025836  0x00008409 bpatchx  0x0000003e , 0x00004027 
+ 00025837  0x0000840a setarg  0x000015ef 
+ 00025838  0x0000840b istore  0x00000002 , 0x00000005 
+ 00025839  0x0000840c setarg  0x00001183 
+ 00025840  0x0000840d istore  0x00000002 , 0x00000005 
+ 00025841  0x0000840e copy  0x00000002 , 0x0000003f 
+ 00025842  0x0000840f istore  0x00000001 , 0x00000005 
+ 00025843  0x00008410 setarg  0x000000f0 
+ 00025844  0x00008411 istore  0x00000003 , 0x00000005 
+ 00025845  0x00008412 setarg  0x0000007f 
+ 00025846  0x00008413 istore  0x00000002 , 0x00000005 
+ 00025847  0x00008414 setarg  0x00000000 
+ 00025848  0x00008415 istore  0x00000001 , 0x00000005 
+ 00025849  0x00008416 setarg  0x00000001 
+ 00025850  0x00008417 istore  0x00000001 , 0x00000005 
+ 00025851  0x00008418 call  0x0000634e 
+ 00025852  0x00008419 istore  0x00000001 , 0x00000005 
+ 00025853  0x0000841a jam  0x00000010 , 0x00004657 
+ 00025854  0x0000841b rtn 
+ 00025855  0x0000841d call  0x00005383 
+ 00025856  0x0000841e call  0x00005391 
+ 00025857  0x0000841f setarg  0x0000000e 
+ 00025858  0x00008420 istore  0x00000002 , 0x00000005 
+ 00025859  0x00008421 fetch  0x00000002 , 0x000044dd 
+ 00025860  0x00008422 istore  0x00000002 , 0x00000005 
+ 00025861  0x00008423 fetch  0x00000001 , 0x00004651 
+ 00025862  0x00008424 lshift  0x0000003f , 0x0000003f 
+ 00025863  0x00008425 set1  0x00000000 , 0x0000003f 
+ 00025864  0x00008426 istore  0x00000001 , 0x00000005 
+ 00025865  0x00008427 bpatchx  0x0000003f , 0x00004027 
+ 00025866  0x00008428 setarg  0x000015ef 
+ 00025867  0x00008429 istore  0x00000002 , 0x00000005 
+ 00025868  0x0000842a setarg  0x00001181 
+ 00025869  0x0000842b istore  0x00000002 , 0x00000005 
+ 00025870  0x0000842c fetch  0x00000001 , 0x0000464b 
+ 00025871  0x0000842d istore  0x00000001 , 0x00000005 
+ 00025872  0x0000842e setarg  0x000000e0 
+ 00025873  0x0000842f istore  0x00000003 , 0x00000005 
+ 00025874  0x00008430 fetch  0x00000002 , 0x0000465a 
+ 00025875  0x00008431 istore  0x00000002 , 0x00000005 
+ 00025876  0x00008432 setarg  0x00000000 
+ 00025877  0x00008433 istore  0x00000001 , 0x00000005 
+ 00025878  0x00008434 fetch  0x00000001 , 0x0000465c 
+ 00025879  0x00008435 istore  0x00000001 , 0x00000005 
+ 00025880  0x00008436 call  0x0000634e 
+ 00025881  0x00008437 istore  0x00000001 , 0x00000005 
+ 00025882  0x00008438 rtn 
+ 00025883  0x0000843a call  0x00005391 
+ 00025884  0x0000843b setarg  0x00000008 
+ 00025885  0x0000843c istore  0x00000002 , 0x00000005 
+ 00025886  0x0000843d fetch  0x00000002 , 0x000044dd 
+ 00025887  0x0000843e istore  0x00000002 , 0x00000005 
+ 00025888  0x0000843f fetch  0x00000001 , 0x00004651 
+ 00025889  0x00008440 lshift  0x0000003f , 0x0000003f 
+ 00025890  0x00008441 set1  0x00000000 , 0x0000003f 
+ 00025891  0x00008442 istore  0x00000001 , 0x00000005 
+ 00025892  0x00008443 bpatchx  0x00000040 , 0x00004028 
+ 00025893  0x00008444 setarg  0x000009ef 
+ 00025894  0x00008445 istore  0x00000002 , 0x00000005 
+ 00025895  0x00008446 setarg  0x000005e3 
+ 00025896  0x00008447 istore  0x00000002 , 0x00000005 
+ 00025897  0x00008448 copy  0x00000002 , 0x0000003f 
+ 00025898  0x00008449 istore  0x00000001 , 0x00000005 
+ 00025899  0x0000844a setarg  0x0000008d 
+ 00025900  0x0000844b istore  0x00000001 , 0x00000005 
+ 00025901  0x0000844c call  0x0000634e 
+ 00025902  0x0000844d istore  0x00000001 , 0x00000005 
+ 00025903  0x0000844e rtn 
+ 00025904  0x00008451 call  0x00005383 
+ 00025905  0x00008452 call  0x00005391 
+ 00025906  0x00008453 setarg  0x00000008 
+ 00025907  0x00008454 istore  0x00000002 , 0x00000005 
+ 00025908  0x00008455 fetch  0x00000002 , 0x000044dd 
+ 00025909  0x00008456 istore  0x00000002 , 0x00000005 
+ 00025910  0x00008457 copy  0x00000002 , 0x0000000b 
+ 00025911  0x00008458 fetch  0x00000001 , 0x00004651 
+ 00025912  0x00008459 lshift  0x0000003f , 0x0000003f 
+ 00025913  0x0000845a set1  0x00000000 , 0x0000003f 
+ 00025914  0x0000845b istore  0x00000001 , 0x00000005 
+ 00025915  0x0000845c bpatchx  0x00000041 , 0x00004028 
+ 00025916  0x0000845d setarg  0x000009ef 
+ 00025917  0x0000845e istore  0x00000002 , 0x00000005 
+ 00025918  0x0000845f setarg  0x000005e1 
+ 00025919  0x00008460 istore  0x00000002 , 0x00000005 
+ 00025920  0x00008461 copy  0x0000000b , 0x0000003f 
+ 00025921  0x00008462 istore  0x00000001 , 0x00000005 
+ 00025922  0x00008463 setarg  0x0000008d 
+ 00025923  0x00008464 istore  0x00000001 , 0x00000005 
+ 00025924  0x00008465 call  0x0000634e 
+ 00025925  0x00008466 istore  0x00000001 , 0x00000005 
+ 00025926  0x00008467 rtn 
+ 00025927  0x0000846a bpatchx  0x00000042 , 0x00004028 
+ 00025928  0x0000846b fetch  0x00000001 , 0x00004657 
+ 00025929  0x0000846c rtn  0x00000034 
+ 00025930  0x0000846d fetch  0x00000002 , 0x00008112 
+ 00025931  0x0000846e nrtn  0x00000034 
+ 00025932  0x0000846f copy  0x00000011 , 0x0000003f 
+ 00025933  0x00008470 store  0x00000001 , 0x0000095d 
+ 00025934  0x00008471 storet  0x00000001 , 0x0000095c 
+ 00025935  0x00008472 call  0x0000534f 
+ 00025936  0x00008473 nrtn  0x00000034 
+ 00025937  0x00008474 call  0x00005383 
+ 00025938  0x00008475 call  0x00005391 
+ 00025939  0x00008476 setarg  0x00000005 
+ 00025940  0x00008477 istore  0x00000002 , 0x00000005 
+ 00025941  0x00008478 fetch  0x00000002 , 0x000044dd 
+ 00025942  0x00008479 istore  0x00000002 , 0x00000005 
+ 00025943  0x0000847a fetch  0x00000001 , 0x000003e0 
+ 00025944  0x0000847b istore  0x00000001 , 0x00000005 
+ 00025945  0x0000847c setarg  0x000001ff 
+ 00025946  0x0000847d istore  0x00000002 , 0x00000005 
+ 00025947  0x0000847e fetch  0x00000001 , 0x00004657 
+ 00025948  0x0000847f istore  0x00000001 , 0x00000005 
+ 00025949  0x00008480 fetch  0x00000001 , 0x00004654 
+ 00025950  0x00008481 istore  0x00000001 , 0x00000005 
+ 00025951  0x00008482 jam  0x00000000 , 0x00004657 
+ 00025952  0x00008483 rtn 
+ 00025953  0x00008486 bpatchx  0x00000043 , 0x00004028 
+ 00025954  0x00008487 fetch  0x00000001 , 0x00004659 
+ 00025955  0x00008488 rtneq  0x00000001 
+ 00025956  0x00008489 fetch  0x00000002 , 0x000003d2 
+ 00025957  0x0000848a rtn  0x00000034 
+ 00025958  0x0000848b fetch  0x00000001 , 0x00004657 
+ 00025959  0x0000848c increase  0x00000001 , 0x0000003f 
+ 00025960  0x0000848d store  0x00000001 , 0x00004657 
+ 00025961  0x0000848e rtn 
+ 00025962  0x00008491 fetch  0x00000002 , 0x0000465d 
+ 00025963  0x00008492 branch  0x00007e7a 
+ 00025964  0x00008495 bpatchx  0x00000044 , 0x00004028 
+ 00025965  0x00008497 fetch  0x00000001 , 0x00004656 
+ 00025966  0x00008498 rtn  0x00000034 
+ 00025967  0x00008499 increase  0xffffffff , 0x0000003f 
+ 00025968  0x0000849a store  0x00000001 , 0x00004656 
+ 00025969  0x0000849b fetch  0x00000002 , 0x0000464c 
+ 00025970  0x0000849c fetcht  0x00000002 , 0x000047ac 
+ 00025971  0x0000849d isub  0x00000002 , 0x0000003e 
+ 00025972  0x0000849e branch  0x00006576 , 0x00000002 
+ 00025973  0x0000849f store  0x00000002 , 0x000047ac 
+ 00025974  0x000084a1 fetch  0x00000001 , 0x00004657 
+ 00025975  0x000084a2 branch  0x0000657e , 0x00000034 
+ 00025976  0x000084a3 jam  0x00000001 , 0x000003e3 
+ 00025977  0x000084a4 fetch  0x00000001 , 0x00004654 
+ 00025978  0x000084a5 store  0x00000001 , 0x000003e2 
+ 00025979  0x000084a6 setarg  0x000000ff 
+ 00025980  0x000084a7 store  0x00000001 , 0x000003e1 
+ 00025981  0x000084a8 branch  0x00006583 
+ 00025982  0x000084aa jam  0x00000000 , 0x000003e3 
+ 00025983  0x000084ab fetch  0x00000001 , 0x00004653 
+ 00025984  0x000084ac store  0x00000001 , 0x000003e2 
+ 00025985  0x000084ad setarg  0x000000ef 
+ 00025986  0x000084ae store  0x00000001 , 0x000003e1 
+ 00025987  0x000084b0 bpatchx  0x00000045 , 0x00004028 
+ 00025988  0x000084b1 fetch  0x00000002 , 0x000047ac 
+ 00025989  0x000084b2 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00025990  0x000084b3 branch  0x0000658a , 0x00000002 
+ 00025991  0x000084b4 fetch  0x00000001 , 0x000003e3 
+ 00025992  0x000084b5 increase  0x00000001 , 0x0000003f 
+ 00025993  0x000084b6 store  0x00000001 , 0x000003e3 
+ 00025994  0x000084b8 call  0x00006391 
+ 00025995  0x000084b9 fetch  0x00000002 , 0x000047ac 
+ 00025996  0x000084ba increase  0x00000008 , 0x0000003f 
+ 00025997  0x000084bb fetcht  0x00000001 , 0x000003e3 
+ 00025998  0x000084bc iadd  0x00000002 , 0x00000011 
+ 00025999  0x000084be call  0x000052fb 
+ 00026000  0x000084bf store  0x00000002 , 0x00000328 
+ 00026001  0x000084c0 increase  0x00000004 , 0x0000003f 
+ 00026002  0x000084c1 store  0x00000002 , 0x0000032a 
+ 00026003  0x000084c2 copy  0x0000003f , 0x00000005 
+ 00026004  0x000084c3 fetch  0x00000001 , 0x000003e0 
+ 00026005  0x000084c4 istore  0x00000001 , 0x00000005 
+ 00026006  0x000084c5 fetch  0x00000001 , 0x000003e1 
+ 00026007  0x000084c6 istore  0x00000001 , 0x00000005 
+ 00026008  0x000084c7 call  0x000065b4 
+ 00026009  0x000084c8 call  0x000065c5 
+ 00026010  0x000084c9 bpatchx  0x00000046 , 0x00004028 
+ 00026011  0x000084ca fetch  0x00000002 , 0x0000465f 
+ 00026012  0x000084cb copy  0x0000003f , 0x00000003 
+ 00026013  0x000084cc fetch  0x00000002 , 0x000047ac 
+ 00026014  0x000084cd copy  0x0000003f , 0x00000039 
+ 00026015  0x000084ce call  0x00005fdf 
+ 00026016  0x000084cf copy  0x00000005 , 0x00000002 
+ 00026017  0x000084d0 copy  0x00000003 , 0x0000003f 
+ 00026018  0x000084d1 store  0x00000002 , 0x0000465f 
+ 00026019  0x000084d2 copy  0x00000002 , 0x00000005 
+ 00026020  0x000084d3 fetch  0x00000001 , 0x000003e2 
+ 00026021  0x000084d4 istore  0x00000001 , 0x00000005 
+ 00026022  0x000084d5 fetch  0x00000002 , 0x00000328 
+ 00026023  0x000084d6 copy  0x0000003f , 0x00000005 
+ 00026024  0x000084d7 fetch  0x00000002 , 0x000047ac 
+ 00026025  0x000084d8 fetcht  0x00000001 , 0x000003e3 
+ 00026026  0x000084d9 iadd  0x00000002 , 0x0000003f 
+ 00026027  0x000084da increase  0x00000004 , 0x0000003f 
+ 00026028  0x000084db istore  0x00000002 , 0x00000005 
+ 00026029  0x000084dc fetch  0x00000002 , 0x000044dd 
+ 00026030  0x000084dd istore  0x00000002 , 0x00000005 
+ 00026031  0x000084de jam  0x00000000 , 0x00004657 
+ 00026032  0x000084df fetch  0x00000002 , 0x00004661 
+ 00026033  0x000084e0 beq  0x00000000 , 0x00003969 
+ 00026034  0x000084e1 jam  0x00000000 , 0x000009d1 
+ 00026035  0x000084e2 rtn 
+ 00026036  0x000084e5 bpatchx  0x00000047 , 0x00004028 
+ 00026037  0x000084e6 fetch  0x00000002 , 0x000047ac 
+ 00026038  0x000084e7 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00026039  0x000084e8 nbranch  0x000065bc , 0x00000002 
+ 00026040  0x000084e9 lshift  0x0000003f , 0x0000003f 
+ 00026041  0x000084ea set1  0x00000000 , 0x0000003f 
+ 00026042  0x000084eb istore  0x00000001 , 0x00000005 
+ 00026043  0x000084ec rtn 
+ 00026044  0x000084ee fetch  0x00000002 , 0x000047ac 
+ 00026045  0x000084ef rshift3  0x0000003f , 0x0000003f 
+ 00026046  0x000084f0 rshift4  0x0000003f , 0x00000002 
+ 00026047  0x000084f1 and_into  0x0000007f , 0x0000003f 
+ 00026048  0x000084f2 lshift  0x0000003f , 0x0000003f 
+ 00026049  0x000084f3 set0  0x00000000 , 0x0000003f 
+ 00026050  0x000084f4 istore  0x00000001 , 0x00000005 
+ 00026051  0x000084f5 istoret  0x00000001 , 0x00000005 
+ 00026052  0x000084f6 rtn 
+ 00026053  0x000084f8 fetch  0x00000001 , 0x00004657 
+ 00026054  0x000084f9 rtn  0x00000034 
+ 00026055  0x000084fa istore  0x00000001 , 0x00000005 
+ 00026056  0x000084fb rtn 
+ 00026057  0x00008501 bpatchx  0x00000048 , 0x00004029 
+ 00026058  0x00008502 call  0x000078f2 
+ 00026059  0x00008503 call  0x00003184 
+ 00026060  0x00008504 call  0x00005a9e 
+ 00026061  0x00008506 bpatchx  0x00000049 , 0x00004029 
+ 00026062  0x00008507 call  0x000070d7 
+ 00026063  0x00008508 call  0x000070b0 
+ 00026064  0x00008509 call  0x000070c1 
+ 00026065  0x0000850c call  0x0000534f 
+ 00026066  0x0000850d nrtn  0x00000034 
+ 00026067  0x0000850f call  0x00004e62 
+ 00026068  0x00008510 call  0x0000534f 
+ 00026069  0x00008511 nrtn  0x00000034 
+ 00026070  0x00008512 bpatchx  0x0000004a , 0x00004029 
+ 00026071  0x00008514 call  0x00006613 
+ 00026072  0x00008515 call  0x00005020 
+ 00026073  0x00008516 call  0x000064b7 
+ 00026074  0x00008518 call  0x000065dd 
+ 00026075  0x00008519 bpatchx  0x0000004b , 0x00004029 
+ 00026076  0x0000851c branch  0x00003180 
+ 00026077  0x0000851f fetch  0x00000001 , 0x00000330 
+ 00026078  0x00008520 bbit1  0x00000000 , 0x00005143 
+ 00026079  0x00008521 bbit1  0x00000007 , 0x0000514d 
+ 00026080  0x00008522 rtn 
+ 00026081  0x00008525 bpatchx  0x0000004c , 0x00004029 
+ 00026082  0x00008526 call  0x00005355 
+ 00026083  0x00008527 rtn  0x00000034 
+ 00026084  0x00008528 fetch  0x00000001 , 0x0000004b 
+ 00026085  0x00008529 rtnbit1  0x00000006 
+ 00026086  0x0000852a call  0x00005339 
+ 00026087  0x0000852b store  0x00000002 , 0x000000be 
+ 00026088  0x0000852c copy  0x0000003f , 0x00000006 
+ 00026089  0x0000852d ifetch  0x00000002 , 0x00000006 
+ 00026090  0x0000852e increase  0x00000004 , 0x0000003f 
+ 00026091  0x0000852f store  0x00000002 , 0x000041e6 
+ 00026092  0x00008530 jam  0x00000006 , 0x000041e5 
+ 00026093  0x00008531 bpatchx  0x0000004d , 0x00004029 
+ 00026094  0x00008532 fetch  0x00000002 , 0x000044d9 
+ 00026095  0x00008533 branch  0x000065fc , 0x00000034 
+ 00026096  0x00008534 fetch  0x00000001 , 0x0000004b 
+ 00026097  0x00008535 rtnbit0  0x00000007 
+ 00026098  0x00008536 set0  0x00000007 , 0x0000003f 
+ 00026099  0x00008537 store  0x00000001 , 0x0000004b 
+ 00026100  0x00008538 jam  0x00000005 , 0x000041e5 
+ 00026101  0x00008539 fetcht  0x00000002 , 0x000044d9 
+ 00026102  0x0000853a fetch  0x00000002 , 0x000000be 
+ 00026103  0x0000853b iadd  0x00000002 , 0x0000003f 
+ 00026104  0x0000853c store  0x00000002 , 0x000000be 
+ 00026105  0x0000853d fetch  0x00000002 , 0x000041e6 
+ 00026106  0x0000853e isub  0x00000002 , 0x0000003f 
+ 00026107  0x0000853f store  0x00000002 , 0x000041e6 
+ 00026108  0x00008541 fetch  0x00000002 , 0x000041e6 
+ 00026109  0x00008542 branch  0x0000137c , 0x00000034 
+ 00026110  0x00008543 arg  0x00000104 , 0x00000002 
+ 00026111  0x00008544 isub  0x00000002 , 0x0000003f 
+ 00026112  0x00008545 branch  0x00006607 , 0x00000005 
+ 00026113  0x00008546 nbranch  0x00006607 , 0x00000002 
+ 00026114  0x00008547 storet  0x00000002 , 0x000041e6 
+ 00026115  0x00008548 fetch  0x00000002 , 0x000044d9 
+ 00026116  0x00008549 iadd  0x00000002 , 0x0000003f 
+ 00026117  0x0000854a store  0x00000002 , 0x000044d9 
+ 00026118  0x0000854b branch  0x00006609 
+ 00026119  0x0000854d setarg  0x00000000 
+ 00026120  0x0000854e store  0x00000002 , 0x000044d9 
+ 00026121  0x00008550 fetch  0x00000001 , 0x0000004b 
+ 00026122  0x00008551 set1  0x00000006 , 0x0000003f 
+ 00026123  0x00008552 store  0x00000001 , 0x0000004b 
+ 00026124  0x00008553 rtn 
+ 00026125  0x00008556 fetch  0x00000001 , 0x00004791 
+ 00026126  0x00008557 bbit1  0x00000000 , 0x00006611 
+ 00026127  0x00008558 jam  0x00000001 , 0x00000338 
+ 00026128  0x00008559 rtn 
+ 00026129  0x0000855b jam  0x0000000f , 0x00000338 
+ 00026130  0x0000855c rtn 
+ 00026131  0x0000855f fetch  0x00000001 , 0x0000478e 
+ 00026132  0x00008560 nbranch  0x00006619 , 0x00000034 
+ 00026133  0x00008562 fetch  0x00000001 , 0x00000337 
+ 00026134  0x00008564 rtn  0x00000034 
+ 00026135  0x00008566 jam  0x00000000 , 0x00000337 
+ 00026136  0x00008568 rtn 
+ 00026137  0x0000856c bpatchx  0x0000004e , 0x00004029 
+ 00026138  0x0000856d fetch  0x00000001 , 0x00000338 
+ 00026139  0x0000856e rtn  0x00000034 
+ 00026140  0x0000856f beq  0x00000001 , 0x00006639 
+ 00026141  0x00008570 beq  0x00000002 , 0x00006692 
+ 00026142  0x00008571 beq  0x00000003 , 0x0000663f 
+ 00026143  0x00008572 beq  0x00000004 , 0x00006696 
+ 00026144  0x00008573 beq  0x0000003b , 0x00006649 
+ 00026145  0x00008574 beq  0x0000003c , 0x00006699 
+ 00026146  0x00008575 beq  0x0000000d , 0x0000664e 
+ 00026147  0x00008576 beq  0x0000000e , 0x0000669e 
+ 00026148  0x00008577 beq  0x0000000f , 0x00006651 
+ 00026149  0x00008578 beq  0x00000010 , 0x000066a4 
+ 00026150  0x00008579 beq  0x00000011 , 0x00006657 
+ 00026151  0x0000857a beq  0x00000012 , 0x000066a8 
+ 00026152  0x0000857b beq  0x00000013 , 0x0000665d 
+ 00026153  0x0000857c beq  0x00000014 , 0x000066ac 
+ 00026154  0x0000857d beq  0x00000015 , 0x00006663 
+ 00026155  0x0000857e beq  0x00000016 , 0x000066b0 
+ 00026156  0x0000857f beq  0x00000017 , 0x00006669 
+ 00026157  0x00008580 beq  0x00000018 , 0x000066b5 
+ 00026158  0x00008581 beq  0x00000019 , 0x0000666f 
+ 00026159  0x00008582 beq  0x0000001a , 0x000066b9 
+ 00026160  0x00008583 beq  0x0000001b , 0x00006675 
+ 00026161  0x00008584 beq  0x0000001c , 0x000066bd 
+ 00026162  0x00008585 beq  0x0000001d , 0x0000667b 
+ 00026163  0x00008586 beq  0x0000001e , 0x000066c2 
+ 00026164  0x00008587 beq  0x0000001f , 0x00006681 
+ 00026165  0x00008588 beq  0x00000020 , 0x000066c6 
+ 00026166  0x00008589 beq  0x00000021 , 0x0000668c 
+ 00026167  0x0000858a beq  0x00000022 , 0x000066ca 
+ 00026168  0x0000858c rtn 
+ 00026169  0x0000858e call  0x000066d5 
+ 00026170  0x0000858f jam  0x00000002 , 0x00000338 
+ 00026171  0x00008590 fetch  0x00000001 , 0x000044e3 
+ 00026172  0x00008591 set1  0x00000000 , 0x0000003f 
+ 00026173  0x00008592 store  0x00000001 , 0x000044e3 
+ 00026174  0x00008593 rtn 
+ 00026175  0x00008595 jam  0x00000004 , 0x00000338 
+ 00026176  0x00008596 fetch  0x00000001 , 0x000044e3 
+ 00026177  0x00008597 rtnbit1  0x00000002 
+ 00026178  0x00008598 jam  0x00000003 , 0x00000338 
+ 00026179  0x00008599 call  0x000066dc 
+ 00026180  0x0000859a jam  0x00000004 , 0x00000338 
+ 00026181  0x0000859b fetch  0x00000001 , 0x000044e3 
+ 00026182  0x0000859c set1  0x00000002 , 0x0000003f 
+ 00026183  0x0000859d store  0x00000001 , 0x000044e3 
+ 00026184  0x0000859e rtn 
+ 00026185  0x000085a0 call  0x00005355 
+ 00026186  0x000085a1 nrtn  0x00000034 
+ 00026187  0x000085a2 call  0x000066eb 
+ 00026188  0x000085a3 jam  0x0000003c , 0x00000338 
+ 00026189  0x000085a4 rtn 
+ 00026190  0x000085a6 call  0x000066e1 
+ 00026191  0x000085a7 jam  0x0000000e , 0x00000338 
+ 00026192  0x000085a8 rtn 
+ 00026193  0x000085aa call  0x000066fb 
+ 00026194  0x000085ab jam  0x00000010 , 0x00000338 
+ 00026195  0x000085ac fetch  0x00000001 , 0x000044e5 
+ 00026196  0x000085ad set1  0x00000000 , 0x0000003f 
+ 00026197  0x000085ae store  0x00000001 , 0x000044e5 
+ 00026198  0x000085af rtn 
+ 00026199  0x000085b1 call  0x00006702 
+ 00026200  0x000085b2 jam  0x00000012 , 0x00000338 
+ 00026201  0x000085b3 fetch  0x00000001 , 0x000044e5 
+ 00026202  0x000085b4 set1  0x00000002 , 0x0000003f 
+ 00026203  0x000085b5 store  0x00000001 , 0x000044e5 
+ 00026204  0x000085b6 rtn 
+ 00026205  0x000085b8 call  0x00006707 
+ 00026206  0x000085b9 jam  0x00000014 , 0x00000338 
+ 00026207  0x000085ba fetch  0x00000001 , 0x000044e6 
+ 00026208  0x000085bb set1  0x00000000 , 0x0000003f 
+ 00026209  0x000085bc store  0x00000001 , 0x000044e6 
+ 00026210  0x000085bd rtn 
+ 00026211  0x000085bf call  0x0000670e 
+ 00026212  0x000085c0 jam  0x00000016 , 0x00000338 
+ 00026213  0x000085c1 fetch  0x00000001 , 0x000044e6 
+ 00026214  0x000085c2 set1  0x00000002 , 0x0000003f 
+ 00026215  0x000085c3 store  0x00000001 , 0x000044e6 
+ 00026216  0x000085c4 rtn 
+ 00026217  0x000085c6 call  0x000066ef 
+ 00026218  0x000085c7 jam  0x00000018 , 0x00000338 
+ 00026219  0x000085c8 fetch  0x00000001 , 0x000044e4 
+ 00026220  0x000085c9 set1  0x00000000 , 0x0000003f 
+ 00026221  0x000085ca store  0x00000001 , 0x000044e4 
+ 00026222  0x000085cb rtn 
+ 00026223  0x000085cd call  0x000066f6 
+ 00026224  0x000085ce jam  0x0000001a , 0x00000338 
+ 00026225  0x000085cf fetch  0x00000001 , 0x000044e4 
+ 00026226  0x000085d0 set1  0x00000002 , 0x0000003f 
+ 00026227  0x000085d1 store  0x00000001 , 0x000044e4 
+ 00026228  0x000085d2 rtn 
+ 00026229  0x000085d4 call  0x00006713 
+ 00026230  0x000085d5 jam  0x0000001c , 0x00000338 
+ 00026231  0x000085d6 fetch  0x00000001 , 0x000044e4 
+ 00026232  0x000085d7 set1  0x00000006 , 0x0000003f 
+ 00026233  0x000085d8 store  0x00000001 , 0x000044e4 
+ 00026234  0x000085d9 rtn 
+ 00026235  0x000085db call  0x0000671a 
+ 00026236  0x000085dc fetch  0x00000001 , 0x000044e7 
+ 00026237  0x000085dd set1  0x00000000 , 0x0000003f 
+ 00026238  0x000085de store  0x00000001 , 0x000044e7 
+ 00026239  0x000085df jam  0x0000001e , 0x00000338 
+ 00026240  0x000085e0 rtn 
+ 00026241  0x000085e2 call  0x00006720 
+ 00026242  0x000085e3 fetch  0x00000001 , 0x000044e7 
+ 00026243  0x000085e4 set1  0x00000002 , 0x0000003f 
+ 00026244  0x000085e5 store  0x00000001 , 0x000044e7 
+ 00026245  0x000085e6 jam  0x00000020 , 0x00000338 
+ 00026246  0x000085e7 fetch  0x00000001 , 0x00004652 
+ 00026247  0x000085e8 lshift3  0x0000003f , 0x0000003f 
+ 00026248  0x000085e9 or_into  0x00000003 , 0x0000003f 
+ 00026249  0x000085ea arg  0x00004653 , 0x00000002 
+ 00026250  0x000085eb storet  0x00000002 , 0x000003ca 
+ 00026251  0x000085ec branch  0x00006354 
+ 00026252  0x000085ee call  0x0000672a 
+ 00026253  0x000085ef fetch  0x00000001 , 0x000044e7 
+ 00026254  0x000085f0 set1  0x00000004 , 0x0000003f 
+ 00026255  0x000085f1 store  0x00000001 , 0x000044e7 
+ 00026256  0x000085f2 jam  0x00000022 , 0x00000338 
+ 00026257  0x000085f3 rtn 
+ 00026258  0x000085f6 fetch  0x00000001 , 0x000044e3 
+ 00026259  0x000085f7 rtnbit0  0x00000001 
+ 00026260  0x000085f8 jam  0x00000003 , 0x00000338 
+ 00026261  0x000085f9 branch  0x00006619 
+ 00026262  0x000085fb fetch  0x00000001 , 0x000044e3 
+ 00026263  0x000085fc rtnne  0x0000003f 
+ 00026264  0x000085fd jam  0x0000003b , 0x00000338 
+ 00026265  0x000085ff fetch  0x00000001 , 0x00000336 
+ 00026266  0x00008600 rtnne  0x00000017 
+ 00026267  0x00008601 jam  0x00000000 , 0x00000336 
+ 00026268  0x00008602 jam  0x0000000d , 0x00000338 
+ 00026269  0x00008603 branch  0x00006619 
+ 00026270  0x00008605 fetch  0x00000001 , 0x000044e3 
+ 00026271  0x00008606 nrtn  0x00000034 
+ 00026272  0x00008607 fetch  0x00000001 , 0x00004791 
+ 00026273  0x00008608 bbit1  0x00000000 , 0x000066cd 
+ 00026274  0x00008609 bbit1  0x00000006 , 0x000066cf 
+ 00026275  0x0000860a branch  0x000066d3 
+ 00026276  0x0000860c fetch  0x00000001 , 0x000044e5 
+ 00026277  0x0000860d rtnbit0  0x00000001 
+ 00026278  0x0000860e jam  0x00000011 , 0x00000338 
+ 00026279  0x0000860f branch  0x00006619 
+ 00026280  0x00008611 fetch  0x00000001 , 0x000044e5 
+ 00026281  0x00008612 rtnne  0x0000003f 
+ 00026282  0x00008613 jam  0x00000013 , 0x00000338 
+ 00026283  0x00008614 branch  0x00006619 
+ 00026284  0x00008616 fetch  0x00000001 , 0x000044e6 
+ 00026285  0x00008617 rtnbit0  0x00000001 
+ 00026286  0x00008618 jam  0x00000015 , 0x00000338 
+ 00026287  0x00008619 branch  0x00006619 
+ 00026288  0x0000861b fetch  0x00000001 , 0x000044e6 
+ 00026289  0x0000861c rtnne  0x0000003f 
+ 00026290  0x0000861d fetch  0x00000001 , 0x00004791 
+ 00026291  0x0000861e bbit1  0x00000006 , 0x000066cf 
+ 00026292  0x0000861f branch  0x000066d3 
+ 00026293  0x00008621 fetch  0x00000001 , 0x000044e4 
+ 00026294  0x00008622 rtnbit0  0x00000001 
+ 00026295  0x00008623 jam  0x00000019 , 0x00000338 
+ 00026296  0x00008624 branch  0x00006619 
+ 00026297  0x00008626 fetch  0x00000001 , 0x000044e4 
+ 00026298  0x00008627 rtnne  0x0000003f 
+ 00026299  0x00008628 jam  0x0000001b , 0x00000338 
+ 00026300  0x00008629 branch  0x00006619 
+ 00026301  0x0000862b fetch  0x00000001 , 0x000044e4 
+ 00026302  0x0000862c rtnne  0x000000ff 
+ 00026303  0x0000862d fetch  0x00000001 , 0x00004791 
+ 00026304  0x0000862e bbit1  0x00000006 , 0x000066d1 
+ 00026305  0x0000862f branch  0x000066d3 
+ 00026306  0x00008631 fetch  0x00000001 , 0x000044e7 
+ 00026307  0x00008632 rtnbit0  0x00000001 
+ 00026308  0x00008633 jam  0x0000001f , 0x00000338 
+ 00026309  0x00008634 branch  0x00006619 
+ 00026310  0x00008636 fetch  0x00000001 , 0x000044e7 
+ 00026311  0x00008637 rtnbit0  0x00000003 
+ 00026312  0x00008638 jam  0x00000021 , 0x00000338 
+ 00026313  0x00008639 branch  0x00006619 
+ 00026314  0x0000863b fetch  0x00000001 , 0x000044e7 
+ 00026315  0x0000863c rtnne  0x000000ff 
+ 00026316  0x0000863d branch  0x000066d3 
+ 00026317  0x00008640 jam  0x0000000f , 0x00000338 
+ 00026318  0x00008641 branch  0x00006619 
+ 00026319  0x00008644 jam  0x00000017 , 0x00000338 
+ 00026320  0x00008645 branch  0x00006619 
+ 00026321  0x00008647 jam  0x0000001d , 0x00000338 
+ 00026322  0x00008648 branch  0x00006619 
+ 00026323  0x0000864d jam  0x00000000 , 0x00000338 
+ 00026324  0x0000864e rtn 
+ 00026325  0x00008650 bpatchx  0x0000004f , 0x00004029 
+ 00026326  0x00008651 call  0x00005369 
+ 00026327  0x00008652 setarg  0x00000001 
+ 00026328  0x00008653 copy  0x0000003f , 0x00000002 
+ 00026329  0x00008654 setarg  0x00000050 
+ 00026330  0x00008655 copy  0x0000003f , 0x0000000b 
+ 00026331  0x00008656 branch  0x00005164 
+ 00026332  0x00008659 bpatchx  0x00000050 , 0x0000402a 
+ 00026333  0x0000865a call  0x00005369 
+ 00026334  0x0000865b fetch  0x00000002 , 0x000044db 
+ 00026335  0x0000865c copy  0x0000003f , 0x00000002 
+ 00026336  0x0000865d branch  0x00005173 
+ 00026337  0x00008660 bpatchx  0x00000051 , 0x0000402a 
+ 00026338  0x00008661 call  0x00005369 
+ 00026339  0x00008662 fetch  0x00000002 , 0x000044db 
+ 00026340  0x00008663 copy  0x0000003f , 0x00000002 
+ 00026341  0x00008664 arg  0x00000050 , 0x0000000b 
+ 00026342  0x00008665 call  0x00005188 
+ 00026343  0x00008666 fetch  0x00000001 , 0x000044e3 
+ 00026344  0x00008667 set0  0x00000005 , 0x0000003f 
+ 00026345  0x00008668 store  0x00000001 , 0x000044e3 
+ 00026346  0x00008669 rtn 
+ 00026347  0x0000866c bpatchx  0x00000052 , 0x0000402a 
+ 00026348  0x0000866d call  0x00005376 
+ 00026349  0x0000866e call  0x00006a56 
+ 00026350  0x0000866f branch  0x000051a3 
+ 00026351  0x00008672 bpatchx  0x00000053 , 0x0000402a 
+ 00026352  0x00008673 call  0x00005369 
+ 00026353  0x00008674 setarg  0x00000003 
+ 00026354  0x00008675 copy  0x0000003f , 0x00000002 
+ 00026355  0x00008676 setarg  0x00000051 
+ 00026356  0x00008677 copy  0x0000003f , 0x0000000b 
+ 00026357  0x00008678 branch  0x00005164 
+ 00026358  0x0000867b bpatchx  0x00000054 , 0x0000402a 
+ 00026359  0x0000867c call  0x00005369 
+ 00026360  0x0000867d fetch  0x00000002 , 0x000044dd 
+ 00026361  0x0000867e copy  0x0000003f , 0x00000002 
+ 00026362  0x0000867f branch  0x00005173 
+ 00026363  0x00008682 bpatchx  0x00000055 , 0x0000402a 
+ 00026364  0x00008683 call  0x00005369 
+ 00026365  0x00008684 setarg  0x00000011 
+ 00026366  0x00008685 copy  0x0000003f , 0x00000002 
+ 00026367  0x00008686 setarg  0x00000052 
+ 00026368  0x00008687 copy  0x0000003f , 0x0000000b 
+ 00026369  0x00008688 branch  0x00005164 
+ 00026370  0x0000868b bpatchx  0x00000056 , 0x0000402a 
+ 00026371  0x0000868c call  0x00005369 
+ 00026372  0x0000868d fetch  0x00000002 , 0x000044df 
+ 00026373  0x0000868e copy  0x0000003f , 0x00000002 
+ 00026374  0x0000868f branch  0x00005173 
+ 00026375  0x00008692 bpatchx  0x00000057 , 0x0000402a 
+ 00026376  0x00008693 call  0x00005369 
+ 00026377  0x00008694 setarg  0x00000013 
+ 00026378  0x00008695 copy  0x0000003f , 0x00000002 
+ 00026379  0x00008696 setarg  0x00000053 
+ 00026380  0x00008697 copy  0x0000003f , 0x0000000b 
+ 00026381  0x00008698 branch  0x00005164 
+ 00026382  0x0000869b bpatchx  0x00000058 , 0x0000402b 
+ 00026383  0x0000869c call  0x00005369 
+ 00026384  0x0000869d fetch  0x00000002 , 0x000044e1 
+ 00026385  0x0000869e copy  0x0000003f , 0x00000002 
+ 00026386  0x0000869f branch  0x00005173 
+ 00026387  0x000086a2 bpatchx  0x00000059 , 0x0000402b 
+ 00026388  0x000086a3 call  0x00005383 
+ 00026389  0x000086a5 jam  0x00000003 , 0x000003ce 
+ 00026390  0x000086a6 jam  0x0000001c , 0x000003d1 
+ 00026391  0x000086a7 call  0x000064c8 
+ 00026392  0x000086a8 jam  0x00000001 , 0x00004651 
+ 00026393  0x000086a9 rtn 
+ 00026394  0x000086ac bpatchx  0x0000005a , 0x0000402b 
+ 00026395  0x000086ad call  0x00005383 
+ 00026396  0x000086ae fetcht  0x00000001 , 0x00004652 
+ 00026397  0x000086af call  0x00006398 
+ 00026398  0x000086b0 storet  0x00000001 , 0x0000464b 
+ 00026399  0x000086b1 branch  0x000064e3 
+ 00026400  0x000086b4 bpatchx  0x0000005b , 0x0000402b 
+ 00026401  0x000086b5 call  0x00005383 
+ 00026402  0x000086b6 fetcht  0x00000001 , 0x0000464b 
+ 00026403  0x000086b7 call  0x00006392 
+ 00026404  0x000086b8 call  0x00006339 
+ 00026405  0x000086b9 store  0x00000001 , 0x000003d1 
+ 00026406  0x000086ba fetcht  0x00000001 , 0x0000464b 
+ 00026407  0x000086bb call  0x00006392 
+ 00026408  0x000086bc storet  0x00000001 , 0x000003ce 
+ 00026409  0x000086bd branch  0x000064c8 
+ 00026410  0x000086c0 bpatchx  0x0000005c , 0x0000402b 
+ 00026411  0x000086c1 call  0x00005383 
+ 00026412  0x000086c2 fetcht  0x00000001 , 0x0000464b 
+ 00026413  0x000086c3 call  0x00006392 
+ 00026414  0x000086c4 branch  0x0000651b 
+ 00026415  0x000086d2 bpatchx  0x0000005d , 0x0000402b 
+ 00026416  0x000086d3 fetch  0x00000002 , 0x00000315 
+ 00026417  0x000086d4 iforce  0x00000006 
+ 00026418  0x000086d7 ifetch  0x00000001 , 0x00000006 
+ 00026419  0x000086d8 copy  0x0000003f , 0x00000012 
+ 00026420  0x000086d9 store  0x00000001 , 0x000003ee 
+ 00026421  0x000086da ifetch  0x00000002 , 0x00000006 
+ 00026422  0x000086db store  0x00000002 , 0x000003ef 
+ 00026423  0x000086dc ifetch  0x00000001 , 0x00000006 
+ 00026424  0x000086dd lshift8  0x0000003f , 0x0000000b 
+ 00026425  0x000086de ifetch  0x00000001 , 0x00000006 
+ 00026426  0x000086df iadd  0x0000000b , 0x0000000b 
+ 00026427  0x000086e0 bpatchx  0x0000005e , 0x0000402b 
+ 00026428  0x000086e1 copy  0x00000006 , 0x00000002 
+ 00026429  0x000086e2 arg  0x00000004 , 0x00000039 
+ 00026430  0x000086e3 arg  0x000003fd , 0x00000005 
+ 00026431  0x000086e4 call  0x00007d8c 
+ 00026432  0x000086e5 copy  0x00000002 , 0x00000006 
+ 00026433  0x000086e6 deposit  0x00000012 
+ 00026434  0x000086e7 beq  0x00000001 , 0x000068d8 
+ 00026435  0x000086e8 beq  0x00000002 , 0x0000674a 
+ 00026436  0x000086e9 beq  0x00000003 , 0x000068d8 
+ 00026437  0x000086ea beq  0x00000004 , 0x00006772 
+ 00026438  0x000086eb beq  0x00000005 , 0x000068d8 
+ 00026439  0x000086ec beq  0x00000006 , 0x00006820 
+ 00026440  0x000086ed beq  0x00000007 , 0x000068d8 
+ 00026441  0x000086ee branch  0x000068df 
+ 00026442  0x000086fa bpatchx  0x0000005f , 0x0000402b 
+ 00026443  0x000086fb call  0x000068ee 
+ 00026444  0x000086fc compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00026445  0x000086fd branch  0x0000695e , 0x00000001 
+ 00026446  0x000086fe compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00026447  0x000086ff branch  0x000068e2 , 0x00000001 
+ 00026448  0x00008701 ifetch  0x00000002 , 0x00000006 
+ 00026449  0x00008702 store  0x00000002 , 0x000003f5 
+ 00026450  0x00008703 increase  0xfffffffe , 0x0000000b 
+ 00026451  0x00008705 increase  0xffffffff , 0x0000000b 
+ 00026452  0x00008706 nbranch  0x000068dc , 0x00000005 
+ 00026453  0x00008707 arg  0x000003e4 , 0x0000000b 
+ 00026454  0x00008708 ifetch  0x00000002 , 0x0000000b 
+ 00026455  0x00008709 rtn  0x00000034 
+ 00026456  0x0000870a call  0x000069a0 
+ 00026457  0x0000870b call  0x00005381 
+ 00026458  0x0000870c force  0x00000003 , 0x0000003f 
+ 00026459  0x0000870d istore  0x00000001 , 0x00000005 
+ 00026460  0x0000870e fetch  0x00000002 , 0x000003ef 
+ 00026461  0x0000870f istore  0x00000002 , 0x00000005 
+ 00026462  0x00008710 lshift2  0x00000007 , 0x0000003f 
+ 00026463  0x00008711 add  0x0000003f , 0x00000005 , 0x0000003f 
+ 00026464  0x00008712 add  0x0000003f , 0x00000005 , 0x00000013 
+ 00026465  0x00008713 byteswap  0x0000003f , 0x0000003f 
+ 00026466  0x00008714 istore  0x00000002 , 0x00000005 
+ 00026467  0x00008715 deposit  0x00000007 
+ 00026468  0x00008716 byteswap  0x0000003f , 0x0000003f 
+ 00026469  0x00008717 istore  0x00000002 , 0x00000005 
+ 00026470  0x00008718 istore  0x00000002 , 0x00000005 
+ 00026471  0x00008719 arg  0x000003fd , 0x00000006 
+ 00026472  0x0000871a copy  0x00000007 , 0x00000039 
+ 00026473  0x0000871b branch  0x0000676d , 0x00000005 
+ 00026474  0x0000871d ifetch  0x00000004 , 0x00000006 
+ 00026475  0x0000871e istore  0x00000004 , 0x00000005 
+ 00026476  0x0000871f loop  0x0000676a 
+ 00026477  0x00008721 force  0x00000000 , 0x0000003f 
+ 00026478  0x00008722 istore  0x00000001 , 0x00000005 
+ 00026479  0x00008723 deposit  0x00000013 
+ 00026480  0x00008724 store  0x00000002 , 0x00000326 
+ 00026481  0x00008726 rtn 
+ 00026482  0x00008732 bpatchx  0x00000060 , 0x0000402c 
+ 00026483  0x00008733 ifetch  0x00000004 , 0x00000006 
+ 00026484  0x00008734 store  0x00000004 , 0x000003f7 
+ 00026485  0x00008735 increase  0xfffffffc , 0x0000000b 
+ 00026486  0x00008736 call  0x0000684c 
+ 00026487  0x00008737 store  0x00000002 , 0x000003f3 
+ 00026488  0x00008738 increase  0xfffffffe , 0x0000000b 
+ 00026489  0x00008739 call  0x00006946 
+ 00026490  0x0000873a branch  0x000068e2 , 0x00000005 
+ 00026491  0x0000873b compare  0x00000005 , 0x00000011 , 0x000000ff 
+ 00026492  0x0000873d branch  0x00006780 , 0x00000001 
+ 00026493  0x0000873f arg  0x000003fd , 0x00000005 
+ 00026494  0x00008740 force  0x00000000 , 0x00000007 
+ 00026495  0x00008741 branch  0x0000678f 
+ 00026496  0x00008743 ifetch  0x00000001 , 0x00000006 
+ 00026497  0x00008744 bne  0x0000000a , 0x000068e2 
+ 00026498  0x00008745 ifetch  0x00000002 , 0x00000006 
+ 00026499  0x00008746 nbranch  0x0000678d , 0x00000034 
+ 00026500  0x00008747 ifetch  0x00000001 , 0x00000006 
+ 00026501  0x00008748 bne  0x000000ff , 0x0000678b 
+ 00026502  0x00008749 ifetch  0x00000001 , 0x00000006 
+ 00026503  0x0000874a bne  0x000000ff , 0x00006789 
+ 00026504  0x0000874b branch  0x000067d6 
+ 00026505  0x0000874d increase  0xfffffffb , 0x00000006 
+ 00026506  0x0000874e branch  0x0000677d 
+ 00026507  0x00008750 increase  0xfffffffc , 0x00000006 
+ 00026508  0x00008751 branch  0x0000677d 
+ 00026509  0x00008753 increase  0xfffffffd , 0x00000006 
+ 00026510  0x00008754 branch  0x0000677d 
+ 00026511  0x00008756 ifetch  0x00000001 , 0x00000006 
+ 00026512  0x00008757 beq  0x00000009 , 0x000067a4 
+ 00026513  0x00008758 beq  0x0000000a , 0x00006792 
+ 00026514  0x0000875a ifetch  0x00000002 , 0x00000006 
+ 00026515  0x0000875b istore  0x00000002 , 0x00000005 
+ 00026516  0x0000875c increase  0x00000001 , 0x00000007 
+ 00026517  0x0000875d byteswap  0x0000003f , 0x00000012 
+ 00026518  0x0000875e ifetch  0x00000002 , 0x00000006 
+ 00026519  0x0000875f byteswap  0x0000003f , 0x0000003f 
+ 00026520  0x00008761 increase  0x00000001 , 0x00000012 
+ 00026521  0x00008762 isub  0x00000012 , 0x0000003e 
+ 00026522  0x00008763 nbranch  0x000067a1 , 0x00000002 
+ 00026523  0x00008764 copy  0x0000003f , 0x00000013 
+ 00026524  0x00008765 byteswap  0x00000012 , 0x0000003f 
+ 00026525  0x00008766 istore  0x00000002 , 0x00000005 
+ 00026526  0x00008767 increase  0x00000001 , 0x00000007 
+ 00026527  0x00008768 copy  0x00000013 , 0x0000003f 
+ 00026528  0x00008769 branch  0x00006798 
+ 00026529  0x0000876b increase  0xfffffffb , 0x0000000b 
+ 00026530  0x0000876c increase  0xfffffffb , 0x00000011 
+ 00026531  0x0000876d branch  0x000067a9 
+ 00026532  0x0000876f ifetch  0x00000002 , 0x00000006 
+ 00026533  0x00008770 istore  0x00000002 , 0x00000005 
+ 00026534  0x00008771 increase  0x00000001 , 0x00000007 
+ 00026535  0x00008772 increase  0xfffffffd , 0x0000000b 
+ 00026536  0x00008773 increase  0xfffffffd , 0x00000011 
+ 00026537  0x00008775 nbranch  0x000068e2 , 0x00000002 
+ 00026538  0x00008776 nbranch  0x0000678f , 0x00000005 
+ 00026539  0x00008777 increase  0xffffffff , 0x0000000b 
+ 00026540  0x00008778 nbranch  0x000068e2 , 0x00000005 
+ 00026541  0x0000877a call  0x00005381 
+ 00026542  0x0000877b increase  0x0000000a , 0x00000005 
+ 00026543  0x0000877c arg  0x000003fd , 0x00000011 
+ 00026544  0x0000877e copy  0x00000007 , 0x0000003f 
+ 00026545  0x0000877f branch  0x000067c3 , 0x00000034 
+ 00026546  0x00008780 ifetch  0x00000002 , 0x00000011 
+ 00026547  0x00008781 branch  0x000067c3 , 0x00000034 
+ 00026548  0x00008782 iforce  0x00000012 
+ 00026549  0x00008783 fetch  0x00000004 , 0x000003f7 
+ 00026550  0x00008784 iforce  0x00000002 
+ 00026551  0x00008785 call  0x00006a05 
+ 00026552  0x00008786 copy  0x00000006 , 0x0000003f 
+ 00026553  0x00008787 branch  0x000067c0 , 0x00000034 
+ 00026554  0x00008788 increase  0xfffffffd , 0x00000006 
+ 00026555  0x00008789 ifetch  0x00000003 , 0x00000006 
+ 00026556  0x0000878a istore  0x00000003 , 0x00000005 
+ 00026557  0x0000878b call  0x00006979 
+ 00026558  0x0000878c iforce  0x00000039 
+ 00026559  0x0000878d call  0x00007dd4 
+ 00026560  0x0000878f increase  0x00000002 , 0x00000011 
+ 00026561  0x00008790 increase  0xffffffff , 0x00000007 
+ 00026562  0x00008791 branch  0x000067b0 
+ 00026563  0x00008794 arg  0x00000005 , 0x00000011 
+ 00026564  0x00008795 call  0x000068a2 
+ 00026565  0x00008796 fetch  0x00000002 , 0x00000326 
+ 00026566  0x00008797 beq  0x0000000b , 0x00006961 
+ 00026567  0x00008798 branch  0x000068b8 
+ 00026568  0x0000879c ifetch  0x00000001 , 0x00000006 
+ 00026569  0x0000879d beq  0x00000000 , 0x000067cc 
+ 00026570  0x0000879e beq  0x00000001 , 0x000067ce 
+ 00026571  0x0000879f beq  0x00000002 , 0x000067d1 
+ 00026572  0x000087a1 increase  0xffffffff , 0x0000000b 
+ 00026573  0x000087a2 branch  0x000067d4 
+ 00026574  0x000087a4 ifetch  0x00000001 , 0x00000006 
+ 00026575  0x000087a5 increase  0xfffffffe , 0x0000000b 
+ 00026576  0x000087a6 branch  0x000067d4 
+ 00026577  0x000087a8 ifetch  0x00000002 , 0x00000006 
+ 00026578  0x000087a9 byteswap  0x0000003f , 0x0000003f 
+ 00026579  0x000087aa increase  0xfffffffd , 0x0000000b 
+ 00026580  0x000087ac store  0x00000002 , 0x000003ec 
+ 00026581  0x000087ad rtn 
+ 00026582  0x000087b0 increase  0xfffffffb , 0x0000000b 
+ 00026583  0x000087b1 call  0x000067c8 
+ 00026584  0x000087b2 nbranch  0x000068dc , 0x00000005 
+ 00026585  0x000087b3 fetcht  0x00000004 , 0x000003f7 
+ 00026586  0x000087b4 call  0x000069cf 
+ 00026587  0x000087b5 nbranch  0x000068d9 , 0x00000005 
+ 00026588  0x000087b6 copy  0x00000006 , 0x00000011 
+ 00026589  0x000087b7 call  0x00005381 
+ 00026590  0x000087b8 copy  0x00000011 , 0x00000006 
+ 00026591  0x000087b9 increase  0x00000003 , 0x00000005 
+ 00026592  0x000087ba copy  0x00000006 , 0x0000000b 
+ 00026593  0x000087bb call  0x00006980 
+ 00026594  0x000087bc copy  0x0000003f , 0x00000011 
+ 00026595  0x000087be fetch  0x00000002 , 0x000003ec 
+ 00026596  0x000087bf copy  0x0000003f , 0x00000012 
+ 00026597  0x000087c0 copy  0x00000011 , 0x0000003f 
+ 00026598  0x000087c1 isub  0x00000012 , 0x00000012 
+ 00026599  0x000087c2 fetch  0x00000002 , 0x000003f3 
+ 00026600  0x000087c3 isub  0x00000012 , 0x0000003e 
+ 00026601  0x000087c4 nbranch  0x00006805 , 0x00000002 
+ 00026602  0x000087c6 disable  0x00000028 
+ 00026603  0x000087c7 fetch  0x00000002 , 0x000003ec 
+ 00026604  0x000087c8 branch  0x000067f8 , 0x00000034 
+ 00026605  0x000087c9 iadd  0x0000000b , 0x00000006 
+ 00026606  0x000087ca increase  0x00000003 , 0x00000012 
+ 00026607  0x000087cb copy  0x00000012 , 0x00000039 
+ 00026608  0x000087cc copy  0x00000039 , 0x0000003f 
+ 00026609  0x000087cd increase  0x00000003 , 0x0000003f 
+ 00026610  0x000087ce byteswap  0x0000003f , 0x0000003f 
+ 00026611  0x000087cf istore  0x00000002 , 0x00000005 
+ 00026612  0x000087d0 copy  0x00000039 , 0x0000003f 
+ 00026613  0x000087d1 byteswap  0x0000003f , 0x0000003f 
+ 00026614  0x000087d2 istore  0x00000002 , 0x00000005 
+ 00026615  0x000087d3 branch  0x00006813 
+ 00026616  0x000087d5 add  0x00000011 , 0x00000006 , 0x00000039 
+ 00026617  0x000087d6 branch  0x000067fc , 0x00000028 
+ 00026618  0x000087d7 byteswap  0x00000039 , 0x0000003f 
+ 00026619  0x000087d8 branch  0x000067ff 
+ 00026620  0x000087da copy  0x00000039 , 0x0000003f 
+ 00026621  0x000087db increase  0x00000002 , 0x0000003f 
+ 00026622  0x000087dc byteswap  0x0000003f , 0x0000003f 
+ 00026623  0x000087de istore  0x00000002 , 0x00000005 
+ 00026624  0x000087df increase  0xfffffffd , 0x00000039 
+ 00026625  0x000087e0 byteswap  0x00000039 , 0x0000003f 
+ 00026626  0x000087e1 istore  0x00000002 , 0x00000005 
+ 00026627  0x000087e2 copy  0x0000000b , 0x00000006 
+ 00026628  0x000087e3 branch  0x00006813 
+ 00026629  0x000087e5 enable  0x00000028 
+ 00026630  0x000087e7 fetch  0x00000002 , 0x000003f3 
+ 00026631  0x000087e8 copy  0x0000003f , 0x00000011 
+ 00026632  0x000087e9 copy  0x00000011 , 0x00000039 
+ 00026633  0x000087ea fetch  0x00000002 , 0x000003ec 
+ 00026634  0x000087eb branch  0x000067f8 , 0x00000034 
+ 00026635  0x000087ec iadd  0x0000000b , 0x00000006 
+ 00026636  0x000087ed copy  0x00000011 , 0x0000003f 
+ 00026637  0x000087ee increase  0x00000005 , 0x0000003f 
+ 00026638  0x000087ef byteswap  0x0000003f , 0x0000003f 
+ 00026639  0x000087f0 istore  0x00000002 , 0x00000005 
+ 00026640  0x000087f1 copy  0x00000011 , 0x0000003f 
+ 00026641  0x000087f2 byteswap  0x0000003f , 0x0000003f 
+ 00026642  0x000087f3 istore  0x00000002 , 0x00000005 
+ 00026643  0x000087f5 call  0x00007dd4 
+ 00026644  0x000087f6 nbranch  0x0000681c , 0x00000028 
+ 00026645  0x000087f7 force  0x00000002 , 0x0000003f 
+ 00026646  0x000087f8 istore  0x00000001 , 0x00000005 
+ 00026647  0x000087f9 copy  0x00000006 , 0x0000003f 
+ 00026648  0x000087fa isub  0x0000000b , 0x0000003f 
+ 00026649  0x000087fb byteswap  0x0000003f , 0x0000003f 
+ 00026650  0x000087fc istore  0x00000002 , 0x00000005 
+ 00026651  0x000087fd branch  0x0000681e 
+ 00026652  0x000087ff force  0x00000000 , 0x0000003f 
+ 00026653  0x00008800 istore  0x00000001 , 0x00000005 
+ 00026654  0x00008802 arg  0x00000005 , 0x00000011 
+ 00026655  0x00008803 branch  0x000068ce 
+ 00026656  0x0000880f bpatchx  0x00000061 , 0x0000402c 
+ 00026657  0x00008810 call  0x000068ee 
+ 00026658  0x00008811 compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00026659  0x00008812 branch  0x000068e2 , 0x00000001 
+ 00026660  0x00008813 call  0x0000684c 
+ 00026661  0x00008814 store  0x00000002 , 0x000003f3 
+ 00026662  0x00008815 increase  0xfffffffe , 0x0000000b 
+ 00026663  0x00008816 call  0x00006946 
+ 00026664  0x00008817 arg  0x000003fd , 0x00000005 
+ 00026665  0x00008818 force  0x00000000 , 0x00000007 
+ 00026666  0x0000881a ifetch  0x00000001 , 0x00000006 
+ 00026667  0x0000881b beq  0x0000000a , 0x00006854 
+ 00026668  0x0000881c ifetch  0x00000002 , 0x00000006 
+ 00026669  0x0000881d istore  0x00000002 , 0x00000005 
+ 00026670  0x0000881e increase  0x00000001 , 0x00000007 
+ 00026671  0x0000881f increase  0xfffffffd , 0x0000000b 
+ 00026672  0x00008820 increase  0xfffffffd , 0x00000011 
+ 00026673  0x00008821 nbranch  0x000068e2 , 0x00000002 
+ 00026674  0x00008822 nbranch  0x0000682a , 0x00000005 
+ 00026675  0x00008823 increase  0xffffffff , 0x0000000b 
+ 00026676  0x00008824 nbranch  0x000068e2 , 0x00000005 
+ 00026677  0x00008825 call  0x00005381 
+ 00026678  0x00008826 increase  0x0000000d , 0x00000005 
+ 00026679  0x00008827 fetch  0x00000002 , 0x000003e4 
+ 00026680  0x00008828 iforce  0x00000013 
+ 00026681  0x00008829 arg  0x000003fd , 0x00000011 
+ 00026682  0x0000882b ifetch  0x00000002 , 0x00000011 
+ 00026683  0x0000882c branch  0x00006847 , 0x00000034 
+ 00026684  0x0000882d iforce  0x00000012 
+ 00026685  0x0000882e call  0x000069e4 
+ 00026686  0x0000882f branch  0x00006845 , 0x00000034 
+ 00026687  0x00008830 increase  0xfffffffd , 0x00000006 
+ 00026688  0x00008831 ifetch  0x00000003 , 0x00000006 
+ 00026689  0x00008832 istore  0x00000003 , 0x00000005 
+ 00026690  0x00008833 call  0x00006979 
+ 00026691  0x00008834 iforce  0x00000039 
+ 00026692  0x00008835 call  0x00007dd4 
+ 00026693  0x00008837 increase  0x00000002 , 0x00000011 
+ 00026694  0x00008838 branch  0x0000683a 
+ 00026695  0x0000883b call  0x000068a1 
+ 00026696  0x0000883c fetch  0x00000002 , 0x00000326 
+ 00026697  0x0000883d beq  0x0000000e , 0x00006964 
+ 00026698  0x0000883e call  0x000068b8 
+ 00026699  0x0000883f branch  0x000068b8 
+ 00026700  0x00008843 ifetch  0x00000002 , 0x00000006 
+ 00026701  0x00008844 byteswap  0x0000003f , 0x0000003f 
+ 00026702  0x00008845 increase  0xfffffffd , 0x0000003f 
+ 00026703  0x00008846 arg  0x000000c8 , 0x00000002 
+ 00026704  0x00008847 isub  0x00000002 , 0x0000003e 
+ 00026705  0x00008848 nrtn  0x00000002 
+ 00026706  0x00008849 setarg  0x000000c8 
+ 00026707  0x0000884a rtn 
+ 00026708  0x0000884e increase  0x00000004 , 0x00000006 
+ 00026709  0x0000884f increase  0xfffffffb , 0x0000000b 
+ 00026710  0x00008850 increase  0xfffffffb , 0x00000011 
+ 00026711  0x00008851 nbranch  0x000068e2 , 0x00000005 
+ 00026712  0x00008852 call  0x000067c8 
+ 00026713  0x00008853 nbranch  0x000068dc , 0x00000005 
+ 00026714  0x00008854 arg  0x000003e4 , 0x0000000b 
+ 00026715  0x00008855 call  0x000069a0 
+ 00026716  0x00008856 deposit  0x00000007 
+ 00026717  0x00008857 branch  0x00006964 , 0x00000034 
+ 00026718  0x00008858 store  0x00000001 , 0x00000421 
+ 00026719  0x0000885a copy  0x00000012 , 0x0000003f 
+ 00026720  0x0000885b store  0x00000002 , 0x0000041f 
+ 00026721  0x0000885c arg  0x00000000 , 0x00000007 
+ 00026722  0x0000885d arg  0x00000000 , 0x00000011 
+ 00026723  0x0000885e call  0x00005381 
+ 00026724  0x0000885f increase  0x0000000a , 0x00000005 
+ 00026725  0x00008861 call  0x0000688a 
+ 00026726  0x00008862 nbranch  0x0000137c , 0x00000028 
+ 00026727  0x00008863 copy  0x00000006 , 0x0000000b 
+ 00026728  0x00008864 copy  0x0000003f , 0x00000013 
+ 00026729  0x00008865 iadd  0x00000011 , 0x00000011 
+ 00026730  0x00008868 fetch  0x00000002 , 0x000003ec 
+ 00026731  0x00008869 copy  0x0000003f , 0x00000012 
+ 00026732  0x0000886a branch  0x00006893 , 0x00000034 
+ 00026733  0x0000886c copy  0x00000011 , 0x0000003f 
+ 00026734  0x0000886d isub  0x00000012 , 0x00000012 
+ 00026735  0x0000886e branch  0x00006885 , 0x00000005 
+ 00026736  0x0000886f nbranch  0x00006885 , 0x00000002 
+ 00026737  0x00008870 fetch  0x00000002 , 0x000003f3 
+ 00026738  0x00008871 isub  0x00000012 , 0x0000003e 
+ 00026739  0x00008872 branch  0x0000687c , 0x00000005 
+ 00026740  0x00008873 nbranch  0x0000687c , 0x00000002 
+ 00026741  0x00008877 copy  0x00000012 , 0x00000039 
+ 00026742  0x00008878 call  0x0000687f 
+ 00026743  0x00008879 fetch  0x00000001 , 0x00000421 
+ 00026744  0x0000887a increase  0x00000001 , 0x00000007 
+ 00026745  0x0000887b isub  0x00000007 , 0x0000003e 
+ 00026746  0x0000887c branch  0x000068a1 , 0x00000005 
+ 00026747  0x0000887d branch  0x000068be 
+ 00026748  0x00008880 copy  0x0000003f , 0x00000039 
+ 00026749  0x00008881 call  0x0000687f 
+ 00026750  0x00008882 branch  0x000068be 
+ 00026751  0x00008885 increase  0xfffffffd , 0x00000005 
+ 00026752  0x00008886 copy  0x00000039 , 0x00000002 
+ 00026753  0x00008887 copy  0x00000013 , 0x0000003f 
+ 00026754  0x00008888 isub  0x00000012 , 0x0000003f 
+ 00026755  0x00008889 iadd  0x0000000b , 0x00000006 
+ 00026756  0x0000888a branch  0x00007dd4 
+ 00026757  0x0000888d fetch  0x00000001 , 0x00000421 
+ 00026758  0x0000888e increase  0x00000001 , 0x00000007 
+ 00026759  0x0000888f isub  0x00000007 , 0x0000003e 
+ 00026760  0x00008890 rtn  0x00000005 
+ 00026761  0x00008891 branch  0x00006865 
+ 00026762  0x00008894 call  0x00007ec7 
+ 00026763  0x00008895 arg  0x000003fd , 0x00000006 
+ 00026764  0x00008896 lshift2  0x00000007 , 0x0000003f 
+ 00026765  0x00008897 iadd  0x00000006 , 0x00000006 
+ 00026766  0x00008898 ifetcht  0x00000004 , 0x00000006 
+ 00026767  0x00008899 call  0x000069cf 
+ 00026768  0x0000889a nrtn  0x00000005 
+ 00026769  0x0000889b call  0x00006979 
+ 00026770  0x0000889c branch  0x00007ec5 
+ 00026771  0x0000889f fetch  0x00000002 , 0x000003f3 
+ 00026772  0x000088a0 isub  0x00000011 , 0x0000003e 
+ 00026773  0x000088a1 nbranch  0x000068ad , 0x00000002 
+ 00026774  0x000088a2 copy  0x00000011 , 0x00000039 
+ 00026775  0x000088a3 copy  0x00000039 , 0x00000002 
+ 00026776  0x000088a4 copy  0x0000000b , 0x00000006 
+ 00026777  0x000088a5 call  0x00007dd4 
+ 00026778  0x000088a6 fetch  0x00000002 , 0x0000041f 
+ 00026779  0x000088a7 isub  0x00000011 , 0x0000003e 
+ 00026780  0x000088a8 branch  0x0000689f , 0x00000005 
+ 00026781  0x000088aa call  0x000068be 
+ 00026782  0x000088ab branch  0x000068b2 
+ 00026783  0x000088ae call  0x000068a1 
+ 00026784  0x000088af branch  0x000068b2 
+ 00026785  0x000088b2 arg  0x00000007 , 0x00000011 
+ 00026786  0x000088b4 force  0x00000000 , 0x0000003f 
+ 00026787  0x000088b5 istore  0x00000001 , 0x00000005 
+ 00026788  0x000088b6 call  0x000068ce 
+ 00026789  0x000088b7 fetcht  0x00000002 , 0x00000326 
+ 00026790  0x000088b8 increase  0xfffffffb , 0x00000002 
+ 00026791  0x000088b9 byteswap  0x00000002 , 0x0000003f 
+ 00026792  0x000088ba istore  0x00000002 , 0x00000005 
+ 00026793  0x000088bb increase  0xfffffffd , 0x00000002 
+ 00026794  0x000088bc byteswap  0x00000002 , 0x0000003f 
+ 00026795  0x000088bd istore  0x00000002 , 0x00000005 
+ 00026796  0x000088be rtn 
+ 00026797  0x000088c1 copy  0x0000003f , 0x00000039 
+ 00026798  0x000088c2 copy  0x00000039 , 0x00000002 
+ 00026799  0x000088c3 copy  0x0000000b , 0x00000006 
+ 00026800  0x000088c4 call  0x00007dd4 
+ 00026801  0x000088c5 call  0x000068be 
+ 00026802  0x000088c7 setarg  0x00000036 
+ 00026803  0x000088c8 istore  0x00000001 , 0x00000005 
+ 00026804  0x000088c9 fetch  0x00000002 , 0x0000041f 
+ 00026805  0x000088ca byteswap  0x0000003f , 0x0000003f 
+ 00026806  0x000088cb istore  0x00000002 , 0x00000005 
+ 00026807  0x000088cc rtn 
+ 00026808  0x000088cf setarg  0x00000036 
+ 00026809  0x000088d0 istore  0x00000001 , 0x00000005 
+ 00026810  0x000088d1 increase  0xfffffffd , 0x00000002 
+ 00026811  0x000088d2 byteswap  0x00000002 , 0x0000003f 
+ 00026812  0x000088d3 istore  0x00000002 , 0x00000005 
+ 00026813  0x000088d4 rtn 
+ 00026814  0x000088d7 arg  0x00000007 , 0x00000011 
+ 00026815  0x000088d8 setarg  0x00000002 
+ 00026816  0x000088d9 istore  0x00000001 , 0x00000005 
+ 00026817  0x000088da fetch  0x00000002 , 0x000003ec 
+ 00026818  0x000088db iadd  0x00000002 , 0x00000002 
+ 00026819  0x000088dc byteswap  0x00000002 , 0x0000003f 
+ 00026820  0x000088dd istore  0x00000002 , 0x00000005 
+ 00026821  0x000088de call  0x000068ce 
+ 00026822  0x000088df fetcht  0x00000002 , 0x00000326 
+ 00026823  0x000088e0 increase  0xfffffffb , 0x00000002 
+ 00026824  0x000088e1 byteswap  0x00000002 , 0x0000003f 
+ 00026825  0x000088e2 istore  0x00000002 , 0x00000005 
+ 00026826  0x000088e3 increase  0xfffffffb , 0x00000002 
+ 00026827  0x000088e4 byteswap  0x00000002 , 0x0000003f 
+ 00026828  0x000088e5 istore  0x00000002 , 0x00000005 
+ 00026829  0x000088e6 rtn 
+ 00026830  0x000088e9 fetch  0x00000002 , 0x00000324 
+ 00026831  0x000088ea isub  0x00000005 , 0x0000003f 
+ 00026832  0x000088eb sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00026833  0x000088ec store  0x00000002 , 0x00000326 
+ 00026834  0x000088ed call  0x00005381 
+ 00026835  0x000088ee copy  0x00000011 , 0x0000003f 
+ 00026836  0x000088ef istore  0x00000001 , 0x00000005 
+ 00026837  0x000088f0 fetch  0x00000002 , 0x000003ef 
+ 00026838  0x000088f1 istore  0x00000002 , 0x00000005 
+ 00026839  0x000088f2 rtn 
+ 00026840  0x00008903 rtn 
+ 00026841  0x00008908 setarg  0x00000200 
+ 00026842  0x00008909 store  0x00000002 , 0x0000041d 
+ 00026843  0x0000890a branch  0x000068e4 
+ 00026844  0x0000890c setarg  0x00000400 
+ 00026845  0x0000890d store  0x00000002 , 0x0000041d 
+ 00026846  0x0000890e branch  0x000068e4 
+ 00026847  0x00008910 setarg  0x00000600 
+ 00026848  0x00008911 store  0x00000002 , 0x0000041d 
+ 00026849  0x00008912 branch  0x000068e4 
+ 00026850  0x00008914 setarg  0x00000300 
+ 00026851  0x00008915 store  0x00000002 , 0x0000041d 
+ 00026852  0x00008917 call  0x00005381 
+ 00026853  0x00008918 istore  0x00000001 , 0x00000005 
+ 00026854  0x00008919 fetch  0x00000002 , 0x000003ef 
+ 00026855  0x0000891a istore  0x00000002 , 0x00000005 
+ 00026856  0x0000891b setarg  0x00000200 
+ 00026857  0x0000891c istore  0x00000002 , 0x00000005 
+ 00026858  0x0000891d fetch  0x00000002 , 0x0000041d 
+ 00026859  0x0000891e istore  0x00000002 , 0x00000005 
+ 00026860  0x0000891f jam  0x00000007 , 0x00000326 
+ 00026861  0x00008920 rtn 
+ 00026862  0x00008926 arg  0x00000000 , 0x00000012 
+ 00026863  0x00008927 force  0x00000000 , 0x00000002 
+ 00026864  0x00008928 arg  0x000003e4 , 0x00000005 
+ 00026865  0x00008929 call  0x00006946 
+ 00026866  0x0000892a branch  0x00006944 , 0x00000005 
+ 00026867  0x0000892c increase  0x00000001 , 0x00000012 
+ 00026868  0x0000892d ifetch  0x00000001 , 0x00000006 
+ 00026869  0x0000892e increase  0xffffffff , 0x00000011 
+ 00026870  0x0000892f increase  0xffffffff , 0x0000000b 
+ 00026871  0x00008930 compare  0x00000018 , 0x0000003f , 0x000000f8 
+ 00026872  0x00008931 nbranch  0x00006944 , 0x00000001 
+ 00026873  0x00008932 compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00026874  0x00008933 nbranch  0x00006911 , 0x00000001 
+ 00026875  0x00008934 force  0x00000001 , 0x00000002 
+ 00026876  0x00008936 ifetch  0x00000001 , 0x00000006 
+ 00026877  0x00008937 increase  0xffffffff , 0x00000011 
+ 00026878  0x00008938 increase  0xffffffff , 0x0000000b 
+ 00026879  0x00008939 bne  0x00000000 , 0x00006905 
+ 00026880  0x0000893a ifetch  0x00000001 , 0x00000006 
+ 00026881  0x0000893b increase  0xffffffff , 0x00000011 
+ 00026882  0x0000893c increase  0xffffffff , 0x0000000b 
+ 00026883  0x0000893d beq  0x00000000 , 0x00006916 
+ 00026884  0x0000893e branch  0x00006908 
+ 00026885  0x00008940 increase  0x00000001 , 0x00000006 
+ 00026886  0x00008941 increase  0xffffffff , 0x00000011 
+ 00026887  0x00008942 increase  0xffffffff , 0x0000000b 
+ 00026888  0x00008944 increase  0x00000002 , 0x00000006 
+ 00026889  0x00008945 increase  0xfffffffe , 0x00000011 
+ 00026890  0x00008946 increase  0xfffffffe , 0x0000000b 
+ 00026891  0x00008947 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00026892  0x00008948 branch  0x0000693e , 0x00000001 
+ 00026893  0x00008949 increase  0x0000000c , 0x00000006 
+ 00026894  0x0000894a increase  0xfffffff4 , 0x00000011 
+ 00026895  0x0000894b increase  0xfffffff4 , 0x0000000b 
+ 00026896  0x0000894c branch  0x0000693e 
+ 00026897  0x0000894e compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00026898  0x0000894f nbranch  0x00006914 , 0x00000001 
+ 00026899  0x00008950 branch  0x000068fc 
+ 00026900  0x00008952 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00026901  0x00008953 nbranch  0x00006944 , 0x00000001 
+ 00026902  0x00008955 increase  0xfffffffe , 0x00000011 
+ 00026903  0x00008956 increase  0xfffffffe , 0x0000000b 
+ 00026904  0x00008957 ifetch  0x00000002 , 0x00000006 
+ 00026905  0x00008958 sub  0x00000012 , 0x00000004 , 0x0000003e 
+ 00026906  0x00008959 branch  0x0000691c , 0x00000005 
+ 00026907  0x0000895a istore  0x00000002 , 0x00000005 
+ 00026908  0x0000895c compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00026909  0x0000895d branch  0x0000693e , 0x00000001 
+ 00026910  0x0000895e copy  0x00000006 , 0x00000002 
+ 00026911  0x0000895f ifetch  0x00000001 , 0x00000006 
+ 00026912  0x00008960 bne  0x00000000 , 0x00006937 
+ 00026913  0x00008961 ifetch  0x00000001 , 0x00000006 
+ 00026914  0x00008962 bne  0x00000000 , 0x00006937 
+ 00026915  0x00008963 ifetch  0x00000001 , 0x00000006 
+ 00026916  0x00008964 bne  0x00000010 , 0x00006937 
+ 00026917  0x00008965 ifetch  0x00000001 , 0x00000006 
+ 00026918  0x00008966 bne  0x00000000 , 0x00006937 
+ 00026919  0x00008967 ifetch  0x00000001 , 0x00000006 
+ 00026920  0x00008968 bne  0x00000080 , 0x00006937 
+ 00026921  0x00008969 ifetch  0x00000001 , 0x00000006 
+ 00026922  0x0000896a bne  0x00000000 , 0x00006937 
+ 00026923  0x0000896b ifetch  0x00000001 , 0x00000006 
+ 00026924  0x0000896c bne  0x00000000 , 0x00006937 
+ 00026925  0x0000896d ifetch  0x00000001 , 0x00000006 
+ 00026926  0x0000896e bne  0x00000080 , 0x00006937 
+ 00026927  0x0000896f ifetch  0x00000001 , 0x00000006 
+ 00026928  0x00008970 bne  0x0000005f , 0x00006937 
+ 00026929  0x00008971 ifetch  0x00000001 , 0x00000006 
+ 00026930  0x00008972 bne  0x0000009b , 0x00006937 
+ 00026931  0x00008973 ifetch  0x00000001 , 0x00000006 
+ 00026932  0x00008974 bne  0x00000034 , 0x00006937 
+ 00026933  0x00008975 ifetch  0x00000001 , 0x00000006 
+ 00026934  0x00008976 beq  0x000000fb , 0x0000693c 
+ 00026935  0x00008978 copy  0x00000002 , 0x00000006 
+ 00026936  0x0000897a increase  0x0000000c , 0x00000006 
+ 00026937  0x0000897b force  0x00000000 , 0x00000007 
+ 00026938  0x0000897c force  0x00000000 , 0x00000002 
+ 00026939  0x0000897d branch  0x0000693c 
+ 00026940  0x00008980 increase  0xfffffff4 , 0x0000000b 
+ 00026941  0x00008981 increase  0xfffffff4 , 0x00000011 
+ 00026942  0x00008983 force  0x00000000 , 0x00000002 
+ 00026943  0x00008984 compare  0x00000000 , 0x00000011 , 0x000000ff 
+ 00026944  0x00008985 nbranch  0x000068f3 , 0x00000001 
+ 00026945  0x00008986 force  0x00000000 , 0x0000003f 
+ 00026946  0x00008987 istore  0x00000002 , 0x00000005 
+ 00026947  0x00008988 rtn 
+ 00026948  0x0000898a arg  0x000000ff , 0x00000002 
+ 00026949  0x0000898b rtn 
+ 00026950  0x00008996 bpatchx  0x00000064 , 0x0000402c 
+ 00026951  0x00008997 ifetch  0x00000001 , 0x00000006 
+ 00026952  0x00008998 increase  0xffffffff , 0x0000000b 
+ 00026953  0x00008999 compare  0x00000030 , 0x0000003f , 0x000000f8 
+ 00026954  0x0000899a nbranch  0x0000695c , 0x00000001 
+ 00026955  0x0000899b compare  0x00000007 , 0x0000003f , 0x00000007 
+ 00026956  0x0000899c branch  0x00006955 , 0x00000001 
+ 00026957  0x0000899d compare  0x00000006 , 0x0000003f , 0x00000007 
+ 00026958  0x0000899e branch  0x00006957 , 0x00000001 
+ 00026959  0x0000899f compare  0x00000005 , 0x0000003f , 0x00000007 
+ 00026960  0x000089a0 nbranch  0x0000695c , 0x00000001 
+ 00026961  0x000089a2 ifetch  0x00000001 , 0x00000006 
+ 00026962  0x000089a3 copy  0x0000003f , 0x00000011 
+ 00026963  0x000089a4 increase  0xffffffff , 0x0000000b 
+ 00026964  0x000089a5 branch  0x0000695a 
+ 00026965  0x000089a7 increase  0x00000002 , 0x00000006 
+ 00026966  0x000089a8 increase  0xfffffffe , 0x0000000b 
+ 00026967  0x000089aa ifetch  0x00000002 , 0x00000006 
+ 00026968  0x000089ab byteswap  0x0000003f , 0x00000011 
+ 00026969  0x000089ac increase  0xfffffffe , 0x0000000b 
+ 00026970  0x000089ae force  0x00000001 , 0x0000003f 
+ 00026971  0x000089af rtn 
+ 00026972  0x000089b1 force  0x00000000 , 0x0000003f 
+ 00026973  0x000089b2 rtn 
+ 00026974  0x000089bd setarg  0x00000003 
+ 00026975  0x000089be store  0x00000001 , 0x000003ee 
+ 00026976  0x000089bf branch  0x00006966 
+ 00026977  0x000089c1 setarg  0x00000005 
+ 00026978  0x000089c2 store  0x00000001 , 0x000003ee 
+ 00026979  0x000089c3 branch  0x00006966 
+ 00026980  0x000089c5 setarg  0x00000007 
+ 00026981  0x000089c6 store  0x00000001 , 0x000003ee 
+ 00026982  0x000089c8 call  0x00005381 
+ 00026983  0x000089cb fetch  0x00000001 , 0x000003ee 
+ 00026984  0x000089cc copy  0x0000003f , 0x00000012 
+ 00026985  0x000089cd istore  0x00000001 , 0x00000005 
+ 00026986  0x000089ce fetch  0x00000002 , 0x000003ef 
+ 00026987  0x000089cf istore  0x00000002 , 0x00000005 
+ 00026988  0x000089d0 setarg  0x00000500 
+ 00026989  0x000089d1 istore  0x00000002 , 0x00000005 
+ 00026990  0x000089d2 compare  0x00000005 , 0x00000012 , 0x000000ff 
+ 00026991  0x000089d3 branch  0x00006975 , 0x00000001 
+ 00026992  0x000089d4 compare  0x00000007 , 0x00000012 , 0x000000ff 
+ 00026993  0x000089d5 branch  0x00006975 , 0x00000001 
+ 00026994  0x000089d6 setarg  0x00000000 
+ 00026995  0x000089d7 istore  0x00000005 , 0x00000005 
+ 00026996  0x000089d8 branch  0x00006977 
+ 00026997  0x000089db setarg  0x00350200 
+ 00026998  0x000089dc istore  0x00000005 , 0x00000005 
+ 00026999  0x000089de jam  0x0000000a , 0x00000326 
+ 00027000  0x000089df rtn 
+ 00027001  0x000089e3 call  0x00007d5b 
+ 00027002  0x000089e4 call  0x00007d5e 
+ 00027003  0x000089e5 call  0x00006980 
+ 00027004  0x000089e6 call  0x00007d55 
+ 00027005  0x000089e7 call  0x00007d58 
+ 00027006  0x000089e8 copy  0x00000002 , 0x0000003f 
+ 00027007  0x000089e9 rtn 
+ 00027008  0x000089ed ifetch  0x00000001 , 0x00000006 
+ 00027009  0x000089ee and  0x0000003f , 0x00000007 , 0x00000039 
+ 00027010  0x000089ef rshift3  0x0000003f , 0x0000003f 
+ 00027011  0x000089f0 bne  0x00000000 , 0x0000698a 
+ 00027012  0x000089f2 force  0x00000001 , 0x0000003f 
+ 00027013  0x000089f3 force  0x00000001 , 0x00000002 
+ 00027014  0x000089f4 rtn 
+ 00027015  0x000089f7 call  0x00007d35 
+ 00027016  0x000089f8 add  0x0000003f , 0x00000001 , 0x00000002 
+ 00027017  0x000089f9 rtn 
+ 00027018  0x000089fb deposit  0x00000039 
+ 00027019  0x000089fc sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00027020  0x000089fd branch  0x00006987 , 0x00000002 
+ 00027021  0x000089fe beq  0x00000005 , 0x00006991 
+ 00027022  0x000089ff beq  0x00000006 , 0x00006994 
+ 00027023  0x00008a00 beq  0x00000007 , 0x00006998 
+ 00027024  0x00008a01 rtn 
+ 00027025  0x00008a04 ifetch  0x00000001 , 0x00000006 
+ 00027026  0x00008a05 add  0x0000003f , 0x00000002 , 0x00000002 
+ 00027027  0x00008a06 rtn 
+ 00027028  0x00008a08 ifetch  0x00000002 , 0x00000006 
+ 00027029  0x00008a09 byteswap  0x0000003f , 0x0000003f 
+ 00027030  0x00008a0a add  0x0000003f , 0x00000003 , 0x00000002 
+ 00027031  0x00008a0b rtn 
+ 00027032  0x00008a0d ifetch  0x00000002 , 0x00000006 
+ 00027033  0x00008a0e byteswap  0x0000003f , 0x0000003f 
+ 00027034  0x00008a0f ifetcht  0x00000002 , 0x00000006 
+ 00027035  0x00008a10 byteswap  0x00000002 , 0x00000002 
+ 00027036  0x00008a11 lshift16  0x00000002 , 0x00000002 
+ 00027037  0x00008a12 iadd  0x00000002 , 0x0000003f 
+ 00027038  0x00008a13 add  0x0000003f , 0x00000005 , 0x00000002 
+ 00027039  0x00008a14 rtn 
+ 00027040  0x00008a17 bpatchx  0x00000065 , 0x0000402c 
+ 00027041  0x00008a18 force  0x00000000 , 0x00000007 
+ 00027042  0x00008a19 arg  0x00000000 , 0x00000012 
+ 00027043  0x00008a1a arg  0x000003fd , 0x00000005 
+ 00027044  0x00008a1c ifetch  0x00000002 , 0x0000000b 
+ 00027045  0x00008a1d rtn  0x00000034 
+ 00027046  0x00008a1e call  0x000069ab 
+ 00027047  0x00008a1f copy  0x00000007 , 0x0000003f 
+ 00027048  0x00008a20 rtneq  0x00000007 
+ 00027049  0x00008a21 increase  0x00000002 , 0x0000000b 
+ 00027050  0x00008a22 branch  0x000069a4 
+ 00027051  0x00008a26 iforce  0x00000013 
+ 00027052  0x00008a28 fetch  0x00000002 , 0x00004663 
+ 00027053  0x00008a29 iforce  0x00000006 
+ 00027054  0x00008a2b copy  0x00000007 , 0x0000003f 
+ 00027055  0x00008a2c rtneq  0x00000007 
+ 00027056  0x00008a2d disable  0x00000028 
+ 00027057  0x00008a2e ifetch  0x00000001 , 0x00000006 
+ 00027058  0x00008a2f rtn  0x00000034 
+ 00027059  0x00008a30 iforce  0x00000039 
+ 00027060  0x00008a32 ifetch  0x00000002 , 0x00000006 
+ 00027061  0x00008a33 isub  0x00000013 , 0x0000003e 
+ 00027062  0x00008a34 nbranch  0x000069b8 , 0x00000005 
+ 00027063  0x00008a35 enable  0x00000028 
+ 00027064  0x00008a37 loop  0x000069b4 
+ 00027065  0x00008a38 ifetcht  0x00000004 , 0x00000006 
+ 00027066  0x00008a39 copy  0x00000006 , 0x00000011 
+ 00027067  0x00008a3a nbranch  0x000069cb , 0x00000028 
+ 00027068  0x00008a3b arg  0x000003fd , 0x00000006 
+ 00027069  0x00008a3c arg  0x00000007 , 0x00000039 
+ 00027070  0x00008a3e ifetch  0x00000004 , 0x00000006 
+ 00027071  0x00008a3f branch  0x000069c4 , 0x00000034 
+ 00027072  0x00008a40 isub  0x00000002 , 0x0000003e 
+ 00027073  0x00008a41 branch  0x000069cb , 0x00000005 
+ 00027074  0x00008a42 loop  0x000069be 
+ 00027075  0x00008a43 rtn 
+ 00027076  0x00008a45 istoret  0x00000004 , 0x00000005 
+ 00027077  0x00008a46 increase  0x00000001 , 0x00000007 
+ 00027078  0x00008a47 copy  0x00000011 , 0x00000006 
+ 00027079  0x00008a48 call  0x00006979 
+ 00027080  0x00008a49 iadd  0x00000012 , 0x00000012 
+ 00027081  0x00008a4a iadd  0x00000006 , 0x00000006 
+ 00027082  0x00008a4b branch  0x000069ae 
+ 00027083  0x00008a4d copy  0x00000011 , 0x00000006 
+ 00027084  0x00008a4e call  0x00006980 
+ 00027085  0x00008a4f iadd  0x00000006 , 0x00000006 
+ 00027086  0x00008a50 branch  0x000069ae 
+ 00027087  0x00008a53 bpatchx  0x00000066 , 0x0000402c 
+ 00027088  0x00008a54 fetch  0x00000002 , 0x00004663 
+ 00027089  0x00008a55 iforce  0x00000006 
+ 00027090  0x00008a57 ifetch  0x00000001 , 0x00000006 
+ 00027091  0x00008a58 branch  0x00007ec1 , 0x00000034 
+ 00027092  0x00008a59 lshift  0x0000003f , 0x0000003f 
+ 00027093  0x00008a5a iadd  0x00000006 , 0x00000006 
+ 00027094  0x00008a5b ifetch  0x00000004 , 0x00000006 
+ 00027095  0x00008a5c isub  0x00000002 , 0x0000003e 
+ 00027096  0x00008a5d rtn  0x00000005 
+ 00027097  0x00008a5e deposit  0x00000005 
+ 00027098  0x00008a5f store  0x00000002 , 0x0000097d 
+ 00027099  0x00008a60 storet  0x00000008 , 0x00000964 
+ 00027100  0x00008a61 call  0x00006980 
+ 00027101  0x00008a62 iadd  0x00000006 , 0x00000006 
+ 00027102  0x00008a63 copy  0x00000006 , 0x0000003f 
+ 00027103  0x00008a64 fetcht  0x00000002 , 0x0000097d 
+ 00027104  0x00008a65 copy  0x00000002 , 0x00000005 
+ 00027105  0x00008a66 fetcht  0x00000008 , 0x00000964 
+ 00027106  0x00008a67 copy  0x0000003f , 0x00000006 
+ 00027107  0x00008a68 branch  0x000069d2 
+ 00027108  0x00008a6b bpatchx  0x00000067 , 0x0000402c 
+ 00027109  0x00008a6c fetch  0x00000002 , 0x00004663 
+ 00027110  0x00008a6d iforce  0x00000006 
+ 00027111  0x00008a6f ifetch  0x00000001 , 0x00000006 
+ 00027112  0x00008a70 branch  0x00006a02 , 0x00000034 
+ 00027113  0x00008a71 iforce  0x00000039 
+ 00027114  0x00008a73 ifetch  0x00000002 , 0x00000006 
+ 00027115  0x00008a74 isub  0x00000013 , 0x0000003e 
+ 00027116  0x00008a75 branch  0x000069f2 , 0x00000005 
+ 00027117  0x00008a76 loop  0x000069ea 
+ 00027118  0x00008a77 increase  0x00000004 , 0x00000006 
+ 00027119  0x00008a78 call  0x00006980 
+ 00027120  0x00008a79 iadd  0x00000006 , 0x00000006 
+ 00027121  0x00008a7a branch  0x000069e7 
+ 00027122  0x00008a7c increase  0xffffffff , 0x00000039 
+ 00027123  0x00008a7d lshift  0x00000039 , 0x0000003f 
+ 00027124  0x00008a7e iadd  0x00000006 , 0x00000006 
+ 00027125  0x00008a7f increase  0x00000004 , 0x00000006 
+ 00027126  0x00008a80 call  0x00006980 
+ 00027127  0x00008a81 iadd  0x00000006 , 0x0000000b 
+ 00027128  0x00008a83 increase  0x00000001 , 0x00000006 
+ 00027129  0x00008a84 ifetch  0x00000002 , 0x00000006 
+ 00027130  0x00008a85 isub  0x00000012 , 0x0000003e 
+ 00027131  0x00008a89 branch  0x00007ecf , 0x00000005 
+ 00027132  0x00008a8a call  0x00006979 
+ 00027133  0x00008a8b iadd  0x00000006 , 0x00000006 
+ 00027134  0x00008a8c deposit  0x0000000b 
+ 00027135  0x00008a8d isub  0x00000006 , 0x0000003e 
+ 00027136  0x00008a8e branch  0x00006a02 , 0x00000005 
+ 00027137  0x00008a8f branch  0x000069f8 
+ 00027138  0x00008a91 force  0x00000000 , 0x00000006 
+ 00027139  0x00008a92 force  0x00000000 , 0x0000003f 
+ 00027140  0x00008a93 rtn 
+ 00027141  0x00008a9a bpatchx  0x00000068 , 0x0000402d 
+ 00027142  0x00008a9b fetch  0x00000002 , 0x00004663 
+ 00027143  0x00008a9c iforce  0x00000006 
+ 00027144  0x00008a9e ifetch  0x00000001 , 0x00000006 
+ 00027145  0x00008a9f branch  0x00006a1e , 0x00000034 
+ 00027146  0x00008aa0 lshift  0x0000003f , 0x0000003f 
+ 00027147  0x00008aa1 iadd  0x00000006 , 0x00000006 
+ 00027148  0x00008aa2 ifetch  0x00000004 , 0x00000006 
+ 00027149  0x00008aa3 isub  0x00000002 , 0x0000003e 
+ 00027150  0x00008aa4 branch  0x00006a12 , 0x00000005 
+ 00027151  0x00008aa5 call  0x00006980 
+ 00027152  0x00008aa6 iadd  0x00000006 , 0x00000006 
+ 00027153  0x00008aa7 branch  0x00006a08 
+ 00027154  0x00008aa9 call  0x00006980 
+ 00027155  0x00008aaa iadd  0x00000006 , 0x0000000b 
+ 00027156  0x00008aac increase  0x00000001 , 0x00000006 
+ 00027157  0x00008aad ifetch  0x00000002 , 0x00000006 
+ 00027158  0x00008aae isub  0x00000012 , 0x0000003e 
+ 00027159  0x00008aaf rtn  0x00000005 
+ 00027160  0x00008ab0 call  0x00006979 
+ 00027161  0x00008ab1 iadd  0x00000006 , 0x00000006 
+ 00027162  0x00008ab2 deposit  0x0000000b 
+ 00027163  0x00008ab3 isub  0x00000006 , 0x0000003e 
+ 00027164  0x00008ab4 branch  0x00006a1e , 0x00000005 
+ 00027165  0x00008ab5 branch  0x00006a14 
+ 00027166  0x00008ab7 force  0x00000000 , 0x00000006 
+ 00027167  0x00008ab8 rtn 
+ 00027168  0x00008abd arg  0x00000400 , 0x00000012 
+ 00027169  0x00008abe call  0x00006a12 
+ 00027170  0x00008abf arg  0x00000300 , 0x00000012 
+ 00027171  0x00008ac0 call  0x00006a2b 
+ 00027172  0x00008ac1 nrtn  0x00000028 
+ 00027173  0x00008ac2 sub  0x00000011 , 0x00000003 , 0x0000003e 
+ 00027174  0x00008ac3 branch  0x00007ec7 , 0x00000002 
+ 00027175  0x00008ac4 ifetch  0x00000001 , 0x00000006 
+ 00027176  0x00008ac5 bne  0x00000008 , 0x00007ec7 
+ 00027177  0x00008ac6 ifetch  0x00000001 , 0x00000006 
+ 00027178  0x00008ac7 rtn 
+ 00027179  0x00008acd bpatchx  0x00000069 , 0x0000402d 
+ 00027180  0x00008ace call  0x00006980 
+ 00027181  0x00008acf copy  0x0000003f , 0x00000011 
+ 00027182  0x00008ad1 ifetch  0x00000001 , 0x00000006 
+ 00027183  0x00008ad2 and  0x0000003f , 0x00000007 , 0x00000039 
+ 00027184  0x00008ad3 rshift3  0x0000003f , 0x0000003f 
+ 00027185  0x00008ad4 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00027186  0x00008ad5 branch  0x00006a47 , 0x00000005 
+ 00027187  0x00008ad6 copy  0x00000039 , 0x0000003f 
+ 00027188  0x00008ad7 beq  0x00000005 , 0x00006a3e 
+ 00027189  0x00008ad8 beq  0x00000006 , 0x00006a41 
+ 00027190  0x00008ad9 beq  0x00000007 , 0x00006a44 
+ 00027191  0x00008ada increase  0xffffffff , 0x00000006 
+ 00027192  0x00008adb call  0x00006980 
+ 00027193  0x00008adc iadd  0x00000006 , 0x00000006 
+ 00027194  0x00008add copy  0x00000011 , 0x0000003f 
+ 00027195  0x00008ade isub  0x00000002 , 0x00000011 
+ 00027196  0x00008adf branch  0x00007ec7 , 0x00000005 
+ 00027197  0x00008ae0 branch  0x00006a2e 
+ 00027198  0x00008ae3 increase  0xfffffffe , 0x00000011 
+ 00027199  0x00008ae4 increase  0x00000001 , 0x00000006 
+ 00027200  0x00008ae5 branch  0x00006a2e 
+ 00027201  0x00008ae7 increase  0xfffffffd , 0x00000011 
+ 00027202  0x00008ae8 increase  0x00000002 , 0x00000006 
+ 00027203  0x00008ae9 branch  0x00006a2e 
+ 00027204  0x00008aeb increase  0xfffffffb , 0x00000011 
+ 00027205  0x00008aec increase  0x00000004 , 0x00000006 
+ 00027206  0x00008aed branch  0x00006a2e 
+ 00027207  0x00008af0 increase  0xffffffff , 0x00000011 
+ 00027208  0x00008af1 copy  0x00000039 , 0x0000003f 
+ 00027209  0x00008af2 beq  0x00000001 , 0x00006a50 
+ 00027210  0x00008af3 beq  0x00000002 , 0x00006a4e 
+ 00027211  0x00008af4 beq  0x00000004 , 0x00006a4d 
+ 00027212  0x00008af5 branch  0x00007ec7 
+ 00027213  0x00008af7 increase  0xfffffff4 , 0x00000011 
+ 00027214  0x00008af9 ifetch  0x00000002 , 0x00000006 
+ 00027215  0x00008afa increase  0xfffffffe , 0x00000011 
+ 00027216  0x00008afc ifetch  0x00000002 , 0x00000006 
+ 00027217  0x00008afd isub  0x00000012 , 0x0000003e 
+ 00027218  0x00008afe branch  0x00007ec5 , 0x00000005 
+ 00027219  0x00008aff increase  0xfffffffe , 0x00000011 
+ 00027220  0x00008b00 branch  0x00007ec7 , 0x00000005 
+ 00027221  0x00008b01 branch  0x00006a2e 
+ 00027222  0x00008b06 call  0x00005381 
+ 00027223  0x00008b07 copy  0x0000003f , 0x00000005 
+ 00027224  0x00008b08 setarg  0x00000006 
+ 00027225  0x00008b09 istore  0x00000001 , 0x00000005 
+ 00027226  0x00008b0a setarg  0x0000006e 
+ 00027227  0x00008b0b istore  0x00000002 , 0x00000005 
+ 00027228  0x00008b0c setarg  0x00000f00 
+ 00027229  0x00008b0d istore  0x00000002 , 0x00000005 
+ 00027230  0x00008b0e setarg  0x001a0535 
+ 00027231  0x00008b0f istore  0x00000003 , 0x00000005 
+ 00027232  0x00008b10 setarg  0x00000111 
+ 00027233  0x00008b11 lshift16  0x0000003f , 0x0000003f 
+ 00027234  0x00008b12 istore  0x00000004 , 0x00000005 
+ 00027235  0x00008b13 setarg  0x00002600 
+ 00027236  0x00008b14 istore  0x00000002 , 0x00000005 
+ 00027237  0x00008b15 setarg  0x00000335 
+ 00027238  0x00008b16 istore  0x00000002 , 0x00000005 
+ 00027239  0x00008b17 setarg  0x00000009 
+ 00027240  0x00008b18 istore  0x00000002 , 0x00000005 
+ 00027241  0x00008b19 setarg  0x00000004 
+ 00027242  0x00008b1a istore  0x00000002 , 0x00000005 
+ 00027243  0x00008b1b jam  0x00000014 , 0x00000326 
+ 00027244  0x00008b1c rtn 
+ 00027245  0x00008b21 bpatchx  0x0000006a , 0x0000402d 
+ 00027246  0x00008b22 jam  0x00000050 , 0x000004a7 
+ 00027247  0x00008b23 arg  0x000004a8 , 0x00000005 
+ 00027248  0x00008b24 arg  0x00004337 , 0x00000006 
+ 00027249  0x00008b25 call  0x00007d7f 
+ 00027250  0x00008b26 arg  0x000046df , 0x00000006 
+ 00027251  0x00008b27 call  0x00007d7d 
+ 00027252  0x00008b28 arg  0x00000880 , 0x00000006 
+ 00027253  0x00008b29 call  0x00007d7d 
+ 00027254  0x00008b2a call  0x00006b28 
+ 00027255  0x00008b2b arg  0x00000277 , 0x00000006 
+ 00027256  0x00008b2c call  0x00006b23 
+ 00027257  0x00008b2d call  0x00006aee 
+ 00027258  0x00008b2f arg  0x000009be , 0x00000005 
+ 00027259  0x00008b30 call  0x00006b1f 
+ 00027260  0x00008b31 setarg  0x000f4240 
+ 00027261  0x00008b32 copy  0x0000003f , 0x00000011 
+ 00027262  0x00008b33 fetch  0x00000004 , 0x000009be 
+ 00027263  0x00008b34 idiv  0x00000011 
+ 00027264  0x00008b35 call  0x00007e64 
+ 00027265  0x00008b36 remainder  0x0000003f 
+ 00027266  0x00008b37 store  0x00000004 , 0x0000087c 
+ 00027267  0x00008b39 rtn 
+ 00027268  0x00008b3c jam  0x00000041 , 0x000004a7 
+ 00027269  0x00008b3d arg  0x000004a8 , 0x00000005 
+ 00027270  0x00008b3e call  0x00006ad3 
+ 00027271  0x00008b3f call  0x00006ace 
+ 00027272  0x00008b40 fetch  0x00000003 , 0x00004351 
+ 00027273  0x00008b41 istore  0x00000003 , 0x00000005 
+ 00027274  0x00008b44 call  0x00006a94 
+ 00027275  0x00008b46 arg  0x00000277 , 0x00000006 
+ 00027276  0x00008b47 call  0x00007d7f 
+ 00027277  0x00008b48 arg  0x00004337 , 0x00000006 
+ 00027278  0x00008b49 call  0x00007d7f 
+ 00027279  0x00008b4a call  0x00006b28 
+ 00027280  0x00008b4b arg  0x000009de , 0x00000006 
+ 00027281  0x00008b4c arg  0x0000098e , 0x00000005 
+ 00027282  0x00008b4d call  0x00007d7f 
+ 00027283  0x00008b4f branch  0x00006aee 
+ 00027284  0x00008b54 fetch  0x00000004 , 0x0000439e 
+ 00027285  0x00008b55 istore  0x00000004 , 0x00000005 
+ 00027286  0x00008b56 call  0x00007d94 
+ 00027287  0x00008b57 branch  0x00007d91 
+ 00027288  0x00008b5a bpatchx  0x0000006b , 0x0000402d 
+ 00027289  0x00008b5b jam  0x00000041 , 0x000004a7 
+ 00027290  0x00008b5c arg  0x000004a8 , 0x00000005 
+ 00027291  0x00008b5d call  0x00006ace 
+ 00027292  0x00008b5e call  0x00006ad3 
+ 00027293  0x00008b5f fetch  0x00000003 , 0x0000434a 
+ 00027294  0x00008b60 istore  0x00000003 , 0x00000005 
+ 00027295  0x00008b63 call  0x00006a94 
+ 00027296  0x00008b64 arg  0x00004337 , 0x00000006 
+ 00027297  0x00008b65 call  0x00007d7f 
+ 00027298  0x00008b66 arg  0x00000277 , 0x00000006 
+ 00027299  0x00008b67 call  0x00007d7f 
+ 00027300  0x00008b68 call  0x00006b28 
+ 00027301  0x00008b69 arg  0x000009de , 0x00000006 
+ 00027302  0x00008b6a arg  0x0000098e , 0x00000005 
+ 00027303  0x00008b6b call  0x00007d7f 
+ 00027304  0x00008b6d call  0x00006aee 
+ 00027305  0x00008b6e arg  0x000009be , 0x00000005 
+ 00027306  0x00008b6f branch  0x00006b1f 
+ 00027307  0x00008b72 jam  0x00000020 , 0x000004a7 
+ 00027308  0x00008b73 arg  0x000008c0 , 0x00000006 
+ 00027309  0x00008b74 arg  0x000004a8 , 0x00000005 
+ 00027310  0x00008b75 call  0x00007d7d 
+ 00027311  0x00008b76 call  0x00006b28 
+ 00027312  0x00008b77 arg  0x00000860 , 0x00000006 
+ 00027313  0x00008b78 call  0x00006b23 
+ 00027314  0x00008b79 call  0x00006aee 
+ 00027315  0x00008b7a arg  0x0000098e , 0x00000005 
+ 00027316  0x00008b7b call  0x00006e3c 
+ 00027317  0x00008b7c arg  0x00000001 , 0x00000002 
+ 00027318  0x00008b7d call  0x00006abd 
+ 00027319  0x00008b7e arg  0x00004316 , 0x00000005 
+ 00027320  0x00008b7f call  0x00006b1f 
+ 00027321  0x00008b80 arg  0x00000000 , 0x00000002 
+ 00027322  0x00008b81 call  0x00006abd 
+ 00027323  0x00008b82 arg  0x000009de , 0x00000005 
+ 00027324  0x00008b84 branch  0x00006e3c 
+ 00027325  0x00008b88 bpatchx  0x0000006c , 0x0000402d 
+ 00027326  0x00008b89 jam  0x00000035 , 0x000004a7 
+ 00027327  0x00008b8a setarg  0x00000100 
+ 00027328  0x00008b8b store  0x00000002 , 0x000004a8 
+ 00027329  0x00008b8c call  0x00006ace 
+ 00027330  0x00008b8d call  0x00006ad3 
+ 00027331  0x00008b8e arg  0x00004337 , 0x00000006 
+ 00027332  0x00008b8f call  0x00007d7f 
+ 00027333  0x00008b90 arg  0x00000277 , 0x00000006 
+ 00027334  0x00008b91 call  0x00007d7f 
+ 00027335  0x00008b93 setarg  0x00006c65 
+ 00027336  0x00008b94 istore  0x00000002 , 0x00000005 
+ 00027337  0x00008b95 setarg  0x00006274 
+ 00027338  0x00008b96 istore  0x00000002 , 0x00000005 
+ 00027339  0x00008b97 istoret  0x00000001 , 0x00000005 
+ 00027340  0x00008b98 call  0x00006b28 
+ 00027341  0x00008b99 branch  0x00006aee 
+ 00027342  0x00008b9c fetch  0x00000006 , 0x0000437a 
+ 00027343  0x00008b9d istore  0x00000006 , 0x00000005 
+ 00027344  0x00008b9e fetch  0x00000001 , 0x00004371 
+ 00027345  0x00008b9f istore  0x00000001 , 0x00000005 
+ 00027346  0x00008ba0 rtn 
+ 00027347  0x00008ba3 fetch  0x00000006 , 0x00000297 
+ 00027348  0x00008ba4 istore  0x00000006 , 0x00000005 
+ 00027349  0x00008ba9 fetch  0x00000001 , 0x0000436a 
+ 00027350  0x00008baa istore  0x00000001 , 0x00000005 
+ 00027351  0x00008bab rtn 
+ 00027352  0x00008bae jam  0x00000041 , 0x000004a7 
+ 00027353  0x00008baf fetch  0x00000001 , 0x00004771 
+ 00027354  0x00008bb0 store  0x00000001 , 0x000004a8 
+ 00027355  0x00008bb1 arg  0x000046df , 0x00000006 
+ 00027356  0x00008bb2 call  0x00007d7d 
+ 00027357  0x00008bb3 arg  0x00000880 , 0x00000006 
+ 00027358  0x00008bb4 call  0x00007d7d 
+ 00027359  0x00008bb5 call  0x00006b28 
+ 00027360  0x00008bb6 arg  0x00000277 , 0x00000006 
+ 00027361  0x00008bb7 call  0x00006b23 
+ 00027362  0x00008bb8 branch  0x00006aee 
+ 00027363  0x00008bbc jam  0x00000041 , 0x000004a7 
+ 00027364  0x00008bbd fetch  0x00000001 , 0x00004771 
+ 00027365  0x00008bbe store  0x00000001 , 0x000004a8 
+ 00027366  0x00008bbf arg  0x00000880 , 0x00000006 
+ 00027367  0x00008bc0 call  0x00007d7d 
+ 00027368  0x00008bc1 arg  0x000046df , 0x00000006 
+ 00027369  0x00008bc2 call  0x00007d7d 
+ 00027370  0x00008bc3 call  0x00006b28 
+ 00027371  0x00008bc4 arg  0x00004337 , 0x00000006 
+ 00027372  0x00008bc5 call  0x00006b23 
+ 00027373  0x00008bc6 branch  0x00006aee 
+ 00027374  0x00008bc9 bpatchx  0x0000006d , 0x0000402d 
+ 00027375  0x00008bca call  0x00006b3d 
+ 00027376  0x00008bce fetch  0x00000001 , 0x000004a7 
+ 00027377  0x00008bcf copy  0x0000003f , 0x00000002 
+ 00027378  0x00008bd1 increase  0x0000000f , 0x0000003f 
+ 00027379  0x00008bd2 rshift4  0x0000003f , 0x0000003f 
+ 00027380  0x00008bd3 copy  0x0000003f , 0x00000012 
+ 00027381  0x00008bd4 branch  0x00006b00 , 0x00000034 
+ 00027382  0x00008bd5 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00027383  0x00008bd6 nbranch  0x00006b03 , 0x00000034 
+ 00027384  0x00008bd8 arg  0x0000099e , 0x00000013 
+ 00027385  0x00008bd9 arg  0x000004a8 , 0x0000003f 
+ 00027386  0x00008bda increase  0xfffffff0 , 0x0000003f 
+ 00027387  0x00008bdd iadd  0x00000002 , 0x00000011 
+ 00027388  0x00008bde arg  0x000009ce , 0x00000005 
+ 00027389  0x00008bdf arg  0x00000004 , 0x00000039 
+ 00027390  0x00008be0 call  0x00007da4 
+ 00027391  0x00008be4 branch  0x00006b0e 
+ 00027392  0x00008be7 arg  0x00000001 , 0x00000012 
+ 00027393  0x00008be8 arg  0x00000000 , 0x00000011 
+ 00027394  0x00008bea branch  0x00006b04 
+ 00027395  0x00008bef and  0x00000002 , 0x0000000f , 0x00000011 
+ 00027396  0x00008bf1 arg  0x000004a8 , 0x0000003f 
+ 00027397  0x00008bf2 iadd  0x00000002 , 0x0000003f 
+ 00027398  0x00008bf3 isub  0x00000011 , 0x00000006 
+ 00027399  0x00008bf5 arg  0x000009be , 0x00000005 
+ 00027400  0x00008bf6 call  0x00006b63 
+ 00027401  0x00008bf8 arg  0x000009ae , 0x00000013 
+ 00027402  0x00008bf9 arg  0x000009be , 0x00000011 
+ 00027403  0x00008bfa arg  0x000009ce , 0x00000005 
+ 00027404  0x00008bfb arg  0x00000004 , 0x00000039 
+ 00027405  0x00008bfc call  0x00007da4 
+ 00027406  0x00008c08 call  0x00006e36 
+ 00027407  0x00008c09 call  0x00006dca 
+ 00027408  0x00008c0c arg  0x000004a8 , 0x00000006 
+ 00027409  0x00008c0f increase  0xffffffff , 0x00000012 
+ 00027410  0x00008c10 deposit  0x00000012 
+ 00027411  0x00008c11 branch  0x00006b17 , 0x00000034 
+ 00027412  0x00008c12 call  0x00006e28 
+ 00027413  0x00008c13 call  0x00006dc4 
+ 00027414  0x00008c14 branch  0x00006b11 
+ 00027415  0x00008c17 arg  0x000009be , 0x00000005 
+ 00027416  0x00008c18 call  0x00006e3c 
+ 00027417  0x00008c19 arg  0x000009ce , 0x00000006 
+ 00027418  0x00008c1a call  0x00006e28 
+ 00027419  0x00008c1b call  0x00006dca 
+ 00027420  0x00008c1c arg  0x000009be , 0x00000006 
+ 00027421  0x00008c1d call  0x00006e28 
+ 00027422  0x00008c1e branch  0x00006dc4 
+ 00027423  0x00008c24 copy  0x00000005 , 0x00000011 
+ 00027424  0x00008c25 call  0x00006e3c 
+ 00027425  0x00008c27 arg  0x00000010 , 0x00000039 
+ 00027426  0x00008c28 branch  0x00007dac 
+ 00027427  0x00008c2b arg  0x0000098e , 0x00000005 
+ 00027428  0x00008c2c call  0x00007d7f 
+ 00027429  0x00008c2e arg  0x00000010 , 0x00000039 
+ 00027430  0x00008c2f arg  0x0000098e , 0x00000011 
+ 00027431  0x00008c30 branch  0x00007dac 
+ 00027432  0x00008c33 fetch  0x00000001 , 0x000004a7 
+ 00027433  0x00008c34 copy  0x0000003f , 0x00000039 
+ 00027434  0x00008c35 arg  0x000004a8 , 0x00000011 
+ 00027435  0x00008c36 branch  0x00007dac 
+ 00027436  0x00008c39 ifetch  0x00000001 , 0x00000011 
+ 00027437  0x00008c3a lshift  0x0000003f , 0x0000003f 
+ 00027438  0x00008c3b isolate1  0x00000000 , 0x00000013 
+ 00027439  0x00008c3c setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00027440  0x00008c3d isolate1  0x00000008 , 0x0000003f 
+ 00027441  0x00008c3e setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00027442  0x00008c3f istore  0x00000001 , 0x00000011 
+ 00027443  0x00008c40 increase  0xffffffff , 0x00000011 
+ 00027444  0x00008c41 loop  0x00006b2c 
+ 00027445  0x00008c42 rtn 
+ 00027446  0x00008c45 arg  0x0000099e , 0x00000011 
+ 00027447  0x00008c47 increase  0x0000000f , 0x00000011 
+ 00027448  0x00008c48 force  0x00000010 , 0x00000039 
+ 00027449  0x00008c49 force  0x00000000 , 0x00000013 
+ 00027450  0x00008c4a branch  0x00006b2c 
+ 00027451  0x00008c4d arg  0x000009ae , 0x00000011 
+ 00027452  0x00008c4e branch  0x00006b37 
+ 00027453  0x00008c52 arg  0x0000098e , 0x00000006 
+ 00027454  0x00008c53 call  0x00006e26 
+ 00027455  0x00008c56 force  0x00000008 , 0x00000038 
+ 00027456  0x00008c57 call  0x00006e37 
+ 00027457  0x00008c58 call  0x00006e36 
+ 00027458  0x00008c59 call  0x00006dc1 
+ 00027459  0x00008c5e arg  0x0000099e , 0x00000005 
+ 00027460  0x00008c5f call  0x00006e3c 
+ 00027461  0x00008c61 bpatchx  0x0000006e , 0x0000402d 
+ 00027462  0x00008c62 fetch  0x00000001 , 0x0000099e 
+ 00027463  0x00008c63 isolate1  0x00000007 , 0x0000003f 
+ 00027464  0x00008c64 nbranch  0x00006b4e , 0x00000001 
+ 00027465  0x00008c65 call  0x00006b36 
+ 00027466  0x00008c68 arg  0x0000099e , 0x00000013 
+ 00027467  0x00008c6a arg  0x0000099e , 0x00000005 
+ 00027468  0x00008c6d call  0x00006b58 
+ 00027469  0x00008c6e branch  0x00006b4f 
+ 00027470  0x00008c70 call  0x00006b36 
+ 00027471  0x00008c73 arg  0x0000099e , 0x00000006 
+ 00027472  0x00008c74 arg  0x000009ae , 0x00000005 
+ 00027473  0x00008c75 call  0x00007d7f 
+ 00027474  0x00008c76 fetch  0x00000001 , 0x000009ae 
+ 00027475  0x00008c77 isolate1  0x00000007 , 0x0000003f 
+ 00027476  0x00008c78 nbranch  0x00006b3b , 0x00000001 
+ 00027477  0x00008c79 call  0x00006b3b 
+ 00027478  0x00008c7b arg  0x000009ae , 0x00000013 
+ 00027479  0x00008c7d arg  0x000009ae , 0x00000005 
+ 00027480  0x00008c84 arg  0x00000003 , 0x00000039 
+ 00027481  0x00008c86 arg  0x00000000 , 0x00000002 
+ 00027482  0x00008c87 call  0x00006b5f 
+ 00027483  0x00008c88 increase  0x00000004 , 0x00000013 
+ 00027484  0x00008c89 loop  0x00006b59 
+ 00027485  0x00008c8a arg  0x00008700 , 0x00000002 
+ 00027486  0x00008c8b lshift16  0x00000002 , 0x00000002 
+ 00027487  0x00008c8d ifetch  0x00000004 , 0x00000013 
+ 00027488  0x00008c8e ixor  0x00000002 , 0x0000003f 
+ 00027489  0x00008c8f istore  0x00000004 , 0x00000005 
+ 00027490  0x00008c90 rtn 
+ 00027491  0x00008c97 bpatchx  0x0000006f , 0x0000402d 
+ 00027492  0x00008c98 arg  0x00000010 , 0x00000039 
+ 00027493  0x00008c99 arg  0x00000000 , 0x0000003f 
+ 00027494  0x00008c9b isub  0x00000011 , 0x0000003e 
+ 00027495  0x00008c9c branch  0x00006b6e , 0x00000005 
+ 00027496  0x00008c9d branch  0x00006b71 , 0x00000002 
+ 00027497  0x00008c9e ifetcht  0x00000001 , 0x00000006 
+ 00027498  0x00008c9f istoret  0x00000001 , 0x00000005 
+ 00027499  0x00008ca1 increase  0x00000001 , 0x0000003f 
+ 00027500  0x00008ca2 loop  0x00006b66 
+ 00027501  0x00008ca3 rtn 
+ 00027502  0x00008ca5 arg  0x00000080 , 0x00000002 
+ 00027503  0x00008ca7 istoret  0x00000001 , 0x00000005 
+ 00027504  0x00008ca8 branch  0x00006b6b 
+ 00027505  0x00008cab arg  0x00000000 , 0x00000002 
+ 00027506  0x00008cac branch  0x00006b6f 
+ 00027507  0x00008cb0 call  0x00006b86 
+ 00027508  0x00008cb1 arg  0x00000454 , 0x00000006 
+ 00027509  0x00008cb2 arg  0x00000444 , 0x00000005 
+ 00027510  0x00008cb3 branch  0x00007d7f 
+ 00027511  0x00008cb7 disable  0x00000028 
+ 00027512  0x00008cb8 call  0x00006c7d 
+ 00027513  0x00008cb9 arg  0x00000424 , 0x00000006 
+ 00027514  0x00008cba arg  0x00000464 , 0x00000005 
+ 00027515  0x00008cbb force  0x0000000f , 0x00000039 
+ 00027516  0x00008cbc call  0x00007dd4 
+ 00027517  0x00008cbd ifetch  0x00000001 , 0x00000006 
+ 00027518  0x00008cbe xor_into  0x00000006 , 0x0000003f 
+ 00027519  0x00008cbf istore  0x00000001 , 0x00000005 
+ 00027520  0x00008cc0 setarg  0x00000474 
+ 00027521  0x00008cc1 store  0x00000002 , 0x00000498 
+ 00027522  0x00008cc2 setarg  0x00000464 
+ 00027523  0x00008cc3 store  0x00000002 , 0x00000496 
+ 00027524  0x00008cc4 set1  0x00000012 , 0x00000000 
+ 00027525  0x00008cc5 branch  0x00006bc6 
+ 00027526  0x00008cca fetcht  0x00000001 , 0x00004796 
+ 00027527  0x00008ccb force  0x00000010 , 0x00000012 
+ 00027528  0x00008ccc add  0x00000002 , 0x00000006 , 0x00000013 
+ 00027529  0x00008ccd sub  0x00000013 , 0x00000010 , 0x0000003e 
+ 00027530  0x00008cce branch  0x00006b8c , 0x00000002 
+ 00027531  0x00008ccf force  0x00000010 , 0x00000013 
+ 00027532  0x00008cd1 arg  0x00000464 , 0x00000005 
+ 00027533  0x00008cd3 arg  0x00004797 , 0x00000006 
+ 00027534  0x00008cd4 copy  0x00000002 , 0x00000039 
+ 00027535  0x00008cd5 disable  0x00000028 
+ 00027536  0x00008cd7 ifetch  0x00000001 , 0x00000006 
+ 00027537  0x00008cd8 istore  0x00000001 , 0x00000005 
+ 00027538  0x00008cd9 increase  0xffffffff , 0x00000012 
+ 00027539  0x00008cda branch  0x00006b9a , 0x00000005 
+ 00027540  0x00008cdb loop  0x00006b90 
+ 00027541  0x00008cdc branch  0x00006b8d , 0x00000028 
+ 00027542  0x00008cdd enable  0x00000028 
+ 00027543  0x00008cde force  0x00000006 , 0x00000039 
+ 00027544  0x00008cdf copy  0x00000011 , 0x00000006 
+ 00027545  0x00008ce0 branch  0x00006b90 
+ 00027546  0x00008ce2 arg  0x00000424 , 0x00000006 
+ 00027547  0x00008ce3 arg  0x00000474 , 0x00000005 
+ 00027548  0x00008ce4 call  0x00007d7f 
+ 00027549  0x00008ce5 fetch  0x00000001 , 0x00000483 
+ 00027550  0x00008ce6 ixor  0x00000013 , 0x0000003f 
+ 00027551  0x00008ce7 store  0x00000001 , 0x00000483 
+ 00027552  0x00008ce8 setarg  0x00000474 
+ 00027553  0x00008ce9 store  0x00000002 , 0x00000498 
+ 00027554  0x00008cea setarg  0x00000464 
+ 00027555  0x00008ceb store  0x00000002 , 0x00000496 
+ 00027556  0x00008cec set1  0x00000012 , 0x00000000 
+ 00027557  0x00008ced branch  0x00006bc6 
+ 00027558  0x00008cf3 disable  0x00000028 
+ 00027559  0x00008cf4 call  0x00006c7d 
+ 00027560  0x00008cf5 branch  0x00006bb0 
+ 00027561  0x00008cf8 arg  0x00000056 , 0x00000011 
+ 00027562  0x00008cf9 enable  0x00000028 
+ 00027563  0x00008cfa call  0x00006c7d 
+ 00027564  0x00008cfb call  0x00006bb0 
+ 00027565  0x00008cfc arg  0x00000454 , 0x00000006 
+ 00027566  0x00008cfd arg  0x00000062 , 0x00000005 
+ 00027567  0x00008cfe branch  0x00007d7f 
+ 00027568  0x00008d02 setarg  0x00000424 
+ 00027569  0x00008d03 store  0x00000002 , 0x00000498 
+ 00027570  0x00008d04 setarg  0x000041cb 
+ 00027571  0x00008d05 store  0x00000002 , 0x00000496 
+ 00027572  0x00008d06 set0  0x00000012 , 0x00000000 
+ 00027573  0x00008d07 call  0x00006bc6 
+ 00027574  0x00008d08 arg  0x00000454 , 0x00000011 
+ 00027575  0x00008d09 arg  0x00000424 , 0x00000012 
+ 00027576  0x00008d0a arg  0x00000464 , 0x00000005 
+ 00027577  0x00008d0b call  0x00006c70 
+ 00027578  0x00008d0c arg  0x00000464 , 0x00000011 
+ 00027579  0x00008d0d arg  0x00000474 , 0x00000012 
+ 00027580  0x00008d0e copy  0x00000012 , 0x00000005 
+ 00027581  0x00008d0f enable  0x00000028 
+ 00027582  0x00008d10 call  0x00006c6e 
+ 00027583  0x00008d11 call  0x00006c88 
+ 00027584  0x00008d12 setarg  0x00000474 
+ 00027585  0x00008d13 store  0x00000002 , 0x00000498 
+ 00027586  0x00008d14 setarg  0x00000464 
+ 00027587  0x00008d15 store  0x00000002 , 0x00000496 
+ 00027588  0x00008d16 set1  0x00000012 , 0x00000000 
+ 00027589  0x00008d17 branch  0x00006bc6 
+ 00027590  0x00008d1c jam  0x00000000 , 0x0000049a 
+ 00027591  0x00008d1d fetch  0x00000002 , 0x00000496 
+ 00027592  0x00008d1e iforce  0x00000006 
+ 00027593  0x00008d1f arg  0x00000484 , 0x00000005 
+ 00027594  0x00008d20 call  0x00007d7f 
+ 00027595  0x00008d21 fetch  0x00000002 , 0x00000498 
+ 00027596  0x00008d22 iforce  0x00000006 
+ 00027597  0x00008d23 arg  0x00000454 , 0x00000005 
+ 00027598  0x00008d24 call  0x00007d7f 
+ 00027599  0x00008d27 call  0x00006bed 
+ 00027600  0x00008d28 disable  0x00000028 
+ 00027601  0x00008d29 bmark0  0x00000012 , 0x00006bd7 
+ 00027602  0x00008d2a fetch  0x00000001 , 0x0000049a 
+ 00027603  0x00008d2b bne  0x00000004 , 0x00006bd7 
+ 00027604  0x00008d2c fetch  0x00000002 , 0x00000498 
+ 00027605  0x00008d2d iforce  0x00000012 
+ 00027606  0x00008d2e call  0x00006c1f 
+ 00027607  0x00008d30 call  0x00006c1e 
+ 00027608  0x00008d31 call  0x00006c31 
+ 00027609  0x00008d32 fetch  0x00000001 , 0x0000049a 
+ 00027610  0x00008d33 increase  0x00000001 , 0x0000003f 
+ 00027611  0x00008d34 store  0x00000001 , 0x0000049a 
+ 00027612  0x00008d36 call  0x00006bed 
+ 00027613  0x00008d37 enable  0x00000028 
+ 00027614  0x00008d38 call  0x00006c1e 
+ 00027615  0x00008d39 call  0x00006c40 
+ 00027616  0x00008d3a call  0x00006c4f 
+ 00027617  0x00008d3b call  0x00006c40 
+ 00027618  0x00008d3c call  0x00006c4f 
+ 00027619  0x00008d3d call  0x00006c40 
+ 00027620  0x00008d3e call  0x00006c4f 
+ 00027621  0x00008d3f call  0x00006c40 
+ 00027622  0x00008d40 fetch  0x00000001 , 0x0000049a 
+ 00027623  0x00008d41 increase  0x00000001 , 0x0000003f 
+ 00027624  0x00008d42 store  0x00000001 , 0x0000049a 
+ 00027625  0x00008d43 bne  0x00000010 , 0x00006bcf 
+ 00027626  0x00008d44 call  0x00006bed 
+ 00027627  0x00008d45 disable  0x00000028 
+ 00027628  0x00008d46 branch  0x00006c1e 
+ 00027629  0x00008d4b fetch  0x00000001 , 0x0000049a 
+ 00027630  0x00008d4c arg  0x00000484 , 0x00000006 
+ 00027631  0x00008d4d branch  0x00006c14 , 0x00000034 
+ 00027632  0x00008d4e iforce  0x00000012 
+ 00027633  0x00008d4f force  0x00000011 , 0x00000039 
+ 00027634  0x00008d50 copy  0x00000006 , 0x00000005 
+ 00027635  0x00008d52 ifetch  0x00000001 , 0x00000006 
+ 00027636  0x00008d53 lshift3  0x0000003f , 0x00000002 
+ 00027637  0x00008d54 rshift2  0x0000003f , 0x0000003f 
+ 00027638  0x00008d55 rshift3  0x0000003f , 0x0000003f 
+ 00027639  0x00008d56 ior  0x00000002 , 0x0000003f 
+ 00027640  0x00008d57 istore  0x00000001 , 0x00000005 
+ 00027641  0x00008d58 loop  0x00006bf3 
+ 00027642  0x00008d59 setarg  0x00000484 
+ 00027643  0x00008d5a iadd  0x00000012 , 0x00000006 
+ 00027644  0x00008d5b force  0x00000010 , 0x00000039 
+ 00027645  0x00008d5c arg  0x00000434 , 0x00000005 
+ 00027646  0x00008d5e ifetch  0x00000001 , 0x00000006 
+ 00027647  0x00008d5f istore  0x00000001 , 0x00000005 
+ 00027648  0x00008d60 compare  0x00000495 , 0x00000006 , 0x000000ff 
+ 00027649  0x00008d61 nbranch  0x00006c03 , 0x00000001 
+ 00027650  0x00008d62 increase  0xffffffef , 0x00000006 
+ 00027651  0x00008d64 loop  0x00006bfe 
+ 00027652  0x00008d65 force  0x00000000 , 0x00000011 
+ 00027653  0x00008d66 add  0x00000012 , 0xffffffff , 0x00000013 
+ 00027654  0x00008d67 lshift2  0x00000013 , 0x00000013 
+ 00027655  0x00008d68 lshift2  0x00000013 , 0x00000013 
+ 00027656  0x00008d69 call  0x00006e5e 
+ 00027657  0x00008d6a setarg  0x00009000 
+ 00027658  0x00008d6b iadd  0x00000013 , 0x00000013 
+ 00027659  0x00008d6c arg  0x00000434 , 0x00000005 
+ 00027660  0x00008d6d force  0x00000010 , 0x00000039 
+ 00027661  0x00008d6f ifetcht  0x00000001 , 0x00000013 
+ 00027662  0x00008d70 ifetch  0x00000001 , 0x00000005 
+ 00027663  0x00008d71 iadd  0x00000002 , 0x0000003f 
+ 00027664  0x00008d72 istore  0x00000001 , 0x00000005 
+ 00027665  0x00008d73 increase  0x00000001 , 0x00000013 
+ 00027666  0x00008d74 loop  0x00006c0d 
+ 00027667  0x00008d75 branch  0x00006e62 
+ 00027668  0x00008d78 force  0x00000010 , 0x00000039 
+ 00027669  0x00008d79 force  0x00000000 , 0x00000002 
+ 00027670  0x00008d7b ifetch  0x00000001 , 0x00000006 
+ 00027671  0x00008d7c ixor  0x00000002 , 0x00000002 
+ 00027672  0x00008d7d loop  0x00006c16 
+ 00027673  0x00008d7e deposit  0x00000002 
+ 00027674  0x00008d7f istore  0x00000001 , 0x00000006 
+ 00027675  0x00008d80 arg  0x00000484 , 0x00000006 
+ 00027676  0x00008d81 arg  0x00000434 , 0x00000005 
+ 00027677  0x00008d82 branch  0x00007d7f 
+ 00027678  0x00008d85 arg  0x00000434 , 0x00000012 
+ 00027679  0x00008d87 force  0x00000010 , 0x00000039 
+ 00027680  0x00008d88 arg  0x00000454 , 0x00000011 
+ 00027681  0x00008d89 copy  0x00000011 , 0x00000005 
+ 00027682  0x00008d8b ifetcht  0x00000001 , 0x00000011 
+ 00027683  0x00008d8c ifetch  0x00000001 , 0x00000012 
+ 00027684  0x00008d8d ixor  0x00000002 , 0x00000030 
+ 00027685  0x00008d8e and  0x00000039 , 0x00000003 , 0x00000013 
+ 00027686  0x00008d8f nbranch  0x00006c28 , 0x00000028 
+ 00027687  0x00008d90 xor_into  0x00000003 , 0x00000013 
+ 00027688  0x00008d92 sub  0x00000013 , 0x00000001 , 0x00000013 
+ 00027689  0x00008d93 branch  0x00006c2b , 0x00000002 
+ 00027690  0x00008d94 iadd  0x00000002 , 0x00000030 
+ 00027691  0x00008d96 deposit  0x00000030 
+ 00027692  0x00008d97 istore  0x00000001 , 0x00000005 
+ 00027693  0x00008d98 increase  0x00000001 , 0x00000011 
+ 00027694  0x00008d99 increase  0x00000001 , 0x00000012 
+ 00027695  0x00008d9a loop  0x00006c22 
+ 00027696  0x00008d9b rtn 
+ 00027697  0x00008d9e call  0x00006e5e 
+ 00027698  0x00008d9f force  0x00000010 , 0x00000039 
+ 00027699  0x00008da0 arg  0x00000454 , 0x00000011 
+ 00027700  0x00008da2 ifetch  0x00000001 , 0x00000011 
+ 00027701  0x00008da3 arg  0x00009100 , 0x00000006 
+ 00027702  0x00008da4 and  0x00000039 , 0x00000003 , 0x00000013 
+ 00027703  0x00008da5 sub  0x00000013 , 0x00000001 , 0x0000003e 
+ 00027704  0x00008da6 branch  0x00006c3a , 0x00000002 
+ 00027705  0x00008da7 arg  0x00009200 , 0x00000006 
+ 00027706  0x00008da9 iadd  0x00000006 , 0x00000006 
+ 00027707  0x00008daa ifetch  0x00000001 , 0x00000006 
+ 00027708  0x00008dab istore  0x00000001 , 0x00000011 
+ 00027709  0x00008dac increase  0x00000001 , 0x00000011 
+ 00027710  0x00008dad loop  0x00006c34 
+ 00027711  0x00008dae branch  0x00006e62 
+ 00027712  0x00008db1 force  0x00000008 , 0x00000039 
+ 00027713  0x00008db2 arg  0x00000454 , 0x00000006 
+ 00027714  0x00008db3 copy  0x00000006 , 0x00000005 
+ 00027715  0x00008db5 ifetch  0x00000001 , 0x00000006 
+ 00027716  0x00008db6 iforce  0x00000011 
+ 00027717  0x00008db7 ifetch  0x00000001 , 0x00000006 
+ 00027718  0x00008db8 iforce  0x00000012 
+ 00027719  0x00008db9 lshift  0x00000011 , 0x0000003f 
+ 00027720  0x00008dba iadd  0x00000012 , 0x0000003f 
+ 00027721  0x00008dbb istore  0x00000001 , 0x00000005 
+ 00027722  0x00008dbc deposit  0x00000011 
+ 00027723  0x00008dbd iadd  0x00000012 , 0x0000003f 
+ 00027724  0x00008dbe istore  0x00000001 , 0x00000005 
+ 00027725  0x00008dbf loop  0x00006c43 
+ 00027726  0x00008dc0 rtn 
+ 00027727  0x00008dc4 setarg  0x008ae42c 
+ 00027728  0x00008dc5 iforce  0x00000002 
+ 00027729  0x00008dc6 force  0x00000007 , 0x00000039 
+ 00027730  0x00008dc7 call  0x00006c5e 
+ 00027731  0x00008dc8 setarg  0x000d751b 
+ 00027732  0x00008dc9 iforce  0x00000002 
+ 00027733  0x00008dca force  0x00000005 , 0x00000039 
+ 00027734  0x00008dcb call  0x00006c5e 
+ 00027735  0x00008dcc fetch  0x00000001 , 0x00000463 
+ 00027736  0x00008dcd iforce  0x00000011 
+ 00027737  0x00008dce fetch  0x00000001 , 0x00000457 
+ 00027738  0x00008dcf store  0x00000001 , 0x00000463 
+ 00027739  0x00008dd0 deposit  0x00000011 
+ 00027740  0x00008dd1 store  0x00000001 , 0x00000457 
+ 00027741  0x00008dd2 rtn 
+ 00027742  0x00008dd5 and  0x00000002 , 0x0000000f , 0x00000012 
+ 00027743  0x00008dd7 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00027744  0x00008dd8 arg  0x00000454 , 0x00000005 
+ 00027745  0x00008dd9 iadd  0x00000005 , 0x00000005 
+ 00027746  0x00008dda ifetch  0x00000001 , 0x00000005 
+ 00027747  0x00008ddb iforce  0x00000013 
+ 00027748  0x00008ddc deposit  0x00000011 
+ 00027749  0x00008ddd istore  0x00000001 , 0x00000005 
+ 00027750  0x00008dde copy  0x00000013 , 0x00000011 
+ 00027751  0x00008ddf rshift4  0x00000002 , 0x00000002 
+ 00027752  0x00008de0 loop  0x00006c5f 
+ 00027753  0x00008de1 setarg  0x00000454 
+ 00027754  0x00008de2 iadd  0x00000012 , 0x00000005 
+ 00027755  0x00008de3 deposit  0x00000011 
+ 00027756  0x00008de4 istore  0x00000001 , 0x00000005 
+ 00027757  0x00008de5 rtn 
+ 00027758  0x00008de8 enable  0x00000028 
+ 00027759  0x00008de9 branch  0x00006c71 
+ 00027760  0x00008dec disable  0x00000028 
+ 00027761  0x00008dee force  0x00000010 , 0x00000039 
+ 00027762  0x00008df0 ifetcht  0x00000001 , 0x00000011 
+ 00027763  0x00008df1 ifetch  0x00000001 , 0x00000012 
+ 00027764  0x00008df2 branch  0x00006c77 , 0x00000028 
+ 00027765  0x00008df3 ixor  0x00000002 , 0x0000003f 
+ 00027766  0x00008df4 branch  0x00006c78 
+ 00027767  0x00008df6 iadd  0x00000002 , 0x0000003f 
+ 00027768  0x00008df8 istore  0x00000001 , 0x00000005 
+ 00027769  0x00008df9 increase  0x00000001 , 0x00000011 
+ 00027770  0x00008dfa increase  0x00000001 , 0x00000012 
+ 00027771  0x00008dfb loop  0x00006c72 
+ 00027772  0x00008dfc rtn 
+ 00027773  0x00008e00 arg  0x00000474 , 0x00000005 
+ 00027774  0x00008e01 ifetch  0x00000006 , 0x00000011 
+ 00027775  0x00008e02 istore  0x00000006 , 0x00000005 
+ 00027776  0x00008e03 branch  0x00006c83 , 0x00000028 
+ 00027777  0x00008e04 ifetch  0x00000006 , 0x00000011 
+ 00027778  0x00008e05 branch  0x00006c84 
+ 00027779  0x00008e07 ifetch  0x00000006 , 0x00000006 
+ 00027780  0x00008e09 istore  0x00000006 , 0x00000005 
+ 00027781  0x00008e0a ifetch  0x00000004 , 0x00000011 
+ 00027782  0x00008e0b istore  0x00000004 , 0x00000005 
+ 00027783  0x00008e0c rtn 
+ 00027784  0x00008e0f arg  0x000041cb , 0x00000006 
+ 00027785  0x00008e10 arg  0x00000464 , 0x00000005 
+ 00027786  0x00008e11 arg  0x00000000 , 0x00000002 
+ 00027787  0x00008e12 setarg  0x008395a7 
+ 00027788  0x00008e13 call  0x00006ca9 
+ 00027789  0x00008e14 setarg  0x00b3c1df 
+ 00027790  0x00008e15 call  0x00006ca9 
+ 00027791  0x00008e16 setarg  0x0000e5e9 
+ 00027792  0x00008e17 call  0x00006caa 
+ 00027793  0x00008e18 copy  0x00000002 , 0x00000014 
+ 00027794  0x00008e19 disable  0x00000028 
+ 00027795  0x00008e1a call  0x00006c97 
+ 00027796  0x00008e1b copy  0x00000014 , 0x00000002 
+ 00027797  0x00008e1c enable  0x00000028 
+ 00027798  0x00008e1d branch  0x00006c97 
+ 00027799  0x00008e20 force  0x00000008 , 0x00000039 
+ 00027800  0x00008e22 ifetch  0x00000001 , 0x00000006 
+ 00027801  0x00008e23 compare  0x00000001 , 0x00000039 , 0x00000001 
+ 00027802  0x00008e24 branch  0x00006c9e , 0x00000028 
+ 00027803  0x00008e25 branch  0x00006c9f , 0x00000001 
+ 00027804  0x00008e27 iadd  0x00000002 , 0x0000003f 
+ 00027805  0x00008e28 branch  0x00006ca0 
+ 00027806  0x00008e2a branch  0x00006c9c , 0x00000001 
+ 00027807  0x00008e2c ixor  0x00000002 , 0x0000003f 
+ 00027808  0x00008e2e istore  0x00000001 , 0x00000005 
+ 00027809  0x00008e2f rshift8  0x00000002 , 0x00000002 
+ 00027810  0x00008e30 loop  0x00006c98 
+ 00027811  0x00008e31 rtn 
+ 00027812  0x00008e34 fetch  0x00000006 , 0x00000458 
+ 00027813  0x00008e35 store  0x00000006 , 0x00000056 
+ 00027814  0x00008e36 ifetch  0x00000006 , 0x00000006 
+ 00027815  0x00008e37 istore  0x00000006 , 0x00000005 
+ 00027816  0x00008e38 rtn 
+ 00027817  0x00008e3b lshift8  0x00000002 , 0x00000002 
+ 00027818  0x00008e3d lshift16  0x00000002 , 0x00000002 
+ 00027819  0x00008e3e ior  0x00000002 , 0x00000002 
+ 00027820  0x00008e3f rtn 
+ 00027821  0x00008e44 branch  0x00006cad 
+ 00027822  0x00008e49 bpatchx  0x00000070 , 0x0000402e 
+ 00027823  0x00008e4a call  0x00006dcd 
+ 00027824  0x00008e4b arg  0x00004316 , 0x00000005 
+ 00027825  0x00008e4c branch  0x00006e3c 
+ 00027826  0x00008e50 arg  0x00004337 , 0x00000005 
+ 00027827  0x00008e51 branch  0x00006cb5 , 0x00000029 
+ 00027828  0x00008e52 arg  0x00000277 , 0x00000005 
+ 00027829  0x00008e54 copy  0x00000006 , 0x00000011 
+ 00027830  0x00008e55 call  0x00007d7f 
+ 00027831  0x00008e56 call  0x00006de2 
+ 00027832  0x00008e57 arg  0x00004327 , 0x00000006 
+ 00027833  0x00008e58 branch  0x00006e55 
+ 00027834  0x00008e5b arg  0x00000277 , 0x00000011 
+ 00027835  0x00008e5c branch  0x00006cbd , 0x00000029 
+ 00027836  0x00008e5d arg  0x00004337 , 0x00000011 
+ 00027837  0x00008e5f copy  0x00000011 , 0x00000005 
+ 00027838  0x00008e60 call  0x00005a8f 
+ 00027839  0x00008e61 branch  0x00006de2 
+ 00027840  0x00008e64 arg  0x00004384 , 0x00000006 
+ 00027841  0x00008e65 call  0x00006e28 
+ 00027842  0x00008e66 arg  0x00004316 , 0x00000006 
+ 00027843  0x00008e67 call  0x00006e29 
+ 00027844  0x00008e68 force  0x00000038 , 0x00000036 
+ 00027845  0x00008e69 force  0x00000000 , 0x00000036 
+ 00027846  0x00008e6a call  0x00006dbf 
+ 00027847  0x00008e6b arg  0x000002c7 , 0x00000005 
+ 00027848  0x00008e6c branch  0x00006e3c 
+ 00027849  0x00008e71 force  0x00000008 , 0x00000038 
+ 00027850  0x00008e72 force  0x00000049 , 0x0000003f 
+ 00027851  0x00008e73 branch  0x00006cd0 
+ 00027852  0x00008e77 force  0x00000049 , 0x0000003f 
+ 00027853  0x00008e78 branch  0x00006ccf 
+ 00027854  0x00008e7a force  0x00000001 , 0x0000003f 
+ 00027855  0x00008e7c force  0x00000000 , 0x00000038 
+ 00027856  0x00008e7e lshift8  0x00000002 , 0x0000002f 
+ 00027857  0x00008e7f ior  0x0000002f , 0x0000002f 
+ 00027858  0x00008e80 increase  0x00000001 , 0x00000038 
+ 00027859  0x00008e81 rshift8  0x00000002 , 0x0000002f 
+ 00027860  0x00008e82 rshift16  0x0000002f , 0x0000002f 
+ 00027861  0x00008e83 fetch  0x00000002 , 0x000046ad 
+ 00027862  0x00008e84 lshift16  0x0000003f , 0x0000003f 
+ 00027863  0x00008e85 ior  0x0000002f , 0x0000002f 
+ 00027864  0x00008e86 increase  0x00000001 , 0x00000038 
+ 00027865  0x00008e87 ifetchr  0x0000002f , 0x00000004 , 0x00000006 
+ 00027866  0x00008e88 increase  0x00000001 , 0x00000038 
+ 00027867  0x00008e89 ifetch  0x00000002 , 0x00000006 
+ 00027868  0x00008e8a byteswap  0x00000011 , 0x0000002f 
+ 00027869  0x00008e8b lshift16  0x0000002f , 0x0000002f 
+ 00027870  0x00008e8c ior  0x0000002f , 0x0000002f 
+ 00027871  0x00008e8d increase  0x00000001 , 0x00000038 
+ 00027872  0x00008e8e rtn 
+ 00027873  0x00008e93 add  0x00000013 , 0x00000001 , 0x00000006 
+ 00027874  0x00008e94 ifetch  0x00000001 , 0x00000006 
+ 00027875  0x00008e95 iforce  0x00000011 
+ 00027876  0x00008e96 call  0x00006ccc 
+ 00027877  0x00008e97 call  0x00006dc1 
+ 00027878  0x00008e99 force  0x00000000 , 0x00000038 
+ 00027879  0x00008e9a ifetch  0x00000001 , 0x00000013 
+ 00027880  0x00008e9b and_into  0x00000003 , 0x0000003f 
+ 00027881  0x00008e9c lshift16  0x0000003f , 0x0000002f 
+ 00027882  0x00008e9d set1  0x00000008 , 0x0000002f 
+ 00027883  0x00008e9e call  0x00006e31 
+ 00027884  0x00008e9f call  0x00006dc4 
+ 00027885  0x00008ea1 copy  0x00000011 , 0x00000039 
+ 00027886  0x00008ea2 add  0x00000013 , 0x00000002 , 0x00000006 
+ 00027887  0x00008ea3 call  0x00006e10 
+ 00027888  0x00008ea5 call  0x00006e1a 
+ 00027889  0x00008ea6 call  0x00006dc4 
+ 00027890  0x00008ea7 deposit  0x00000039 
+ 00027891  0x00008ea8 branch  0x00006cf5 , 0x00000034 
+ 00027892  0x00008ea9 branch  0x00006cf0 
+ 00027893  0x00008eab force  0x0000000c , 0x00000038 
+ 00027894  0x00008eac deposit  0x0000002f 
+ 00027895  0x00008ead store  0x00000004 , 0x0000026f 
+ 00027896  0x00008eae rtn 
+ 00027897  0x00008eb1 increase  0x00000001 , 0x00000011 
+ 00027898  0x00008eb2 call  0x00006cce 
+ 00027899  0x00008eb3 copy  0x00000013 , 0x00000006 
+ 00027900  0x00008eb4 call  0x00006e24 
+ 00027901  0x00008eb5 call  0x00006dc7 
+ 00027902  0x00008eb6 call  0x00006e43 
+ 00027903  0x00008eb7 increase  0x00000010 , 0x00000013 
+ 00027904  0x00008eb8 increase  0xfffffff0 , 0x00000012 
+ 00027905  0x00008eb9 branch  0x00006cf9 , 0x00000002 
+ 00027906  0x00008eba rtn 
+ 00027907  0x00008ec1 call  0x00006db4 
+ 00027908  0x00008ec2 bpatchx  0x00000071 , 0x0000402e 
+ 00027909  0x00008ec3 arg  0x00000062 , 0x00000006 
+ 00027910  0x00008ec4 call  0x00006e26 
+ 00027911  0x00008ec6 jam  0x00000000 , 0x000080d5 
+ 00027912  0x00008ec7 and  0x00000001 , 0x0000000f , 0x0000003f 
+ 00027913  0x00008ec8 lshift3  0x0000003f , 0x0000003f 
+ 00027914  0x00008ec9 ior  0x00000004 , 0x0000003f 
+ 00027915  0x00008eca store  0x00000001 , 0x000080d6 
+ 00027916  0x00008ecb fetch  0x00000001 , 0x000041e4 
+ 00027917  0x00008ecc store  0x00000001 , 0x000080d7 
+ 00027918  0x00008ece storer  0x00000013 , 0x00000002 , 0x000080d1 
+ 00027919  0x00008ecf storer  0x00000013 , 0x00000002 , 0x000080d3 
+ 00027920  0x00008ed1 fetchr  0x00000011 , 0x00000002 , 0x000046b5 
+ 00027921  0x00008ed2 fetcht  0x00000005 , 0x0000469f 
+ 00027922  0x00008ed3 call  0x00006d25 
+ 00027923  0x00008ed4 call  0x00006cc9 
+ 00027924  0x00008ed5 jam  0x00000002 , 0x0000800a 
+ 00027925  0x00008ed6 jam  0x00000003 , 0x0000800a 
+ 00027926  0x00008ed8 fetch  0x00000002 , 0x000046b5 
+ 00027927  0x00008ed9 store  0x00000002 , 0x000080da 
+ 00027928  0x00008eda increase  0x00000004 , 0x0000003f 
+ 00027929  0x00008edb store  0x00000002 , 0x000046b5 
+ 00027930  0x00008edc copy  0x00000013 , 0x0000003f 
+ 00027931  0x00008edd iadd  0x00000011 , 0x00000011 
+ 00027932  0x00008ede call  0x00006dbb 
+ 00027933  0x00008edf arg  0x0000000c , 0x00000038 
+ 00027934  0x00008ee0 istorer  0x0000002f , 0x00000004 , 0x00000011 
+ 00027935  0x00008ee1 storer  0x0000002f , 0x00000004 , 0x0000026f 
+ 00027936  0x00008ee2 rtn 
+ 00027937  0x00008ee5 fetch  0x00000005 , 0x0000469f 
+ 00027938  0x00008ee6 increase  0x00000001 , 0x0000003f 
+ 00027939  0x00008ee7 store  0x00000005 , 0x0000469f 
+ 00027940  0x00008ee8 branch  0x00006d2b 
+ 00027941  0x00008eec fetch  0x00000001 , 0x000041e4 
+ 00027942  0x00008eed rtnne  0x00000001 
+ 00027943  0x00008eee fetch  0x00000002 , 0x000046b5 
+ 00027944  0x00008eef nrtn  0x00000034 
+ 00027945  0x00008ef0 set1  0x00000024 , 0x00000002 
+ 00027946  0x00008ef1 rtn 
+ 00027947  0x00008ef5 fetch  0x00000001 , 0x000046a3 
+ 00027948  0x00008ef6 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00027949  0x00008ef7 or  0x0000003f , 0x00000020 , 0x0000003f 
+ 00027950  0x00008ef8 store  0x00000001 , 0x000046a3 
+ 00027951  0x00008ef9 rtn 
+ 00027952  0x00008efc fetch  0x00000001 , 0x000046a8 
+ 00027953  0x00008efd and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00027954  0x00008efe store  0x00000001 , 0x000046a8 
+ 00027955  0x00008eff rtn 
+ 00027956  0x00008f02 copy  0x00000005 , 0x0000003f 
+ 00027957  0x00008f03 fetcht  0x00000002 , 0x000000ae 
+ 00027958  0x00008f04 increase  0x00000004 , 0x00000002 
+ 00027959  0x00008f05 isub  0x00000002 , 0x0000003f 
+ 00027960  0x00008f06 store  0x00000002 , 0x000046b7 
+ 00027961  0x00008f07 store  0x00000002 , 0x000080d1 
+ 00027962  0x00008f08 store  0x00000002 , 0x000080d3 
+ 00027963  0x00008f0a call  0x00007ecb 
+ 00027964  0x00008f0b call  0x00006db4 
+ 00027965  0x00008f0c arg  0x00000062 , 0x00000006 
+ 00027966  0x00008f0d call  0x00006e26 
+ 00027967  0x00008f0f jam  0x00000000 , 0x000080d5 
+ 00027968  0x00008f10 fetch  0x00000001 , 0x00000019 
+ 00027969  0x00008f11 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00027970  0x00008f12 lshift3  0x0000003f , 0x0000003f 
+ 00027971  0x00008f13 ior  0x00000004 , 0x0000003f 
+ 00027972  0x00008f14 store  0x00000001 , 0x000080d6 
+ 00027973  0x00008f15 fetch  0x00000001 , 0x000000e4 
+ 00027974  0x00008f16 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00027975  0x00008f17 store  0x00000001 , 0x000041e4 
+ 00027976  0x00008f18 store  0x00000001 , 0x000080d7 
+ 00027977  0x00008f1a fetchr  0x00000011 , 0x00000002 , 0x000000ae 
+ 00027978  0x00008f1b storer  0x00000011 , 0x00000002 , 0x000046b5 
+ 00027979  0x00008f1c fetch  0x00000002 , 0x000046b7 
+ 00027980  0x00008f1d iadd  0x00000011 , 0x00000006 
+ 00027981  0x00008f1e force  0x00000000 , 0x00000038 
+ 00027982  0x00008f1f ifetchr  0x0000002f , 0x00000004 , 0x00000006 
+ 00027983  0x00008f20 storer  0x0000002f , 0x00000004 , 0x00000273 
+ 00027984  0x00008f21 fetcht  0x00000005 , 0x000046a4 
+ 00027985  0x00008f22 call  0x00006d25 
+ 00027986  0x00008f23 call  0x00006cc9 
+ 00027987  0x00008f24 jam  0x00000006 , 0x0000800a 
+ 00027988  0x00008f25 jam  0x00000007 , 0x0000800a 
+ 00027989  0x00008f27 fetch  0x00000002 , 0x000000ae 
+ 00027990  0x00008f28 store  0x00000002 , 0x000080da 
+ 00027991  0x00008f29 call  0x00006dbb 
+ 00027992  0x00008f2a fetch  0x00000001 , 0x00008108 
+ 00027993  0x00008f2b rtnbit0  0x00000007 
+ 00027994  0x00008f2c branch  0x00007ec9 
+ 00027995  0x00008f30 rtnmark1  0x0000000f 
+ 00027996  0x00008f31 fetcht  0x00000004 , 0x00000273 
+ 00027997  0x00008f35 storet  0x00000004 , 0x000046a9 
+ 00027998  0x00008f36 fetch  0x00000005 , 0x000046a4 
+ 00027999  0x00008f37 increase  0x00000001 , 0x0000003f 
+ 00028000  0x00008f38 store  0x00000005 , 0x000046a4 
+ 00028001  0x00008f39 branch  0x00006d30 
+ 00028002  0x00008f3e call  0x00006db4 
+ 00028003  0x00008f3f jam  0x00000000 , 0x000080d5 
+ 00028004  0x00008f40 jam  0x00000001 , 0x000080d6 
+ 00028005  0x00008f41 fetch  0x00000001 , 0x0000016b 
+ 00028006  0x00008f42 and_into  0x00000003 , 0x0000003f 
+ 00028007  0x00008f43 store  0x00000001 , 0x000080d7 
+ 00028008  0x00008f45 setarg  0x0000016d 
+ 00028009  0x00008f46 store  0x00000002 , 0x000080d1 
+ 00028010  0x00008f47 store  0x00000002 , 0x000080d3 
+ 00028011  0x00008f49 fetchr  0x00000011 , 0x00000001 , 0x0000016c 
+ 00028012  0x00008f4a increase  0xfffffffc , 0x00000011 
+ 00028013  0x00008f4b nbranch  0x00007ecf , 0x00000002 
+ 00028014  0x00008f4c storer  0x00000011 , 0x00000001 , 0x0000016c 
+ 00028015  0x00008f4d setarg  0x0000016d 
+ 00028016  0x00008f4e iadd  0x00000011 , 0x00000006 
+ 00028017  0x00008f4f force  0x00000000 , 0x00000038 
+ 00028018  0x00008f50 ifetchr  0x0000002f , 0x00000004 , 0x00000006 
+ 00028019  0x00008f51 storer  0x0000002f , 0x00000004 , 0x00000273 
+ 00028020  0x00008f52 fetcht  0x00000005 , 0x000046a4 
+ 00028021  0x00008f53 call  0x00006cc9 
+ 00028022  0x00008f54 jam  0x00000006 , 0x0000800a 
+ 00028023  0x00008f55 jam  0x00000007 , 0x0000800a 
+ 00028024  0x00008f56 fetch  0x00000001 , 0x0000016c 
+ 00028025  0x00008f57 store  0x00000002 , 0x000080da 
+ 00028026  0x00008f58 call  0x00006dbb 
+ 00028027  0x00008f59 fetch  0x00000001 , 0x00008108 
+ 00028028  0x00008f5a bbit0  0x00000007 , 0x00007ecf 
+ 00028029  0x00008f5b fetcht  0x00000004 , 0x00000273 
+ 00028030  0x00008f5c fetch  0x00000004 , 0x000046a9 
+ 00028031  0x00008f5d isub  0x00000002 , 0x0000003f 
+ 00028032  0x00008f5e rtn  0x00000034 
+ 00028033  0x00008f5f storet  0x00000004 , 0x000046a9 
+ 00028034  0x00008f60 fetch  0x00000005 , 0x000046a4 
+ 00028035  0x00008f61 increase  0x00000001 , 0x0000003f 
+ 00028036  0x00008f62 set1  0x00000027 , 0x0000003f 
+ 00028037  0x00008f63 store  0x00000005 , 0x000046a4 
+ 00028038  0x00008f64 force  0x00000000 , 0x0000003f 
+ 00028039  0x00008f65 rtn 
+ 00028040  0x00008f69 call  0x00006d8f 
+ 00028041  0x00008f6a setarg  0x000041f7 
+ 00028042  0x00008f6b iadd  0x00000011 , 0x00000011 
+ 00028043  0x00008f6c call  0x00006dbb 
+ 00028044  0x00008f6d arg  0x0000000c , 0x00000038 
+ 00028045  0x00008f6e istorer  0x0000002f , 0x00000004 , 0x00000011 
+ 00028046  0x00008f6f rtn 
+ 00028047  0x00008f73 call  0x00006db4 
+ 00028048  0x00008f74 bpatchx  0x00000072 , 0x0000402e 
+ 00028049  0x00008f75 jam  0x00000000 , 0x000080d5 
+ 00028050  0x00008f76 jam  0x00000001 , 0x000080d6 
+ 00028051  0x00008f77 fetch  0x00000001 , 0x000041f5 
+ 00028052  0x00008f78 and_into  0x00000003 , 0x0000003f 
+ 00028053  0x00008f79 store  0x00000001 , 0x000080d7 
+ 00028054  0x00008f7a fetch  0x00000002 , 0x0000097b 
+ 00028055  0x00008f7b store  0x00000002 , 0x000080d1 
+ 00028056  0x00008f7c setarg  0x000041f7 
+ 00028057  0x00008f7d store  0x00000002 , 0x000080d3 
+ 00028058  0x00008f7f fetchr  0x00000011 , 0x00000001 , 0x000041f6 
+ 00028059  0x00008f80 fetcht  0x00000005 , 0x0000469f 
+ 00028060  0x00008f81 call  0x00006cc9 
+ 00028061  0x00008f82 jam  0x00000002 , 0x0000800a 
+ 00028062  0x00008f83 jam  0x00000003 , 0x0000800a 
+ 00028063  0x00008f85 fetch  0x00000001 , 0x000041f6 
+ 00028064  0x00008f86 store  0x00000002 , 0x000080da 
+ 00028065  0x00008f87 increase  0x00000004 , 0x0000003f 
+ 00028066  0x00008f88 store  0x00000001 , 0x000041f6 
+ 00028067  0x00008f89 fetch  0x00000005 , 0x0000469f 
+ 00028068  0x00008f8a increase  0x00000001 , 0x0000003f 
+ 00028069  0x00008f8b set0  0x00000027 , 0x0000003f 
+ 00028070  0x00008f8c store  0x00000005 , 0x0000469f 
+ 00028071  0x00008f8d rtn 
+ 00028072  0x00008f91 fetch  0x00000002 , 0x0000811a 
+ 00028073  0x00008f92 isub  0x00000002 , 0x0000003e 
+ 00028074  0x00008f93 rtn  0x00000005 
+ 00028075  0x00008f94 nrtn  0x00000034 
+ 00028076  0x00008f96 branch  0x00006da8 
+ 00028077  0x00008f99 fetch  0x00000001 , 0x00008108 
+ 00028078  0x00008f9a bbit0  0x00000006 , 0x0000137c 
+ 00028079  0x00008f9c setarg  0x000041f7 
+ 00028080  0x00008f9d iadd  0x00000002 , 0x00000005 
+ 00028081  0x00008f9e arg  0x0000000c , 0x00000038 
+ 00028082  0x00008f9f istorer  0x0000002f , 0x00000004 , 0x00000005 
+ 00028083  0x00008fa0 branch  0x00006dbd 
+ 00028084  0x00008fa3 bpatchx  0x00000073 , 0x0000402e 
+ 00028085  0x00008fa4 force  0x0000000c , 0x00000038 
+ 00028086  0x00008fa5 call  0x00006e37 
+ 00028087  0x00008fa6 call  0x00006e36 
+ 00028088  0x00008fa7 setarg  0x00000000 
+ 00028089  0x00008fa8 store  0x00000002 , 0x000080da 
+ 00028090  0x00008fa9 rtn 
+ 00028091  0x00008fac fetch  0x00000001 , 0x00008108 
+ 00028092  0x00008fad bbit0  0x00000006 , 0x00006dbb 
+ 00028093  0x00008faf jam  0x00000000 , 0x0000800a 
+ 00028094  0x00008fb0 rtn 
+ 00028095  0x00008fb4 nbranch  0x00006dbf , 0x00000037 
+ 00028096  0x00008fb5 rtn 
+ 00028097  0x00008fb8 force  0x00000030 , 0x00000036 
+ 00028098  0x00008fb9 force  0x00000000 , 0x00000036 
+ 00028099  0x00008fba branch  0x00006dbf 
+ 00028100  0x00008fbd force  0x00000032 , 0x00000036 
+ 00028101  0x00008fbe force  0x00000002 , 0x00000036 
+ 00028102  0x00008fbf branch  0x00006dbf 
+ 00028103  0x00008fc2 force  0x00000034 , 0x00000036 
+ 00028104  0x00008fc3 force  0x00000004 , 0x00000036 
+ 00028105  0x00008fc4 branch  0x00006dbf 
+ 00028106  0x00008fc8 force  0x00000001 , 0x00000036 
+ 00028107  0x00008fc9 force  0x00000000 , 0x00000036 
+ 00028108  0x00008fca rtn 
+ 00028109  0x00008fcc force  0x00000000 , 0x00000038 
+ 00028110  0x00008fcd fetch  0x00000004 , 0x00000277 
+ 00028111  0x00008fce iforce  0x0000002f 
+ 00028112  0x00008fcf increase  0x00000001 , 0x00000038 
+ 00028113  0x00008fd0 ifetch  0x00000004 , 0x00000006 
+ 00028114  0x00008fd1 iforce  0x0000002f 
+ 00028115  0x00008fd2 increase  0x00000001 , 0x00000038 
+ 00028116  0x00008fd3 fetch  0x00000004 , 0x00004337 
+ 00028117  0x00008fd4 iforce  0x0000002f 
+ 00028118  0x00008fd5 increase  0x00000001 , 0x00000038 
+ 00028119  0x00008fd6 ifetch  0x00000004 , 0x00000006 
+ 00028120  0x00008fd7 iforce  0x0000002f 
+ 00028121  0x00008fd8 increase  0x00000001 , 0x00000038 
+ 00028122  0x00008fd9 call  0x00006e37 
+ 00028123  0x00008fda increase  0xfffffffc , 0x00000038 
+ 00028124  0x00008fdb fetch  0x00000004 , 0x0000439e 
+ 00028125  0x00008fdc copy  0x0000003f , 0x0000002f 
+ 00028126  0x00008fdd increase  0x00000004 , 0x00000038 
+ 00028127  0x00008fde force  0x00000038 , 0x00000036 
+ 00028128  0x00008fdf force  0x00000008 , 0x00000036 
+ 00028129  0x00008fe0 branch  0x00006dbf 
+ 00028130  0x00008fe4 bpatchx  0x00000074 , 0x0000402e 
+ 00028131  0x00008fe5 fetch  0x00000006 , 0x0000437a 
+ 00028132  0x00008fe6 fetcht  0x00000006 , 0x00000297 
+ 00028133  0x00008fe7 branch  0x00006de8 , 0x00000029 
+ 00028134  0x00008fe8 fetch  0x00000006 , 0x00000297 
+ 00028135  0x00008fe9 fetcht  0x00000006 , 0x0000437a 
+ 00028136  0x00008feb force  0x00000008 , 0x00000038 
+ 00028137  0x00008fec copy  0x00000002 , 0x0000002f 
+ 00028138  0x00008fed increase  0x00000001 , 0x00000038 
+ 00028139  0x00008fee rshift32  0x00000002 , 0x0000002f 
+ 00028140  0x00008fef lshift16  0x0000003f , 0x0000003f 
+ 00028141  0x00008ff0 ior  0x0000002f , 0x0000002f 
+ 00028142  0x00008ff1 increase  0x00000001 , 0x00000038 
+ 00028143  0x00008ff2 rshift32  0x0000003f , 0x0000002f 
+ 00028144  0x00008ff3 increase  0x00000001 , 0x00000038 
+ 00028145  0x00008ff4 force  0x00000000 , 0x0000002f 
+ 00028146  0x00008ff5 force  0x00000000 , 0x0000003f 
+ 00028147  0x00008ff6 fetch  0x00000001 , 0x0000436a 
+ 00028148  0x00008ff7 fetcht  0x00000001 , 0x0000442b 
+ 00028149  0x00008ff8 nbranch  0x00006df8 , 0x00000029 
+ 00028150  0x00008ffa fetch  0x00000001 , 0x00004371 
+ 00028151  0x00008ffb fetcht  0x00000001 , 0x0000436a 
+ 00028152  0x00008ffd store  0x00000001 , 0x00004347 
+ 00028153  0x00008ffe storet  0x00000001 , 0x00004348 
+ 00028154  0x00008fff force  0x00000000 , 0x00000038 
+ 00028155  0x00009000 arg  0x00004347 , 0x00000012 
+ 00028156  0x00009001 force  0x00000004 , 0x00000039 
+ 00028157  0x00009003 ifetch  0x00000004 , 0x00000011 
+ 00028158  0x00009004 ifetcht  0x00000004 , 0x00000012 
+ 00028159  0x00009005 ixor  0x00000002 , 0x0000002f 
+ 00028160  0x00009006 increase  0x00000001 , 0x00000038 
+ 00028161  0x00009007 increase  0x00000004 , 0x00000011 
+ 00028162  0x00009008 increase  0x00000004 , 0x00000012 
+ 00028163  0x00009009 loop  0x00006dfd 
+ 00028164  0x0000900a call  0x00006e37 
+ 00028165  0x0000900b increase  0xfffffffc , 0x00000038 
+ 00028166  0x0000900c fetch  0x00000004 , 0x0000439e 
+ 00028167  0x0000900d copy  0x0000003f , 0x0000002f 
+ 00028168  0x0000900e increase  0x00000004 , 0x00000038 
+ 00028169  0x0000900f force  0x00000038 , 0x00000036 
+ 00028170  0x00009010 force  0x0000000c , 0x00000036 
+ 00028171  0x00009011 call  0x00006dbf 
+ 00028172  0x00009013 call  0x00006e36 
+ 00028173  0x00009014 force  0x0000003a , 0x00000036 
+ 00028174  0x00009015 force  0x00000008 , 0x00000036 
+ 00028175  0x00009016 branch  0x00006dbf 
+ 00028176  0x00009019 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00028177  0x0000901a rtn  0x00000001 
+ 00028178  0x0000901b deposit  0x00000006 
+ 00028179  0x0000901c iadd  0x00000039 , 0x00000005 
+ 00028180  0x0000901d force  0x00000000 , 0x0000003f 
+ 00028181  0x0000901f istore  0x00000001 , 0x00000005 
+ 00028182  0x00009020 increase  0x00000001 , 0x00000039 
+ 00028183  0x00009021 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00028184  0x00009022 rtn  0x00000001 
+ 00028185  0x00009023 branch  0x00006e15 
+ 00028186  0x00009026 force  0x00000000 , 0x00000038 
+ 00028187  0x00009028 deposit  0x00000039 
+ 00028188  0x00009029 branch  0x00006e1f , 0x00000034 
+ 00028189  0x0000902a ifetch  0x00000004 , 0x00000006 
+ 00028190  0x0000902b increase  0xfffffffc , 0x00000039 
+ 00028191  0x0000902d iforce  0x0000002f 
+ 00028192  0x0000902e increase  0x00000001 , 0x00000038 
+ 00028193  0x0000902f compare  0x00000004 , 0x00000038 , 0x0000000f 
+ 00028194  0x00009030 rtn  0x00000001 
+ 00028195  0x00009031 branch  0x00006e1b 
+ 00028196  0x00009034 force  0x00000008 , 0x00000038 
+ 00028197  0x00009035 branch  0x00006e29 
+ 00028198  0x00009037 force  0x00000004 , 0x00000038 
+ 00028199  0x00009038 branch  0x00006e29 
+ 00028200  0x0000903a force  0x00000000 , 0x00000038 
+ 00028201  0x0000903c force  0x00000004 , 0x00000039 
+ 00028202  0x0000903e ifetch  0x00000004 , 0x00000006 
+ 00028203  0x0000903f iforce  0x0000002f 
+ 00028204  0x00009040 increase  0x00000001 , 0x00000038 
+ 00028205  0x00009041 loop  0x00006e2a 
+ 00028206  0x00009042 rtn 
+ 00028207  0x00009045 arg  0x000002c7 , 0x00000006 
+ 00028208  0x00009046 branch  0x00006e26 
+ 00028209  0x00009049 force  0x00000004 , 0x00000039 
+ 00028210  0x0000904a branch  0x00006e39 
+ 00028211  0x0000904d force  0x00000000 , 0x00000038 
+ 00028212  0x0000904e force  0x00000010 , 0x00000039 
+ 00028213  0x0000904f branch  0x00006e38 
+ 00028214  0x00009052 force  0x00000000 , 0x00000038 
+ 00028215  0x00009054 force  0x00000004 , 0x00000039 
+ 00028216  0x00009056 force  0x00000000 , 0x0000002f 
+ 00028217  0x00009058 increase  0x00000001 , 0x00000038 
+ 00028218  0x00009059 loop  0x00006e38 
+ 00028219  0x0000905a rtn 
+ 00028220  0x0000905d force  0x0000000c , 0x00000038 
+ 00028221  0x0000905e force  0x00000004 , 0x00000039 
+ 00028222  0x00009060 deposit  0x0000002f 
+ 00028223  0x00009061 istore  0x00000004 , 0x00000005 
+ 00028224  0x00009062 increase  0x00000001 , 0x00000038 
+ 00028225  0x00009063 loop  0x00006e3e 
+ 00028226  0x00009064 rtn 
+ 00028227  0x00009067 force  0x0000000c , 0x00000038 
+ 00028228  0x00009068 copy  0x00000013 , 0x00000005 
+ 00028229  0x00009069 add  0x00000012 , 0x00000001 , 0x00000039 
+ 00028230  0x0000906a sub  0x00000039 , 0x0000000f , 0x0000003e 
+ 00028231  0x0000906b branch  0x00006e49 , 0x00000002 
+ 00028232  0x0000906c force  0x00000010 , 0x00000039 
+ 00028233  0x0000906e deposit  0x0000002f 
+ 00028234  0x0000906f sub  0x00000039 , 0x00000003 , 0x0000003e 
+ 00028235  0x00009070 branch  0x00006e51 , 0x00000002 
+ 00028236  0x00009071 istore  0x00000004 , 0x00000005 
+ 00028237  0x00009072 increase  0xfffffffc , 0x00000039 
+ 00028238  0x00009073 rtn  0x00000005 
+ 00028239  0x00009074 increase  0x00000001 , 0x00000038 
+ 00028240  0x00009075 branch  0x00006e49 
+ 00028241  0x00009077 istore  0x00000001 , 0x00000005 
+ 00028242  0x00009078 rshift8  0x0000003f , 0x0000003f 
+ 00028243  0x00009079 loop  0x00006e51 
+ 00028244  0x0000907a rtn 
+ 00028245  0x0000907e force  0x0000000c , 0x00000038 
+ 00028246  0x0000907f force  0x00000004 , 0x00000039 
+ 00028247  0x00009081 ifetch  0x00000004 , 0x00000006 
+ 00028248  0x00009082 isub  0x0000002f , 0x0000003e 
+ 00028249  0x00009083 nrtn  0x00000005 
+ 00028250  0x00009084 increase  0x00000001 , 0x00000038 
+ 00028251  0x00009085 loop  0x00006e57 
+ 00028252  0x00009086 force  0x00000000 , 0x0000003e 
+ 00028253  0x00009087 rtn 
+ 00028254  0x0000908a fetch  0x00000001 , 0x00008050 
+ 00028255  0x0000908b set0  0x00000000 , 0x0000003f 
+ 00028256  0x0000908c store  0x00000001 , 0x00008050 
+ 00028257  0x0000908d rtn 
+ 00028258  0x00009090 fetch  0x00000001 , 0x00008050 
+ 00028259  0x00009091 set1  0x00000000 , 0x0000003f 
+ 00028260  0x00009092 store  0x00000001 , 0x00008050 
+ 00028261  0x00009093 rtn 
+ 00028262  0x0000909c arg  0x00000748 , 0x00000005 
+ 00028263  0x0000909d setsect  0x00000000 , 0x0003ffff 
+ 00028264  0x0000909e setsect  0x00000001 , 0x0003ffff 
+ 00028265  0x0000909f setsect  0x00000002 , 0x0003ffff 
+ 00028266  0x000090a0 setsect  0x00000003 , 0x0003fbff 
+ 00028267  0x000090a1 istore  0x00000009 , 0x00000005 
+ 00028268  0x000090a2 setsect  0x00000000 , 0x0003ffff 
+ 00028269  0x000090a3 setsect  0x00000001 , 0x0003ffff 
+ 00028270  0x000090a4 setsect  0x00000002 , 0x0003ffff 
+ 00028271  0x000090a5 setsect  0x00000003 , 0x0003ffff 
+ 00028272  0x000090a6 istore  0x00000009 , 0x00000005 
+ 00028273  0x000090a7 setsect  0x00000000 , 0x0003ffff 
+ 00028274  0x000090a8 setsect  0x00000001 , 0x0003ffff 
+ 00028275  0x000090a9 setsect  0x00000002 , 0x0003cfff 
+ 00028276  0x000090aa setsect  0x00000003 , 0x0003ffff 
+ 00028277  0x000090ab istore  0x00000009 , 0x00000005 
+ 00028278  0x000090ac setsect  0x00000000 , 0x0003ffff 
+ 00028279  0x000090ad setsect  0x00000001 , 0x0003ffff 
+ 00028280  0x000090ae setsect  0x00000002 , 0x0003ffef 
+ 00028281  0x000090af setsect  0x00000003 , 0x0003ffff 
+ 00028282  0x000090b0 istore  0x00000009 , 0x00000005 
+ 00028283  0x000090b1 setsect  0x00000000 , 0x0003ffff 
+ 00028284  0x000090b2 setsect  0x00000001 , 0x0003ffff 
+ 00028285  0x000090b3 setsect  0x00000002 , 0x0003ffff 
+ 00028286  0x000090b4 setsect  0x00000003 , 0x0003ffff 
+ 00028287  0x000090b5 istore  0x00000009 , 0x00000005 
+ 00028288  0x000090b6 setsect  0x00000000 , 0x0003ffff 
+ 00028289  0x000090b7 setsect  0x00000001 , 0x00026c7f 
+ 00028290  0x000090b8 setsect  0x00000002 , 0x0000146b 
+ 00028291  0x000090b9 setsect  0x00000003 , 0x00037bb3 
+ 00028292  0x000090ba istore  0x00000009 , 0x00000005 
+ 00028293  0x000090bb setsect  0x00000000 , 0x0001feb8 
+ 00028294  0x000090bc setsect  0x00000001 , 0x00010c12 
+ 00028295  0x000090bd setsect  0x00000002 , 0x0002b722 
+ 00028296  0x000090be setsect  0x00000003 , 0x00029fa6 
+ 00028297  0x000090bf istore  0x00000009 , 0x00000005 
+ 00028298  0x000090c0 setsect  0x00000000 , 0x0000e70f 
+ 00028299  0x000090c1 setsect  0x00000001 , 0x00016720 
+ 00028300  0x000090c2 setsect  0x00000002 , 0x0000519e 
+ 00028301  0x000090c3 setsect  0x00000003 , 0x00019084 
+ 00028302  0x000090c4 istore  0x00000009 , 0x00000005 
+ 00028303  0x000090c5 setsect  0x00000000 , 0x00031012 
+ 00028304  0x000090c6 setsect  0x00000001 , 0x000360bf 
+ 00028305  0x000090c7 setsect  0x00000002 , 0x0003f0af 
+ 00028306  0x000090c8 setsect  0x00000003 , 0x000003d3 
+ 00028307  0x000090c9 istore  0x00000009 , 0x00000005 
+ 00028308  0x000090ca setsect  0x00000000 , 0x0003a188 
+ 00028309  0x000090cb setsect  0x00000001 , 0x00003ad0 
+ 00028310  0x000090cc setsect  0x00000002 , 0x0003cbf2 
+ 00028311  0x000090cd setsect  0x00000003 , 0x000243d9 
+ 00028312  0x000090ce istore  0x00000009 , 0x00000005 
+ 00028313  0x000090cf setsect  0x00000000 , 0x0002b030 
+ 00028314  0x000090d0 setsect  0x00000001 , 0x00036a03 
+ 00028315  0x000090d1 setsect  0x00000002 , 0x00011188 
+ 00028316  0x000090d2 setsect  0x00000003 , 0x0001e520 
+ 00028317  0x000090d3 istore  0x00000009 , 0x00000005 
+ 00028318  0x000090d4 setsect  0x00000000 , 0x0003a11e 
+ 00028319  0x000090d5 setsect  0x00000001 , 0x0000fe5d 
+ 00028320  0x000090d6 setsect  0x00000002 , 0x0000dd57 
+ 00028321  0x000090d7 setsect  0x00000003 , 0x0001ac93 
+ 00028322  0x000090d8 istore  0x00000009 , 0x00000005 
+ 00028323  0x000090d9 setsect  0x00000000 , 0x000011ed 
+ 00028324  0x000090da setsect  0x00000001 , 0x000218c4 
+ 00028325  0x000090db setsect  0x00000002 , 0x00008da7 
+ 00028326  0x000090dc setsect  0x00000003 , 0x000257ff 
+ 00028327  0x000090dd istore  0x00000009 , 0x00000005 
+ 00028328  0x000090de setsect  0x00000000 , 0x0003192b 
+ 00028329  0x000090df setsect  0x00000001 , 0x00034641 
+ 00028330  0x000090e0 setsect  0x00000002 , 0x0001be0c 
+ 00028331  0x000090e1 setsect  0x00000003 , 0x000366ad 
+ 00028332  0x000090e2 istore  0x00000009 , 0x00000005 
+ 00028333  0x000090e3 setsect  0x00000000 , 0x00001f83 
+ 00028334  0x000090e4 setsect  0x00000001 , 0x00015a23 
+ 00028335  0x000090e5 setsect  0x00000002 , 0x0003f9b0 
+ 00028336  0x000090e6 setsect  0x00000003 , 0x00003949 
+ 00028337  0x000090e7 istore  0x00000009 , 0x00000005 
+ 00028338  0x000090e8 setsect  0x00000000 , 0x00013a51 
+ 00028339  0x000090e9 setsect  0x00000001 , 0x000153fd 
+ 00028340  0x000090ea setsect  0x00000002 , 0x0003372a 
+ 00028341  0x000090eb setsect  0x00000003 , 0x0000f1bb 
+ 00028342  0x000090ec istore  0x00000009 , 0x00000005 
+ 00028343  0x000090ed setsect  0x00000000 , 0x0003ae85 
+ 00028344  0x000090ee setsect  0x00000001 , 0x0001eed9 
+ 00028345  0x000090ef setsect  0x00000002 , 0x00009e66 
+ 00028346  0x000090f0 setsect  0x00000003 , 0x000001a8 
+ 00028347  0x000090f1 istore  0x00000008 , 0x00000005 
+ 00028348  0x000090f2 rtn 
+ 00028349  0x000090fb arg  0x000007e0 , 0x00000005 
+ 00028350  0x000090fc setsect  0x00000000 , 0x0003ffff 
+ 00028351  0x000090fd setsect  0x00000001 , 0x0003ffff 
+ 00028352  0x000090fe setsect  0x00000002 , 0x0003ffff 
+ 00028353  0x000090ff setsect  0x00000003 , 0x0003ffff 
+ 00028354  0x00009100 istore  0x00000009 , 0x00000005 
+ 00028355  0x00009101 setsect  0x00000000 , 0x0003ffff 
+ 00028356  0x00009102 setsect  0x00000001 , 0x0000003f 
+ 00028357  0x00009103 setsect  0x00000002 , 0x00000000 
+ 00028358  0x00009104 setsect  0x00000003 , 0x00000000 
+ 00028359  0x00009105 istore  0x00000009 , 0x00000005 
+ 00028360  0x00009106 setsect  0x00000000 , 0x00000000 
+ 00028361  0x00009107 setsect  0x00000001 , 0x00000000 
+ 00028362  0x00009108 setsect  0x00000002 , 0x00001000 
+ 00028363  0x00009109 setsect  0x00000003 , 0x00000000 
+ 00028364  0x0000910a istore  0x00000009 , 0x00000005 
+ 00028365  0x0000910b setsect  0x00000000 , 0x0003ff00 
+ 00028366  0x0000910c setsect  0x00000001 , 0x0003ffff 
+ 00028367  0x0000910d setsect  0x00000002 , 0x0003ffcf 
+ 00028368  0x0000910e setsect  0x00000003 , 0x0003ffff 
+ 00028369  0x0000910f istore  0x00000009 , 0x00000005 
+ 00028370  0x00009110 setsect  0x00000000 , 0x0003ffff 
+ 00028371  0x00009111 setsect  0x00000001 , 0x0003ffff 
+ 00028372  0x00009112 setsect  0x00000002 , 0x0003ffff 
+ 00028373  0x00009113 setsect  0x00000003 , 0x000003ff 
+ 00028374  0x00009114 istore  0x00000009 , 0x00000005 
+ 00028375  0x00009115 setsect  0x00000000 , 0x00000000 
+ 00028376  0x00009116 setsect  0x00000001 , 0x00000000 
+ 00028377  0x00009117 setsect  0x00000002 , 0x00000000 
+ 00028378  0x00009118 setsect  0x00000003 , 0x00000000 
+ 00028379  0x00009119 istore  0x00000009 , 0x00000005 
+ 00028380  0x0000911a setsect  0x00000000 , 0x00010000 
+ 00028381  0x0000911b setsect  0x00000001 , 0x00000000 
+ 00028382  0x0000911c setsect  0x00000002 , 0x0003f000 
+ 00028383  0x0000911d setsect  0x00000003 , 0x0003ffff 
+ 00028384  0x0000911e istore  0x00000009 , 0x00000005 
+ 00028385  0x0000911f setsect  0x00000000 , 0x000296ff 
+ 00028386  0x00009120 setsect  0x00000001 , 0x00022630 
+ 00028387  0x00009121 setsect  0x00000002 , 0x0003945d 
+ 00028388  0x00009122 setsect  0x00000003 , 0x0003d284 
+ 00028389  0x00009123 istore  0x00000009 , 0x00000005 
+ 00028390  0x00009124 setsect  0x00000000 , 0x000333a0 
+ 00028391  0x00009125 setsect  0x00000001 , 0x00004b7a 
+ 00028392  0x00009126 setsect  0x00000002 , 0x000037d8 
+ 00028393  0x00009127 setsect  0x00000003 , 0x0003c9dc 
+ 00028394  0x00009128 istore  0x00000009 , 0x00000005 
+ 00028395  0x00009129 setsect  0x00000000 , 0x0003a440 
+ 00028396  0x0000912a setsect  0x00000001 , 0x0001b958 
+ 00028397  0x0000912b setsect  0x00000002 , 0x00038bce 
+ 00028398  0x0000912c setsect  0x00000003 , 0x0001091f 
+ 00028399  0x0000912d istore  0x00000009 , 0x00000005 
+ 00028400  0x0000912e setsect  0x00000000 , 0x0002e12c 
+ 00028401  0x0000912f setsect  0x00000001 , 0x0001f47c 
+ 00028402  0x00009130 setsect  0x00000002 , 0x000356b1 
+ 00028403  0x00009131 setsect  0x00000003 , 0x0002fd47 
+ 00028404  0x00009132 istore  0x00000009 , 0x00000005 
+ 00028405  0x00009133 setsect  0x00000000 , 0x00006837 
+ 00028406  0x00009134 setsect  0x00000001 , 0x0002ed90 
+ 00028407  0x00009135 setsect  0x00000002 , 0x0001ecec 
+ 00028408  0x00009136 setsect  0x00000003 , 0x0001acc5 
+ 00028409  0x00009137 istore  0x00000009 , 0x00000005 
+ 00028410  0x00009138 setsect  0x00000000 , 0x00023357 
+ 00028411  0x00009139 setsect  0x00000001 , 0x00018af3 
+ 00028412  0x0000913a setsect  0x00000002 , 0x0000f9e1 
+ 00028413  0x0000913b setsect  0x00000003 , 0x000129f0 
+ 00028414  0x0000913c istore  0x00000009 , 0x00000005 
+ 00028415  0x0000913d setsect  0x00000000 , 0x0002e7eb 
+ 00028416  0x0000913e setsect  0x00000001 , 0x0003e6e3 
+ 00028417  0x0000913f setsect  0x00000002 , 0x0003e1a7 
+ 00028418  0x00009140 setsect  0x00000003 , 0x00010b8b 
+ 00028419  0x00009141 istore  0x00000009 , 0x00000005 
+ 00028420  0x00009142 setsect  0x00000000 , 0x00024fe3 
+ 00028421  0x00009143 setsect  0x00000001 , 0x000020ef 
+ 00028422  0x00009144 setsect  0x00000002 , 0x0001b5a6 
+ 00028423  0x00009145 setsect  0x00000003 , 0x0000dc2f 
+ 00028424  0x00009146 istore  0x00000009 , 0x00000005 
+ 00028425  0x00009147 setsect  0x00000000 , 0x00013860 
+ 00028426  0x00009148 setsect  0x00000001 , 0x0002bd69 
+ 00028427  0x00009149 setsect  0x00000002 , 0x0000391a 
+ 00028428  0x0000914a setsect  0x00000003 , 0x0001b222 
+ 00028429  0x0000914b istore  0x00000009 , 0x00000005 
+ 00028430  0x0000914c rtn 
+ 00028431  0x00009150 fetch  0x00000001 , 0x00004767 
+ 00028432  0x00009151 nbranch  0x00006f2a , 0x00000034 
+ 00028433  0x00009152 branch  0x000075ac 
+ 00028434  0x00009155 bpatchx  0x00000075 , 0x0000402e 
+ 00028435  0x00009156 fetch  0x00000001 , 0x00004767 
+ 00028436  0x00009157 rtn  0x00000034 
+ 00028437  0x00009158 fetch  0x00000001 , 0x000046bc 
+ 00028438  0x00009159 rtnne  0x00000001 
+ 00028439  0x0000915a fetch  0x00000001 , 0x000046bb 
+ 00028440  0x0000915b rtn  0x00000034 
+ 00028441  0x0000915c fetch  0x00000001 , 0x000046be 
+ 00028442  0x0000915d rtneq  0x00000003 
+ 00028443  0x0000915e fetch  0x00000002 , 0x0000478f 
+ 00028444  0x0000915f bbit1  0x00000000 , 0x00006f20 
+ 00028445  0x00009160 fetch  0x00000001 , 0x000046bd 
+ 00028446  0x00009161 beq  0x00000000 , 0x000075ac 
+ 00028447  0x00009162 rtn 
+ 00028448  0x00009164 jam  0x00000000 , 0x000046bd 
+ 00028449  0x00009165 rtn 
+ 00028450  0x00009169 fetch  0x00000001 , 0x000046bb 
+ 00028451  0x0000916a set1  0x00000001 , 0x0000003f 
+ 00028452  0x0000916b store  0x00000001 , 0x000046bb 
+ 00028453  0x0000916c rtn 
+ 00028454  0x0000916f fetch  0x00000001 , 0x000046bb 
+ 00028455  0x00009170 set0  0x00000001 , 0x0000003f 
+ 00028456  0x00009171 store  0x00000001 , 0x000046bb 
+ 00028457  0x00009172 rtn 
+ 00028458  0x00009176 bpatchx  0x00000076 , 0x0000402e 
+ 00028459  0x00009177 fetch  0x00000001 , 0x00004767 
+ 00028460  0x00009178 nbranch  0x00007066 , 0x00000034 
+ 00028461  0x0000917a call  0x00006f37 
+ 00028462  0x0000917b jam  0x00000000 , 0x000046bc 
+ 00028463  0x0000917c jam  0x00000000 , 0x00000874 
+ 00028464  0x0000917d rtn 
+ 00028465  0x00009180 fetch  0x00000001 , 0x00004767 
+ 00028466  0x00009181 rtn  0x00000034 
+ 00028467  0x00009182 fetch  0x00000001 , 0x000046bc 
+ 00028468  0x00009183 rtneq  0x00000001 
+ 00028469  0x00009184 call  0x000070d7 
+ 00028470  0x00009185 branch  0x00006f31 
+ 00028471  0x00009188 bpatchx  0x00000077 , 0x0000402e 
+ 00028472  0x00009189 setarg  0x00000880 
+ 00028473  0x0000918a arg  0x00000870 , 0x00000005 
+ 00028474  0x0000918b isub  0x00000005 , 0x00000039 
+ 00028475  0x0000918c call  0x00007d9b 
+ 00028476  0x0000918d setarg  0x00004773 
+ 00028477  0x0000918e arg  0x0000476b , 0x00000005 
+ 00028478  0x0000918f isub  0x00000005 , 0x00000039 
+ 00028479  0x00009190 branch  0x00007d9b 
+ 00028480  0x00009193 jam  0x00000001 , 0x00000872 
+ 00028481  0x00009194 fetch  0x00000001 , 0x00004648 
+ 00028482  0x00009195 beq  0x00000002 , 0x00006f45 
+ 00028483  0x00009196 beq  0x00000001 , 0x00006f50 
+ 00028484  0x00009197 rtn 
+ 00028485  0x0000919a fetch  0x00000001 , 0x000046be 
+ 00028486  0x0000919b beq  0x00000003 , 0x00006f48 
+ 00028487  0x0000919c branch  0x000075cd 
+ 00028488  0x0000919e call  0x000075ec 
+ 00028489  0x0000919f fetch  0x00000001 , 0x00000871 
+ 00028490  0x000091a0 nrtn  0x00000034 
+ 00028491  0x000091a1 jam  0x00000003 , 0x00000870 
+ 00028492  0x000091a2 rtn 
+ 00028493  0x000091a5 fetch  0x00000001 , 0x000046bc 
+ 00028494  0x000091a6 beq  0x00000001 , 0x00007085 
+ 00028495  0x000091a7 branch  0x0000137c 
+ 00028496  0x000091aa fetch  0x00000001 , 0x000046bc 
+ 00028497  0x000091ab beq  0x00000001 , 0x00006f53 
+ 00028498  0x000091ac branch  0x00007066 
+ 00028499  0x000091af call  0x00007085 
+ 00028500  0x000091b0 fetch  0x00000001 , 0x00000871 
+ 00028501  0x000091b1 nrtn  0x00000034 
+ 00028502  0x000091b2 jam  0x00000003 , 0x00000870 
+ 00028503  0x000091b3 rtn 
+ 00028504  0x000091b7 call  0x00006f73 
+ 00028505  0x000091b8 arg  0x000008a0 , 0x00000011 
+ 00028506  0x000091b9 arg  0x00000728 , 0x00000005 
+ 00028507  0x000091ba call  0x000077cc 
+ 00028508  0x000091bb arg  0x00000880 , 0x00000011 
+ 00028509  0x000091bc arg  0x000006e8 , 0x00000005 
+ 00028510  0x000091bd call  0x000077cc 
+ 00028511  0x000091be arg  0x000006e8 , 0x00000011 
+ 00028512  0x000091bf arg  0x00000880 , 0x00000012 
+ 00028513  0x000091c0 arg  0x000006e8 , 0x00000005 
+ 00028514  0x000091c1 call  0x00007734 
+ 00028515  0x000091c2 arg  0x00000800 , 0x00000011 
+ 00028516  0x000091c3 arg  0x00000880 , 0x00000012 
+ 00028517  0x000091c4 arg  0x00000708 , 0x00000005 
+ 00028518  0x000091c5 call  0x00007734 
+ 00028519  0x000091c6 arg  0x00000708 , 0x00000011 
+ 00028520  0x000091c7 arg  0x000006e8 , 0x00000012 
+ 00028521  0x000091c8 arg  0x000006e8 , 0x00000005 
+ 00028522  0x000091c9 call  0x000077d0 
+ 00028523  0x000091ca arg  0x000006c8 , 0x00000011 
+ 00028524  0x000091cb arg  0x000006e8 , 0x00000012 
+ 00028525  0x000091cc arg  0x000006c8 , 0x00000005 
+ 00028526  0x000091cd call  0x000077d0 
+ 00028527  0x000091ce arg  0x00000020 , 0x00000039 
+ 00028528  0x000091cf arg  0x00000728 , 0x00000011 
+ 00028529  0x000091d0 arg  0x000006c8 , 0x00000012 
+ 00028530  0x000091d1 branch  0x00007e66 
+ 00028531  0x000091d4 arg  0x00000840 , 0x00000011 
+ 00028532  0x000091d5 arg  0x000006c8 , 0x00000005 
+ 00028533  0x000091d6 call  0x000077cc 
+ 00028534  0x000091d7 arg  0x00000820 , 0x00000011 
+ 00028535  0x000091d8 arg  0x000006e8 , 0x00000005 
+ 00028536  0x000091d9 call  0x000077cc 
+ 00028537  0x000091da arg  0x000006e8 , 0x00000011 
+ 00028538  0x000091db arg  0x00000820 , 0x00000012 
+ 00028539  0x000091dc arg  0x000006e8 , 0x00000005 
+ 00028540  0x000091dd call  0x00007734 
+ 00028541  0x000091de arg  0x00000800 , 0x00000011 
+ 00028542  0x000091df arg  0x00000820 , 0x00000012 
+ 00028543  0x000091e0 arg  0x00000708 , 0x00000005 
+ 00028544  0x000091e1 call  0x00007734 
+ 00028545  0x000091e2 arg  0x00000708 , 0x00000011 
+ 00028546  0x000091e3 arg  0x000006e8 , 0x00000012 
+ 00028547  0x000091e4 arg  0x000006e8 , 0x00000005 
+ 00028548  0x000091e5 call  0x000077d0 
+ 00028549  0x000091e6 arg  0x000006c8 , 0x00000011 
+ 00028550  0x000091e7 arg  0x000006e8 , 0x00000012 
+ 00028551  0x000091e8 arg  0x000006c8 , 0x00000005 
+ 00028552  0x000091e9 branch  0x000077e9 
+ 00028553  0x000091ec call  0x00006fa4 
+ 00028554  0x000091ed arg  0x000008a8 , 0x00000011 
+ 00028555  0x000091ee arg  0x00000728 , 0x00000005 
+ 00028556  0x000091ef call  0x000071a3 
+ 00028557  0x000091f0 arg  0x00000888 , 0x00000011 
+ 00028558  0x000091f1 arg  0x000006e8 , 0x00000005 
+ 00028559  0x000091f2 call  0x000071a3 
+ 00028560  0x000091f3 arg  0x000006e8 , 0x00000011 
+ 00028561  0x000091f4 arg  0x00000888 , 0x00000012 
+ 00028562  0x000091f5 arg  0x000006e8 , 0x00000005 
+ 00028563  0x000091f6 call  0x00007181 
+ 00028564  0x000091f7 arg  0x00000760 , 0x00000011 
+ 00028565  0x000091f8 arg  0x00000888 , 0x00000012 
+ 00028566  0x000091f9 arg  0x00000708 , 0x00000005 
+ 00028567  0x000091fa call  0x00007181 
+ 00028568  0x000091fb arg  0x00000708 , 0x00000011 
+ 00028569  0x000091fc arg  0x000006e8 , 0x00000012 
+ 00028570  0x000091fd arg  0x000006e8 , 0x00000005 
+ 00028571  0x000091fe call  0x00007150 
+ 00028572  0x000091ff arg  0x000006c8 , 0x00000011 
+ 00028573  0x00009200 arg  0x000006e8 , 0x00000012 
+ 00028574  0x00009201 arg  0x000006c8 , 0x00000005 
+ 00028575  0x00009202 call  0x00007150 
+ 00028576  0x00009203 arg  0x00000018 , 0x00000039 
+ 00028577  0x00009204 arg  0x00000728 , 0x00000011 
+ 00028578  0x00009205 arg  0x000006c8 , 0x00000012 
+ 00028579  0x00009206 branch  0x00007e66 
+ 00028580  0x00009209 arg  0x000007a8 , 0x00000011 
+ 00028581  0x0000920a arg  0x000006c8 , 0x00000005 
+ 00028582  0x0000920b call  0x000071a3 
+ 00028583  0x0000920c arg  0x00000790 , 0x00000011 
+ 00028584  0x0000920d arg  0x000006e8 , 0x00000005 
+ 00028585  0x0000920e call  0x000071a3 
+ 00028586  0x0000920f arg  0x000006e8 , 0x00000011 
+ 00028587  0x00009210 arg  0x00000790 , 0x00000012 
+ 00028588  0x00009211 arg  0x000006e8 , 0x00000005 
+ 00028589  0x00009212 call  0x00007181 
+ 00028590  0x00009213 arg  0x00000760 , 0x00000011 
+ 00028591  0x00009214 arg  0x00000790 , 0x00000012 
+ 00028592  0x00009215 arg  0x00000708 , 0x00000005 
+ 00028593  0x00009216 call  0x00007181 
+ 00028594  0x00009217 arg  0x00000708 , 0x00000011 
+ 00028595  0x00009218 arg  0x000006e8 , 0x00000012 
+ 00028596  0x00009219 arg  0x000006e8 , 0x00000005 
+ 00028597  0x0000921a call  0x00007150 
+ 00028598  0x0000921b arg  0x000006c8 , 0x00000011 
+ 00028599  0x0000921c arg  0x000006e8 , 0x00000012 
+ 00028600  0x0000921d arg  0x000006c8 , 0x00000005 
+ 00028601  0x0000921e branch  0x00007153 
+ 00028602  0x00009222 fetch  0x00000001 , 0x00004648 
+ 00028603  0x00009223 beq  0x00000002 , 0x00006fbe 
+ 00028604  0x00009224 beq  0x00000001 , 0x00006fce 
+ 00028605  0x00009225 rtn 
+ 00028606  0x00009228 fetch  0x00000001 , 0x000046bd 
+ 00028607  0x00009229 bne  0x00000000 , 0x00006fec 
+ 00028608  0x0000922a call  0x00006fe9 
+ 00028609  0x0000922b arg  0x00000940 , 0x00000005 
+ 00028610  0x0000922c setarg  0x000008f0 
+ 00028611  0x0000922d istore  0x00000002 , 0x00000005 
+ 00028612  0x0000922e setarg  0x000046ff 
+ 00028613  0x0000922f istore  0x00000002 , 0x00000005 
+ 00028614  0x00009230 setarg  0x000008a0 
+ 00028615  0x00009231 istore  0x00000002 , 0x00000005 
+ 00028616  0x00009234 call  0x00007495 
+ 00028617  0x00009235 fetch  0x00000001 , 0x00000871 
+ 00028618  0x00009236 beq  0x00000004 , 0x00006fe6 
+ 00028619  0x00009237 jam  0x00000001 , 0x00000872 
+ 00028620  0x00009238 jam  0x00000005 , 0x00000870 
+ 00028621  0x00009239 rtn 
+ 00028622  0x0000923c fetch  0x00000001 , 0x00000874 
+ 00028623  0x0000923d bne  0x00000000 , 0x00006fec 
+ 00028624  0x0000923e call  0x00006fe9 
+ 00028625  0x0000923f arg  0x00000940 , 0x00000005 
+ 00028626  0x00009240 setarg  0x000008f0 
+ 00028627  0x00009241 istore  0x00000002 , 0x00000005 
+ 00028628  0x00009242 setarg  0x0000474f 
+ 00028629  0x00009243 istore  0x00000002 , 0x00000005 
+ 00028630  0x00009244 setarg  0x000008a0 
+ 00028631  0x00009245 istore  0x00000002 , 0x00000005 
+ 00028632  0x00009246 branch  0x00006fe0 
+ 00028633  0x00009248 arg  0x00000940 , 0x00000005 
+ 00028634  0x00009249 setarg  0x00000900 
+ 00028635  0x0000924a istore  0x00000002 , 0x00000005 
+ 00028636  0x0000924b setarg  0x000008a0 
+ 00028637  0x0000924c istore  0x00000002 , 0x00000005 
+ 00028638  0x0000924d setarg  0x0000474f 
+ 00028639  0x0000924e istore  0x00000002 , 0x00000005 
+ 00028640  0x00009250 call  0x000073bc 
+ 00028641  0x00009251 fetch  0x00000001 , 0x00000871 
+ 00028642  0x00009252 beq  0x00000004 , 0x00006fe6 
+ 00028643  0x00009253 jam  0x00000001 , 0x00000872 
+ 00028644  0x00009254 jam  0x00000005 , 0x00000870 
+ 00028645  0x00009255 rtn 
+ 00028646  0x00009257 jam  0x00000014 , 0x00000871 
+ 00028647  0x00009258 call  0x00006f4d 
+ 00028648  0x00009259 branch  0x000070d3 
+ 00028649  0x0000925c arg  0x000008e0 , 0x00000005 
+ 00028650  0x0000925d force  0x00000008 , 0x00000007 
+ 00028651  0x0000925e branch  0x0000709d 
+ 00028652  0x00009261 jam  0x00000001 , 0x00000872 
+ 00028653  0x00009262 rtn 
+ 00028654  0x00009265 fetch  0x00000001 , 0x00004648 
+ 00028655  0x00009266 beq  0x00000002 , 0x00006ff4 
+ 00028656  0x00009267 beq  0x00000001 , 0x00006ff7 
+ 00028657  0x00009269 jam  0x00000009 , 0x00000870 
+ 00028658  0x0000926a jam  0x00000001 , 0x00000872 
+ 00028659  0x0000926b rtn 
+ 00028660  0x0000926e fetch  0x00000001 , 0x0000087b 
+ 00028661  0x0000926f bne  0x00000003 , 0x00006ff1 
+ 00028662  0x00009270 branch  0x00006ff9 
+ 00028663  0x00009273 fetch  0x00000001 , 0x0000087b 
+ 00028664  0x00009274 bne  0x00000001 , 0x00006ff1 
+ 00028665  0x00009276 arg  0x000005e9 , 0x00000005 
+ 00028666  0x00009277 fetch  0x00000006 , 0x000040a8 
+ 00028667  0x00009278 istore  0x00000006 , 0x00000005 
+ 00028668  0x00009279 fetch  0x00000006 , 0x00000040 
+ 00028669  0x0000927a istore  0x00000006 , 0x00000005 
+ 00028670  0x0000927b fetch  0x00000003 , 0x0000476b 
+ 00028671  0x0000927c istore  0x00000003 , 0x00000005 
+ 00028672  0x0000927e call  0x000074b4 
+ 00028673  0x00009280 arg  0x00000910 , 0x00000011 
+ 00028674  0x00009281 arg  0x00000920 , 0x00000012 
+ 00028675  0x00009282 force  0x00000004 , 0x00000007 
+ 00028676  0x00009283 call  0x000070a2 
+ 00028677  0x00009284 nbranch  0x00007012 , 0x00000001 
+ 00028678  0x00009286 call  0x00007009 
+ 00028679  0x00009287 jam  0x00000041 , 0x0000007d 
+ 00028680  0x00009288 branch  0x00005a7b 
+ 00028681  0x0000928b fetch  0x00000001 , 0x00000871 
+ 00028682  0x0000928c beq  0x00000009 , 0x0000700f 
+ 00028683  0x0000928d jam  0x0000000a , 0x00000870 
+ 00028684  0x0000928e jam  0x00000001 , 0x00000872 
+ 00028685  0x0000928f jam  0x00000003 , 0x0000007c 
+ 00028686  0x00009290 rtn 
+ 00028687  0x00009292 jam  0x00000003 , 0x0000007c 
+ 00028688  0x00009293 jam  0x00000015 , 0x00000871 
+ 00028689  0x00009294 branch  0x000070d3 
+ 00028690  0x00009298 fetch  0x00000001 , 0x00000871 
+ 00028691  0x00009299 beq  0x00000009 , 0x00007018 
+ 00028692  0x0000929a jam  0x00000000 , 0x00000870 
+ 00028693  0x0000929b jam  0x00000004 , 0x0000007c 
+ 00028694  0x0000929d jam  0x00000005 , 0x0000007e 
+ 00028695  0x0000929e rtn 
+ 00028696  0x000092a0 jam  0x00000004 , 0x0000007c 
+ 00028697  0x000092a1 jam  0x00000000 , 0x00000871 
+ 00028698  0x000092a2 rtn 
+ 00028699  0x000092a5 fetch  0x00000001 , 0x00004648 
+ 00028700  0x000092a6 beq  0x00000002 , 0x0000701f 
+ 00028701  0x000092a7 beq  0x00000001 , 0x00007023 
+ 00028702  0x000092a8 rtn 
+ 00028703  0x000092ab fetch  0x00000001 , 0x0000087b 
+ 00028704  0x000092ac beq  0x00000003 , 0x00007027 
+ 00028705  0x000092ad jam  0x0000000a , 0x00000871 
+ 00028706  0x000092ae branch  0x000070d3 
+ 00028707  0x000092b1 fetch  0x00000001 , 0x00000875 
+ 00028708  0x000092b2 beq  0x00000001 , 0x00007027 
+ 00028709  0x000092b3 jam  0x0000000a , 0x00000871 
+ 00028710  0x000092b4 branch  0x000070d3 
+ 00028711  0x000092b7 arg  0x000005e9 , 0x00000005 
+ 00028712  0x000092b8 fetch  0x00000006 , 0x00000040 
+ 00028713  0x000092b9 istore  0x00000006 , 0x00000005 
+ 00028714  0x000092ba fetch  0x00000006 , 0x000040a8 
+ 00028715  0x000092bb istore  0x00000006 , 0x00000005 
+ 00028716  0x000092bc fetch  0x00000003 , 0x00004768 
+ 00028717  0x000092bd istore  0x00000003 , 0x00000005 
+ 00028718  0x000092bf call  0x000074f7 
+ 00028719  0x000092c0 fetch  0x00000001 , 0x00000871 
+ 00028720  0x000092c1 beq  0x0000000a , 0x00007034 
+ 00028721  0x000092c2 jam  0x0000000b , 0x00000870 
+ 00028722  0x000092c3 jam  0x00000001 , 0x00000872 
+ 00028723  0x000092c4 rtn 
+ 00028724  0x000092c6 jam  0x0000000b , 0x00000871 
+ 00028725  0x000092c7 jam  0x00000001 , 0x00000873 
+ 00028726  0x000092c8 rtn 
+ 00028727  0x000092cb arg  0x00000940 , 0x00000005 
+ 00028728  0x000092cc fetch  0x00000006 , 0x00000040 
+ 00028729  0x000092cd istore  0x00000006 , 0x00000005 
+ 00028730  0x000092ce fetch  0x00000006 , 0x000040a8 
+ 00028731  0x000092cf istore  0x00000006 , 0x00000005 
+ 00028732  0x000092d0 setarg  0x000008f0 
+ 00028733  0x000092d1 istore  0x00000002 , 0x00000005 
+ 00028734  0x000092d2 setarg  0x00000900 
+ 00028735  0x000092d3 istore  0x00000002 , 0x00000005 
+ 00028736  0x000092d4 branch  0x0000704b 
+ 00028737  0x000092d6 jam  0x0000000f , 0x00000870 
+ 00028738  0x000092d7 arg  0x00000940 , 0x00000005 
+ 00028739  0x000092d8 fetch  0x00000006 , 0x000040a8 
+ 00028740  0x000092d9 istore  0x00000006 , 0x00000005 
+ 00028741  0x000092da fetch  0x00000006 , 0x00000040 
+ 00028742  0x000092db istore  0x00000006 , 0x00000005 
+ 00028743  0x000092dc setarg  0x00000900 
+ 00028744  0x000092dd istore  0x00000002 , 0x00000005 
+ 00028745  0x000092de setarg  0x000008f0 
+ 00028746  0x000092df istore  0x00000002 , 0x00000005 
+ 00028747  0x000092e2 arg  0x000005e9 , 0x00000005 
+ 00028748  0x000092e3 fetch  0x00000006 , 0x00000940 
+ 00028749  0x000092e4 istore  0x00000006 , 0x00000005 
+ 00028750  0x000092e5 fetch  0x00000006 , 0x00000946 
+ 00028751  0x000092e6 istore  0x00000006 , 0x00000005 
+ 00028752  0x000092e8 call  0x0000750b 
+ 00028753  0x000092eb jam  0x00000001 , 0x000041ca 
+ 00028754  0x000092ec arg  0x000041cb , 0x00000005 
+ 00028755  0x000092ed arg  0x00000910 , 0x00000006 
+ 00028756  0x000092ee call  0x00007d7f 
+ 00028757  0x000092ef branch  0x000009c6 
+ 00028758  0x000092f3 arg  0x0000471f , 0x00000005 
+ 00028759  0x000092f4 setsect  0x00000000 , 0x000118ff 
+ 00028760  0x000092f5 setsect  0x00000001 , 0x0003fd29 
+ 00028761  0x000092f6 setsect  0x00000002 , 0x0001ed2e 
+ 00028762  0x000092f7 setsect  0x00000003 , 0x0000ad89 
+ 00028763  0x000092f8 istore  0x00000009 , 0x00000005 
+ 00028764  0x000092f9 setsect  0x00000000 , 0x00030c14 
+ 00028765  0x000092fa setsect  0x00000001 , 0x000075b3 
+ 00028766  0x000092fb setsect  0x00000002 , 0x000005df 
+ 00028767  0x000092fc setsect  0x00000003 , 0x0003709c 
+ 00028768  0x000092fd istore  0x00000009 , 0x00000005 
+ 00028769  0x000092fe setsect  0x00000000 , 0x0002918d 
+ 00028770  0x000092ff setsect  0x00000001 , 0x000057e1 
+ 00028771  0x00009300 setsect  0x00000002 , 0x00000079 
+ 00028772  0x00009301 istore  0x00000006 , 0x00000005 
+ 00028773  0x00009302 rtn 
+ 00028774  0x00009306 bpatchx  0x00000078 , 0x0000402f 
+ 00028775  0x00009307 fetch  0x00000001 , 0x000046bc 
+ 00028776  0x00009308 rtnne  0x00000000 
+ 00028777  0x00009309 fetch  0x00000001 , 0x00000874 
+ 00028778  0x0000930a rtnne  0x00000000 
+ 00028779  0x0000930c arg  0x0000471f , 0x00000005 
+ 00028780  0x0000930d force  0x0000000b , 0x00000007 
+ 00028781  0x0000930e call  0x0000709d 
+ 00028782  0x0000930f random  0x0000003f 
+ 00028783  0x00009310 rshift  0x0000003f , 0x0000003f 
+ 00028784  0x00009311 istore  0x00000002 , 0x00000005 
+ 00028785  0x00009313 fetch  0x00000001 , 0x000046ba 
+ 00028786  0x00009314 ncall  0x00007056 , 0x00000034 
+ 00028787  0x00009316 arg  0x00000580 , 0x00000005 
+ 00028788  0x00009317 arg  0x0000471f , 0x00000006 
+ 00028789  0x00009318 call  0x00007d7e 
+ 00028790  0x0000931a arg  0x000004a8 , 0x00000005 
+ 00028791  0x0000931b arg  0x00000790 , 0x00000006 
+ 00028792  0x0000931c call  0x00007d7c 
+ 00028793  0x0000931e arg  0x000004d8 , 0x00000005 
+ 00028794  0x0000931f call  0x00007d8b 
+ 00028795  0x00009320 jam  0x00000001 , 0x000004d8 
+ 00028796  0x00009322 call  0x00007479 
+ 00028797  0x00009323 jam  0x00000001 , 0x00000874 
+ 00028798  0x00009324 rtn 
+ 00028799  0x00009327 arg  0x00004737 , 0x00000005 
+ 00028800  0x00009328 arg  0x000004f0 , 0x00000006 
+ 00028801  0x00009329 call  0x00007d7c 
+ 00028802  0x0000932a jam  0x00000001 , 0x000046bc 
+ 00028803  0x0000932b jam  0x00000000 , 0x00000874 
+ 00028804  0x0000932c rtn 
+ 00028805  0x0000932f bpatchx  0x00000079 , 0x0000402f 
+ 00028806  0x00009330 fetch  0x00000001 , 0x0000087b 
+ 00028807  0x00009331 rtnne  0x00000000 
+ 00028808  0x00009332 fetch  0x00000001 , 0x00000874 
+ 00028809  0x00009333 rtnne  0x00000000 
+ 00028810  0x00009335 arg  0x00000580 , 0x00000005 
+ 00028811  0x00009336 arg  0x0000471f , 0x00000006 
+ 00028812  0x00009337 call  0x00007d7e 
+ 00028813  0x00009339 arg  0x000004a8 , 0x00000005 
+ 00028814  0x0000933a arg  0x00000888 , 0x00000006 
+ 00028815  0x0000933b call  0x00007d7c 
+ 00028816  0x0000933d arg  0x000004d8 , 0x00000005 
+ 00028817  0x0000933e call  0x00007d8b 
+ 00028818  0x0000933f jam  0x00000001 , 0x000004d8 
+ 00028819  0x00009341 call  0x00007479 
+ 00028820  0x00009342 jam  0x00000002 , 0x00000874 
+ 00028821  0x00009343 rtn 
+ 00028822  0x00009346 jam  0x00000001 , 0x00000875 
+ 00028823  0x00009347 arg  0x000008c8 , 0x00000005 
+ 00028824  0x00009348 arg  0x000004f0 , 0x00000006 
+ 00028825  0x00009349 call  0x00007d7e 
+ 00028826  0x0000934a jam  0x00000001 , 0x0000087b 
+ 00028827  0x0000934b jam  0x00000000 , 0x00000874 
+ 00028828  0x0000934c rtn 
+ 00028829  0x0000934f increase  0xffffffff , 0x00000007 
+ 00028830  0x00009350 nrtn  0x00000002 
+ 00028831  0x00009351 random  0x0000003f 
+ 00028832  0x00009352 istore  0x00000002 , 0x00000005 
+ 00028833  0x00009353 branch  0x0000709d 
+ 00028834  0x00009355 increase  0xffffffff , 0x00000007 
+ 00028835  0x00009356 nbranch  0x000070ae , 0x00000002 
+ 00028836  0x00009357 ifetch  0x00000004 , 0x00000011 
+ 00028837  0x00009358 copy  0x0000003f , 0x00000002 
+ 00028838  0x00009359 ifetch  0x00000004 , 0x00000012 
+ 00028839  0x0000935a iflip  0x00000002 , 0x0000003f 
+ 00028840  0x0000935b nbranch  0x000070ac , 0x00000005 
+ 00028841  0x0000935c increase  0x00000004 , 0x00000011 
+ 00028842  0x0000935d increase  0x00000004 , 0x00000012 
+ 00028843  0x0000935e branch  0x000070a2 
+ 00028844  0x00009360 disable  0x00000001 
+ 00028845  0x00009361 rtn 
+ 00028846  0x00009363 enable  0x00000001 
+ 00028847  0x00009364 rtn 
+ 00028848  0x0000936c bpatchx  0x0000007a , 0x0000402f 
+ 00028849  0x0000936d fetch  0x00000001 , 0x00000872 
+ 00028850  0x0000936e rtn  0x00000034 
+ 00028851  0x0000936f call  0x00005a3f 
+ 00028852  0x00009370 nrtn  0x00000034 
+ 00028853  0x00009371 jam  0x00000000 , 0x00000872 
+ 00028854  0x00009372 fetch  0x00000001 , 0x00000870 
+ 00028855  0x00009373 beq  0x00000003 , 0x00005965 
+ 00028856  0x00009374 beq  0x00000005 , 0x00005987 
+ 00028857  0x00009375 beq  0x00000007 , 0x00005992 
+ 00028858  0x00009376 beq  0x0000000b , 0x000059a7 
+ 00028859  0x00009377 beq  0x00000002 , 0x00006f40 
+ 00028860  0x00009378 beq  0x00000004 , 0x00006fba 
+ 00028861  0x00009379 beq  0x00000009 , 0x00006fee 
+ 00028862  0x0000937a beq  0x0000000a , 0x0000701b 
+ 00028863  0x0000937b beq  0x0000000c , 0x00007041 
+ 00028864  0x0000937d rtn 
+ 00028865  0x00009380 bpatchx  0x0000007b , 0x0000402f 
+ 00028866  0x00009381 fetch  0x00000001 , 0x00000873 
+ 00028867  0x00009382 rtn  0x00000034 
+ 00028868  0x00009383 call  0x00005a3f 
+ 00028869  0x00009384 nrtn  0x00000034 
+ 00028870  0x00009385 jam  0x00000000 , 0x00000873 
+ 00028871  0x00009386 fetch  0x00000001 , 0x00000871 
+ 00028872  0x00009387 beq  0x00000012 , 0x00005949 
+ 00028873  0x00009388 beq  0x00000013 , 0x0000594e 
+ 00028874  0x00009389 beq  0x00000003 , 0x00005952 
+ 00028875  0x0000938a beq  0x00000004 , 0x00006fd9 
+ 00028876  0x0000938b beq  0x00000014 , 0x00005956 
+ 00028877  0x0000938c beq  0x00000007 , 0x00005963 
+ 00028878  0x0000938d beq  0x0000000a , 0x0000701b 
+ 00028879  0x0000938e beq  0x0000000b , 0x000059a6 
+ 00028880  0x0000938f beq  0x00000009 , 0x00006fee 
+ 00028881  0x00009390 beq  0x00000015 , 0x000059a0 
+ 00028882  0x00009391 rtn 
+ 00028883  0x00009394 jam  0x00000001 , 0x00000873 
+ 00028884  0x00009395 rtn 
+ 00028885  0x00009398 jam  0x00000000 , 0x00000873 
+ 00028886  0x00009399 rtn 
+ 00028887  0x0000939b bpatchx  0x0000007c , 0x0000402f 
+ 00028888  0x0000939c fetch  0x00000001 , 0x00004767 
+ 00028889  0x0000939d rtn  0x00000034 
+ 00028890  0x0000939e fetch  0x00000001 , 0x00000874 
+ 00028891  0x0000939f rtn  0x00000034 
+ 00028892  0x000093a0 increase  0x00000080 , 0x0000003f 
+ 00028893  0x000093a1 store  0x00000001 , 0x00000874 
+ 00028894  0x000093a2 rtnbit1  0x00000007 
+ 00028895  0x000093a3 fetch  0x00000001 , 0x000004a5 
+ 00028896  0x000093a4 branch  0x000070e2 , 0x00000034 
+ 00028897  0x000093a5 branch  0x00007484 
+ 00028898  0x000093a8 call  0x000072ce 
+ 00028899  0x000093a9 fetch  0x00000001 , 0x00000874 
+ 00028900  0x000093aa beq  0x00000001 , 0x0000707f 
+ 00028901  0x000093ab beq  0x00000002 , 0x00007096 
+ 00028902  0x000093ac rtn 
+ 00028903  0x000093b0 and  0x0000003f , 0x00000007 , 0x00000007 
+ 00028904  0x000093b1 rshift3  0x0000003f , 0x0000003f 
+ 00028905  0x000093b2 iadd  0x00000006 , 0x00000006 
+ 00028906  0x000093b3 ifetch  0x00000001 , 0x00000006 
+ 00028907  0x000093b4 qisolate0  0x0000003f 
+ 00028908  0x000093b5 rtn 
+ 00028909  0x000093b9 call  0x00007d7e 
+ 00028910  0x000093ba call  0x00007d7e 
+ 00028911  0x000093bb branch  0x00007d7e 
+ 00028912  0x000093bf ifetch  0x00000008 , 0x00000006 
+ 00028913  0x000093c0 nrtn  0x00000034 
+ 00028914  0x000093c1 ifetch  0x00000008 , 0x00000006 
+ 00028915  0x000093c2 nrtn  0x00000034 
+ 00028916  0x000093c3 ifetch  0x00000008 , 0x00000006 
+ 00028917  0x000093c4 rtn 
+ 00028918  0x000093ca ifetch  0x00000004 , 0x00000011 
+ 00028919  0x000093cb iforce  0x00000002 
+ 00028920  0x000093cc ifetch  0x00000004 , 0x00000012 
+ 00028921  0x000093cd isub  0x00000002 , 0x0000003e 
+ 00028922  0x000093ce nrtn  0x00000005 
+ 00028923  0x000093cf increase  0x00000004 , 0x00000011 
+ 00028924  0x000093d0 increase  0x00000004 , 0x00000012 
+ 00028925  0x000093d1 loop  0x000070f6 
+ 00028926  0x000093d2 rtn 
+ 00028927  0x000093d6 force  0x00000006 , 0x00000039 
+ 00028928  0x000093d7 increase  0x00000014 , 0x00000011 
+ 00028929  0x000093d8 increase  0x00000014 , 0x00000012 
+ 00028930  0x000093da ifetch  0x00000004 , 0x00000012 
+ 00028931  0x000093db iforce  0x00000002 
+ 00028932  0x000093dc ifetch  0x00000004 , 0x00000011 
+ 00028933  0x000093dd isub  0x00000002 , 0x0000003f 
+ 00028934  0x000093de nrtn  0x00000002 
+ 00028935  0x000093df nrtn  0x00000034 
+ 00028936  0x000093e0 increase  0xfffffffc , 0x00000011 
+ 00028937  0x000093e1 increase  0xfffffffc , 0x00000012 
+ 00028938  0x000093e2 loop  0x00007102 
+ 00028939  0x000093e3 rtn 
+ 00028940  0x000093e6 force  0x00000006 , 0x00000039 
+ 00028941  0x000093e7 force  0x00000000 , 0x00000013 
+ 00028942  0x000093e9 ifetch  0x00000004 , 0x00000011 
+ 00028943  0x000093ea iforce  0x00000002 
+ 00028944  0x000093eb ifetch  0x00000004 , 0x00000012 
+ 00028945  0x000093ec iadd  0x00000002 , 0x0000003f 
+ 00028946  0x000093ed iadd  0x00000013 , 0x0000003f 
+ 00028947  0x000093ee istore  0x00000004 , 0x00000005 
+ 00028948  0x000093ef isolate1  0x00000020 , 0x0000003f 
+ 00028949  0x000093f0 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00028950  0x000093f1 increase  0x00000004 , 0x00000011 
+ 00028951  0x000093f2 increase  0x00000004 , 0x00000012 
+ 00028952  0x000093f3 loop  0x0000710e 
+ 00028953  0x000093f4 rtn 
+ 00028954  0x000093f7 force  0x00000006 , 0x00000039 
+ 00028955  0x000093f8 force  0x00000000 , 0x00000013 
+ 00028956  0x000093fa ifetch  0x00000004 , 0x00000012 
+ 00028957  0x000093fb iforce  0x00000002 
+ 00028958  0x000093fc ifetch  0x00000004 , 0x00000011 
+ 00028959  0x000093fd isub  0x00000002 , 0x0000003f 
+ 00028960  0x000093fe isub  0x00000013 , 0x0000003f 
+ 00028961  0x000093ff istore  0x00000004 , 0x00000005 
+ 00028962  0x00009400 isolate1  0x00000020 , 0x0000003f 
+ 00028963  0x00009401 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00028964  0x00009402 increase  0x00000004 , 0x00000011 
+ 00028965  0x00009403 increase  0x00000004 , 0x00000012 
+ 00028966  0x00009404 loop  0x0000711c 
+ 00028967  0x00009405 rtn 
+ 00028968  0x00009408 force  0x00000006 , 0x00000039 
+ 00028969  0x00009409 increase  0x00000014 , 0x00000011 
+ 00028970  0x0000940b force  0x00000000 , 0x00000013 
+ 00028971  0x0000940d ifetch  0x00000004 , 0x00000011 
+ 00028972  0x0000940e isolate1  0x00000000 , 0x0000003f 
+ 00028973  0x0000940f setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00028974  0x00009410 rshift  0x0000003f , 0x0000003f 
+ 00028975  0x00009411 isolate1  0x00000000 , 0x00000013 
+ 00028976  0x00009412 setflag  0x00000001 , 0x0000001f , 0x0000003f 
+ 00028977  0x00009413 istore  0x00000004 , 0x00000011 
+ 00028978  0x00009414 increase  0xfffffffc , 0x00000011 
+ 00028979  0x00009415 rshift  0x00000013 , 0x00000013 
+ 00028980  0x00009416 loop  0x0000712b 
+ 00028981  0x00009417 rtn 
+ 00028982  0x0000941a force  0x00000006 , 0x00000039 
+ 00028983  0x0000941b force  0x00000000 , 0x00000013 
+ 00028984  0x0000941d ifetch  0x00000004 , 0x00000011 
+ 00028985  0x0000941e isolate1  0x0000001f , 0x0000003f 
+ 00028986  0x0000941f setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00028987  0x00009420 lshift  0x0000003f , 0x0000003f 
+ 00028988  0x00009421 isolate1  0x00000000 , 0x00000013 
+ 00028989  0x00009422 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00028990  0x00009423 istore  0x00000004 , 0x00000011 
+ 00028991  0x00009424 increase  0x00000004 , 0x00000011 
+ 00028992  0x00009425 rshift  0x00000013 , 0x00000013 
+ 00028993  0x00009426 loop  0x00007138 
+ 00028994  0x00009427 rtn 
+ 00028995  0x0000942a call  0x00007136 
+ 00028996  0x0000942c isolate1  0x00000000 , 0x00000013 
+ 00028997  0x0000942d branch  0x0000714c , 0x00000001 
+ 00028998  0x0000942e arg  0x00000748 , 0x00000012 
+ 00028999  0x0000942f copy  0x00000011 , 0x00000013 
+ 00029000  0x00009430 increase  0xffffffe8 , 0x00000011 
+ 00029001  0x00009431 call  0x000070ff 
+ 00029002  0x00009432 nrtn  0x00000002 
+ 00029003  0x00009433 copy  0x00000013 , 0x00000011 
+ 00029004  0x00009435 increase  0xffffffe8 , 0x00000011 
+ 00029005  0x00009436 arg  0x00000748 , 0x00000012 
+ 00029006  0x00009437 copy  0x00000011 , 0x00000005 
+ 00029007  0x00009438 branch  0x0000711a 
+ 00029008  0x0000943c call  0x0000710c 
+ 00029009  0x0000943d copy  0x00000005 , 0x00000011 
+ 00029010  0x0000943e branch  0x00007144 
+ 00029011  0x00009441 call  0x0000711a 
+ 00029012  0x00009442 isolate0  0x00000000 , 0x00000013 
+ 00029013  0x00009443 rtn  0x00000001 
+ 00029014  0x00009444 arg  0x00000748 , 0x00000012 
+ 00029015  0x00009445 add  0x00000005 , 0xffffffe8 , 0x00000011 
+ 00029016  0x00009446 copy  0x00000011 , 0x00000005 
+ 00029017  0x00009447 branch  0x0000710c 
+ 00029018  0x0000944b copy  0x00000005 , 0x0000000b 
+ 00029019  0x0000944c copy  0x00000011 , 0x00000030 
+ 00029020  0x0000944d arg  0x000005d8 , 0x00000012 
+ 00029021  0x0000944e copy  0x00000012 , 0x00000005 
+ 00029022  0x0000944f add  0x00000011 , 0x00000018 , 0x00000006 
+ 00029023  0x00009450 ifetch  0x00000008 , 0x00000006 
+ 00029024  0x00009451 istore  0x00000008 , 0x00000005 
+ 00029025  0x00009452 istore  0x00000008 , 0x00000005 
+ 00029026  0x00009453 force  0x00000000 , 0x0000003f 
+ 00029027  0x00009454 istore  0x00000008 , 0x00000005 
+ 00029028  0x00009455 copy  0x0000000b , 0x00000005 
+ 00029029  0x00009456 call  0x00007150 
+ 00029030  0x00009457 arg  0x000005d8 , 0x00000012 
+ 00029031  0x00009458 copy  0x00000012 , 0x00000005 
+ 00029032  0x00009459 force  0x00000000 , 0x0000003f 
+ 00029033  0x0000945a istore  0x00000008 , 0x00000005 
+ 00029034  0x0000945b add  0x00000030 , 0x00000020 , 0x00000006 
+ 00029035  0x0000945c ifetch  0x00000008 , 0x00000006 
+ 00029036  0x0000945d istore  0x00000008 , 0x00000005 
+ 00029037  0x0000945e istore  0x00000008 , 0x00000005 
+ 00029038  0x0000945f copy  0x0000000b , 0x00000011 
+ 00029039  0x00009460 copy  0x00000011 , 0x00000005 
+ 00029040  0x00009461 call  0x00007150 
+ 00029041  0x00009462 arg  0x000005d8 , 0x00000012 
+ 00029042  0x00009463 copy  0x00000012 , 0x00000005 
+ 00029043  0x00009464 add  0x00000030 , 0x00000028 , 0x00000006 
+ 00029044  0x00009465 ifetch  0x00000008 , 0x00000006 
+ 00029045  0x00009466 istore  0x00000008 , 0x00000005 
+ 00029046  0x00009467 istore  0x00000008 , 0x00000005 
+ 00029047  0x00009468 istore  0x00000008 , 0x00000005 
+ 00029048  0x00009469 copy  0x0000000b , 0x00000011 
+ 00029049  0x0000946a copy  0x00000011 , 0x00000005 
+ 00029050  0x0000946b branch  0x00007150 
+ 00029051  0x0000946f force  0x00000006 , 0x00000039 
+ 00029052  0x00009471 ifetch  0x00000004 , 0x00000006 
+ 00029053  0x00009472 iforce  0x0000002f 
+ 00029054  0x00009473 increase  0x00000001 , 0x00000038 
+ 00029055  0x00009474 loop  0x0000717c 
+ 00029056  0x00009475 rtn 
+ 00029057  0x0000947a copy  0x00000005 , 0x0000000b 
+ 00029058  0x0000947b arg  0x000005a8 , 0x00000005 
+ 00029059  0x0000947c call  0x00007d8b 
+ 00029060  0x0000947d arg  0x000005a8 , 0x00000005 
+ 00029061  0x0000947e copy  0x00000011 , 0x00000006 
+ 00029062  0x0000947f force  0x00000000 , 0x00000038 
+ 00029063  0x00009480 call  0x0000717b 
+ 00029064  0x00009481 copy  0x00000012 , 0x00000006 
+ 00029065  0x00009482 call  0x0000717b 
+ 00029066  0x00009483 force  0x00000000 , 0x00000012 
+ 00029067  0x00009485 force  0x00000000 , 0x00000002 
+ 00029068  0x00009486 force  0x00000006 , 0x00000013 
+ 00029069  0x00009488 ifetch  0x00000004 , 0x00000005 
+ 00029070  0x00009489 iforce  0x00000011 
+ 00029071  0x0000948a copy  0x00000012 , 0x00000038 
+ 00029072  0x0000948b deposit  0x0000002f 
+ 00029073  0x0000948c copy  0x00000013 , 0x00000038 
+ 00029074  0x0000948d imul32  0x0000002f , 0x0000003f 
+ 00029075  0x0000948e iadd  0x00000011 , 0x0000003f 
+ 00029076  0x0000948f iadd  0x00000002 , 0x0000003f 
+ 00029077  0x00009490 istore  0x00000004 , 0x00000005 
+ 00029078  0x00009491 rshift32  0x0000003f , 0x00000002 
+ 00029079  0x00009492 increase  0x00000001 , 0x00000013 
+ 00029080  0x00009493 compare  0x0000000c , 0x00000013 , 0x000000ff 
+ 00029081  0x00009494 nbranch  0x0000718d , 0x00000001 
+ 00029082  0x00009495 deposit  0x00000002 
+ 00029083  0x00009496 istore  0x00000004 , 0x00000005 
+ 00029084  0x00009497 increase  0xffffffe8 , 0x00000005 
+ 00029085  0x00009498 increase  0x00000001 , 0x00000012 
+ 00029086  0x00009499 compare  0x00000006 , 0x00000012 , 0x000000ff 
+ 00029087  0x0000949a nbranch  0x0000718b , 0x00000001 
+ 00029088  0x0000949b arg  0x000005a8 , 0x00000011 
+ 00029089  0x0000949c copy  0x0000000b , 0x00000005 
+ 00029090  0x0000949d branch  0x0000715a 
+ 00029091  0x000094a1 copy  0x00000011 , 0x00000012 
+ 00029092  0x000094a2 branch  0x00007181 
+ 00029093  0x000094a5 copy  0x00000011 , 0x00000030 
+ 00029094  0x000094a7 copy  0x00000030 , 0x00000011 
+ 00029095  0x000094a8 ifetch  0x00000001 , 0x00000011 
+ 00029096  0x000094a9 isolate1  0x00000000 , 0x0000003f 
+ 00029097  0x000094aa rtn  0x00000001 
+ 00029098  0x000094ab call  0x00007128 
+ 00029099  0x000094ac ifetch  0x00000001 , 0x00000012 
+ 00029100  0x000094ad isolate0  0x00000000 , 0x0000003f 
+ 00029101  0x000094ae branch  0x000071b5 , 0x00000001 
+ 00029102  0x000094af arg  0x00000748 , 0x00000011 
+ 00029103  0x000094b0 copy  0x00000012 , 0x00000005 
+ 00029104  0x000094b1 call  0x0000710c 
+ 00029105  0x000094b2 ifetch  0x00000001 , 0x00000012 
+ 00029106  0x000094b3 iadd  0x00000013 , 0x0000003f 
+ 00029107  0x000094b4 istore  0x00000001 , 0x00000012 
+ 00029108  0x000094b5 increase  0xffffffe8 , 0x00000012 
+ 00029109  0x000094b7 add  0x00000012 , 0x00000018 , 0x00000011 
+ 00029110  0x000094b8 force  0x00000007 , 0x00000039 
+ 00029111  0x000094b9 call  0x0000712a 
+ 00029112  0x000094ba branch  0x000071a6 
+ 00029113  0x000094be copy  0x00000005 , 0x0000000b 
+ 00029114  0x000094bf arg  0x00000608 , 0x00000005 
+ 00029115  0x000094c0 call  0x00007d8b 
+ 00029116  0x000094c1 force  0x00000000 , 0x0000003f 
+ 00029117  0x000094c2 store  0x00000004 , 0x000005c0 
+ 00029118  0x000094c3 store  0x00000004 , 0x00000620 
+ 00029119  0x000094c4 jam  0x00000001 , 0x00000608 
+ 00029120  0x000094c5 arg  0x000005a8 , 0x00000005 
+ 00029121  0x000094c6 call  0x00007d8b 
+ 00029122  0x000094c7 arg  0x00000748 , 0x00000006 
+ 00029123  0x000094c8 arg  0x000005d8 , 0x00000005 
+ 00029124  0x000094c9 call  0x00007d7e 
+ 00029125  0x000094ca copy  0x00000011 , 0x00000006 
+ 00029126  0x000094cb arg  0x000005f0 , 0x00000005 
+ 00029127  0x000094cc call  0x00007d7e 
+ 00029128  0x000094ce arg  0x000005f0 , 0x00000006 
+ 00029129  0x000094cf call  0x000070f0 
+ 00029130  0x000094d0 branch  0x000071f1 , 0x00000034 
+ 00029131  0x000094d1 arg  0x000005f0 , 0x00000011 
+ 00029132  0x000094d2 arg  0x00000608 , 0x00000012 
+ 00029133  0x000094d3 call  0x000071a5 
+ 00029134  0x000094d5 arg  0x000005d8 , 0x00000011 
+ 00029135  0x000094d6 arg  0x000005a8 , 0x00000012 
+ 00029136  0x000094d7 call  0x000071a5 
+ 00029137  0x000094d8 arg  0x000005f0 , 0x00000011 
+ 00029138  0x000094d9 arg  0x000005d8 , 0x00000012 
+ 00029139  0x000094da call  0x000070ff 
+ 00029140  0x000094db branch  0x000071e3 , 0x00000002 
+ 00029141  0x000094dc arg  0x000005d8 , 0x00000011 
+ 00029142  0x000094dd arg  0x000005f0 , 0x00000012 
+ 00029143  0x000094de copy  0x00000011 , 0x00000005 
+ 00029144  0x000094df call  0x0000711a 
+ 00029145  0x000094e0 arg  0x00000608 , 0x00000011 
+ 00029146  0x000094e1 arg  0x000005a8 , 0x00000012 
+ 00029147  0x000094e2 copy  0x00000012 , 0x00000005 
+ 00029148  0x000094e3 call  0x0000710c 
+ 00029149  0x000094e4 ifetch  0x00000001 , 0x00000011 
+ 00029150  0x000094e5 iadd  0x00000013 , 0x00000013 
+ 00029151  0x000094e6 ifetch  0x00000001 , 0x00000012 
+ 00029152  0x000094e7 iadd  0x00000013 , 0x0000003f 
+ 00029153  0x000094e8 istore  0x00000001 , 0x00000012 
+ 00029154  0x000094e9 branch  0x000071c8 
+ 00029155  0x000094eb arg  0x000005f0 , 0x00000011 
+ 00029156  0x000094ec arg  0x000005d8 , 0x00000012 
+ 00029157  0x000094ed copy  0x00000011 , 0x00000005 
+ 00029158  0x000094ee call  0x0000711a 
+ 00029159  0x000094ef arg  0x000005a8 , 0x00000011 
+ 00029160  0x000094f0 arg  0x00000608 , 0x00000012 
+ 00029161  0x000094f1 copy  0x00000012 , 0x00000005 
+ 00029162  0x000094f2 call  0x0000710c 
+ 00029163  0x000094f3 ifetch  0x00000001 , 0x00000011 
+ 00029164  0x000094f4 iadd  0x00000013 , 0x00000013 
+ 00029165  0x000094f5 ifetch  0x00000001 , 0x00000012 
+ 00029166  0x000094f6 iadd  0x00000013 , 0x0000003f 
+ 00029167  0x000094f7 istore  0x00000001 , 0x00000012 
+ 00029168  0x000094f8 branch  0x000071c8 
+ 00029169  0x000094fa arg  0x00000608 , 0x00000005 
+ 00029170  0x000094fb call  0x00007d8b 
+ 00029171  0x000094fc fetch  0x00000001 , 0x000005c0 
+ 00029172  0x000094fd store  0x00000001 , 0x00000608 
+ 00029173  0x000094fe store  0x00000001 , 0x00000610 
+ 00029174  0x000094ff arg  0x00000608 , 0x00000011 
+ 00029175  0x00009500 arg  0x000005a8 , 0x00000012 
+ 00029176  0x00009501 copy  0x00000012 , 0x00000005 
+ 00029177  0x00009502 call  0x00007150 
+ 00029178  0x00009503 arg  0x00000748 , 0x00000011 
+ 00029179  0x00009504 arg  0x000005a8 , 0x00000012 
+ 00029180  0x00009505 copy  0x0000000b , 0x00000005 
+ 00029181  0x00009506 branch  0x00007153 
+ 00029182  0x0000950c arg  0x00000568 , 0x00000011 
+ 00029183  0x0000950d arg  0x00000620 , 0x00000005 
+ 00029184  0x0000950e call  0x000071a3 
+ 00029185  0x0000950f arg  0x00000620 , 0x00000011 
+ 00029186  0x00009510 arg  0x00000638 , 0x00000005 
+ 00029187  0x00009511 call  0x000071a3 
+ 00029188  0x00009512 arg  0x00000760 , 0x00000011 
+ 00029189  0x00009513 arg  0x00000638 , 0x00000012 
+ 00029190  0x00009514 arg  0x00000638 , 0x00000005 
+ 00029191  0x00009515 call  0x00007181 
+ 00029192  0x00009516 arg  0x00000538 , 0x00000011 
+ 00029193  0x00009517 arg  0x00000620 , 0x00000005 
+ 00029194  0x00009518 call  0x000071a3 
+ 00029195  0x00009519 arg  0x00000620 , 0x00000006 
+ 00029196  0x0000951a arg  0x000005f0 , 0x00000005 
+ 00029197  0x0000951b call  0x00007d7e 
+ 00029198  0x0000951c arg  0x000005f0 , 0x00000011 
+ 00029199  0x0000951d call  0x00007143 
+ 00029200  0x0000951e arg  0x00000620 , 0x00000011 
+ 00029201  0x0000951f arg  0x000005f0 , 0x00000012 
+ 00029202  0x00009520 arg  0x00000620 , 0x00000005 
+ 00029203  0x00009521 call  0x00007150 
+ 00029204  0x00009522 arg  0x00000620 , 0x00000011 
+ 00029205  0x00009523 arg  0x00000638 , 0x00000012 
+ 00029206  0x00009524 arg  0x00000620 , 0x00000005 
+ 00029207  0x00009525 call  0x00007150 
+ 00029208  0x00009526 arg  0x00000538 , 0x00000006 
+ 00029209  0x00009527 arg  0x000005f0 , 0x00000005 
+ 00029210  0x00009528 call  0x00007d7e 
+ 00029211  0x00009529 arg  0x00000550 , 0x00000011 
+ 00029212  0x0000952a arg  0x00000638 , 0x00000005 
+ 00029213  0x0000952b call  0x000071a3 
+ 00029214  0x0000952c arg  0x000005f0 , 0x00000011 
+ 00029215  0x0000952d call  0x00007143 
+ 00029216  0x0000952e arg  0x000005f0 , 0x00000011 
+ 00029217  0x0000952f call  0x00007143 
+ 00029218  0x00009530 arg  0x000005f0 , 0x00000011 
+ 00029219  0x00009531 arg  0x00000638 , 0x00000012 
+ 00029220  0x00009532 arg  0x000005f0 , 0x00000005 
+ 00029221  0x00009533 call  0x00007181 
+ 00029222  0x00009534 arg  0x00000638 , 0x00000011 
+ 00029223  0x00009535 arg  0x00000608 , 0x00000005 
+ 00029224  0x00009536 call  0x000071a3 
+ 00029225  0x00009537 arg  0x00000608 , 0x00000011 
+ 00029226  0x00009538 call  0x00007143 
+ 00029227  0x00009539 arg  0x00000608 , 0x00000011 
+ 00029228  0x0000953a call  0x00007143 
+ 00029229  0x0000953b arg  0x00000608 , 0x00000011 
+ 00029230  0x0000953c call  0x00007143 
+ 00029231  0x0000953d arg  0x00000550 , 0x00000006 
+ 00029232  0x0000953e arg  0x00000638 , 0x00000005 
+ 00029233  0x0000953f call  0x00007d7e 
+ 00029234  0x00009540 arg  0x00000638 , 0x00000011 
+ 00029235  0x00009541 call  0x00007143 
+ 00029236  0x00009542 arg  0x00000638 , 0x00000011 
+ 00029237  0x00009543 arg  0x00000568 , 0x00000012 
+ 00029238  0x00009544 arg  0x00000568 , 0x00000005 
+ 00029239  0x00009545 call  0x00007181 
+ 00029240  0x00009546 arg  0x00000620 , 0x00000011 
+ 00029241  0x00009547 arg  0x00000638 , 0x00000005 
+ 00029242  0x00009548 call  0x000071a3 
+ 00029243  0x00009549 arg  0x00000638 , 0x00000011 
+ 00029244  0x0000954a arg  0x000005f0 , 0x00000012 
+ 00029245  0x0000954b arg  0x00000638 , 0x00000005 
+ 00029246  0x0000954c call  0x00007153 
+ 00029247  0x0000954d arg  0x00000638 , 0x00000011 
+ 00029248  0x0000954e arg  0x000005f0 , 0x00000012 
+ 00029249  0x0000954f arg  0x00000538 , 0x00000005 
+ 00029250  0x00009550 call  0x00007153 
+ 00029251  0x00009551 arg  0x000005f0 , 0x00000011 
+ 00029252  0x00009552 arg  0x00000538 , 0x00000012 
+ 00029253  0x00009553 arg  0x00000638 , 0x00000005 
+ 00029254  0x00009554 call  0x00007153 
+ 00029255  0x00009555 arg  0x00000638 , 0x00000011 
+ 00029256  0x00009556 arg  0x00000620 , 0x00000012 
+ 00029257  0x00009557 arg  0x00000638 , 0x00000005 
+ 00029258  0x00009558 call  0x00007181 
+ 00029259  0x00009559 arg  0x00000638 , 0x00000011 
+ 00029260  0x0000955a arg  0x00000608 , 0x00000012 
+ 00029261  0x0000955b arg  0x00000550 , 0x00000005 
+ 00029262  0x0000955c branch  0x00007153 
+ 00029263  0x00009561 arg  0x000004d8 , 0x00000011 
+ 00029264  0x00009562 arg  0x00000650 , 0x00000005 
+ 00029265  0x00009563 call  0x000071a3 
+ 00029266  0x00009564 arg  0x00000538 , 0x00000011 
+ 00029267  0x00009565 arg  0x00000650 , 0x00000012 
+ 00029268  0x00009566 arg  0x00000608 , 0x00000005 
+ 00029269  0x00009567 call  0x00007181 
+ 00029270  0x00009568 arg  0x000004d8 , 0x00000011 
+ 00029271  0x00009569 arg  0x00000650 , 0x00000012 
+ 00029272  0x0000956a arg  0x00000650 , 0x00000005 
+ 00029273  0x0000956b call  0x00007181 
+ 00029274  0x0000956c arg  0x00000550 , 0x00000011 
+ 00029275  0x0000956d arg  0x00000650 , 0x00000012 
+ 00029276  0x0000956e arg  0x000005f0 , 0x00000005 
+ 00029277  0x0000956f call  0x00007181 
+ 00029278  0x00009570 arg  0x00000568 , 0x00000011 
+ 00029279  0x00009571 arg  0x00000650 , 0x00000005 
+ 00029280  0x00009572 call  0x000071a3 
+ 00029281  0x00009573 arg  0x000004a8 , 0x00000011 
+ 00029282  0x00009574 arg  0x00000650 , 0x00000012 
+ 00029283  0x00009575 arg  0x00000620 , 0x00000005 
+ 00029284  0x00009576 call  0x00007181 
+ 00029285  0x00009577 arg  0x00000568 , 0x00000011 
+ 00029286  0x00009578 arg  0x00000650 , 0x00000012 
+ 00029287  0x00009579 arg  0x00000650 , 0x00000005 
+ 00029288  0x0000957a call  0x00007181 
+ 00029289  0x0000957b arg  0x000004c0 , 0x00000011 
+ 00029290  0x0000957c arg  0x00000650 , 0x00000012 
+ 00029291  0x0000957d arg  0x00000638 , 0x00000005 
+ 00029292  0x0000957e call  0x00007181 
+ 00029293  0x0000957f arg  0x00000608 , 0x00000011 
+ 00029294  0x00009580 arg  0x00000620 , 0x00000012 
+ 00029295  0x00009581 arg  0x00000650 , 0x00000005 
+ 00029296  0x00009582 call  0x00007153 
+ 00029297  0x00009583 arg  0x00000608 , 0x00000011 
+ 00029298  0x00009584 arg  0x00000620 , 0x00000012 
+ 00029299  0x00009585 arg  0x00000608 , 0x00000005 
+ 00029300  0x00009586 call  0x00007150 
+ 00029301  0x00009587 arg  0x000005f0 , 0x00000011 
+ 00029302  0x00009588 arg  0x00000638 , 0x00000012 
+ 00029303  0x00009589 arg  0x00000620 , 0x00000005 
+ 00029304  0x0000958a call  0x00007153 
+ 00029305  0x0000958b arg  0x000005f0 , 0x00000011 
+ 00029306  0x0000958c arg  0x00000638 , 0x00000012 
+ 00029307  0x0000958d arg  0x000005f0 , 0x00000005 
+ 00029308  0x0000958e call  0x00007150 
+ 00029309  0x0000958f arg  0x000005f0 , 0x00000011 
+ 00029310  0x00009590 arg  0x00000650 , 0x00000012 
+ 00029311  0x00009591 arg  0x000005f0 , 0x00000005 
+ 00029312  0x00009592 call  0x00007181 
+ 00029313  0x00009593 arg  0x00000568 , 0x00000011 
+ 00029314  0x00009594 arg  0x000004d8 , 0x00000012 
+ 00029315  0x00009595 arg  0x00000638 , 0x00000005 
+ 00029316  0x00009596 call  0x00007181 
+ 00029317  0x00009597 arg  0x00000638 , 0x00000011 
+ 00029318  0x00009598 arg  0x00000650 , 0x00000012 
+ 00029319  0x00009599 arg  0x00000568 , 0x00000005 
+ 00029320  0x0000959a call  0x00007181 
+ 00029321  0x0000959b arg  0x00000650 , 0x00000011 
+ 00029322  0x0000959c arg  0x00000650 , 0x00000005 
+ 00029323  0x0000959d call  0x000071a3 
+ 00029324  0x0000959e arg  0x00000650 , 0x00000011 
+ 00029325  0x0000959f arg  0x00000608 , 0x00000012 
+ 00029326  0x000095a0 arg  0x00000638 , 0x00000005 
+ 00029327  0x000095a1 call  0x00007181 
+ 00029328  0x000095a2 arg  0x00000650 , 0x00000011 
+ 00029329  0x000095a3 arg  0x000005f0 , 0x00000012 
+ 00029330  0x000095a4 arg  0x000005f0 , 0x00000005 
+ 00029331  0x000095a5 call  0x00007181 
+ 00029332  0x000095a6 arg  0x00000620 , 0x00000011 
+ 00029333  0x000095a7 arg  0x00000538 , 0x00000005 
+ 00029334  0x000095a8 call  0x000071a3 
+ 00029335  0x000095a9 arg  0x00000538 , 0x00000011 
+ 00029336  0x000095aa arg  0x00000638 , 0x00000012 
+ 00029337  0x000095ab arg  0x00000538 , 0x00000005 
+ 00029338  0x000095ac call  0x00007153 
+ 00029339  0x000095ad arg  0x00000538 , 0x00000006 
+ 00029340  0x000095ae arg  0x00000650 , 0x00000005 
+ 00029341  0x000095af call  0x00007d7e 
+ 00029342  0x000095b0 arg  0x00000650 , 0x00000011 
+ 00029343  0x000095b1 call  0x00007143 
+ 00029344  0x000095b2 arg  0x00000638 , 0x00000011 
+ 00029345  0x000095b3 arg  0x00000650 , 0x00000012 
+ 00029346  0x000095b4 arg  0x00000638 , 0x00000005 
+ 00029347  0x000095b5 call  0x00007153 
+ 00029348  0x000095b6 arg  0x00000638 , 0x00000011 
+ 00029349  0x000095b7 arg  0x00000620 , 0x00000012 
+ 00029350  0x000095b8 arg  0x00000620 , 0x00000005 
+ 00029351  0x000095b9 call  0x00007181 
+ 00029352  0x000095ba arg  0x00000620 , 0x00000011 
+ 00029353  0x000095bb arg  0x000005f0 , 0x00000012 
+ 00029354  0x000095bc arg  0x00000550 , 0x00000005 
+ 00029355  0x000095bd call  0x00007153 
+ 00029356  0x000095be arg  0x00000550 , 0x00000011 
+ 00029357  0x000095bf arg  0x00000748 , 0x00000012 
+ 00029358  0x000095c0 arg  0x00000550 , 0x00000005 
+ 00029359  0x000095c1 force  0x00000000 , 0x00000013 
+ 00029360  0x000095c2 fetch  0x00000001 , 0x00000550 
+ 00029361  0x000095c3 isolate1  0x00000000 , 0x0000003f 
+ 00029362  0x000095c4 call  0x0000710c , 0x00000001 
+ 00029363  0x000095c5 copy  0x00000013 , 0x00000030 
+ 00029364  0x000095c6 arg  0x00000550 , 0x00000011 
+ 00029365  0x000095c7 call  0x00007128 
+ 00029366  0x000095c8 fetch  0x00000001 , 0x00000567 
+ 00029367  0x000095c9 isolate1  0x00000000 , 0x00000030 
+ 00029368  0x000095ca setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00029369  0x000095cb store  0x00000001 , 0x00000567 
+ 00029370  0x000095cc rtn 
+ 00029371  0x000095d1 fetch  0x00000001 , 0x000004a5 
+ 00029372  0x000095d2 increase  0xffffffff , 0x0000003f 
+ 00029373  0x000095d3 nrtn  0x00000002 
+ 00029374  0x000095d4 store  0x00000001 , 0x000004a5 
+ 00029375  0x000095d5 fetch  0x00000001 , 0x000004a4 
+ 00029376  0x000095d6 call  0x000071fe , 0x00000034 
+ 00029377  0x000095d7 fetch  0x00000001 , 0x000004a5 
+ 00029378  0x000095d8 arg  0x00000580 , 0x00000006 
+ 00029379  0x000095d9 call  0x000070e7 
+ 00029380  0x000095da branch  0x000072bb , 0x00000001 
+ 00029381  0x000095db fetch  0x00000001 , 0x000004a4 
+ 00029382  0x000095dc nbranch  0x000072c9 , 0x00000034 
+ 00029383  0x000095dd call  0x0000724f 
+ 00029384  0x000095de branch  0x000072bb 
+ 00029385  0x000095e0 jam  0x00000000 , 0x000004a4 
+ 00029386  0x000095e1 arg  0x000004a8 , 0x00000006 
+ 00029387  0x000095e2 arg  0x00000538 , 0x00000005 
+ 00029388  0x000095e3 call  0x000070ed 
+ 00029389  0x000095e4 branch  0x000072bb 
+ 00029390  0x000095e8 arg  0x00000568 , 0x00000011 
+ 00029391  0x000095e9 arg  0x00000638 , 0x00000005 
+ 00029392  0x000095ea call  0x000071b9 
+ 00029393  0x000095eb arg  0x00000638 , 0x00000011 
+ 00029394  0x000095ec arg  0x000005f0 , 0x00000005 
+ 00029395  0x000095ed call  0x000071a3 
+ 00029396  0x000095ee arg  0x00000538 , 0x00000011 
+ 00029397  0x000095ef arg  0x000005f0 , 0x00000012 
+ 00029398  0x000095f0 arg  0x000004f0 , 0x00000005 
+ 00029399  0x000095f1 call  0x00007181 
+ 00029400  0x000095f2 arg  0x00000638 , 0x00000011 
+ 00029401  0x000095f3 arg  0x000005f0 , 0x00000012 
+ 00029402  0x000095f4 arg  0x00000620 , 0x00000005 
+ 00029403  0x000095f5 call  0x00007181 
+ 00029404  0x000095f6 arg  0x00000550 , 0x00000011 
+ 00029405  0x000095f7 arg  0x00000620 , 0x00000012 
+ 00029406  0x000095f8 arg  0x00000508 , 0x00000005 
+ 00029407  0x000095f9 branch  0x00007181 
+ 00029408  0x000095fe ifetch  0x00000004 , 0x00000006 
+ 00029409  0x000095ff force  0x00000004 , 0x00000011 
+ 00029410  0x00009600 increase  0x00000003 , 0x00000005 
+ 00029411  0x00009602 istore  0x00000001 , 0x00000005 
+ 00029412  0x00009603 rshift8  0x0000003f , 0x0000003f 
+ 00029413  0x00009604 increase  0xfffffffe , 0x00000005 
+ 00029414  0x00009605 increase  0xffffffff , 0x00000011 
+ 00029415  0x00009606 nbranch  0x000072e3 , 0x00000005 
+ 00029416  0x00009607 increase  0x00000005 , 0x00000005 
+ 00029417  0x00009608 loop  0x000072e0 
+ 00029418  0x00009609 rtn 
+ 00029419  0x0000960d lshift2  0x00000007 , 0x0000003f 
+ 00029420  0x0000960e iadd  0x0000000b , 0x00000006 
+ 00029421  0x0000960f ifetch  0x00000004 , 0x00000006 
+ 00029422  0x00009610 rtn 
+ 00029423  0x00009613 force  0x00000010 , 0x00000030 
+ 00029424  0x00009614 arg  0x000004a8 , 0x0000000b 
+ 00029425  0x00009616 add  0x00000030 , 0xfffffff9 , 0x00000007 
+ 00029426  0x00009617 call  0x000072eb 
+ 00029427  0x00009618 iforce  0x00000002 
+ 00029428  0x00009619 add  0x00000030 , 0xfffffff0 , 0x00000007 
+ 00029429  0x0000961a call  0x000072eb 
+ 00029430  0x0000961b iadd  0x00000002 , 0x00000002 
+ 00029431  0x0000961c add  0x00000030 , 0xfffffffe , 0x00000007 
+ 00029432  0x0000961d call  0x000072eb 
+ 00029433  0x0000961e shasx  0x0000003f , 0x00000001 , 0x0000003f 
+ 00029434  0x0000961f iadd  0x00000002 , 0x00000002 
+ 00029435  0x00009620 add  0x00000030 , 0xfffffff1 , 0x00000007 
+ 00029436  0x00009621 call  0x000072eb 
+ 00029437  0x00009622 shasx  0x0000003f , 0x00000000 , 0x0000003f 
+ 00029438  0x00009623 iadd  0x00000002 , 0x00000002 
+ 00029439  0x00009624 lshift2  0x00000030 , 0x0000003f 
+ 00029440  0x00009625 iadd  0x0000000b , 0x00000005 
+ 00029441  0x00009626 istoret  0x00000004 , 0x00000005 
+ 00029442  0x00009627 increase  0x00000001 , 0x00000030 
+ 00029443  0x00009628 compare  0x00000040 , 0x00000030 , 0x000000ff 
+ 00029444  0x00009629 nbranch  0x000072f1 , 0x00000001 
+ 00029445  0x0000962a rtn 
+ 00029446  0x0000962e arg  0x000007c0 , 0x00000006 
+ 00029447  0x0000962f force  0x00000007 , 0x00000038 
+ 00029448  0x00009631 ifetch  0x00000004 , 0x00000006 
+ 00029449  0x00009632 iforce  0x0000002f 
+ 00029450  0x00009633 increase  0xffffffff , 0x00000038 
+ 00029451  0x00009634 branch  0x00007308 , 0x00000002 
+ 00029452  0x00009635 rtn 
+ 00029453  0x00009638 bpatchx  0x0000007d , 0x0000402f 
+ 00029454  0x00009639 call  0x000072ef 
+ 00029455  0x0000963a arg  0x000005a8 , 0x00000005 
+ 00029456  0x0000963b force  0x00000000 , 0x00000038 
+ 00029457  0x0000963d deposit  0x0000002f 
+ 00029458  0x0000963e istore  0x00000004 , 0x00000005 
+ 00029459  0x0000963f increase  0x00000001 , 0x00000038 
+ 00029460  0x00009640 compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00029461  0x00009641 nbranch  0x00007311 , 0x00000001 
+ 00029462  0x00009642 call  0x00006e5e 
+ 00029463  0x00009643 arg  0x00009300 , 0x0000000b 
+ 00029464  0x00009644 arg  0x000004a8 , 0x00000030 
+ 00029465  0x00009645 force  0x00000040 , 0x00000039 
+ 00029466  0x00009647 ifetcht  0x00000004 , 0x00000030 
+ 00029467  0x00009648 ifetch  0x00000004 , 0x0000000b 
+ 00029468  0x00009649 increase  0x00000004 , 0x0000000b 
+ 00029469  0x0000964a increase  0x00000004 , 0x00000030 
+ 00029470  0x0000964b iadd  0x00000002 , 0x0000003f 
+ 00029471  0x0000964c force  0x00000007 , 0x00000038 
+ 00029472  0x0000964d iadd  0x0000002f , 0x00000002 
+ 00029473  0x0000964e force  0x00000004 , 0x00000038 
+ 00029474  0x0000964f shasx  0x0000002f , 0x00000003 , 0x0000003f 
+ 00029475  0x00009650 iadd  0x00000002 , 0x00000002 
+ 00029476  0x00009651 force  0x00000005 , 0x00000038 
+ 00029477  0x00009652 deposit  0x0000002f 
+ 00029478  0x00009653 force  0x00000006 , 0x00000038 
+ 00029479  0x00009654 ixor  0x0000002f , 0x0000003f 
+ 00029480  0x00009655 force  0x00000004 , 0x00000038 
+ 00029481  0x00009656 iand  0x0000002f , 0x0000003f 
+ 00029482  0x00009657 force  0x00000006 , 0x00000038 
+ 00029483  0x00009658 ixor  0x0000002f , 0x0000003f 
+ 00029484  0x00009659 iadd  0x00000002 , 0x00000002 
+ 00029485  0x0000965a force  0x00000007 , 0x00000038 
+ 00029486  0x0000965b copy  0x00000002 , 0x0000002f 
+ 00029487  0x0000965c force  0x00000003 , 0x00000038 
+ 00029488  0x0000965d deposit  0x0000002f 
+ 00029489  0x0000965e iadd  0x00000002 , 0x0000002f 
+ 00029490  0x0000965f force  0x00000000 , 0x00000038 
+ 00029491  0x00009660 deposit  0x0000002f 
+ 00029492  0x00009661 force  0x00000001 , 0x00000038 
+ 00029493  0x00009662 iand  0x0000002f , 0x00000002 
+ 00029494  0x00009663 ior  0x0000002f , 0x0000003f 
+ 00029495  0x00009664 force  0x00000002 , 0x00000038 
+ 00029496  0x00009665 iand  0x0000002f , 0x0000003f 
+ 00029497  0x00009666 ior  0x00000002 , 0x00000002 
+ 00029498  0x00009667 force  0x00000000 , 0x00000038 
+ 00029499  0x00009668 shasx  0x0000002f , 0x00000002 , 0x0000003f 
+ 00029500  0x00009669 iadd  0x00000002 , 0x0000003f 
+ 00029501  0x0000966a force  0x00000007 , 0x00000038 
+ 00029502  0x0000966b iadd  0x0000002f , 0x0000002f 
+ 00029503  0x0000966c regexrot 
+ 00029504  0x0000966d loop  0x0000731a 
+ 00029505  0x0000966e arg  0x000005a8 , 0x00000006 
+ 00029506  0x0000966f force  0x00000000 , 0x00000038 
+ 00029507  0x00009671 ifetch  0x00000004 , 0x00000006 
+ 00029508  0x00009672 iadd  0x0000002f , 0x0000002f 
+ 00029509  0x00009673 increase  0x00000001 , 0x00000038 
+ 00029510  0x00009674 compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00029511  0x00009675 nbranch  0x00007343 , 0x00000001 
+ 00029512  0x00009676 branch  0x00006e62 
+ 00029513  0x0000967a arg  0x00000900 , 0x00000005 
+ 00029514  0x0000967b force  0x00000007 , 0x00000038 
+ 00029515  0x0000967d deposit  0x0000002f 
+ 00029516  0x0000967e istore  0x00000004 , 0x00000005 
+ 00029517  0x0000967f increase  0xffffffff , 0x00000038 
+ 00029518  0x00009680 branch  0x0000734b , 0x00000002 
+ 00029519  0x00009681 rtn 
+ 00029520  0x00009685 arg  0x000004a8 , 0x00000005 
+ 00029521  0x00009686 increase  0xfffffffc , 0x00000006 
+ 00029522  0x00009687 sub  0x00000039 , 0x00000010 , 0x00000011 
+ 00029523  0x00009689 ifetch  0x00000004 , 0x00000006 
+ 00029524  0x0000968a ixor  0x00000002 , 0x0000003f 
+ 00029525  0x0000968b istore  0x00000004 , 0x00000005 
+ 00029526  0x0000968c increase  0xfffffff8 , 0x00000006 
+ 00029527  0x0000968d loop  0x00007353 
+ 00029528  0x0000968e copy  0x00000011 , 0x00000039 
+ 00029529  0x0000968f deposit  0x00000002 
+ 00029530  0x00009691 istore  0x00000004 , 0x00000005 
+ 00029531  0x00009692 loop  0x0000735a 
+ 00029532  0x00009693 rtn 
+ 00029533  0x00009696 fetch  0x00000001 , 0x00004648 
+ 00029534  0x00009697 beq  0x00000002 , 0x00007364 
+ 00029535  0x00009698 beq  0x00000001 , 0x00007361 
+ 00029536  0x00009699 rtn 
+ 00029537  0x0000969c call  0x00007369 
+ 00029538  0x0000969d call  0x00007349 
+ 00029539  0x0000969e branch  0x0000738f 
+ 00029540  0x000096a1 call  0x000073a3 
+ 00029541  0x000096a2 call  0x00007349 
+ 00029542  0x000096a3 branch  0x0000738f 
+ 00029543  0x000096a6 call  0x00007369 
+ 00029544  0x000096a7 branch  0x0000738f 
+ 00029545  0x000096aa arg  0x000008a0 , 0x00000006 
+ 00029546  0x000096ab arg  0x000004a8 , 0x00000005 
+ 00029547  0x000096ac force  0x00000006 , 0x00000039 
+ 00029548  0x000096ad call  0x0000748d 
+ 00029549  0x000096ae arg  0x0000474f , 0x00000006 
+ 00029550  0x000096af force  0x00000006 , 0x00000039 
+ 00029551  0x000096b0 call  0x0000748d 
+ 00029552  0x000096b1 arg  0x00000900 , 0x00000006 
+ 00029553  0x000096b2 call  0x0000748c 
+ 00029554  0x000096b3 call  0x00007306 
+ 00029555  0x000096b4 call  0x0000730d 
+ 00029556  0x000096b5 arg  0x000008f0 , 0x00000006 
+ 00029557  0x000096b6 arg  0x000004a8 , 0x00000005 
+ 00029558  0x000096b7 branch  0x00007386 
+ 00029559  0x000096ba arg  0x0000474f , 0x00000006 
+ 00029560  0x000096bb arg  0x000004a8 , 0x00000005 
+ 00029561  0x000096bc force  0x00000006 , 0x00000039 
+ 00029562  0x000096bd call  0x0000748d 
+ 00029563  0x000096be arg  0x000008a0 , 0x00000006 
+ 00029564  0x000096bf force  0x00000006 , 0x00000039 
+ 00029565  0x000096c0 call  0x0000748d 
+ 00029566  0x000096c1 arg  0x000008f0 , 0x00000006 
+ 00029567  0x000096c2 call  0x0000748c 
+ 00029568  0x000096c3 call  0x00007306 
+ 00029569  0x000096c4 call  0x0000730d 
+ 00029570  0x000096c5 arg  0x00000900 , 0x00000006 
+ 00029571  0x000096c6 arg  0x000004a8 , 0x00000005 
+ 00029572  0x000096c7 call  0x00007386 
+ 00029573  0x000096c8 branch  0x0000738f 
+ 00029574  0x000096cb call  0x0000748c 
+ 00029575  0x000096cc setarg  0x00800000 
+ 00029576  0x000096cd lshift8  0x0000003f , 0x0000003f 
+ 00029577  0x000096ce istore  0x00000004 , 0x00000005 
+ 00029578  0x000096cf force  0x00000005 , 0x00000039 
+ 00029579  0x000096d0 call  0x00007d8c 
+ 00029580  0x000096d1 setarg  0x00000280 
+ 00029581  0x000096d2 istore  0x00000004 , 0x00000005 
+ 00029582  0x000096d3 branch  0x0000730d 
+ 00029583  0x000096d5 fetch  0x00000004 , 0x00000900 
+ 00029584  0x000096d7 arg  0x000003e8 , 0x00000011 
+ 00029585  0x000096d8 idiv  0x00000011 
+ 00029586  0x000096d9 call  0x00007e64 
+ 00029587  0x000096da remainder  0x0000003f 
+ 00029588  0x000096db store  0x00000004 , 0x0000087c 
+ 00029589  0x000096dc quotient  0x0000003f 
+ 00029590  0x000096dd arg  0x000003e8 , 0x00000011 
+ 00029591  0x000096de idiv  0x00000011 
+ 00029592  0x000096df call  0x00007e64 
+ 00029593  0x000096e0 remainder  0x0000003f 
+ 00029594  0x000096e1 arg  0x000003e8 , 0x00000011 
+ 00029595  0x000096e2 imul32  0x00000011 , 0x0000003f 
+ 00029596  0x000096e3 fetcht  0x00000004 , 0x0000087c 
+ 00029597  0x000096e4 iadd  0x00000002 , 0x0000003f 
+ 00029598  0x000096e5 store  0x00000004 , 0x0000087c 
+ 00029599  0x000096e6 rtn 
+ 00029600  0x000096e9 call  0x000073a3 
+ 00029601  0x000096ea call  0x00007349 
+ 00029602  0x000096eb branch  0x0000738f 
+ 00029603  0x000096ef arg  0x000008a0 , 0x00000006 
+ 00029604  0x000096f0 arg  0x000004a8 , 0x00000005 
+ 00029605  0x000096f1 force  0x00000008 , 0x00000039 
+ 00029606  0x000096f2 call  0x0000748d 
+ 00029607  0x000096f3 arg  0x000046ff , 0x00000006 
+ 00029608  0x000096f4 force  0x00000008 , 0x00000039 
+ 00029609  0x000096f5 call  0x0000748d 
+ 00029610  0x000096f8 call  0x00007306 
+ 00029611  0x000096f9 call  0x0000730d 
+ 00029612  0x000096fa arg  0x00000900 , 0x00000006 
+ 00029613  0x000096fb arg  0x000004a8 , 0x00000005 
+ 00029614  0x000096fc call  0x0000748c 
+ 00029615  0x000096fd arg  0x000008f0 , 0x00000006 
+ 00029616  0x000096fe branch  0x000073b1 
+ 00029617  0x00009701 call  0x0000748c 
+ 00029618  0x00009702 setarg  0x00800000 
+ 00029619  0x00009703 lshift8  0x0000003f , 0x0000003f 
+ 00029620  0x00009704 istore  0x00000004 , 0x00000005 
+ 00029621  0x00009705 force  0x00000003 , 0x00000039 
+ 00029622  0x00009706 call  0x00007d8c 
+ 00029623  0x00009707 setarg  0x00000300 
+ 00029624  0x00009708 istore  0x00000004 , 0x00000005 
+ 00029625  0x00009709 branch  0x0000730d 
+ 00029626  0x0000970c jam  0x00000000 , 0x00004771 
+ 00029627  0x0000970d branch  0x000073be 
+ 00029628  0x00009710 fetch  0x00000001 , 0x0000476f 
+ 00029629  0x00009711 bne  0x00000002 , 0x000073ba 
+ 00029630  0x00009713 bpatchx  0x0000007e , 0x0000402f 
+ 00029631  0x00009714 setarg  0x00363636 
+ 00029632  0x00009715 lshift8  0x0000003f , 0x00000002 
+ 00029633  0x00009716 or_into  0x00000036 , 0x00000002 
+ 00029634  0x00009717 fetch  0x00000002 , 0x00000940 
+ 00029635  0x00009718 copy  0x0000003f , 0x00000006 
+ 00029636  0x00009719 force  0x00000004 , 0x00000039 
+ 00029637  0x0000971a call  0x00007350 
+ 00029638  0x0000971b call  0x00007306 
+ 00029639  0x0000971c call  0x0000730d 
+ 00029640  0x0000971d fetch  0x00000002 , 0x00000942 
+ 00029641  0x0000971e copy  0x0000003f , 0x00000006 
+ 00029642  0x0000971f arg  0x000004a8 , 0x00000005 
+ 00029643  0x00009720 force  0x00000006 , 0x00000039 
+ 00029644  0x00009721 call  0x0000748d 
+ 00029645  0x00009722 fetch  0x00000002 , 0x00000944 
+ 00029646  0x00009723 copy  0x0000003f , 0x00000006 
+ 00029647  0x00009724 force  0x00000006 , 0x00000039 
+ 00029648  0x00009725 call  0x0000748d 
+ 00029649  0x00009726 setarg  0x00800000 
+ 00029650  0x00009727 istore  0x00000003 , 0x00000005 
+ 00029651  0x00009729 fetch  0x00000001 , 0x00004771 
+ 00029652  0x0000972b istore  0x00000001 , 0x00000005 
+ 00029653  0x0000972c force  0x00000000 , 0x0000003f 
+ 00029654  0x0000972d istore  0x00000008 , 0x00000005 
+ 00029655  0x0000972e setarg  0x00000388 
+ 00029656  0x0000972f istore  0x00000004 , 0x00000005 
+ 00029657  0x00009731 call  0x0000730d 
+ 00029658  0x00009732 call  0x00007349 
+ 00029659  0x00009733 arg  0x00000900 , 0x00000006 
+ 00029660  0x00009734 arg  0x000005c8 , 0x00000005 
+ 00029661  0x00009735 call  0x00007d7d 
+ 00029662  0x00009737 setarg  0x005c5c5c 
+ 00029663  0x00009738 lshift8  0x0000003f , 0x00000002 
+ 00029664  0x00009739 or_into  0x0000005c , 0x00000002 
+ 00029665  0x0000973a fetch  0x00000002 , 0x00000940 
+ 00029666  0x0000973b copy  0x0000003f , 0x00000006 
+ 00029667  0x0000973c force  0x00000004 , 0x00000039 
+ 00029668  0x0000973d call  0x00007350 
+ 00029669  0x0000973e call  0x00007306 
+ 00029670  0x0000973f call  0x0000730d 
+ 00029671  0x00009740 arg  0x000005e8 , 0x00000006 
+ 00029672  0x00009741 arg  0x000004a8 , 0x00000005 
+ 00029673  0x00009742 force  0x00000008 , 0x00000039 
+ 00029674  0x00009743 call  0x0000748d 
+ 00029675  0x00009744 setarg  0x00800000 
+ 00029676  0x00009745 lshift8  0x0000003f , 0x0000003f 
+ 00029677  0x00009746 istore  0x00000004 , 0x00000005 
+ 00029678  0x00009747 call  0x00007d8b 
+ 00029679  0x00009748 setarg  0x00000300 
+ 00029680  0x00009749 istore  0x00000004 , 0x00000005 
+ 00029681  0x0000974a call  0x0000730d 
+ 00029682  0x0000974b branch  0x00007349 
+ 00029683  0x0000974f setarg  0x00363636 
+ 00029684  0x00009750 lshift8  0x0000003f , 0x00000002 
+ 00029685  0x00009751 or_into  0x00000036 , 0x00000002 
+ 00029686  0x00009752 arg  0x000008e0 , 0x00000006 
+ 00029687  0x00009753 force  0x00000006 , 0x00000039 
+ 00029688  0x00009754 call  0x00007350 
+ 00029689  0x00009755 call  0x00007306 
+ 00029690  0x00009756 call  0x0000730d 
+ 00029691  0x00009757 fetch  0x00000002 , 0x0000094c 
+ 00029692  0x00009758 copy  0x0000003f , 0x00000006 
+ 00029693  0x00009759 arg  0x000004a8 , 0x00000005 
+ 00029694  0x0000975a call  0x0000748c 
+ 00029695  0x0000975b fetch  0x00000002 , 0x0000094e 
+ 00029696  0x0000975c copy  0x0000003f , 0x00000006 
+ 00029697  0x0000975d call  0x0000748c 
+ 00029698  0x0000975f setarg  0x0062746c 
+ 00029699  0x00009760 lshift8  0x0000003f , 0x0000003f 
+ 00029700  0x00009761 or_into  0x0000006b , 0x0000003f 
+ 00029701  0x00009762 istore  0x00000004 , 0x00000005 
+ 00029702  0x00009763 arg  0x000005f5 , 0x00000006 
+ 00029703  0x00009764 force  0x00000003 , 0x00000039 
+ 00029704  0x00009765 call  0x0000748d 
+ 00029705  0x00009767 setarg  0x00800000 
+ 00029706  0x00009768 lshift8  0x0000003f , 0x0000003f 
+ 00029707  0x00009769 istore  0x00000004 , 0x00000005 
+ 00029708  0x0000976a force  0x00000000 , 0x0000003f 
+ 00029709  0x0000976b istore  0x00000008 , 0x00000005 
+ 00029710  0x0000976c setarg  0x00000380 
+ 00029711  0x0000976d istore  0x00000004 , 0x00000005 
+ 00029712  0x0000976e call  0x0000730d 
+ 00029713  0x00009770 call  0x00007349 
+ 00029714  0x00009771 arg  0x00000900 , 0x00000006 
+ 00029715  0x00009772 arg  0x000005c8 , 0x00000005 
+ 00029716  0x00009773 call  0x00007d7d 
+ 00029717  0x00009775 setarg  0x005c5c5c 
+ 00029718  0x00009776 lshift8  0x0000003f , 0x00000002 
+ 00029719  0x00009777 or_into  0x0000005c , 0x00000002 
+ 00029720  0x00009778 arg  0x000008e0 , 0x00000006 
+ 00029721  0x00009779 force  0x00000006 , 0x00000039 
+ 00029722  0x0000977a call  0x00007350 
+ 00029723  0x0000977b call  0x00007306 
+ 00029724  0x0000977c call  0x0000730d 
+ 00029725  0x0000977d arg  0x000005e8 , 0x00000006 
+ 00029726  0x0000977e arg  0x000004a8 , 0x00000005 
+ 00029727  0x0000977f force  0x00000008 , 0x00000039 
+ 00029728  0x00009780 call  0x0000748d 
+ 00029729  0x00009781 setarg  0x00800000 
+ 00029730  0x00009782 lshift8  0x0000003f , 0x0000003f 
+ 00029731  0x00009783 istore  0x00000004 , 0x00000005 
+ 00029732  0x00009784 call  0x00007d8b 
+ 00029733  0x00009785 setarg  0x00000300 
+ 00029734  0x00009786 istore  0x00000004 , 0x00000005 
+ 00029735  0x00009787 call  0x0000730d 
+ 00029736  0x00009788 branch  0x00007349 
+ 00029737  0x0000978c fetch  0x00000001 , 0x0000476f 
+ 00029738  0x0000978d bne  0x00000002 , 0x0000743a 
+ 00029739  0x0000978f bpatchx  0x0000007f , 0x0000402f 
+ 00029740  0x00009790 setarg  0x00363636 
+ 00029741  0x00009791 lshift8  0x0000003f , 0x00000002 
+ 00029742  0x00009792 or_into  0x00000036 , 0x00000002 
+ 00029743  0x00009793 arg  0x000008e0 , 0x00000006 
+ 00029744  0x00009794 force  0x00000006 , 0x00000039 
+ 00029745  0x00009795 call  0x00007350 
+ 00029746  0x00009796 call  0x00007306 
+ 00029747  0x00009797 call  0x0000730d 
+ 00029748  0x00009798 arg  0x00000900 , 0x00000006 
+ 00029749  0x00009799 arg  0x000004a8 , 0x00000005 
+ 00029750  0x0000979a call  0x0000748c 
+ 00029751  0x0000979b arg  0x000008f0 , 0x00000006 
+ 00029752  0x0000979c call  0x0000748c 
+ 00029753  0x0000979d branch  0x0000744f 
+ 00029754  0x000097a0 setarg  0x00000000 
+ 00029755  0x000097a1 store  0x00000004 , 0x00004797 
+ 00029756  0x000097a2 branch  0x0000742b 
+ 00029757  0x000097a5 setarg  0x00000000 
+ 00029758  0x000097a6 store  0x00000004 , 0x00004797 
+ 00029759  0x000097a7 branch  0x00007442 
+ 00029760  0x000097ab fetch  0x00000001 , 0x0000476f 
+ 00029761  0x000097ac bne  0x00000002 , 0x0000743d 
+ 00029762  0x000097ae setarg  0x00363636 
+ 00029763  0x000097af lshift8  0x0000003f , 0x00000002 
+ 00029764  0x000097b0 or_into  0x00000036 , 0x00000002 
+ 00029765  0x000097b1 arg  0x000008e0 , 0x00000006 
+ 00029766  0x000097b2 force  0x00000006 , 0x00000039 
+ 00029767  0x000097b3 call  0x00007350 
+ 00029768  0x000097b4 call  0x00007306 
+ 00029769  0x000097b5 call  0x0000730d 
+ 00029770  0x000097b7 arg  0x000008f0 , 0x00000006 
+ 00029771  0x000097b8 arg  0x000004a8 , 0x00000005 
+ 00029772  0x000097b9 call  0x0000748c 
+ 00029773  0x000097ba arg  0x00000900 , 0x00000006 
+ 00029774  0x000097bb call  0x0000748c 
+ 00029775  0x000097bd setarg  0x00000000 
+ 00029776  0x000097be istore  0x00000008 , 0x00000005 
+ 00029777  0x000097bf istore  0x00000004 , 0x00000005 
+ 00029778  0x000097c0 fetch  0x00000004 , 0x00004797 
+ 00029779  0x000097c1 istore  0x00000004 , 0x00000005 
+ 00029780  0x000097c3 copy  0x00000005 , 0x00000002 
+ 00029781  0x000097c4 jam  0x00000080 , 0x000005e8 
+ 00029782  0x000097c5 copy  0x00000002 , 0x00000005 
+ 00029783  0x000097c6 arg  0x000005f8 , 0x00000006 
+ 00029784  0x000097c7 call  0x0000748c 
+ 00029785  0x000097c9 call  0x0000730d 
+ 00029786  0x000097cb arg  0x000004a8 , 0x00000005 
+ 00029787  0x000097cc force  0x00000007 , 0x00000039 
+ 00029788  0x000097cd call  0x00007d8c 
+ 00029789  0x000097ce istore  0x00000004 , 0x00000005 
+ 00029790  0x000097cf setarg  0x000003f8 
+ 00029791  0x000097d0 istore  0x00000004 , 0x00000005 
+ 00029792  0x000097d1 call  0x0000730d 
+ 00029793  0x000097d2 call  0x00007349 
+ 00029794  0x000097d4 arg  0x00000900 , 0x00000006 
+ 00029795  0x000097d5 arg  0x000005c8 , 0x00000005 
+ 00029796  0x000097d6 call  0x00007d7d 
+ 00029797  0x000097d8 setarg  0x005c5c5c 
+ 00029798  0x000097d9 lshift8  0x0000003f , 0x00000002 
+ 00029799  0x000097da or_into  0x0000005c , 0x00000002 
+ 00029800  0x000097db arg  0x000008e0 , 0x00000006 
+ 00029801  0x000097dc force  0x00000006 , 0x00000039 
+ 00029802  0x000097dd call  0x00007350 
+ 00029803  0x000097de call  0x00007306 
+ 00029804  0x000097df call  0x0000730d 
+ 00029805  0x000097e0 arg  0x000005e8 , 0x00000006 
+ 00029806  0x000097e1 arg  0x000004a8 , 0x00000005 
+ 00029807  0x000097e2 force  0x00000008 , 0x00000039 
+ 00029808  0x000097e3 call  0x0000748d 
+ 00029809  0x000097e4 setarg  0x00800000 
+ 00029810  0x000097e5 lshift8  0x0000003f , 0x0000003f 
+ 00029811  0x000097e6 istore  0x00000004 , 0x00000005 
+ 00029812  0x000097e7 call  0x00007d8b 
+ 00029813  0x000097e8 setarg  0x00000300 
+ 00029814  0x000097e9 istore  0x00000004 , 0x00000005 
+ 00029815  0x000097ea call  0x0000730d 
+ 00029816  0x000097eb branch  0x00007349 
+ 00029817  0x000097ee jam  0x000000c0 , 0x000004a5 
+ 00029818  0x000097f0 fetch  0x00000001 , 0x000004a5 
+ 00029819  0x000097f1 rtn  0x00000034 
+ 00029820  0x000097f2 increase  0xffffffff , 0x0000003f 
+ 00029821  0x000097f3 store  0x00000001 , 0x000004a5 
+ 00029822  0x000097f4 arg  0x00000580 , 0x00000006 
+ 00029823  0x000097f5 call  0x000070e7 
+ 00029824  0x000097f6 branch  0x0000747a , 0x00000001 
+ 00029825  0x000097f7 arg  0x000004a8 , 0x00000006 
+ 00029826  0x000097f8 arg  0x00000538 , 0x00000005 
+ 00029827  0x000097f9 branch  0x000070ed 
+ 00029828  0x000097fc call  0x000071fe 
+ 00029829  0x000097fd fetch  0x00000001 , 0x000004a5 
+ 00029830  0x000097fe increase  0xffffffff , 0x0000003f 
+ 00029831  0x000097ff store  0x00000001 , 0x000004a5 
+ 00029832  0x00009800 arg  0x00000580 , 0x00000006 
+ 00029833  0x00009801 call  0x000070e7 
+ 00029834  0x00009802 rtn  0x00000001 
+ 00029835  0x00009803 branch  0x0000724f 
+ 00029836  0x00009806 force  0x00000004 , 0x00000039 
+ 00029837  0x00009808 increase  0xfffffffc , 0x00000006 
+ 00029838  0x0000980a ifetch  0x00000004 , 0x00000006 
+ 00029839  0x0000980b istore  0x00000004 , 0x00000005 
+ 00029840  0x0000980c increase  0xfffffff8 , 0x00000006 
+ 00029841  0x0000980d loop  0x0000748e 
+ 00029842  0x0000980e rtn 
+ 00029843  0x00009812 jam  0x00000000 , 0x00004771 
+ 00029844  0x00009813 branch  0x00007497 
+ 00029845  0x00009816 fetch  0x00000001 , 0x0000476f 
+ 00029846  0x00009817 bne  0x00000002 , 0x00007493 
+ 00029847  0x00009819 setarg  0x00363636 
+ 00029848  0x0000981a lshift8  0x0000003f , 0x00000002 
+ 00029849  0x0000981b or_into  0x00000036 , 0x00000002 
+ 00029850  0x0000981c fetch  0x00000002 , 0x00000940 
+ 00029851  0x0000981d copy  0x0000003f , 0x00000006 
+ 00029852  0x0000981e force  0x00000004 , 0x00000039 
+ 00029853  0x0000981f call  0x00007350 
+ 00029854  0x00009820 call  0x00007306 
+ 00029855  0x00009821 call  0x0000730d 
+ 00029856  0x00009822 fetch  0x00000002 , 0x00000942 
+ 00029857  0x00009823 copy  0x0000003f , 0x00000006 
+ 00029858  0x00009824 arg  0x000004a8 , 0x00000005 
+ 00029859  0x00009825 force  0x00000008 , 0x00000039 
+ 00029860  0x00009826 call  0x0000748d 
+ 00029861  0x00009827 fetch  0x00000002 , 0x00000944 
+ 00029862  0x00009828 copy  0x0000003f , 0x00000006 
+ 00029863  0x00009829 force  0x00000008 , 0x00000039 
+ 00029864  0x0000982a call  0x0000748d 
+ 00029865  0x0000982b call  0x0000730d 
+ 00029866  0x0000982c arg  0x000004a8 , 0x00000005 
+ 00029867  0x0000982d setarg  0x00800000 
+ 00029868  0x0000982e istore  0x00000003 , 0x00000005 
+ 00029869  0x0000982f fetch  0x00000001 , 0x00004771 
+ 00029870  0x00009830 istore  0x00000001 , 0x00000005 
+ 00029871  0x00009831 arg  0x00000007 , 0x00000039 
+ 00029872  0x00009832 call  0x00007d8c 
+ 00029873  0x00009834 setarg  0x00000408 
+ 00029874  0x00009835 istore  0x00000004 , 0x00000005 
+ 00029875  0x00009836 branch  0x000073d9 
+ 00029876  0x00009839 fetch  0x00000001 , 0x00004648 
+ 00029877  0x0000983a beq  0x00000002 , 0x000074b8 
+ 00029878  0x0000983b beq  0x00000001 , 0x00007429 
+ 00029879  0x0000983c rtn 
+ 00029880  0x0000983f fetch  0x00000001 , 0x0000476f 
+ 00029881  0x00009840 bne  0x00000002 , 0x000074f1 
+ 00029882  0x00009842 setarg  0x00363636 
+ 00029883  0x00009843 lshift8  0x0000003f , 0x00000002 
+ 00029884  0x00009844 or_into  0x00000036 , 0x00000002 
+ 00029885  0x00009845 arg  0x000008e0 , 0x00000006 
+ 00029886  0x00009846 force  0x00000008 , 0x00000039 
+ 00029887  0x00009847 call  0x00007350 
+ 00029888  0x00009848 call  0x00007306 
+ 00029889  0x00009849 call  0x0000730d 
+ 00029890  0x0000984a arg  0x00000900 , 0x00000006 
+ 00029891  0x0000984b arg  0x000004a8 , 0x00000005 
+ 00029892  0x0000984c call  0x0000748c 
+ 00029893  0x0000984d arg  0x000008f0 , 0x00000006 
+ 00029894  0x0000984e call  0x0000748c 
+ 00029895  0x00009851 setarg  0x00000000 
+ 00029896  0x00009852 istore  0x00000008 , 0x00000005 
+ 00029897  0x00009853 istore  0x00000004 , 0x00000005 
+ 00029898  0x00009854 fetch  0x00000004 , 0x00004797 
+ 00029899  0x00009855 istore  0x00000004 , 0x00000005 
+ 00029900  0x00009857 copy  0x00000005 , 0x00000002 
+ 00029901  0x00009858 jam  0x00000080 , 0x000005e8 
+ 00029902  0x00009859 copy  0x00000002 , 0x00000005 
+ 00029903  0x0000985a arg  0x000005f8 , 0x00000006 
+ 00029904  0x0000985b call  0x0000748c 
+ 00029905  0x0000985d call  0x0000730d 
+ 00029906  0x0000985f arg  0x000004a8 , 0x00000005 
+ 00029907  0x00009860 force  0x00000007 , 0x00000039 
+ 00029908  0x00009861 call  0x00007d8c 
+ 00029909  0x00009862 istore  0x00000004 , 0x00000005 
+ 00029910  0x00009863 setarg  0x000003f8 
+ 00029911  0x00009864 istore  0x00000004 , 0x00000005 
+ 00029912  0x00009865 call  0x0000730d 
+ 00029913  0x00009866 call  0x00007349 
+ 00029914  0x00009868 arg  0x00000900 , 0x00000006 
+ 00029915  0x00009869 arg  0x000005c8 , 0x00000005 
+ 00029916  0x0000986a call  0x00007d7d 
+ 00029917  0x0000986c setarg  0x005c5c5c 
+ 00029918  0x0000986d lshift8  0x0000003f , 0x00000002 
+ 00029919  0x0000986e or_into  0x0000005c , 0x00000002 
+ 00029920  0x0000986f arg  0x000008e0 , 0x00000006 
+ 00029921  0x00009870 force  0x00000008 , 0x00000039 
+ 00029922  0x00009872 call  0x00007350 
+ 00029923  0x00009873 call  0x00007306 
+ 00029924  0x00009874 call  0x0000730d 
+ 00029925  0x00009875 arg  0x000005e8 , 0x00000006 
+ 00029926  0x00009876 arg  0x000004a8 , 0x00000005 
+ 00029927  0x00009877 force  0x00000008 , 0x00000039 
+ 00029928  0x00009878 call  0x0000748d 
+ 00029929  0x00009879 setarg  0x00800000 
+ 00029930  0x0000987a lshift8  0x0000003f , 0x0000003f 
+ 00029931  0x0000987b istore  0x00000004 , 0x00000005 
+ 00029932  0x0000987c call  0x00007d8b 
+ 00029933  0x0000987d setarg  0x00000300 
+ 00029934  0x0000987e istore  0x00000004 , 0x00000005 
+ 00029935  0x0000987f call  0x0000730d 
+ 00029936  0x00009880 branch  0x00007349 
+ 00029937  0x00009884 setarg  0x00000000 
+ 00029938  0x00009885 store  0x00000004 , 0x00004797 
+ 00029939  0x00009886 branch  0x000074ba 
+ 00029940  0x00009889 setarg  0x00000000 
+ 00029941  0x0000988a store  0x00000004 , 0x00004797 
+ 00029942  0x0000988b branch  0x000074fd 
+ 00029943  0x0000988e fetch  0x00000001 , 0x00004648 
+ 00029944  0x0000988f beq  0x00000002 , 0x000074fb 
+ 00029945  0x00009890 beq  0x00000001 , 0x00007440 
+ 00029946  0x00009891 rtn 
+ 00029947  0x00009894 fetch  0x00000001 , 0x0000476f 
+ 00029948  0x00009895 bne  0x00000002 , 0x000074f4 
+ 00029949  0x00009897 setarg  0x00363636 
+ 00029950  0x00009898 lshift8  0x0000003f , 0x00000002 
+ 00029951  0x00009899 or_into  0x00000036 , 0x00000002 
+ 00029952  0x0000989a arg  0x000008e0 , 0x00000006 
+ 00029953  0x0000989b force  0x00000008 , 0x00000039 
+ 00029954  0x0000989c call  0x00007350 
+ 00029955  0x0000989d call  0x00007306 
+ 00029956  0x0000989e call  0x0000730d 
+ 00029957  0x000098a0 arg  0x000008f0 , 0x00000006 
+ 00029958  0x000098a1 arg  0x000004a8 , 0x00000005 
+ 00029959  0x000098a2 call  0x0000748c 
+ 00029960  0x000098a3 arg  0x00000900 , 0x00000006 
+ 00029961  0x000098a4 call  0x0000748c 
+ 00029962  0x000098a5 branch  0x000074c7 
+ 00029963  0x000098a9 fetch  0x00000001 , 0x00004648 
+ 00029964  0x000098aa beq  0x00000002 , 0x0000750f 
+ 00029965  0x000098ab beq  0x00000001 , 0x000073f3 
+ 00029966  0x000098ac rtn 
+ 00029967  0x000098af setarg  0x00363636 
+ 00029968  0x000098b0 lshift8  0x0000003f , 0x00000002 
+ 00029969  0x000098b1 or_into  0x00000036 , 0x00000002 
+ 00029970  0x000098b2 arg  0x000008e0 , 0x00000006 
+ 00029971  0x000098b3 force  0x00000008 , 0x00000039 
+ 00029972  0x000098b4 call  0x00007350 
+ 00029973  0x000098b5 call  0x00007306 
+ 00029974  0x000098b6 call  0x0000730d 
+ 00029975  0x000098b7 fetch  0x00000002 , 0x0000094c 
+ 00029976  0x000098b8 copy  0x0000003f , 0x00000006 
+ 00029977  0x000098b9 arg  0x000004a8 , 0x00000005 
+ 00029978  0x000098ba call  0x0000748c 
+ 00029979  0x000098bb fetch  0x00000002 , 0x0000094e 
+ 00029980  0x000098bc copy  0x0000003f , 0x00000006 
+ 00029981  0x000098bd call  0x0000748c 
+ 00029982  0x000098bf setarg  0x0062746c 
+ 00029983  0x000098c0 lshift8  0x0000003f , 0x0000003f 
+ 00029984  0x000098c1 or_into  0x0000006b , 0x0000003f 
+ 00029985  0x000098c2 istore  0x00000004 , 0x00000005 
+ 00029986  0x000098c3 arg  0x000005f5 , 0x00000006 
+ 00029987  0x000098c4 force  0x00000003 , 0x00000039 
+ 00029988  0x000098c5 call  0x0000748d 
+ 00029989  0x000098c7 setarg  0x00800000 
+ 00029990  0x000098c8 lshift8  0x0000003f , 0x0000003f 
+ 00029991  0x000098c9 istore  0x00000004 , 0x00000005 
+ 00029992  0x000098ca force  0x00000000 , 0x0000003f 
+ 00029993  0x000098cb istore  0x00000008 , 0x00000005 
+ 00029994  0x000098cc setarg  0x00000380 
+ 00029995  0x000098cd istore  0x00000004 , 0x00000005 
+ 00029996  0x000098ce call  0x0000730d 
+ 00029997  0x000098d0 call  0x00007349 
+ 00029998  0x000098d1 arg  0x00000900 , 0x00000006 
+ 00029999  0x000098d2 arg  0x000005c8 , 0x00000005 
+ 00030000  0x000098d3 call  0x00007d7d 
+ 00030001  0x000098d5 setarg  0x005c5c5c 
+ 00030002  0x000098d6 lshift8  0x0000003f , 0x00000002 
+ 00030003  0x000098d7 or_into  0x0000005c , 0x00000002 
+ 00030004  0x000098d8 arg  0x000008e0 , 0x00000006 
+ 00030005  0x000098d9 force  0x00000008 , 0x00000039 
+ 00030006  0x000098da branch  0x000074e2 
+ 00030007  0x000098de fetch  0x00000006 , 0x000040a8 
+ 00030008  0x000098df store  0x00000006 , 0x000005e9 
+ 00030009  0x000098e0 fetch  0x00000006 , 0x00000040 
+ 00030010  0x000098e1 istore  0x00000006 , 0x00000005 
+ 00030011  0x000098e3 setarg  0x00363636 
+ 00030012  0x000098e4 lshift8  0x0000003f , 0x00000002 
+ 00030013  0x000098e5 or_into  0x00000036 , 0x00000002 
+ 00030014  0x000098e6 arg  0x000041db , 0x00000006 
+ 00030015  0x000098e7 force  0x00000004 , 0x00000039 
+ 00030016  0x000098e8 call  0x00007350 
+ 00030017  0x000098e9 call  0x00007306 
+ 00030018  0x000098ea call  0x0000730d 
+ 00030019  0x000098eb setarg  0x00627461 
+ 00030020  0x000098ec lshift8  0x0000003f , 0x0000003f 
+ 00030021  0x000098ed or_into  0x0000006b , 0x0000003f 
+ 00030022  0x000098ee store  0x00000004 , 0x000004a8 
+ 00030023  0x000098f0 arg  0x000005f5 , 0x00000006 
+ 00030024  0x000098f1 force  0x00000003 , 0x00000039 
+ 00030025  0x000098f2 call  0x0000748d 
+ 00030026  0x000098f4 arg  0x000046b5 , 0x00000006 
+ 00030027  0x000098f5 arg  0x00000002 , 0x00000039 
+ 00030028  0x000098f6 call  0x0000748d 
+ 00030029  0x000098f8 setarg  0x00800000 
+ 00030030  0x000098f9 lshift8  0x0000003f , 0x0000003f 
+ 00030031  0x000098fa istore  0x00000004 , 0x00000005 
+ 00030032  0x000098fb arg  0x00000004 , 0x00000039 
+ 00030033  0x000098fc call  0x00007d8c 
+ 00030034  0x000098fe setarg  0x000002c0 
+ 00030035  0x000098ff istore  0x00000004 , 0x00000005 
+ 00030036  0x00009900 call  0x0000730d 
+ 00030037  0x00009902 call  0x00007349 
+ 00030038  0x00009903 arg  0x00000900 , 0x00000006 
+ 00030039  0x00009904 arg  0x000005c8 , 0x00000005 
+ 00030040  0x00009905 call  0x00007d7d 
+ 00030041  0x00009907 setarg  0x005c5c5c 
+ 00030042  0x00009908 lshift8  0x0000003f , 0x00000002 
+ 00030043  0x00009909 or_into  0x0000005c , 0x00000002 
+ 00030044  0x0000990a arg  0x000041db , 0x00000006 
+ 00030045  0x0000990b force  0x00000004 , 0x00000039 
+ 00030046  0x0000990c branch  0x000074e2 
+ 00030047  0x00009910 fetch  0x00000006 , 0x000040a8 
+ 00030048  0x00009911 store  0x00000006 , 0x000005e9 
+ 00030049  0x00009912 fetch  0x00000006 , 0x00000040 
+ 00030050  0x00009913 istore  0x00000006 , 0x00000005 
+ 00030051  0x00009915 setarg  0x00363636 
+ 00030052  0x00009916 lshift8  0x0000003f , 0x00000002 
+ 00030053  0x00009917 or_into  0x00000036 , 0x00000002 
+ 00030054  0x00009918 arg  0x000041db , 0x00000006 
+ 00030055  0x00009919 force  0x00000004 , 0x00000039 
+ 00030056  0x0000991a call  0x00007350 
+ 00030057  0x0000991b call  0x00007306 
+ 00030058  0x0000991c call  0x0000730d 
+ 00030059  0x0000991d setarg  0x00627464 
+ 00030060  0x0000991e lshift8  0x0000003f , 0x0000003f 
+ 00030061  0x0000991f or_into  0x0000006b , 0x0000003f 
+ 00030062  0x00009920 store  0x00000004 , 0x000004a8 
+ 00030063  0x00009922 arg  0x000005f5 , 0x00000006 
+ 00030064  0x00009923 force  0x00000003 , 0x00000039 
+ 00030065  0x00009924 call  0x0000748d 
+ 00030066  0x00009926 setarg  0x00800000 
+ 00030067  0x00009927 lshift8  0x0000003f , 0x0000003f 
+ 00030068  0x00009928 istore  0x00000004 , 0x00000005 
+ 00030069  0x00009929 arg  0x00000005 , 0x00000039 
+ 00030070  0x0000992a call  0x00007d8c 
+ 00030071  0x0000992c setarg  0x00000280 
+ 00030072  0x0000992d istore  0x00000004 , 0x00000005 
+ 00030073  0x0000992e call  0x0000730d 
+ 00030074  0x00009930 call  0x00007349 
+ 00030075  0x00009931 arg  0x00000900 , 0x00000006 
+ 00030076  0x00009932 arg  0x000005c8 , 0x00000005 
+ 00030077  0x00009933 call  0x00007d7d 
+ 00030078  0x00009935 setarg  0x005c5c5c 
+ 00030079  0x00009936 lshift8  0x0000003f , 0x00000002 
+ 00030080  0x00009937 or_into  0x0000005c , 0x00000002 
+ 00030081  0x00009938 arg  0x000041db , 0x00000006 
+ 00030082  0x00009939 force  0x00000004 , 0x00000039 
+ 00030083  0x0000993a branch  0x000074e2 
+ 00030084  0x0000993e arg  0x00000910 , 0x00000006 
+ 00030085  0x0000993f arg  0x00000454 , 0x00000005 
+ 00030086  0x00009940 call  0x00007d7f 
+ 00030087  0x00009941 setarg  0x00000900 
+ 00030088  0x00009942 store  0x00000002 , 0x00000940 
+ 00030089  0x00009943 setarg  0x00000434 
+ 00030090  0x00009944 istore  0x00000002 , 0x00000005 
+ 00030091  0x00009946 setarg  0x00363636 
+ 00030092  0x00009947 lshift8  0x0000003f , 0x00000002 
+ 00030093  0x00009948 or_into  0x00000036 , 0x00000002 
+ 00030094  0x00009949 arg  0x00000464 , 0x00000006 
+ 00030095  0x0000994a force  0x00000004 , 0x00000039 
+ 00030096  0x0000994b call  0x00007350 
+ 00030097  0x0000994c call  0x00007306 
+ 00030098  0x0000994d call  0x0000730d 
+ 00030099  0x0000994f arg  0x000004a8 , 0x00000005 
+ 00030100  0x00009950 fetch  0x00000002 , 0x00000940 
+ 00030101  0x00009951 copy  0x0000003f , 0x00000006 
+ 00030102  0x00009952 call  0x0000748c 
+ 00030103  0x00009953 fetch  0x00000002 , 0x00000942 
+ 00030104  0x00009954 copy  0x0000003f , 0x00000006 
+ 00030105  0x00009955 call  0x0000748c 
+ 00030106  0x00009957 setarg  0x00800000 
+ 00030107  0x00009958 lshift8  0x0000003f , 0x0000003f 
+ 00030108  0x00009959 istore  0x00000004 , 0x00000005 
+ 00030109  0x0000995b arg  0x00000003 , 0x00000039 
+ 00030110  0x0000995c call  0x00007d8c 
+ 00030111  0x0000995e setarg  0x00000300 
+ 00030112  0x0000995f istore  0x00000004 , 0x00000005 
+ 00030113  0x00009960 call  0x0000730d 
+ 00030114  0x00009962 call  0x00007349 
+ 00030115  0x00009963 arg  0x00000900 , 0x00000006 
+ 00030116  0x00009964 arg  0x000005c8 , 0x00000005 
+ 00030117  0x00009965 call  0x00007d7d 
+ 00030118  0x00009967 setarg  0x005c5c5c 
+ 00030119  0x00009968 lshift8  0x0000003f , 0x00000002 
+ 00030120  0x00009969 or_into  0x0000005c , 0x00000002 
+ 00030121  0x0000996a arg  0x00000464 , 0x00000006 
+ 00030122  0x0000996b force  0x00000004 , 0x00000039 
+ 00030123  0x0000996c branch  0x000074e2 
+ 00030124  0x00009975 bpatchx  0x00000080 , 0x00004030 
+ 00030125  0x00009976 fetch  0x00000001 , 0x000046bb 
+ 00030126  0x00009977 nbranch  0x000075cd , 0x00000034 
+ 00030127  0x0000997a jam  0x00000000 , 0x000046bd 
+ 00030128  0x0000997b jam  0x00000000 , 0x000046be 
+ 00030129  0x0000997c rtn 
+ 00030130  0x00009981 fetch  0x00000001 , 0x000046bb 
+ 00030131  0x00009982 rtn  0x00000034 
+ 00030132  0x00009983 fetch  0x00000001 , 0x000046be 
+ 00030133  0x00009984 rtneq  0x00000003 
+ 00030134  0x00009985 call  0x00007602 
+ 00030135  0x00009986 branch  0x000075b2 
+ 00030136  0x0000998b arg  0x000046bf , 0x00000005 
+ 00030137  0x0000998c setsect  0x00000000 , 0x00001abd 
+ 00030138  0x0000998d setsect  0x00000001 , 0x0001b34f 
+ 00030139  0x0000998e setsect  0x00000002 , 0x00019b8a 
+ 00030140  0x0000998f setsect  0x00000003 , 0x00026562 
+ 00030141  0x00009990 istore  0x00000009 , 0x00000005 
+ 00030142  0x00009991 setsect  0x00000000 , 0x000340b7 
+ 00030143  0x00009992 setsect  0x00000001 , 0x00001efa 
+ 00030144  0x00009993 setsect  0x00000002 , 0x0000aff6 
+ 00030145  0x00009994 setsect  0x00000003 , 0x0000fd41 
+ 00030146  0x00009995 istore  0x00000009 , 0x00000005 
+ 00030147  0x00009996 setsect  0x00000000 , 0x0003d210 
+ 00030148  0x00009997 setsect  0x00000001 , 0x00026cf8 
+ 00030149  0x00009998 setsect  0x00000002 , 0x0003874c 
+ 00030150  0x00009999 setsect  0x00000003 , 0x0003157c 
+ 00030151  0x0000999a istore  0x00000009 , 0x00000005 
+ 00030152  0x0000999b setsect  0x00000000 , 0x0002d4a3 
+ 00030153  0x0000999c setsect  0x00000001 , 0x0003d27d 
+ 00030154  0x0000999d setsect  0x00000002 , 0x00000003 
+ 00030155  0x0000999e istore  0x00000005 , 0x00000005 
+ 00030156  0x0000999f rtn 
+ 00030157  0x000099a3 fetch  0x00000001 , 0x000046be 
+ 00030158  0x000099a4 rtnne  0x00000000 
+ 00030159  0x000099a5 fetch  0x00000001 , 0x000046bd 
+ 00030160  0x000099a6 rtnne  0x00000000 
+ 00030161  0x000099a7 call  0x00006ebd 
+ 00030162  0x000099a8 arg  0x000046bf , 0x00000005 
+ 00030163  0x000099a9 force  0x0000000f , 0x00000007 
+ 00030164  0x000099aa call  0x0000709d 
+ 00030165  0x000099ab random  0x0000003f 
+ 00030166  0x000099ac rshift  0x0000003f , 0x0000003f 
+ 00030167  0x000099ad istore  0x00000002 , 0x00000005 
+ 00030168  0x000099af fetch  0x00000001 , 0x000046ba 
+ 00030169  0x000099b0 ncall  0x000075b8 , 0x00000034 
+ 00030170  0x000099b2 arg  0x00000628 , 0x00000005 
+ 00030171  0x000099b3 arg  0x000046bf , 0x00000006 
+ 00030172  0x000099b4 call  0x00007d7d 
+ 00030173  0x000099b6 arg  0x00000508 , 0x00000005 
+ 00030174  0x000099b7 arg  0x00000820 , 0x00000006 
+ 00030175  0x000099b8 call  0x00007d72 
+ 00030176  0x000099ba arg  0x00000548 , 0x00000005 
+ 00030177  0x000099bb call  0x00007d97 
+ 00030178  0x000099bc jam  0x00000001 , 0x00000548 
+ 00030179  0x000099be call  0x0000761a 
+ 00030180  0x000099bf jam  0x00000003 , 0x000046bd 
+ 00030181  0x000099c0 rtn 
+ 00030182  0x000099c4 arg  0x000046df , 0x00000005 
+ 00030183  0x000099c5 arg  0x00000568 , 0x00000006 
+ 00030184  0x000099c6 call  0x00007d72 
+ 00030185  0x000099c7 jam  0x00000003 , 0x000046be 
+ 00030186  0x000099c8 jam  0x00000000 , 0x000046bd 
+ 00030187  0x000099c9 rtn 
+ 00030188  0x000099ce fetch  0x00000001 , 0x0000087b 
+ 00030189  0x000099cf rtnne  0x00000000 
+ 00030190  0x000099d0 fetch  0x00000001 , 0x000046bd 
+ 00030191  0x000099d1 rtnne  0x00000000 
+ 00030192  0x000099d3 arg  0x00000628 , 0x00000005 
+ 00030193  0x000099d4 arg  0x000046bf , 0x00000006 
+ 00030194  0x000099d5 call  0x00007d7d 
+ 00030195  0x000099d7 arg  0x00000508 , 0x00000005 
+ 00030196  0x000099d8 arg  0x00000880 , 0x00000006 
+ 00030197  0x000099d9 call  0x00007d72 
+ 00030198  0x000099db arg  0x00000548 , 0x00000005 
+ 00030199  0x000099dc call  0x00007d97 
+ 00030200  0x000099dd jam  0x00000001 , 0x00000548 
+ 00030201  0x000099df call  0x0000761a 
+ 00030202  0x000099e0 jam  0x00000004 , 0x000046bd 
+ 00030203  0x000099e1 rtn 
+ 00030204  0x000099e6 arg  0x000008c0 , 0x00000005 
+ 00030205  0x000099e7 arg  0x00000568 , 0x00000006 
+ 00030206  0x000099e8 call  0x00007d7d 
+ 00030207  0x000099e9 jam  0x00000003 , 0x0000087b 
+ 00030208  0x000099ea jam  0x00000000 , 0x000046bd 
+ 00030209  0x000099eb rtn 
+ 00030210  0x000099f0 fetch  0x00000001 , 0x000046bb 
+ 00030211  0x000099f1 rtn  0x00000034 
+ 00030212  0x000099f2 fetch  0x00000001 , 0x000046bd 
+ 00030213  0x000099f3 rtn  0x00000034 
+ 00030214  0x000099f4 increase  0x00000080 , 0x0000003f 
+ 00030215  0x000099f5 store  0x00000001 , 0x000046bd 
+ 00030216  0x000099f6 rtnbit1  0x00000007 
+ 00030217  0x000099f7 fetch  0x00000002 , 0x000004a5 
+ 00030218  0x000099f8 branch  0x0000760c , 0x00000034 
+ 00030219  0x000099f9 branch  0x00007612 
+ 00030220  0x000099fc bpatchx  0x00000081 , 0x00004030 
+ 00030221  0x000099fd call  0x00007627 
+ 00030222  0x000099fe fetch  0x00000001 , 0x000046bd 
+ 00030223  0x000099ff beq  0x00000003 , 0x000075e6 
+ 00030224  0x00009a00 beq  0x00000004 , 0x000075fc 
+ 00030225  0x00009a01 rtn 
+ 00030226  0x00009a05 call  0x00007639 
+ 00030227  0x00009a06 fetch  0x00000002 , 0x000004a5 
+ 00030228  0x00009a07 increase  0xffffffff , 0x0000003f 
+ 00030229  0x00009a08 store  0x00000002 , 0x000004a5 
+ 00030230  0x00009a09 arg  0x00000628 , 0x00000006 
+ 00030231  0x00009a0a call  0x000070e7 
+ 00030232  0x00009a0b rtn  0x00000001 
+ 00030233  0x00009a0c branch  0x0000768a 
+ 00030234  0x00009a0f bpatchx  0x00000082 , 0x00004030 
+ 00030235  0x00009a10 setarg  0x00000100 
+ 00030236  0x00009a11 store  0x00000002 , 0x000004a5 
+ 00030237  0x00009a13 fetch  0x00000002 , 0x000004a5 
+ 00030238  0x00009a14 rtn  0x00000034 
+ 00030239  0x00009a15 increase  0xffffffff , 0x0000003f 
+ 00030240  0x00009a16 store  0x00000002 , 0x000004a5 
+ 00030241  0x00009a17 arg  0x00000628 , 0x00000006 
+ 00030242  0x00009a18 call  0x000070e7 
+ 00030243  0x00009a19 branch  0x0000761d , 0x00000001 
+ 00030244  0x00009a1a arg  0x00000508 , 0x00000006 
+ 00030245  0x00009a1b arg  0x000005c8 , 0x00000005 
+ 00030246  0x00009a1c branch  0x00007d71 
+ 00030247  0x00009a20 arg  0x00000608 , 0x00000011 
+ 00030248  0x00009a21 arg  0x00000708 , 0x00000005 
+ 00030249  0x00009a22 call  0x000076f6 
+ 00030250  0x00009a23 arg  0x00000708 , 0x00000011 
+ 00030251  0x00009a24 arg  0x000006a8 , 0x00000005 
+ 00030252  0x00009a25 call  0x000077cc 
+ 00030253  0x00009a26 arg  0x000005c8 , 0x00000011 
+ 00030254  0x00009a27 arg  0x000006a8 , 0x00000012 
+ 00030255  0x00009a28 arg  0x00000568 , 0x00000005 
+ 00030256  0x00009a29 call  0x00007734 
+ 00030257  0x00009a2a arg  0x00000708 , 0x00000011 
+ 00030258  0x00009a2b arg  0x000006a8 , 0x00000012 
+ 00030259  0x00009a2c arg  0x000006e8 , 0x00000005 
+ 00030260  0x00009a2d call  0x00007734 
+ 00030261  0x00009a2e arg  0x000005e8 , 0x00000011 
+ 00030262  0x00009a2f arg  0x000006e8 , 0x00000012 
+ 00030263  0x00009a30 arg  0x00000588 , 0x00000005 
+ 00030264  0x00009a31 branch  0x00007734 
+ 00030265  0x00009a34 arg  0x00000608 , 0x00000011 
+ 00030266  0x00009a35 arg  0x000006e8 , 0x00000005 
+ 00030267  0x00009a36 call  0x000077cc 
+ 00030268  0x00009a37 arg  0x000006e8 , 0x00000011 
+ 00030269  0x00009a38 arg  0x00000708 , 0x00000005 
+ 00030270  0x00009a39 call  0x000077cc 
+ 00030271  0x00009a3b arg  0x00000800 , 0x00000011 
+ 00030272  0x00009a3c arg  0x00000708 , 0x00000012 
+ 00030273  0x00009a3d arg  0x00000708 , 0x00000005 
+ 00030274  0x00009a3e call  0x00007734 
+ 00030275  0x00009a3f arg  0x000005c8 , 0x00000011 
+ 00030276  0x00009a40 arg  0x000006e8 , 0x00000005 
+ 00030277  0x00009a41 call  0x000077cc 
+ 00030278  0x00009a43 arg  0x000006e8 , 0x00000006 
+ 00030279  0x00009a44 arg  0x000006a8 , 0x00000005 
+ 00030280  0x00009a45 call  0x00007d7d 
+ 00030281  0x00009a46 arg  0x000006a8 , 0x00000011 
+ 00030282  0x00009a47 call  0x000077d3 
+ 00030283  0x00009a48 arg  0x000006e8 , 0x00000011 
+ 00030284  0x00009a49 arg  0x000006a8 , 0x00000012 
+ 00030285  0x00009a4a arg  0x000006e8 , 0x00000005 
+ 00030286  0x00009a4b call  0x000077d0 
+ 00030287  0x00009a4d arg  0x000006e8 , 0x00000011 
+ 00030288  0x00009a4e arg  0x00000708 , 0x00000012 
+ 00030289  0x00009a4f arg  0x000006e8 , 0x00000005 
+ 00030290  0x00009a50 call  0x000077d0 
+ 00030291  0x00009a52 arg  0x000005c8 , 0x00000006 
+ 00030292  0x00009a53 arg  0x000006a8 , 0x00000005 
+ 00030293  0x00009a54 call  0x00007d7d 
+ 00030294  0x00009a55 arg  0x000005e8 , 0x00000011 
+ 00030295  0x00009a56 arg  0x00000708 , 0x00000005 
+ 00030296  0x00009a57 call  0x000077cc 
+ 00030297  0x00009a58 arg  0x000006a8 , 0x00000011 
+ 00030298  0x00009a59 call  0x000077d3 
+ 00030299  0x00009a5a arg  0x000006a8 , 0x00000011 
+ 00030300  0x00009a5b call  0x000077d3 
+ 00030301  0x00009a5c arg  0x000006a8 , 0x00000011 
+ 00030302  0x00009a5d arg  0x00000708 , 0x00000012 
+ 00030303  0x00009a5e arg  0x000006a8 , 0x00000005 
+ 00030304  0x00009a5f call  0x00007734 
+ 00030305  0x00009a60 arg  0x00000708 , 0x00000011 
+ 00030306  0x00009a61 arg  0x000006c8 , 0x00000005 
+ 00030307  0x00009a62 call  0x000077cc 
+ 00030308  0x00009a63 arg  0x000006c8 , 0x00000011 
+ 00030309  0x00009a64 call  0x000077d3 
+ 00030310  0x00009a65 arg  0x000006c8 , 0x00000011 
+ 00030311  0x00009a66 call  0x000077d3 
+ 00030312  0x00009a67 arg  0x000006c8 , 0x00000011 
+ 00030313  0x00009a68 call  0x000077d3 
+ 00030314  0x00009a69 arg  0x000005e8 , 0x00000006 
+ 00030315  0x00009a6a arg  0x00000708 , 0x00000005 
+ 00030316  0x00009a6b call  0x00007d7d 
+ 00030317  0x00009a6c arg  0x00000708 , 0x00000011 
+ 00030318  0x00009a6d call  0x000077d3 
+ 00030319  0x00009a6e arg  0x00000708 , 0x00000011 
+ 00030320  0x00009a6f arg  0x00000608 , 0x00000012 
+ 00030321  0x00009a70 arg  0x00000608 , 0x00000005 
+ 00030322  0x00009a71 call  0x00007734 
+ 00030323  0x00009a74 arg  0x000006e8 , 0x00000011 
+ 00030324  0x00009a75 arg  0x00000708 , 0x00000005 
+ 00030325  0x00009a76 call  0x000077cc 
+ 00030326  0x00009a78 arg  0x00000708 , 0x00000011 
+ 00030327  0x00009a79 arg  0x000006a8 , 0x00000012 
+ 00030328  0x00009a7a arg  0x00000708 , 0x00000005 
+ 00030329  0x00009a7b call  0x000077e9 
+ 00030330  0x00009a7c arg  0x00000708 , 0x00000011 
+ 00030331  0x00009a7d arg  0x000006a8 , 0x00000012 
+ 00030332  0x00009a7e arg  0x000005c8 , 0x00000005 
+ 00030333  0x00009a7f call  0x000077e9 
+ 00030334  0x00009a80 arg  0x000006a8 , 0x00000011 
+ 00030335  0x00009a81 arg  0x000005c8 , 0x00000012 
+ 00030336  0x00009a82 arg  0x00000708 , 0x00000005 
+ 00030337  0x00009a83 call  0x000077e9 
+ 00030338  0x00009a84 arg  0x00000708 , 0x00000011 
+ 00030339  0x00009a85 arg  0x000006e8 , 0x00000012 
+ 00030340  0x00009a86 arg  0x00000708 , 0x00000005 
+ 00030341  0x00009a87 call  0x00007734 
+ 00030342  0x00009a88 arg  0x00000708 , 0x00000011 
+ 00030343  0x00009a89 arg  0x000006c8 , 0x00000012 
+ 00030344  0x00009a8a arg  0x000005e8 , 0x00000005 
+ 00030345  0x00009a8b branch  0x000077e9 
+ 00030346  0x00009a8f arg  0x00000548 , 0x00000011 
+ 00030347  0x00009a90 arg  0x00000728 , 0x00000005 
+ 00030348  0x00009a91 call  0x000077cc 
+ 00030349  0x00009a92 arg  0x000005c8 , 0x00000011 
+ 00030350  0x00009a93 arg  0x00000728 , 0x00000012 
+ 00030351  0x00009a94 arg  0x000006c8 , 0x00000005 
+ 00030352  0x00009a95 call  0x00007734 
+ 00030353  0x00009a98 arg  0x00000548 , 0x00000011 
+ 00030354  0x00009a99 arg  0x00000728 , 0x00000012 
+ 00030355  0x00009a9a arg  0x00000728 , 0x00000005 
+ 00030356  0x00009a9b call  0x00007734 
+ 00030357  0x00009a9c arg  0x000005e8 , 0x00000011 
+ 00030358  0x00009a9d arg  0x00000728 , 0x00000012 
+ 00030359  0x00009a9e arg  0x000006a8 , 0x00000005 
+ 00030360  0x00009a9f call  0x00007734 
+ 00030361  0x00009aa2 arg  0x00000608 , 0x00000011 
+ 00030362  0x00009aa3 arg  0x00000728 , 0x00000005 
+ 00030363  0x00009aa4 call  0x000077cc 
+ 00030364  0x00009aa5 arg  0x00000508 , 0x00000011 
+ 00030365  0x00009aa6 arg  0x00000728 , 0x00000012 
+ 00030366  0x00009aa7 arg  0x000006e8 , 0x00000005 
+ 00030367  0x00009aa8 call  0x00007734 
+ 00030368  0x00009aaa arg  0x00000608 , 0x00000011 
+ 00030369  0x00009aab arg  0x00000728 , 0x00000012 
+ 00030370  0x00009aac arg  0x00000728 , 0x00000005 
+ 00030371  0x00009aad call  0x00007734 
+ 00030372  0x00009aae arg  0x00000528 , 0x00000011 
+ 00030373  0x00009aaf arg  0x00000728 , 0x00000012 
+ 00030374  0x00009ab0 arg  0x00000708 , 0x00000005 
+ 00030375  0x00009ab1 call  0x00007734 
+ 00030376  0x00009ab6 arg  0x000006c8 , 0x00000012 
+ 00030377  0x00009ab7 arg  0x000006e8 , 0x00000011 
+ 00030378  0x00009ab8 arg  0x00000728 , 0x00000005 
+ 00030379  0x00009ab9 call  0x000077e9 
+ 00030380  0x00009aba arg  0x000006c8 , 0x00000011 
+ 00030381  0x00009abb arg  0x000006e8 , 0x00000012 
+ 00030382  0x00009abc arg  0x000006c8 , 0x00000005 
+ 00030383  0x00009abd call  0x000077d0 
+ 00030384  0x00009ac0 arg  0x000006a8 , 0x00000012 
+ 00030385  0x00009ac1 arg  0x00000708 , 0x00000011 
+ 00030386  0x00009ac2 arg  0x000006e8 , 0x00000005 
+ 00030387  0x00009ac3 call  0x000077e9 
+ 00030388  0x00009ac4 arg  0x000006a8 , 0x00000011 
+ 00030389  0x00009ac5 arg  0x00000708 , 0x00000012 
+ 00030390  0x00009ac6 arg  0x000006a8 , 0x00000005 
+ 00030391  0x00009ac7 call  0x000077d0 
+ 00030392  0x00009ac8 arg  0x000006a8 , 0x00000011 
+ 00030393  0x00009ac9 arg  0x00000728 , 0x00000012 
+ 00030394  0x00009aca arg  0x000006a8 , 0x00000005 
+ 00030395  0x00009acb call  0x00007734 
+ 00030396  0x00009acc arg  0x00000608 , 0x00000011 
+ 00030397  0x00009acd arg  0x00000548 , 0x00000012 
+ 00030398  0x00009ace arg  0x00000708 , 0x00000005 
+ 00030399  0x00009acf call  0x00007734 
+ 00030400  0x00009ad0 arg  0x00000708 , 0x00000011 
+ 00030401  0x00009ad1 arg  0x00000728 , 0x00000012 
+ 00030402  0x00009ad2 arg  0x00000608 , 0x00000005 
+ 00030403  0x00009ad3 call  0x00007734 
+ 00030404  0x00009ad5 arg  0x00000728 , 0x00000011 
+ 00030405  0x00009ad6 arg  0x00000728 , 0x00000005 
+ 00030406  0x00009ad7 call  0x000077cc 
+ 00030407  0x00009ad8 arg  0x00000728 , 0x00000011 
+ 00030408  0x00009ad9 arg  0x000006c8 , 0x00000012 
+ 00030409  0x00009ada arg  0x00000708 , 0x00000005 
+ 00030410  0x00009adb call  0x00007734 
+ 00030411  0x00009adc arg  0x00000728 , 0x00000011 
+ 00030412  0x00009add arg  0x000006a8 , 0x00000012 
+ 00030413  0x00009ade arg  0x000006a8 , 0x00000005 
+ 00030414  0x00009adf call  0x00007734 
+ 00030415  0x00009ae0 arg  0x000006e8 , 0x00000011 
+ 00030416  0x00009ae1 arg  0x000005c8 , 0x00000005 
+ 00030417  0x00009ae2 call  0x000077cc 
+ 00030418  0x00009ae3 arg  0x000005c8 , 0x00000011 
+ 00030419  0x00009ae4 arg  0x00000708 , 0x00000012 
+ 00030420  0x00009ae5 arg  0x000005c8 , 0x00000005 
+ 00030421  0x00009ae6 call  0x000077e9 
+ 00030422  0x00009ae7 arg  0x000005c8 , 0x00000006 
+ 00030423  0x00009ae8 arg  0x00000728 , 0x00000005 
+ 00030424  0x00009ae9 call  0x00007d7d 
+ 00030425  0x00009aea arg  0x00000728 , 0x00000011 
+ 00030426  0x00009aeb call  0x000077d3 
+ 00030427  0x00009aec arg  0x00000708 , 0x00000011 
+ 00030428  0x00009aed arg  0x00000728 , 0x00000012 
+ 00030429  0x00009aee arg  0x00000708 , 0x00000005 
+ 00030430  0x00009aef call  0x000077e9 
+ 00030431  0x00009af0 arg  0x00000708 , 0x00000011 
+ 00030432  0x00009af1 arg  0x000006e8 , 0x00000012 
+ 00030433  0x00009af2 arg  0x000006e8 , 0x00000005 
+ 00030434  0x00009af3 call  0x00007734 
+ 00030435  0x00009af4 arg  0x000006e8 , 0x00000011 
+ 00030436  0x00009af5 arg  0x000006a8 , 0x00000012 
+ 00030437  0x00009af6 arg  0x000005e8 , 0x00000005 
+ 00030438  0x00009af7 call  0x000077e9 
+ 00030439  0x00009af8 arg  0x000005e8 , 0x00000011 
+ 00030440  0x00009af9 arg  0x000007e0 , 0x00000012 
+ 00030441  0x00009afa arg  0x000005e8 , 0x00000005 
+ 00030442  0x00009afb force  0x00000000 , 0x00000013 
+ 00030443  0x00009afc fetch  0x00000001 , 0x000005e8 
+ 00030444  0x00009afd isolate1  0x00000000 , 0x0000003f 
+ 00030445  0x00009afe call  0x000077ce , 0x00000001 
+ 00030446  0x00009aff copy  0x00000013 , 0x00000030 
+ 00030447  0x00009b00 arg  0x000005e8 , 0x00000011 
+ 00030448  0x00009b01 call  0x000077fe 
+ 00030449  0x00009b02 fetch  0x00000001 , 0x00000607 
+ 00030450  0x00009b03 isolate1  0x00000000 , 0x00000030 
+ 00030451  0x00009b04 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00030452  0x00009b05 store  0x00000001 , 0x00000607 
+ 00030453  0x00009b06 rtn 
+ 00030454  0x00009b09 copy  0x00000005 , 0x0000000b 
+ 00030455  0x00009b0a arg  0x000006c8 , 0x00000005 
+ 00030456  0x00009b0b call  0x00007d97 
+ 00030457  0x00009b0c force  0x00000000 , 0x0000003f 
+ 00030458  0x00009b0e store  0x00000004 , 0x000006e8 
+ 00030459  0x00009b0f jam  0x00000001 , 0x000006c8 
+ 00030460  0x00009b10 arg  0x00000648 , 0x00000005 
+ 00030461  0x00009b11 call  0x00007d99 
+ 00030462  0x00009b12 arg  0x000007e0 , 0x00000006 
+ 00030463  0x00009b13 arg  0x00000688 , 0x00000005 
+ 00030464  0x00009b14 call  0x00007d7d 
+ 00030465  0x00009b15 copy  0x00000011 , 0x00000006 
+ 00030466  0x00009b16 arg  0x000006a8 , 0x00000005 
+ 00030467  0x00009b17 call  0x00007d7d 
+ 00030468  0x00009b1e arg  0x000006a8 , 0x00000006 
+ 00030469  0x00009b1f call  0x00007808 
+ 00030470  0x00009b20 branch  0x0000772d , 0x00000034 
+ 00030471  0x00009b25 arg  0x000006a8 , 0x00000011 
+ 00030472  0x00009b26 arg  0x000006c8 , 0x00000012 
+ 00030473  0x00009b27 call  0x0000780b 
+ 00030474  0x00009b28 arg  0x00000688 , 0x00000011 
+ 00030475  0x00009b29 arg  0x00000648 , 0x00000012 
+ 00030476  0x00009b2a call  0x0000780b 
+ 00030477  0x00009b2c arg  0x000006a8 , 0x00000011 
+ 00030478  0x00009b2d arg  0x00000688 , 0x00000012 
+ 00030479  0x00009b2e call  0x00007804 
+ 00030480  0x00009b2f branch  0x0000771f , 0x00000002 
+ 00030481  0x00009b30 arg  0x00000688 , 0x00000011 
+ 00030482  0x00009b31 arg  0x000006a8 , 0x00000012 
+ 00030483  0x00009b32 copy  0x00000011 , 0x00000005 
+ 00030484  0x00009b33 call  0x000077fc 
+ 00030485  0x00009b34 arg  0x000006c8 , 0x00000011 
+ 00030486  0x00009b35 arg  0x00000648 , 0x00000012 
+ 00030487  0x00009b36 copy  0x00000012 , 0x00000005 
+ 00030488  0x00009b37 call  0x000077ce 
+ 00030489  0x00009b38 ifetch  0x00000001 , 0x00000011 
+ 00030490  0x00009b39 iadd  0x00000013 , 0x00000013 
+ 00030491  0x00009b3a ifetch  0x00000001 , 0x00000012 
+ 00030492  0x00009b3b iadd  0x00000013 , 0x0000003f 
+ 00030493  0x00009b3c istore  0x00000001 , 0x00000012 
+ 00030494  0x00009b3d branch  0x00007704 
+ 00030495  0x00009b3f arg  0x000006a8 , 0x00000011 
+ 00030496  0x00009b40 arg  0x00000688 , 0x00000012 
+ 00030497  0x00009b41 copy  0x00000011 , 0x00000005 
+ 00030498  0x00009b42 call  0x000077fc 
+ 00030499  0x00009b43 arg  0x00000648 , 0x00000011 
+ 00030500  0x00009b44 arg  0x000006c8 , 0x00000012 
+ 00030501  0x00009b45 copy  0x00000012 , 0x00000005 
+ 00030502  0x00009b46 call  0x000077ce 
+ 00030503  0x00009b47 ifetch  0x00000001 , 0x00000011 
+ 00030504  0x00009b48 iadd  0x00000013 , 0x00000013 
+ 00030505  0x00009b49 ifetch  0x00000001 , 0x00000012 
+ 00030506  0x00009b4a iadd  0x00000013 , 0x0000003f 
+ 00030507  0x00009b4b istore  0x00000001 , 0x00000012 
+ 00030508  0x00009b4c branch  0x00007704 
+ 00030509  0x00009b4f arg  0x00000648 , 0x00000011 
+ 00030510  0x00009b50 copy  0x0000000b , 0x00000005 
+ 00030511  0x00009b51 call  0x0000775d 
+ 00030512  0x00009b53 arg  0x000007e0 , 0x00000011 
+ 00030513  0x00009b54 copy  0x0000000b , 0x00000012 
+ 00030514  0x00009b55 copy  0x0000000b , 0x00000005 
+ 00030515  0x00009b56 branch  0x000077e9 
+ 00030516  0x00009b5a copy  0x00000005 , 0x0000000b 
+ 00030517  0x00009b5c force  0x00000000 , 0x00000038 
+ 00030518  0x00009b5e arg  0x00000648 , 0x00000005 
+ 00030519  0x00009b5f call  0x00007d99 
+ 00030520  0x00009b60 arg  0x0000099e , 0x00000005 
+ 00030521  0x00009b61 call  0x00007d99 
+ 00030522  0x00009b65 copy  0x00000011 , 0x00000006 
+ 00030523  0x00009b67 jam  0x00000000 , 0x0000099e 
+ 00030524  0x00009b68 setarg  0x00000000 
+ 00030525  0x00009b69 call  0x000077c6 
+ 00030526  0x00009b6a copy  0x00000012 , 0x00000006 
+ 00030527  0x00009b6b call  0x000077ca 
+ 00030528  0x00009b6e force  0x00000000 , 0x00000007 
+ 00030529  0x00009b6f arg  0x00000648 , 0x00000005 
+ 00030530  0x00009b73 arg  0x0000099e , 0x00000002 
+ 00030531  0x00009b74 copy  0x00000007 , 0x00000012 
+ 00030532  0x00009b75 lshift2  0x00000012 , 0x0000003f 
+ 00030533  0x00009b77 iadd  0x00000002 , 0x00000012 
+ 00030534  0x00009b78 force  0x00000000 , 0x00000002 
+ 00030535  0x00009b79 force  0x00000000 , 0x00000013 
+ 00030536  0x00009b7f ifetch  0x00000004 , 0x00000005 
+ 00030537  0x00009b80 iforce  0x00000011 
+ 00030538  0x00009b83 ifetch  0x00000004 , 0x00000012 
+ 00030539  0x00009b84 copy  0x00000013 , 0x00000038 
+ 00030540  0x00009b85 imul32  0x0000002f , 0x0000003f 
+ 00030541  0x00009b86 iadd  0x00000011 , 0x0000003f 
+ 00030542  0x00009b87 iadd  0x00000002 , 0x0000003f 
+ 00030543  0x00009b88 istore  0x00000004 , 0x00000005 
+ 00030544  0x00009b89 rshift32  0x0000003f , 0x00000002 
+ 00030545  0x00009b8a increase  0x00000001 , 0x00000013 
+ 00030546  0x00009b8b compare  0x00000008 , 0x00000013 , 0x000000ff 
+ 00030547  0x00009b8c nbranch  0x00007748 , 0x00000001 
+ 00030548  0x00009b8e deposit  0x00000002 
+ 00030549  0x00009b8f istore  0x00000004 , 0x00000005 
+ 00030550  0x00009b90 increase  0xffffffe0 , 0x00000005 
+ 00030551  0x00009b93 increase  0x00000001 , 0x00000007 
+ 00030552  0x00009b94 compare  0x00000008 , 0x00000007 , 0x000000ff 
+ 00030553  0x00009b95 nbranch  0x00007742 , 0x00000001 
+ 00030554  0x00009b96 arg  0x00000648 , 0x00000011 
+ 00030555  0x00009b97 copy  0x0000000b , 0x00000005 
+ 00030556  0x00009b98 branch  0x0000775d 
+ 00030557  0x00009b9b bpatchx  0x00000083 , 0x00004030 
+ 00030558  0x00009b9c copy  0x00000005 , 0x0000000b 
+ 00030559  0x00009b9d copy  0x00000011 , 0x00000030 
+ 00030560  0x00009b9e arg  0x00000688 , 0x00000012 
+ 00030561  0x00009b9f copy  0x00000012 , 0x00000005 
+ 00030562  0x00009ba0 call  0x00007d94 
+ 00030563  0x00009ba1 istore  0x00000008 , 0x00000005 
+ 00030564  0x00009ba2 add  0x00000011 , 0x0000002c , 0x00000006 
+ 00030565  0x00009ba3 call  0x00007d79 
+ 00030566  0x00009ba4 call  0x00007d75 
+ 00030567  0x00009ba5 copy  0x00000012 , 0x00000011 
+ 00030568  0x00009ba6 call  0x000077d3 
+ 00030569  0x00009ba7 arg  0x00000688 , 0x00000012 
+ 00030570  0x00009ba8 copy  0x00000030 , 0x00000011 
+ 00030571  0x00009ba9 copy  0x0000000b , 0x00000005 
+ 00030572  0x00009baa call  0x000077d0 
+ 00030573  0x00009bac arg  0x00000688 , 0x00000012 
+ 00030574  0x00009bad copy  0x00000012 , 0x00000005 
+ 00030575  0x00009bae call  0x00007d94 
+ 00030576  0x00009baf istore  0x00000008 , 0x00000005 
+ 00030577  0x00009bb0 add  0x00000030 , 0x00000030 , 0x00000006 
+ 00030578  0x00009bb1 call  0x00007d7f 
+ 00030579  0x00009bb2 call  0x00007d94 
+ 00030580  0x00009bb3 copy  0x00000012 , 0x00000011 
+ 00030581  0x00009bb4 call  0x000077d3 
+ 00030582  0x00009bb8 arg  0x00000688 , 0x00000012 
+ 00030583  0x00009bb9 copy  0x0000000b , 0x00000011 
+ 00030584  0x00009bba copy  0x00000011 , 0x00000005 
+ 00030585  0x00009bbb call  0x000077d0 
+ 00030586  0x00009bbf arg  0x00000688 , 0x00000012 
+ 00030587  0x00009bc0 copy  0x00000012 , 0x00000005 
+ 00030588  0x00009bc1 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030589  0x00009bc2 call  0x00007d75 
+ 00030590  0x00009bc3 call  0x00007d94 
+ 00030591  0x00009bc4 istore  0x00000008 , 0x00000005 
+ 00030592  0x00009bc5 add  0x00000030 , 0x00000038 , 0x00000006 
+ 00030593  0x00009bc6 call  0x00007d79 
+ 00030594  0x00009bc7 copy  0x0000000b , 0x00000011 
+ 00030595  0x00009bc8 copy  0x00000011 , 0x00000005 
+ 00030596  0x00009bc9 call  0x000077d0 
+ 00030597  0x00009bcd arg  0x00000688 , 0x00000012 
+ 00030598  0x00009bce copy  0x00000012 , 0x00000005 
+ 00030599  0x00009bcf add  0x00000030 , 0x00000024 , 0x00000006 
+ 00030600  0x00009bd0 call  0x00007d75 
+ 00030601  0x00009bd1 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030602  0x00009bd2 call  0x00007d75 
+ 00030603  0x00009bd3 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030604  0x00009bd4 call  0x00007d76 
+ 00030605  0x00009bd5 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030606  0x00009bd6 call  0x00007d76 
+ 00030607  0x00009bd7 copy  0x0000000b , 0x00000011 
+ 00030608  0x00009bd8 copy  0x00000011 , 0x00000005 
+ 00030609  0x00009bd9 call  0x000077d0 
+ 00030610  0x00009bdc arg  0x00000688 , 0x00000012 
+ 00030611  0x00009bdd copy  0x00000012 , 0x00000005 
+ 00030612  0x00009bde add  0x00000030 , 0x0000002c , 0x00000006 
+ 00030613  0x00009bdf call  0x00007d75 
+ 00030614  0x00009be0 call  0x00007d94 
+ 00030615  0x00009be1 istore  0x00000008 , 0x00000005 
+ 00030616  0x00009be2 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030617  0x00009be3 call  0x00007d76 
+ 00030618  0x00009be4 add  0x00000030 , 0x00000028 , 0x00000006 
+ 00030619  0x00009be5 call  0x00007d76 
+ 00030620  0x00009be6 copy  0x0000000b , 0x00000011 
+ 00030621  0x00009be7 copy  0x00000011 , 0x00000005 
+ 00030622  0x00009be8 call  0x000077e9 
+ 00030623  0x00009beb arg  0x00000688 , 0x00000012 
+ 00030624  0x00009bec copy  0x00000012 , 0x00000005 
+ 00030625  0x00009bed add  0x00000030 , 0x00000030 , 0x00000006 
+ 00030626  0x00009bee call  0x00007d79 
+ 00030627  0x00009bef call  0x00007d79 
+ 00030628  0x00009bf0 force  0x00000000 , 0x0000003f 
+ 00030629  0x00009bf1 istore  0x00000008 , 0x00000005 
+ 00030630  0x00009bf2 add  0x00000030 , 0x00000024 , 0x00000006 
+ 00030631  0x00009bf3 call  0x00007d76 
+ 00030632  0x00009bf4 add  0x00000030 , 0x0000002c , 0x00000006 
+ 00030633  0x00009bf5 call  0x00007d76 
+ 00030634  0x00009bf6 copy  0x0000000b , 0x00000011 
+ 00030635  0x00009bf7 copy  0x00000011 , 0x00000005 
+ 00030636  0x00009bf8 call  0x000077e9 
+ 00030637  0x00009bfb arg  0x00000688 , 0x00000012 
+ 00030638  0x00009bfc copy  0x00000012 , 0x00000005 
+ 00030639  0x00009bfd add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030640  0x00009bfe call  0x00007d75 
+ 00030641  0x00009bff add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030642  0x00009c00 call  0x00007d75 
+ 00030643  0x00009c01 call  0x00007d94 
+ 00030644  0x00009c02 add  0x00000030 , 0x00000030 , 0x00000006 
+ 00030645  0x00009c03 call  0x00007d76 
+ 00030646  0x00009c04 copy  0x0000000b , 0x00000011 
+ 00030647  0x00009c05 copy  0x00000011 , 0x00000005 
+ 00030648  0x00009c06 call  0x000077e9 
+ 00030649  0x00009c09 arg  0x00000688 , 0x00000012 
+ 00030650  0x00009c0a copy  0x00000012 , 0x00000005 
+ 00030651  0x00009c0b add  0x00000030 , 0x00000038 , 0x00000006 
+ 00030652  0x00009c0c call  0x00007d79 
+ 00030653  0x00009c0d call  0x00007d94 
+ 00030654  0x00009c0e add  0x00000030 , 0x00000024 , 0x00000006 
+ 00030655  0x00009c0f call  0x00007d75 
+ 00030656  0x00009c10 call  0x00007d94 
+ 00030657  0x00009c11 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030658  0x00009c12 call  0x00007d76 
+ 00030659  0x00009c13 copy  0x0000000b , 0x00000011 
+ 00030660  0x00009c14 copy  0x00000011 , 0x00000005 
+ 00030661  0x00009c15 branch  0x000077e9 
+ 00030662  0x00009c19 force  0x00000020 , 0x00000039 
+ 00030663  0x00009c1a arg  0x0000099e , 0x00000005 
+ 00030664  0x00009c1b iadd  0x00000005 , 0x00000005 
+ 00030665  0x00009c1c branch  0x00007dd4 
+ 00030666  0x00009c1f force  0x00000008 , 0x00000039 
+ 00030667  0x00009c20 branch  0x0000717c 
+ 00030668  0x00009c23 copy  0x00000011 , 0x00000012 
+ 00030669  0x00009c24 branch  0x00007734 
+ 00030670  0x00009c27 force  0x00000008 , 0x00000039 
+ 00030671  0x00009c28 branch  0x0000710d 
+ 00030672  0x00009c2b call  0x000077ce 
+ 00030673  0x00009c2c copy  0x00000005 , 0x00000011 
+ 00030674  0x00009c2d branch  0x000077d4 
+ 00030675  0x00009c30 call  0x00007801 
+ 00030676  0x00009c32 isolate1  0x00000000 , 0x00000013 
+ 00030677  0x00009c33 branch  0x000077dd , 0x00000001 
+ 00030678  0x00009c34 arg  0x000007e0 , 0x00000012 
+ 00030679  0x00009c35 copy  0x00000011 , 0x00000013 
+ 00030680  0x00009c36 increase  0xffffffe0 , 0x00000011 
+ 00030681  0x00009c37 call  0x00007804 
+ 00030682  0x00009c38 nrtn  0x00000002 
+ 00030683  0x00009c39 copy  0x00000013 , 0x00000011 
+ 00030684  0x00009c3a branch  0x000077e5 
+ 00030685  0x00009c3d call  0x000077e5 
+ 00030686  0x00009c3f copy  0x00000011 , 0x00000013 
+ 00030687  0x00009c40 increase  0xffffffe0 , 0x00000011 
+ 00030688  0x00009c41 arg  0x000007e0 , 0x00000012 
+ 00030689  0x00009c42 call  0x00007804 
+ 00030690  0x00009c43 nrtn  0x00000002 
+ 00030691  0x00009c44 copy  0x00000013 , 0x00000011 
+ 00030692  0x00009c45 branch  0x000077e5 
+ 00030693  0x00009c49 increase  0xffffffe0 , 0x00000011 
+ 00030694  0x00009c4a arg  0x000007e0 , 0x00000012 
+ 00030695  0x00009c4b copy  0x00000011 , 0x00000005 
+ 00030696  0x00009c4c branch  0x000077fc 
+ 00030697  0x00009c52 call  0x000077fc 
+ 00030698  0x00009c54 branch  0x000077f3 , 0x00000001 
+ 00030699  0x00009c57 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030700  0x00009c58 arg  0x000007e0 , 0x00000012 
+ 00030701  0x00009c59 call  0x00007804 
+ 00030702  0x00009c5a nrtn  0x00000002 
+ 00030703  0x00009c5b arg  0x000007e0 , 0x00000012 
+ 00030704  0x00009c5c add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030705  0x00009c5e copy  0x00000011 , 0x00000005 
+ 00030706  0x00009c5f branch  0x000077fc 
+ 00030707  0x00009c61 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030708  0x00009c62 arg  0x000007e0 , 0x00000012 
+ 00030709  0x00009c63 copy  0x00000011 , 0x00000005 
+ 00030710  0x00009c64 call  0x000077ce 
+ 00030711  0x00009c66 rtn  0x00000001 
+ 00030712  0x00009c67 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030713  0x00009c68 arg  0x000007e0 , 0x00000012 
+ 00030714  0x00009c69 copy  0x00000011 , 0x00000005 
+ 00030715  0x00009c6a branch  0x000077ce 
+ 00030716  0x00009c6f force  0x00000008 , 0x00000039 
+ 00030717  0x00009c70 branch  0x0000711b 
+ 00030718  0x00009c73 force  0x00000008 , 0x00000039 
+ 00030719  0x00009c74 increase  0x0000001c , 0x00000011 
+ 00030720  0x00009c75 branch  0x0000712a 
+ 00030721  0x00009c78 force  0x00000008 , 0x00000039 
+ 00030722  0x00009c79 force  0x00000000 , 0x00000013 
+ 00030723  0x00009c7a branch  0x00007138 
+ 00030724  0x00009c7d force  0x00000008 , 0x00000039 
+ 00030725  0x00009c7e increase  0x0000001c , 0x00000011 
+ 00030726  0x00009c7f increase  0x0000001c , 0x00000012 
+ 00030727  0x00009c80 branch  0x00007102 
+ 00030728  0x00009c84 ifetch  0x00000008 , 0x00000006 
+ 00030729  0x00009c85 nrtn  0x00000034 
+ 00030730  0x00009c86 branch  0x000070f0 
+ 00030731  0x00009c8c copy  0x00000011 , 0x00000030 
+ 00030732  0x00009c8e copy  0x00000030 , 0x00000011 
+ 00030733  0x00009c8f ifetch  0x00000001 , 0x00000011 
+ 00030734  0x00009c90 isolate1  0x00000000 , 0x0000003f 
+ 00030735  0x00009c91 rtn  0x00000001 
+ 00030736  0x00009c92 call  0x000077fe 
+ 00030737  0x00009c93 ifetch  0x00000001 , 0x00000012 
+ 00030738  0x00009c94 isolate0  0x00000000 , 0x0000003f 
+ 00030739  0x00009c95 branch  0x0000781b , 0x00000001 
+ 00030740  0x00009c96 arg  0x000007e0 , 0x00000011 
+ 00030741  0x00009c97 copy  0x00000012 , 0x00000005 
+ 00030742  0x00009c98 call  0x000077ce 
+ 00030743  0x00009c99 ifetch  0x00000001 , 0x00000012 
+ 00030744  0x00009c9a iadd  0x00000013 , 0x0000003f 
+ 00030745  0x00009c9b istore  0x00000001 , 0x00000012 
+ 00030746  0x00009c9c increase  0xffffffe0 , 0x00000012 
+ 00030747  0x00009c9e add  0x00000012 , 0x00000020 , 0x00000011 
+ 00030748  0x00009c9f force  0x00000009 , 0x00000039 
+ 00030749  0x00009ca0 call  0x0000712a 
+ 00030750  0x00009ca1 branch  0x0000780c 
+ 00030751  0x00009ca6 call  0x00001597 
+ 00030752  0x00009ca7 rtn  0x0000002b 
+ 00030753  0x00009ca8 call  0x00007826 
+ 00030754  0x00009ca9 call  0x000078cc 
+ 00030755  0x00009caa branch  0x0000785b 
+ 00030756  0x00009cad call  0x0000787c 
+ 00030757  0x00009cae branch  0x000078bb 
+ 00030758  0x00009cb1 fetch  0x00000001 , 0x00004793 
+ 00030759  0x00009cb2 rtneq  0x000000ff 
+ 00030760  0x00009cb3 iforce  0x00000002 
+ 00030761  0x00009cb4 call  0x0000610d 
+ 00030762  0x00009cb5 fetcht  0x00000001 , 0x00004793 
+ 00030763  0x00009cb6 call  0x00006109 
+ 00030764  0x00009cb7 nop  0x00000064 
+ 00030765  0x00009cb8 fetcht  0x00000001 , 0x00004793 
+ 00030766  0x00009cb9 call  0x000060f4 
+ 00030767  0x00009cba branch  0x00007830 
+ 00030768  0x00009cbf bpatchx  0x00000084 , 0x00004030 
+ 00030769  0x00009cc0 fetch  0x00000001 , 0x00004793 
+ 00030770  0x00009cc1 rtneq  0x000000ff 
+ 00030771  0x00009cc2 copy  0x0000003f , 0x00000002 
+ 00030772  0x00009cc3 call  0x000060fd 
+ 00030773  0x00009cc4 nbranch  0x00007842 , 0x00000001 
+ 00030774  0x00009cc7 call  0x0000784c 
+ 00030775  0x00009cc8 fetch  0x00000002 , 0x0000478f 
+ 00030776  0x00009cc9 set1  0x0000000c , 0x0000003f 
+ 00030777  0x00009cca store  0x00000002 , 0x0000478f 
+ 00030778  0x00009ccb fetch  0x00000001 , 0x00004786 
+ 00030779  0x00009ccc rtneq  0x00000000 
+ 00030780  0x00009ccd jam  0x00000000 , 0x00004786 
+ 00030781  0x00009ccf fetch  0x00000001 , 0x00004792 
+ 00030782  0x00009cd0 store  0x00000001 , 0x00004785 
+ 00030783  0x00009cd1 call  0x00007853 
+ 00030784  0x00009cd2 jam  0x0000002c , 0x0000095b 
+ 00030785  0x00009cd3 branch  0x000078dc 
+ 00030786  0x00009cd5 fetch  0x00000002 , 0x0000478f 
+ 00030787  0x00009cd6 set0  0x0000000c , 0x0000003f 
+ 00030788  0x00009cd7 store  0x00000002 , 0x0000478f 
+ 00030789  0x00009cd8 fetch  0x00000001 , 0x00004786 
+ 00030790  0x00009cd9 rtneq  0x00000001 
+ 00030791  0x00009cda jam  0x00000001 , 0x00004786 
+ 00030792  0x00009cdc jam  0x00000000 , 0x00004785 
+ 00030793  0x00009cdd call  0x00007855 
+ 00030794  0x00009cde jam  0x0000002d , 0x0000095b 
+ 00030795  0x00009cdf branch  0x000078dc 
+ 00030796  0x00009ce2 fetch  0x00000001 , 0x00004785 
+ 00030797  0x00009ce3 rtn  0x00000034 
+ 00030798  0x00009ce4 increase  0xffffffff , 0x0000003f 
+ 00030799  0x00009ce5 store  0x00000001 , 0x00004785 
+ 00030800  0x00009ce6 nrtn  0x00000034 
+ 00030801  0x00009ce8 jam  0x00000010 , 0x0000095b 
+ 00030802  0x00009ce9 branch  0x000078dc 
+ 00030803  0x00009cec arg  0x00000007 , 0x00000007 
+ 00030804  0x00009ced branch  0x00001566 
+ 00030805  0x00009cf0 arg  0x00000007 , 0x00000007 
+ 00030806  0x00009cf1 branch  0x0000156a 
+ 00030807  0x00009cf9 fetch  0x00000002 , 0x0000448f 
+ 00030808  0x00009cfa mul32  0x00000011 , 0x0000000b , 0x00000012 
+ 00030809  0x00009cfb iadd  0x00000012 , 0x00000012 
+ 00030810  0x00009cfc rtn 
+ 00030811  0x00009d00 fetch  0x00000001 , 0x0000448e 
+ 00030812  0x00009d01 rtn  0x00000034 
+ 00030813  0x00009d02 copy  0x0000003f , 0x00000039 
+ 00030814  0x00009d03 fetch  0x00000002 , 0x0000448f 
+ 00030815  0x00009d04 copy  0x0000003f , 0x00000012 
+ 00030816  0x00009d06 add  0x00000012 , 0x00000002 , 0x00000013 
+ 00030817  0x00009d07 ifetcht  0x00000001 , 0x00000013 
+ 00030818  0x00009d08 call  0x0000610d 
+ 00030819  0x00009d09 call  0x00007885 
+ 00030820  0x00009d0a increase  0x0000000b , 0x00000012 
+ 00030821  0x00009d0b loop  0x00007860 
+ 00030822  0x00009d0c rtn 
+ 00030823  0x00009d11 call  0x00007857 
+ 00030824  0x00009d12 setarg  0x00000002 
+ 00030825  0x00009d13 istore  0x00000001 , 0x00000012 
+ 00030826  0x00009d14 call  0x000078b5 
+ 00030827  0x00009d15 branch  0x0000788a 
+ 00030828  0x00009d1b call  0x00007857 
+ 00030829  0x00009d1c setarg  0x00000003 
+ 00030830  0x00009d1d istore  0x00000001 , 0x00000012 
+ 00030831  0x00009d1e call  0x000078b5 
+ 00030832  0x00009d1f branch  0x00007885 
+ 00030833  0x00009d24 call  0x00007857 
+ 00030834  0x00009d25 setarg  0x00000001 
+ 00030835  0x00009d26 istore  0x00000001 , 0x00000012 
+ 00030836  0x00009d27 setarg  0x000000ff 
+ 00030837  0x00009d28 istore  0x00000001 , 0x00000005 
+ 00030838  0x00009d29 branch  0x00007885 
+ 00030839  0x00009d2f call  0x00007857 
+ 00030840  0x00009d30 arg  0x0000000b , 0x00000039 
+ 00030841  0x00009d31 copy  0x00000013 , 0x00000006 
+ 00030842  0x00009d32 copy  0x00000012 , 0x00000005 
+ 00030843  0x00009d33 branch  0x00007dc7 
+ 00030844  0x00009d38 fetch  0x00000001 , 0x0000448e 
+ 00030845  0x00009d39 rtn  0x00000034 
+ 00030846  0x00009d3a arg  0x00000000 , 0x00000011 
+ 00030847  0x00009d3c call  0x0000788f 
+ 00030848  0x00009d3d increase  0x00000001 , 0x00000011 
+ 00030849  0x00009d3e fetch  0x00000001 , 0x0000448e 
+ 00030850  0x00009d3f isub  0x00000011 , 0x0000003e 
+ 00030851  0x00009d40 rtn  0x00000005 
+ 00030852  0x00009d41 branch  0x0000787f 
+ 00030853  0x00009d45 add  0x00000012 , 0x00000002 , 0x00000013 
+ 00030854  0x00009d46 ifetcht  0x00000001 , 0x00000013 
+ 00030855  0x00009d47 fetch  0x00000001 , 0x0000409a 
+ 00030856  0x00009d48 beq  0x00000008 , 0x00004980 
+ 00030857  0x00009d49 branch  0x00006109 
+ 00030858  0x00009d4d add  0x00000012 , 0x00000002 , 0x00000013 
+ 00030859  0x00009d4e ifetcht  0x00000001 , 0x00000013 
+ 00030860  0x00009d4f fetch  0x00000001 , 0x0000409a 
+ 00030861  0x00009d50 beq  0x00000008 , 0x0000498c 
+ 00030862  0x00009d51 branch  0x0000610d 
+ 00030863  0x00009d56 add  0x00000011 , 0x0000000b , 0x00000007 
+ 00030864  0x00009d57 call  0x00007de9 
+ 00030865  0x00009d58 nrtn  0x00000034 
+ 00030866  0x00009d5a call  0x00007857 
+ 00030867  0x00009d5c ifetch  0x00000001 , 0x00000012 
+ 00030868  0x00009d5e beq  0x00000002 , 0x0000788a 
+ 00030869  0x00009d5f beq  0x00000003 , 0x00007885 
+ 00030870  0x00009d60 beq  0x00000000 , 0x00007885 
+ 00030871  0x00009d61 beq  0x00000005 , 0x000078a3 
+ 00030872  0x00009d63 call  0x0000788a 
+ 00030873  0x00009d64 add  0x00000012 , 0x00000007 , 0x00000013 
+ 00030874  0x00009d65 call  0x00007d3b 
+ 00030875  0x00009d66 ifetch  0x00000002 , 0x00000013 
+ 00030876  0x00009d67 call  0x00007e7a 
+ 00030877  0x00009d68 call  0x00007d47 
+ 00030878  0x00009d69 setarg  0x00000005 
+ 00030879  0x00009d6a istore  0x00000001 , 0x00000012 
+ 00030880  0x00009d6b add  0x00000012 , 0x00000003 , 0x00000013 
+ 00030881  0x00009d6c ifetch  0x00000002 , 0x00000013 
+ 00030882  0x00009d6d branch  0x000078b3 
+ 00030883  0x00009d71 call  0x00007885 
+ 00030884  0x00009d72 add  0x00000012 , 0x00000009 , 0x00000013 
+ 00030885  0x00009d73 call  0x00007d3b 
+ 00030886  0x00009d74 ifetch  0x00000002 , 0x00000013 
+ 00030887  0x00009d75 call  0x00007e7a 
+ 00030888  0x00009d76 call  0x00007d47 
+ 00030889  0x00009d78 add  0x00000012 , 0x00000001 , 0x00000013 
+ 00030890  0x00009d79 ifetch  0x00000001 , 0x00000013 
+ 00030891  0x00009d7a beq  0x000000ff , 0x000078af 
+ 00030892  0x00009d7b increase  0xffffffff , 0x0000003f 
+ 00030893  0x00009d7c istore  0x00000001 , 0x00000013 
+ 00030894  0x00009d7d branch  0x0000786c , 0x00000034 
+ 00030895  0x00009d7f setarg  0x00000004 
+ 00030896  0x00009d80 istore  0x00000001 , 0x00000012 
+ 00030897  0x00009d81 add  0x00000012 , 0x00000005 , 0x00000013 
+ 00030898  0x00009d82 ifetch  0x00000002 , 0x00000013 
+ 00030899  0x00009d84 add  0x00000011 , 0x0000000b , 0x00000007 
+ 00030900  0x00009d85 branch  0x00007ddb 
+ 00030901  0x00009d88 setarg  0x00000000 
+ 00030902  0x00009d89 branch  0x000078b3 
+ 00030903  0x00009d90 setarg  0x00001000 
+ 00030904  0x00009d91 lshift16  0x0000003f , 0x0000003f 
+ 00030905  0x00009d92 iadd  0x00000012 , 0x00000012 
+ 00030906  0x00009d93 rtn 
+ 00030907  0x00009d96 bpatchx  0x00000085 , 0x00004030 
+ 00030908  0x00009d97 arg  0x00000000 , 0x00000011 
+ 00030909  0x00009d98 fetcht  0x00000004 , 0x00004787 
+ 00030910  0x00009d99 copy  0x00000022 , 0x00000012 
+ 00030911  0x00009d9a copy  0x00000012 , 0x0000003f 
+ 00030912  0x00009d9b isub  0x00000002 , 0x0000003e 
+ 00030913  0x00009d9c ncall  0x000078b7 , 0x00000002 
+ 00030914  0x00009d9e copy  0x00000012 , 0x0000003f 
+ 00030915  0x00009d9f increase  0x000000a0 , 0x00000002 
+ 00030916  0x00009da0 increase  0x000000a0 , 0x00000002 
+ 00030917  0x00009da1 isub  0x00000002 , 0x0000003e 
+ 00030918  0x00009da2 nbranch  0x000078cf , 0x00000002 
+ 00030919  0x00009da3 increase  0x00000001 , 0x00000011 
+ 00030920  0x00009da4 and  0x00000011 , 0x0000000f , 0x0000003f 
+ 00030921  0x00009da5 nbranch  0x000078c2 , 0x00000034 
+ 00030922  0x00009da6 arg  0x00000000 , 0x00000011 
+ 00030923  0x00009da7 call  0x000078d5 
+ 00030924  0x00009da9 copy  0x00000022 , 0x0000003f 
+ 00030925  0x00009daa store  0x00000004 , 0x00004787 
+ 00030926  0x00009dab rtn 
+ 00030927  0x00009dad copy  0x00000011 , 0x0000003f 
+ 00030928  0x00009dae rtn  0x00000034 
+ 00030929  0x00009daf increase  0xffffff60 , 0x00000002 
+ 00030930  0x00009db0 increase  0xffffff60 , 0x00000002 
+ 00030931  0x00009db1 set0  0x0000001c , 0x00000002 
+ 00030932  0x00009db2 storet  0x00000004 , 0x00004787 
+ 00030933  0x00009db4 branch  0x000031ee 
+ 00030934  0x00009dbc jam  0x00000001 , 0x00004773 
+ 00030935  0x00009dbe fetch  0x00000001 , 0x00004774 
+ 00030936  0x00009dbf nbranch  0x000078d7 , 0x00000034 
+ 00030937  0x00009dc0 rtn 
+ 00030938  0x00009dc3 jam  0x00000000 , 0x00004773 
+ 00030939  0x00009dc4 rtn 
+ 00030940  0x00009dc9 bpatchx  0x00000086 , 0x00004030 
+ 00030941  0x00009dca call  0x000078d6 
+ 00030942  0x00009dcb copy  0x00000011 , 0x0000003f 
+ 00030943  0x00009dcc store  0x00000004 , 0x00000953 
+ 00030944  0x00009dcd arg  0x00004775 , 0x00000011 
+ 00030945  0x00009dce call  0x00007e96 
+ 00030946  0x00009dcf fetch  0x00000004 , 0x00000953 
+ 00030947  0x00009dd0 copy  0x0000003f , 0x00000011 
+ 00030948  0x00009dd1 branch  0x000078da 
+ 00030949  0x00009dd4 bpatchx  0x00000087 , 0x00004030 
+ 00030950  0x00009dd5 call  0x000078d6 
+ 00030951  0x00009dd6 copy  0x00000011 , 0x0000003f 
+ 00030952  0x00009dd7 store  0x00000004 , 0x00000953 
+ 00030953  0x00009dd8 arg  0x0000477d , 0x00000011 
+ 00030954  0x00009dd9 call  0x00007e96 
+ 00030955  0x00009dda fetch  0x00000004 , 0x00000953 
+ 00030956  0x00009ddb copy  0x0000003f , 0x00000011 
+ 00030957  0x00009ddc branch  0x000078da 
+ 00030958  0x00009ddf setarg  0x00000000 
+ 00030959  0x00009de0 store  0x00000008 , 0x0000477d 
+ 00030960  0x00009de1 store  0x00000008 , 0x00004775 
+ 00030961  0x00009de2 rtn 
+ 00030962  0x00009de5 bpatchx  0x00000088 , 0x00004031 
+ 00030963  0x00009de6 fetch  0x00000001 , 0x000041db 
+ 00030964  0x00009de7 nrtn  0x00000034 
+ 00030965  0x00009de8 arg  0x0000477d , 0x00000011 
+ 00030966  0x00009de9 call  0x00007eae 
+ 00030967  0x00009dea rtn  0x00000034 
+ 00030968  0x00009deb jam  0x00000000 , 0x00000952 
+ 00030969  0x00009dec call  0x000078fd 
+ 00030970  0x00009ded fetch  0x00000001 , 0x00000952 
+ 00030971  0x00009dee branch  0x000078f2 , 0x00000034 
+ 00030972  0x00009def rtn 
+ 00030973  0x00009df2 call  0x000078d6 
+ 00030974  0x00009df3 arg  0x0000477d , 0x00000011 
+ 00030975  0x00009df4 call  0x00007ea2 
+ 00030976  0x00009df5 copy  0x0000003f , 0x00000002 
+ 00030977  0x00009df6 call  0x000078da 
+ 00030978  0x00009df7 bpatchx  0x00000089 , 0x00004031 
+ 00030979  0x00009df8 copy  0x00000002 , 0x0000003f 
+ 00030980  0x00009df9 rtn  0x00000034 
+ 00030981  0x00009dfa beq  0x00000001 , 0x0000792f 
+ 00030982  0x00009dfb beq  0x00000002 , 0x00007934 
+ 00030983  0x00009dfc beq  0x00000003 , 0x0000793a 
+ 00030984  0x00009dfd beq  0x0000000d , 0x00007959 
+ 00030985  0x00009dfe beq  0x0000000e , 0x0000795f 
+ 00030986  0x00009dff beq  0x0000000f , 0x00007964 
+ 00030987  0x00009e00 beq  0x00000010 , 0x0000796a 
+ 00030988  0x00009e01 beq  0x00000013 , 0x00007974 
+ 00030989  0x00009e02 beq  0x00000014 , 0x00007976 
+ 00030990  0x00009e03 beq  0x00000015 , 0x00007978 
+ 00030991  0x00009e04 beq  0x00000016 , 0x00007982 
+ 00030992  0x00009e05 beq  0x00000017 , 0x00007985 
+ 00030993  0x00009e06 beq  0x00000018 , 0x00007987 
+ 00030994  0x00009e07 beq  0x00000019 , 0x0000798a 
+ 00030995  0x00009e08 beq  0x0000001e , 0x0000799c 
+ 00030996  0x00009e0a store  0x00000001 , 0x0000095b 
+ 00030997  0x00009e0b call  0x00005a3f 
+ 00030998  0x00009e0c nbranch  0x0000792d , 0x00000034 
+ 00030999  0x00009e0e fetch  0x00000001 , 0x0000095b 
+ 00031000  0x00009e0f bmark0  0x00000009 , 0x00007928 
+ 00031001  0x00009e10 bpatchx  0x0000008a , 0x00004031 
+ 00031002  0x00009e11 fetch  0x00000001 , 0x0000095b 
+ 00031003  0x00009e12 beq  0x00000004 , 0x0000793c 
+ 00031004  0x00009e13 beq  0x00000005 , 0x0000793f 
+ 00031005  0x00009e14 beq  0x00000006 , 0x0000794a 
+ 00031006  0x00009e15 beq  0x0000000a , 0x0000794c 
+ 00031007  0x00009e16 beq  0x00000011 , 0x0000796f 
+ 00031008  0x00009e17 beq  0x0000001b , 0x00007992 
+ 00031009  0x00009e18 beq  0x00000012 , 0x00007973 
+ 00031010  0x00009e19 beq  0x0000001d , 0x00007993 
+ 00031011  0x00009e1a beq  0x0000001f , 0x000060c9 
+ 00031012  0x00009e1b beq  0x00000020 , 0x000060cb 
+ 00031013  0x00009e1c beq  0x00000021 , 0x0000799e 
+ 00031014  0x00009e1d beq  0x00000025 , 0x00005ffb 
+ 00031015  0x00009e1e rtn 
+ 00031016  0x00009e21 store  0x00000001 , 0x0000095b 
+ 00031017  0x00009e22 call  0x00000a5f 
+ 00031018  0x00009e23 branch  0x0000792d , 0x00000005 
+ 00031019  0x00009e24 call  0x00000a67 
+ 00031020  0x00009e25 nrtn  0x00000005 
+ 00031021  0x00009e27 jam  0x00000001 , 0x00000952 
+ 00031022  0x00009e28 branch  0x000078e5 
+ 00031023  0x00009e2e fetch  0x00000002 , 0x0000478f 
+ 00031024  0x00009e2f set1  0x00000006 , 0x0000003f 
+ 00031025  0x00009e30 store  0x00000002 , 0x0000478f 
+ 00031026  0x00009e31 jam  0x00000003 , 0x0000409b 
+ 00031027  0x00009e32 rtn 
+ 00031028  0x00009e37 jam  0x00000000 , 0x0000478d 
+ 00031029  0x00009e38 jam  0x00000000 , 0x0000409b 
+ 00031030  0x00009e39 fetch  0x00000002 , 0x0000478f 
+ 00031031  0x00009e3a set0  0x00000006 , 0x0000003f 
+ 00031032  0x00009e3b store  0x00000002 , 0x0000478f 
+ 00031033  0x00009e3c rtn 
+ 00031034  0x00009e41 jam  0x00000005 , 0x000041db 
+ 00031035  0x00009e42 rtn 
+ 00031036  0x00009e47 jam  0x00000007 , 0x0000007c 
+ 00031037  0x00009e48 jam  0x00000013 , 0x0000039e 
+ 00031038  0x00009e49 rtn 
+ 00031039  0x00009e4e jam  0x00000017 , 0x0000007c 
+ 00031040  0x00009e4f arg  0x000003ac , 0x00000005 
+ 00031041  0x00009e50 setarg  0x00000000 
+ 00031042  0x00009e51 isolate1  0x0000001b , 0x00000028 
+ 00031043  0x00009e52 setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00031044  0x00009e53 istore  0x00000001 , 0x00000005 
+ 00031045  0x00009e54 setarg  0x00000000 
+ 00031046  0x00009e55 istore  0x00000002 , 0x00000005 
+ 00031047  0x00009e56 fetch  0x00000006 , 0x00004455 
+ 00031048  0x00009e57 istore  0x00000006 , 0x00000005 
+ 00031049  0x00009e58 rtn 
+ 00031050  0x00009e5d jam  0x00000018 , 0x0000007c 
+ 00031051  0x00009e5e rtn 
+ 00031052  0x00009e63 jam  0x00000002 , 0x000003a8 
+ 00031053  0x00009e65 fetch  0x00000001 , 0x0000004b 
+ 00031054  0x00009e66 bbit1  0x00000002 , 0x00007952 
+ 00031055  0x00009e67 call  0x00005a72 
+ 00031056  0x00009e68 jam  0x00000008 , 0x0000007c 
+ 00031057  0x00009e69 rtn 
+ 00031058  0x00009e6b set0  0x00000002 , 0x0000003f 
+ 00031059  0x00009e6c store  0x00000001 , 0x0000004b 
+ 00031060  0x00009e6d call  0x00005750 
+ 00031061  0x00009e6e setarg  0x00000000 
+ 00031062  0x00009e6f setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00031063  0x00009e70 store  0x00000001 , 0x0000007f 
+ 00031064  0x00009e71 rtn 
+ 00031065  0x00009e76 jam  0x00000001 , 0x00004427 
+ 00031066  0x00009e77 jam  0x00000000 , 0x0000442a 
+ 00031067  0x00009e78 fetch  0x00000002 , 0x0000478f 
+ 00031068  0x00009e79 set1  0x0000000b , 0x0000003f 
+ 00031069  0x00009e7a store  0x00000002 , 0x0000478f 
+ 00031070  0x00009e7b rtn 
+ 00031071  0x00009e80 fetch  0x00000002 , 0x0000478f 
+ 00031072  0x00009e81 set0  0x0000000b , 0x0000003f 
+ 00031073  0x00009e82 store  0x00000002 , 0x0000478f 
+ 00031074  0x00009e83 jam  0x00000000 , 0x00004427 
+ 00031075  0x00009e84 rtn 
+ 00031076  0x00009e89 jam  0x00000001 , 0x00004427 
+ 00031077  0x00009e8a jam  0x00000001 , 0x0000442a 
+ 00031078  0x00009e8b fetch  0x00000002 , 0x0000478f 
+ 00031079  0x00009e8c set1  0x0000000b , 0x0000003f 
+ 00031080  0x00009e8d store  0x00000002 , 0x0000478f 
+ 00031081  0x00009e8e rtn 
+ 00031082  0x00009e93 fetch  0x00000002 , 0x0000478f 
+ 00031083  0x00009e94 set0  0x0000000b , 0x0000003f 
+ 00031084  0x00009e95 store  0x00000002 , 0x0000478f 
+ 00031085  0x00009e96 jam  0x00000000 , 0x00004427 
+ 00031086  0x00009e97 rtn 
+ 00031087  0x00009e9c setarg  0x00000014 
+ 00031088  0x00009e9d store  0x00000002 , 0x000002b5 
+ 00031089  0x00009e9e store  0x00000002 , 0x00004394 
+ 00031090  0x00009e9f branch  0x00002134 
+ 00031091  0x00009ea4 branch  0x00001f04 
+ 00031092  0x00009ea9 arg  0x00000000 , 0x00000011 
+ 00031093  0x00009eaa branch  0x0000786c 
+ 00031094  0x00009eaf arg  0x00000000 , 0x00000011 
+ 00031095  0x00009eb0 branch  0x00007867 
+ 00031096  0x00009eb5 arg  0x00000000 , 0x00000011 
+ 00031097  0x00009eb6 call  0x00007857 
+ 00031098  0x00009eb7 ifetch  0x00000001 , 0x00000012 
+ 00031099  0x00009eb8 beq  0x00000001 , 0x0000797f 
+ 00031100  0x00009eb9 beq  0x00000004 , 0x0000797f 
+ 00031101  0x00009eba beq  0x00000005 , 0x0000797f 
+ 00031102  0x00009ebb branch  0x00007871 
+ 00031103  0x00009ebe ifetch  0x00000001 , 0x00000006 
+ 00031104  0x00009ebf rtneq  0x000000ff 
+ 00031105  0x00009ec0 branch  0x00007871 
+ 00031106  0x00009ec5 jam  0x00000001 , 0x000043e2 
+ 00031107  0x00009ec6 jam  0x0000001b , 0x000041db 
+ 00031108  0x00009ec9 rtn 
+ 00031109  0x00009ece jam  0x00000001 , 0x000043e2 
+ 00031110  0x00009ecf rtn 
+ 00031111  0x00009ed4 jam  0x00000000 , 0x000043e2 
+ 00031112  0x00009ed5 jam  0x00000000 , 0x000041db 
+ 00031113  0x00009ed6 rtn 
+ 00031114  0x00009edb fetch  0x00000002 , 0x0000445d 
+ 00031115  0x00009edc call  0x00007e7a 
+ 00031116  0x00009edd fetch  0x00000001 , 0x00004793 
+ 00031117  0x00009ede beq  0x000000ff , 0x00007990 
+ 00031118  0x00009edf copy  0x0000003f , 0x00000002 
+ 00031119  0x00009ee0 call  0x000060f4 
+ 00031120  0x00009ee2 call  0x000078ee 
+ 00031121  0x00009ee3 branch  0x00001459 
+ 00031122  0x00009ee8 branch  0x00001f46 
+ 00031123  0x00009eed jam  0x00000034 , 0x0000007c 
+ 00031124  0x00009eee set1  0x00000003 , 0x00000000 
+ 00031125  0x00009eef nrtn  0x00000029 
+ 00031126  0x00009ef0 jam  0x00000000 , 0x00004645 
+ 00031127  0x00009ef1 jam  0x00000013 , 0x0000007c 
+ 00031128  0x00009ef2 fetch  0x00000001 , 0x000000bc 
+ 00031129  0x00009ef3 set0  0x00000002 , 0x0000003f 
+ 00031130  0x00009ef4 store  0x00000001 , 0x000000bc 
+ 00031131  0x00009ef5 rtn 
+ 00031132  0x00009efa force  0x00000003 , 0x00000007 
+ 00031133  0x00009efb branch  0x00007dda 
+ 00031134  0x00009f00 call  0x00005a7b 
+ 00031135  0x00009f01 jam  0x00000041 , 0x0000007d 
+ 00031136  0x00009f02 branch  0x000056ec 
+ 00031137  0x00009f06 fetch  0x00000001 , 0x0000478f 
+ 00031138  0x00009f07 rtnbit0  0x0000000c 
+ 00031139  0x00009f08 rtnbit0  0x00000007 
+ 00031140  0x00009f09 branch  0x0000799c 
+ 00031141  0x00009f0f fetch  0x00000002 , 0x0000448c 
+ 00031142  0x00009f10 add  0x0000003f , 0x00000002 , 0x00000005 
+ 00031143  0x00009f11 setarg  0x00000000 
+ 00031144  0x00009f12 istore  0x00000003 , 0x00000005 
+ 00031145  0x00009f13 rtn 
+ 00031146  0x00009f18 call  0x00007ec7 
+ 00031147  0x00009f19 call  0x000079f4 
+ 00031148  0x00009f1a rtn  0x00000034 
+ 00031149  0x00009f1b fetch  0x00000002 , 0x0000448c 
+ 00031150  0x00009f1c add  0x0000003f , 0x00000002 , 0x00000012 
+ 00031151  0x00009f1d ifetcht  0x00000001 , 0x00000012 
+ 00031152  0x00009f1e increase  0x00000001 , 0x00000002 
+ 00031153  0x00009f1f istoret  0x00000001 , 0x00000012 
+ 00031154  0x00009f21 ifetcht  0x00000001 , 0x0000003f 
+ 00031155  0x00009f22 copy  0x00000002 , 0x00000039 
+ 00031156  0x00009f23 add  0x0000003f , 0x00000004 , 0x00000012 
+ 00031157  0x00009f24 ifetch  0x00000001 , 0x00000012 
+ 00031158  0x00009f25 imul32  0x00000002 , 0x0000003f 
+ 00031159  0x00009f26 iadd  0x00000006 , 0x00000005 
+ 00031160  0x00009f27 copy  0x00000011 , 0x00000006 
+ 00031161  0x00009f29 call  0x00007dd4 
+ 00031162  0x00009f2a call  0x000079f8 
+ 00031163  0x00009f2b pincrease  0xffffffff 
+ 00031164  0x00009f2c ifetcht  0x00000001 , 0x00000012 
+ 00031165  0x00009f2d increase  0x00000001 , 0x00000002 
+ 00031166  0x00009f2e iand  0x00000002 , 0x00000002 
+ 00031167  0x00009f2f istoret  0x00000001 , 0x00000012 
+ 00031168  0x00009f30 branch  0x00007ec5 
+ 00031169  0x00009f36 call  0x00007ec7 
+ 00031170  0x00009f37 call  0x000079f0 
+ 00031171  0x00009f38 rtn  0x00000034 
+ 00031172  0x00009f39 fetch  0x00000002 , 0x0000448c 
+ 00031173  0x00009f3a add  0x0000003f , 0x00000002 , 0x00000012 
+ 00031174  0x00009f3b ifetcht  0x00000001 , 0x00000012 
+ 00031175  0x00009f3c increase  0xffffffff , 0x00000002 
+ 00031176  0x00009f3d istoret  0x00000001 , 0x00000012 
+ 00031177  0x00009f3e ifetcht  0x00000001 , 0x0000003f 
+ 00031178  0x00009f3f copy  0x00000002 , 0x00000039 
+ 00031179  0x00009f40 add  0x0000003f , 0x00000003 , 0x00000012 
+ 00031180  0x00009f41 ifetch  0x00000001 , 0x00000012 
+ 00031181  0x00009f42 imul32  0x00000002 , 0x0000003f 
+ 00031182  0x00009f43 iadd  0x00000006 , 0x00000006 
+ 00031183  0x00009f44 increase  0x00000001 , 0x00000006 
+ 00031184  0x00009f45 copy  0x00000011 , 0x00000005 
+ 00031185  0x00009f46 branch  0x000079b9 
+ 00031186  0x00009f4e call  0x00007ec7 
+ 00031187  0x00009f4f call  0x000079f0 
+ 00031188  0x00009f50 rtn  0x00000034 
+ 00031189  0x00009f51 fetch  0x00000002 , 0x0000448c 
+ 00031190  0x00009f52 ifetcht  0x00000001 , 0x0000003f 
+ 00031191  0x00009f53 copy  0x00000002 , 0x00000039 
+ 00031192  0x00009f54 add  0x0000003f , 0x00000003 , 0x00000012 
+ 00031193  0x00009f55 ifetch  0x00000001 , 0x00000012 
+ 00031194  0x00009f56 imul32  0x00000002 , 0x0000003f 
+ 00031195  0x00009f57 iadd  0x00000006 , 0x00000006 
+ 00031196  0x00009f58 increase  0x00000001 , 0x00000006 
+ 00031197  0x00009f59 copy  0x00000006 , 0x00000012 
+ 00031198  0x00009f5a copy  0x00000011 , 0x00000005 
+ 00031199  0x00009f5b call  0x00007dd4 
+ 00031200  0x00009f5c branch  0x00007ec5 
+ 00031201  0x00009f5f call  0x00007ec7 
+ 00031202  0x00009f60 call  0x000079f0 
+ 00031203  0x00009f61 rtn  0x00000034 
+ 00031204  0x00009f62 fetch  0x00000002 , 0x0000448c 
+ 00031205  0x00009f63 ifetcht  0x00000001 , 0x0000003f 
+ 00031206  0x00009f64 copy  0x00000002 , 0x00000039 
+ 00031207  0x00009f65 add  0x0000003f , 0x00000003 , 0x00000012 
+ 00031208  0x00009f66 ifetch  0x00000001 , 0x00000012 
+ 00031209  0x00009f67 imul32  0x00000002 , 0x0000003f 
+ 00031210  0x00009f68 iadd  0x00000006 , 0x00000006 
+ 00031211  0x00009f69 add  0x00000006 , 0x00000002 , 0x00000005 
+ 00031212  0x00009f6a copy  0x00000011 , 0x00000006 
+ 00031213  0x00009f6b increase  0xffffffff , 0x00000039 
+ 00031214  0x00009f6c call  0x00007dd4 
+ 00031215  0x00009f6d branch  0x00007ec5 
+ 00031216  0x00009f71 fetch  0x00000002 , 0x0000448c 
+ 00031217  0x00009f72 add  0x0000003f , 0x00000002 , 0x00000006 
+ 00031218  0x00009f73 ifetch  0x00000001 , 0x00000006 
+ 00031219  0x00009f74 rtn 
+ 00031220  0x00009f78 call  0x000079f8 
+ 00031221  0x00009f79 ifetcht  0x00000001 , 0x00000006 
+ 00031222  0x00009f7a isub  0x00000002 , 0x0000003f 
+ 00031223  0x00009f7b rtn 
+ 00031224  0x00009f7f fetch  0x00000002 , 0x0000448c 
+ 00031225  0x00009f80 add  0x0000003f , 0x00000001 , 0x00000006 
+ 00031226  0x00009f81 ifetch  0x00000001 , 0x00000006 
+ 00031227  0x00009f82 rtn 
+ 00031228  0x00009f8b bpatchx  0x0000008b , 0x00004031 
+ 00031229  0x00009f8c fetch  0x00000001 , 0x00008c23 
+ 00031230  0x00009f8d isolate1  0x00000003 , 0x0000003f 
+ 00031231  0x00009f8e call  0x00007a08 , 0x00000001 
+ 00031232  0x00009f8f fetch  0x00000001 , 0x00008c23 
+ 00031233  0x00009f90 store  0x00000001 , 0x00008c23 
+ 00031234  0x00009f91 store  0x00000001 , 0x000009f6 
+ 00031235  0x00009f92 call  0x00007a68 
+ 00031236  0x00009f93 call  0x00007a90 
+ 00031237  0x00009f94 call  0x00007c81 
+ 00031238  0x00009f95 call  0x00007cc9 
+ 00031239  0x00009f96 branch  0x00007a60 
+ 00031240  0x00009f99 bpatchx  0x0000008c , 0x00004031 
+ 00031241  0x00009f9a call  0x00006e5e 
+ 00031242  0x00009f9b call  0x00007a27 
+ 00031243  0x00009f9c jam  0x00000000 , 0x00008c00 
+ 00031244  0x00009f9d nop  0x00002710 
+ 00031245  0x00009f9e jam  0x000000c0 , 0x00008c18 
+ 00031246  0x00009f9f fetch  0x00000002 , 0x00008050 
+ 00031247  0x00009fa0 set0  0x0000000a , 0x0000003f 
+ 00031248  0x00009fa1 store  0x00000002 , 0x00008050 
+ 00031249  0x00009fa2 jam  0x00000000 , 0x00008c11 
+ 00031250  0x00009fa3 jam  0x0000003c , 0x00008c00 
+ 00031251  0x00009fa4 setarg  0x00000a4f 
+ 00031252  0x00009fa5 store  0x00000002 , 0x00008c03 
+ 00031253  0x00009fa6 store  0x00000002 , 0x00008c07 
+ 00031254  0x00009fa7 setarg  0x00000a8f 
+ 00031255  0x00009fa8 store  0x00000002 , 0x00008c05 
+ 00031256  0x00009fa9 jam  0x00000004 , 0x00008c11 
+ 00031257  0x00009faa jam  0x00000000 , 0x00008c02 
+ 00031258  0x00009fab jam  0x000000ff , 0x00008c23 
+ 00031259  0x00009fac setarg  0x00000c4b 
+ 00031260  0x00009fad arg  0x00000b59 , 0x00000005 
+ 00031261  0x00009fae isub  0x00000005 , 0x00000039 
+ 00031262  0x00009faf branch  0x00007d9b 
+ 00031263  0x00009fb2 fetcht  0x00000001 , 0x00000b58 
+ 00031264  0x00009fb3 branch  0x000060f4 
+ 00031265  0x00009fb5 fetch  0x00000001 , 0x00000bfa 
+ 00031266  0x00009fb6 rtn  0x00000034 
+ 00031267  0x00009fb7 fetcht  0x00000001 , 0x00000b58 
+ 00031268  0x00009fb8 call  0x000060fd 
+ 00031269  0x00009fb9 branch  0x00007a08 , 0x00000001 
+ 00031270  0x00009fba rtn 
+ 00031271  0x00009fbd jam  0x00000002 , 0x00000b57 
+ 00031272  0x00009fbe setarg  0x00000000 
+ 00031273  0x00009fbf store  0x00000001 , 0x00000a92 
+ 00031274  0x00009fc0 store  0x00000002 , 0x00000b51 
+ 00031275  0x00009fc1 pincrease  0x00000001 
+ 00031276  0x00009fc2 store  0x00000002 , 0x00000b53 
+ 00031277  0x00009fc3 pincrease  0x00000001 
+ 00031278  0x00009fc4 store  0x00000002 , 0x00000b55 
+ 00031279  0x00009fc5 arg  0x00000ae6 , 0x00000005 
+ 00031280  0x00009fc6 setarg  0x00030404 
+ 00031281  0x00009fc7 istore  0x00000003 , 0x00000005 
+ 00031282  0x00009fc8 setarg  0x00000409 
+ 00031283  0x00009fc9 istore  0x00000002 , 0x00000005 
+ 00031284  0x00009fca arg  0x00000aeb , 0x00000005 
+ 00031285  0x00009fcb setsect  0x00000000 , 0x00015906 
+ 00031286  0x00009fcc setsect  0x00000001 , 0x000210d2 
+ 00031287  0x00009fcd setsect  0x00000002 , 0x00010494 
+ 00031288  0x00009fce setsect  0x00000003 , 0x00000001 
+ 00031289  0x00009fcf istore  0x00000009 , 0x00000005 
+ 00031290  0x00009fd0 arg  0x00000b09 , 0x00000005 
+ 00031291  0x00009fd1 setsect  0x00000000 , 0x0001570f 
+ 00031292  0x00009fd2 setsect  0x00000001 , 0x00015c9a 
+ 00031293  0x00009fd3 setsect  0x00000002 , 0x000256c6 
+ 00031294  0x00009fd4 setsect  0x00000003 , 0x0001cdcd 
+ 00031295  0x00009fd5 istore  0x00000009 , 0x00000005 
+ 00031296  0x00009fd6 setsect  0x00000000 , 0x00014420 
+ 00031297  0x00009fd7 setsect  0x00000001 , 0x00025d99 
+ 00031298  0x00009fd8 setsect  0x00000002 , 0x00025636 
+ 00031299  0x00009fd9 setsect  0x00000003 , 0x00000001 
+ 00031300  0x00009fda istore  0x00000007 , 0x00000005 
+ 00031301  0x00009fdb arg  0x00000b27 , 0x00000005 
+ 00031302  0x00009fdc setsect  0x00000000 , 0x0001620a 
+ 00031303  0x00009fdd setsect  0x00000001 , 0x00000c8c 
+ 00031304  0x00009fde setsect  0x00000002 , 0x00030333 
+ 00031305  0x00009fdf setsect  0x00000003 , 0x0000c0c0 
+ 00031306  0x00009fe0 istore  0x00000009 , 0x00000005 
+ 00031307  0x00009fe1 setsect  0x00000000 , 0x00003130 
+ 00031308  0x00009fe2 istore  0x00000002 , 0x00000005 
+ 00031309  0x00009fe3 setarg  0x000099a4 
+ 00031310  0x00009fe4 store  0x00000002 , 0x00000a93 
+ 00031311  0x00009fe5 setarg  0x000099ff 
+ 00031312  0x00009fe6 store  0x00000002 , 0x00000a95 
+ 00031313  0x00009fe7 arg  0x00009aa3 , 0x00000006 
+ 00031314  0x00009fe8 arg  0x00000a97 , 0x00000005 
+ 00031315  0x00009fe9 arg  0x00000013 , 0x00000039 
+ 00031316  0x00009fea call  0x00007dd4 
+ 00031317  0x00009feb arg  0x00009ab6 , 0x00000006 
+ 00031318  0x00009fec arg  0x00000aaa , 0x00000005 
+ 00031319  0x00009fed arg  0x0000003c , 0x00000039 
+ 00031320  0x00009fee call  0x00007dd4 
+ 00031321  0x00009ff0 fetch  0x00000002 , 0x00000b45 
+ 00031322  0x00009ff1 branch  0x00007e7a 
+ 00031323  0x00009ff4 fetch  0x00000001 , 0x00000b47 
+ 00031324  0x00009ff5 rtn  0x00000034 
+ 00031325  0x00009ff6 store  0x00000001 , 0x00000acc 
+ 00031326  0x00009ff7 store  0x00000001 , 0x00000ae5 
+ 00031327  0x00009ff8 rtn 
+ 00031328  0x00009ffb arg  0x00000000 , 0x00000007 
+ 00031329  0x00009ffc call  0x00007de9 
+ 00031330  0x00009ffd nrtn  0x00000034 
+ 00031331  0x00009ffe fetch  0x00000001 , 0x00000bfb 
+ 00031332  0x00009fff nrtn  0x00000034 
+ 00031333  0x0000a000 fetch  0x00000001 , 0x00000bfa 
+ 00031334  0x0000a001 ncall  0x00007d1f , 0x00000034 
+ 00031335  0x0000a002 rtn 
+ 00031336  0x0000a005 fetch  0x00000001 , 0x000009f6 
+ 00031337  0x0000a006 bbit1  0x00000002 , 0x00007a6b 
+ 00031338  0x0000a007 rtn 
+ 00031339  0x0000a00a call  0x00007a70 
+ 00031340  0x0000a00b call  0x00007de8 
+ 00031341  0x0000a00c setarg  0x00000280 
+ 00031342  0x0000a00d arg  0x00000000 , 0x00000007 
+ 00031343  0x0000a00e branch  0x00007ddb 
+ 00031344  0x0000a011 fetch  0x00000001 , 0x00000bec 
+ 00031345  0x0000a012 bne  0x00000002 , 0x00007a75 
+ 00031346  0x0000a013 jam  0x00000000 , 0x00000bfb 
+ 00031347  0x0000a014 jam  0x00000000 , 0x00000bfc 
+ 00031348  0x0000a015 rtn 
+ 00031349  0x0000a018 fetch  0x00000001 , 0x00000bfe 
+ 00031350  0x0000a019 rtn  0x00000034 
+ 00031351  0x0000a01a jam  0x00000000 , 0x00000bfe 
+ 00031352  0x0000a01b jam  0x00000002 , 0x00000bec 
+ 00031353  0x0000a01c jam  0x00000001 , 0x00000bfa 
+ 00031354  0x0000a01d rtn 
+ 00031355  0x0000a020 fetch  0x00000001 , 0x000009f6 
+ 00031356  0x0000a021 bbit1  0x00000000 , 0x00007a9d 
+ 00031357  0x0000a022 rtn 
+ 00031358  0x0000a025 fetch  0x00000001 , 0x00008c24 
+ 00031359  0x0000a026 rtnbit1  0x00000006 
+ 00031360  0x0000a027 fetchr  0x0000000a , 0x00000002 , 0x00008c03 
+ 00031361  0x0000a028 fetchr  0x00000010 , 0x00000002 , 0x00008c05 
+ 00031362  0x0000a029 fetchr  0x00000003 , 0x00000002 , 0x00008c07 
+ 00031363  0x0000a02a ifetch  0x00000002 , 0x00000003 
+ 00031364  0x0000a02b rshift8  0x0000003f , 0x00000002 
+ 00031365  0x0000a02c rshift4  0x00000002 , 0x00000002 
+ 00031366  0x0000a02d arg  0x00000fff , 0x00000006 
+ 00031367  0x0000a02e iand  0x00000006 , 0x00000039 
+ 00031368  0x0000a02f copy  0x00000039 , 0x00000011 
+ 00031369  0x0000a031 ifetch  0x00000001 , 0x00000003 
+ 00031370  0x0000a032 istore  0x00000001 , 0x00000005 
+ 00031371  0x0000a033 loop  0x00007a89 
+ 00031372  0x0000a034 storer  0x00000003 , 0x00000002 , 0x00008c07 
+ 00031373  0x0000a035 storer  0x00000011 , 0x00000002 , 0x000009f8 
+ 00031374  0x0000a036 rtn 
+ 00031375  0x0000a038 rtn 
+ 00031376  0x0000a03b bpatchx  0x0000008d , 0x00004031 
+ 00031377  0x0000a03c fetch  0x00000001 , 0x000009f6 
+ 00031378  0x0000a03d rtnbit0  0x00000005 
+ 00031379  0x0000a03e arg  0x00000b59 , 0x00000005 
+ 00031380  0x0000a03f call  0x00007a7e 
+ 00031381  0x0000a040 copy  0x00000002 , 0x0000003f 
+ 00031382  0x0000a041 beq  0x00000000 , 0x00007a98 
+ 00031383  0x0000a042 branch  0x00007a8f 
+ 00031384  0x0000a044 fetch  0x00000001 , 0x000009f8 
+ 00031385  0x0000a045 beq  0x00000000 , 0x00007a7b 
+ 00031386  0x0000a046 beq  0x00000001 , 0x00007aa4 
+ 00031387  0x0000a047 sub  0x0000003f , 0x00000007 , 0x0000003e 
+ 00031388  0x0000a048 rtn  0x00000002 
+ 00031389  0x0000a04a bpatchx  0x0000008e , 0x00004031 
+ 00031390  0x0000a04b set0  0x00000023 , 0x00000000 
+ 00031391  0x0000a04c fetch  0x00000001 , 0x00000b59 
+ 00031392  0x0000a04d and_into  0x00000080 , 0x0000003f 
+ 00031393  0x0000a04e beq  0x00000080 , 0x00007aa8 
+ 00031394  0x0000a04f beq  0x00000000 , 0x00007ab0 
+ 00031395  0x0000a050 branch  0x0000137c 
+ 00031396  0x0000a053 fetch  0x00000001 , 0x00000b59 
+ 00031397  0x0000a054 rtnbit1  0x00000007 
+ 00031398  0x0000a055 call  0x00007c56 
+ 00031399  0x0000a056 branch  0x00007ad6 
+ 00031400  0x0000a05a fetch  0x00000001 , 0x00000b59 
+ 00031401  0x0000a05b rshift4  0x0000003f , 0x0000003f 
+ 00031402  0x0000a05c rshift  0x0000003f , 0x0000003f 
+ 00031403  0x0000a05d and_into  0x00000003 , 0x0000003f 
+ 00031404  0x0000a05e beq  0x00000000 , 0x00007ab8 
+ 00031405  0x0000a05f beq  0x00000001 , 0x00007abe 
+ 00031406  0x0000a060 beq  0x00000002 , 0x00007ac3 
+ 00031407  0x0000a061 branch  0x0000137c 
+ 00031408  0x0000a064 fetch  0x00000001 , 0x00000b59 
+ 00031409  0x0000a065 rshift4  0x0000003f , 0x0000003f 
+ 00031410  0x0000a066 rshift  0x0000003f , 0x0000003f 
+ 00031411  0x0000a067 and_into  0x00000003 , 0x0000003f 
+ 00031412  0x0000a068 beq  0x00000000 , 0x00007ac4 
+ 00031413  0x0000a069 beq  0x00000001 , 0x00007acc 
+ 00031414  0x0000a06a beq  0x00000002 , 0x00007ad1 
+ 00031415  0x0000a06b branch  0x0000137c 
+ 00031416  0x0000a06e fetch  0x00000001 , 0x00000b5a 
+ 00031417  0x0000a06f beq  0x00000008 , 0x00007ad8 
+ 00031418  0x0000a070 beq  0x00000006 , 0x00007aee 
+ 00031419  0x0000a071 beq  0x0000000a , 0x00007b33 
+ 00031420  0x0000a072 beq  0x00000000 , 0x00007b45 
+ 00031421  0x0000a073 branch  0x00007ad2 
+ 00031422  0x0000a076 fetch  0x00000001 , 0x00000b5a 
+ 00031423  0x0000a077 beq  0x00000002 , 0x00007b7a 
+ 00031424  0x0000a078 beq  0x00000001 , 0x00007b7e 
+ 00031425  0x0000a079 beq  0x00000003 , 0x00007b8f 
+ 00031426  0x0000a07a branch  0x00007ad2 
+ 00031427  0x0000a07d branch  0x00007ad2 
+ 00031428  0x0000a080 fetch  0x00000001 , 0x00000b5a 
+ 00031429  0x0000a081 beq  0x00000001 , 0x00007b99 
+ 00031430  0x0000a082 beq  0x00000003 , 0x00007bc8 
+ 00031431  0x0000a083 beq  0x00000005 , 0x00007bf3 
+ 00031432  0x0000a084 beq  0x00000009 , 0x00007c0c 
+ 00031433  0x0000a085 beq  0x0000000b , 0x00007c27 
+ 00031434  0x0000a086 beq  0x00000007 , 0x00007ad2 
+ 00031435  0x0000a087 branch  0x00007ad2 
+ 00031436  0x0000a08a fetch  0x00000001 , 0x00000b5a 
+ 00031437  0x0000a08b beq  0x0000000a , 0x00007c38 
+ 00031438  0x0000a08c beq  0x00000009 , 0x00007c4a 
+ 00031439  0x0000a08d beq  0x0000000b , 0x00007c68 
+ 00031440  0x0000a08e branch  0x00007ad2 
+ 00031441  0x0000a091 branch  0x00007ad2 
+ 00031442  0x0000a094 fetch  0x00000001 , 0x00008c19 
+ 00031443  0x0000a095 set1  0x00000000 , 0x0000003f 
+ 00031444  0x0000a096 store  0x00000001 , 0x00008c19 
+ 00031445  0x0000a097 branch  0x00007ad6 
+ 00031446  0x0000a09a jam  0x00000010 , 0x00008c18 
+ 00031447  0x0000a09b rtn 
+ 00031448  0x0000a09e fetch  0x00000001 , 0x00000b59 
+ 00031449  0x0000a09f bne  0x00000080 , 0x00007ad2 
+ 00031450  0x0000a0a0 fetch  0x00000001 , 0x00000b5d 
+ 00031451  0x0000a0a1 bne  0x00000000 , 0x00007ad2 
+ 00031452  0x0000a0a2 fetch  0x00000001 , 0x00000b5e 
+ 00031453  0x0000a0a3 bne  0x00000000 , 0x00007ad2 
+ 00031454  0x0000a0a4 fetch  0x00000001 , 0x00000b5f 
+ 00031455  0x0000a0a5 bne  0x00000001 , 0x00007ad2 
+ 00031456  0x0000a0a6 fetch  0x00000001 , 0x00000b60 
+ 00031457  0x0000a0a7 bne  0x00000000 , 0x00007ad2 
+ 00031458  0x0000a0a8 fetch  0x00000001 , 0x00000b5b 
+ 00031459  0x0000a0a9 bne  0x00000000 , 0x00007ad2 
+ 00031460  0x0000a0aa fetch  0x00000001 , 0x00000b5c 
+ 00031461  0x0000a0ab bne  0x00000000 , 0x00007ad2 
+ 00031462  0x0000a0ac fetch  0x00000001 , 0x00000b57 
+ 00031463  0x0000a0ad beq  0x00000004 , 0x00007aea 
+ 00031464  0x0000a0ae beq  0x00000003 , 0x00007aec 
+ 00031465  0x0000a0af branch  0x00007ad2 
+ 00031466  0x0000a0b2 arg  0x00000001 , 0x00000012 
+ 00031467  0x0000a0b3 branch  0x00007b5f 
+ 00031468  0x0000a0b6 arg  0x00000001 , 0x00000012 
+ 00031469  0x0000a0b7 branch  0x00007b5d 
+ 00031470  0x0000a0ba bpatchx  0x0000008f , 0x00004031 
+ 00031471  0x0000a0bc fetch  0x00000001 , 0x00000b5c 
+ 00031472  0x0000a0bd beq  0x00000001 , 0x00007b01 
+ 00031473  0x0000a0be beq  0x00000002 , 0x00007b1a 
+ 00031474  0x0000a0bf beq  0x00000003 , 0x00007b1d 
+ 00031475  0x0000a0c0 beq  0x00000021 , 0x00007af6 
+ 00031476  0x0000a0c1 beq  0x00000022 , 0x00007b2b 
+ 00031477  0x0000a0c2 branch  0x00007ad2 
+ 00031478  0x0000a0c5 jam  0x00000000 , 0x00000be9 
+ 00031479  0x0000a0c6 fetch  0x00000001 , 0x00000b5d 
+ 00031480  0x0000a0c7 beq  0x00000000 , 0x00007afb 
+ 00031481  0x0000a0c8 beq  0x00000001 , 0x00007afe 
+ 00031482  0x0000a0c9 branch  0x00007ad2 
+ 00031483  0x0000a0cc fetchr  0x00000012 , 0x00000001 , 0x00000abd 
+ 00031484  0x0000a0cd arg  0x00000abd , 0x00000011 
+ 00031485  0x0000a0ce branch  0x00007c77 
+ 00031486  0x0000a0d1 fetchr  0x00000012 , 0x00000001 , 0x00000ad6 
+ 00031487  0x0000a0d2 arg  0x00000ad6 , 0x00000011 
+ 00031488  0x0000a0d3 branch  0x00007c77 
+ 00031489  0x0000a0d9 fetch  0x00000001 , 0x00000bfd 
+ 00031490  0x0000a0da ncall  0x00007b12 , 0x00000034 
+ 00031491  0x0000a0db setarg  0x00000a97 
+ 00031492  0x0000a0dc fetcht  0x00000001 , 0x00000a97 
+ 00031493  0x0000a0de store  0x00000002 , 0x00000bf4 
+ 00031494  0x0000a0df storet  0x00000001 , 0x00000bf6 
+ 00031495  0x0000a0e0 fetch  0x00000001 , 0x00000b5f 
+ 00031496  0x0000a0e1 isub  0x00000002 , 0x0000003e 
+ 00031497  0x0000a0e2 nbranch  0x00007b10 , 0x00000002 
+ 00031498  0x0000a0e4 fetch  0x00000001 , 0x00000bf6 
+ 00031499  0x0000a0e6 iforce  0x00000012 
+ 00031500  0x0000a0e7 fetch  0x00000002 , 0x00000bf4 
+ 00031501  0x0000a0e8 add  0x0000003f , 0x00000001 , 0x0000003f 
+ 00031502  0x0000a0e9 iforce  0x00000011 
+ 00031503  0x0000a0ea branch  0x00007c77 
+ 00031504  0x0000a0ec fetch  0x00000001 , 0x00000b5f 
+ 00031505  0x0000a0ed branch  0x00007b0b 
+ 00031506  0x0000a0f0 fetch  0x00000001 , 0x00008c02 
+ 00031507  0x0000a0f1 ncall  0x00007b16 , 0x00000034 
+ 00031508  0x0000a0f2 jam  0x00000000 , 0x00000bfd 
+ 00031509  0x0000a0f3 rtn 
+ 00031510  0x0000a0f5 fetch  0x00000001 , 0x00008c02 
+ 00031511  0x0000a0f6 set1  0x00000007 , 0x0000003f 
+ 00031512  0x0000a0f7 store  0x00000001 , 0x00008c02 
+ 00031513  0x0000a0f8 rtn 
+ 00031514  0x0000a0fb setarg  0x00000aaa 
+ 00031515  0x0000a0fc fetcht  0x00000001 , 0x00000aaa 
+ 00031516  0x0000a0fd branch  0x00007b05 
+ 00031517  0x0000a100 fetch  0x00000001 , 0x00000b5b 
+ 00031518  0x0000a101 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00031519  0x0000a102 nbranch  0x00007ad2 , 0x00000002 
+ 00031520  0x0000a103 fetch  0x00000001 , 0x00000b5b 
+ 00031521  0x0000a104 arg  0x00000ae6 , 0x00000011 
+ 00031522  0x0000a105 beq  0x00000000 , 0x00007c75 
+ 00031523  0x0000a106 set1  0x00000023 , 0x00000000 
+ 00031524  0x0000a107 arg  0x00000aeb , 0x00000011 
+ 00031525  0x0000a108 beq  0x00000001 , 0x00007c75 
+ 00031526  0x0000a109 arg  0x00000b09 , 0x00000011 
+ 00031527  0x0000a10a beq  0x00000002 , 0x00007c75 
+ 00031528  0x0000a10b arg  0x00000b27 , 0x00000011 
+ 00031529  0x0000a10c beq  0x00000003 , 0x00007c75 
+ 00031530  0x0000a10d rtn 
+ 00031531  0x0000a110 fetch  0x00000002 , 0x00000b5d 
+ 00031532  0x0000a111 beq  0x00000001 , 0x00007b2f 
+ 00031533  0x0000a112 fetchr  0x00000011 , 0x00000002 , 0x00000a93 
+ 00031534  0x0000a113 branch  0x00007c75 
+ 00031535  0x0000a115 jam  0x00000001 , 0x00000bfa 
+ 00031536  0x0000a116 jam  0x00000001 , 0x00000bec 
+ 00031537  0x0000a117 fetchr  0x00000011 , 0x00000002 , 0x00000a95 
+ 00031538  0x0000a118 branch  0x00007c75 
+ 00031539  0x0000a11c fetch  0x00000001 , 0x00000b57 
+ 00031540  0x0000a11d bne  0x00000004 , 0x00007ad2 
+ 00031541  0x0000a11e fetch  0x00000001 , 0x00000b59 
+ 00031542  0x0000a11f bne  0x00000081 , 0x00007ad2 
+ 00031543  0x0000a120 fetch  0x00000001 , 0x00000b5b 
+ 00031544  0x0000a121 bne  0x00000000 , 0x00007ad2 
+ 00031545  0x0000a122 fetch  0x00000001 , 0x00000b5c 
+ 00031546  0x0000a123 bne  0x00000000 , 0x00007ad2 
+ 00031547  0x0000a124 fetch  0x00000001 , 0x00000b5f 
+ 00031548  0x0000a125 bne  0x00000001 , 0x00007ad2 
+ 00031549  0x0000a126 fetch  0x00000001 , 0x00000b60 
+ 00031550  0x0000a127 bne  0x00000000 , 0x00007ad2 
+ 00031551  0x0000a128 fetch  0x00000001 , 0x00000b5d 
+ 00031552  0x0000a129 bne  0x00000000 , 0x00007ad2 
+ 00031553  0x0000a12a fetch  0x00000001 , 0x00000b5e 
+ 00031554  0x0000a12b bne  0x00000000 , 0x00007ad2 
+ 00031555  0x0000a12c arg  0x00000001 , 0x00000012 
+ 00031556  0x0000a12d branch  0x00007b5d 
+ 00031557  0x0000a131 fetch  0x00000001 , 0x00000b57 
+ 00031558  0x0000a132 beq  0x00000002 , 0x00007ad2 
+ 00031559  0x0000a133 fetch  0x00000001 , 0x00000b5b 
+ 00031560  0x0000a134 bne  0x00000000 , 0x00007ad2 
+ 00031561  0x0000a135 fetch  0x00000001 , 0x00000b5c 
+ 00031562  0x0000a136 bne  0x00000000 , 0x00007ad2 
+ 00031563  0x0000a137 fetch  0x00000001 , 0x00000b5f 
+ 00031564  0x0000a138 bne  0x00000002 , 0x00007ad2 
+ 00031565  0x0000a139 fetch  0x00000001 , 0x00000b60 
+ 00031566  0x0000a13a bne  0x00000000 , 0x00007ad2 
+ 00031567  0x0000a13b fetch  0x00000001 , 0x00000b5e 
+ 00031568  0x0000a13c bne  0x00000000 , 0x00007ad2 
+ 00031569  0x0000a13d fetch  0x00000001 , 0x00000b59 
+ 00031570  0x0000a13e beq  0x00000080 , 0x00007b58 
+ 00031571  0x0000a13f beq  0x00000081 , 0x00007b63 
+ 00031572  0x0000a140 beq  0x00000082 , 0x00007b67 
+ 00031573  0x0000a141 branch  0x00007ad2 
+ 00031574  0x0000a145 jam  0x00000001 , 0x00000bef 
+ 00031575  0x0000a146 branch  0x00007b61 
+ 00031576  0x0000a149 fetch  0x00000001 , 0x00000b5d 
+ 00031577  0x0000a14a bne  0x00000000 , 0x00007ad2 
+ 00031578  0x0000a14b arg  0x00000002 , 0x00000012 
+ 00031579  0x0000a14c fetch  0x00000001 , 0x00000bed 
+ 00031580  0x0000a14d beq  0x00000001 , 0x00007b56 
+ 00031581  0x0000a150 arg  0x00000b51 , 0x00000011 
+ 00031582  0x0000a151 branch  0x00007c77 
+ 00031583  0x0000a153 arg  0x00000b53 , 0x00000011 
+ 00031584  0x0000a154 branch  0x00007c77 
+ 00031585  0x0000a156 arg  0x00000b55 , 0x00000011 
+ 00031586  0x0000a157 branch  0x00007c77 
+ 00031587  0x0000a15a fetch  0x00000001 , 0x00000b57 
+ 00031588  0x0000a15b bne  0x00000004 , 0x00007ad2 
+ 00031589  0x0000a15c arg  0x00000002 , 0x00000012 
+ 00031590  0x0000a15d branch  0x00007b5d 
+ 00031591  0x0000a160 fetch  0x00000001 , 0x00000b57 
+ 00031592  0x0000a161 bne  0x00000004 , 0x00007ad2 
+ 00031593  0x0000a162 fetch  0x00000001 , 0x00000b5d 
+ 00031594  0x0000a163 beq  0x00000081 , 0x00007b74 
+ 00031595  0x0000a164 beq  0x00000082 , 0x00007b76 
+ 00031596  0x0000a165 beq  0x00000083 , 0x00007b78 
+ 00031597  0x0000a166 and_into  0x0000007f , 0x0000003f 
+ 00031598  0x0000a167 beq  0x00000000 , 0x00007b70 
+ 00031599  0x0000a168 branch  0x00007ad2 
+ 00031600  0x0000a16b fetch  0x00000001 , 0x00000bf0 
+ 00031601  0x0000a16d arg  0x00000002 , 0x00000012 
+ 00031602  0x0000a16e beq  0x00000001 , 0x00007b5f 
+ 00031603  0x0000a16f branch  0x00007b5d 
+ 00031604  0x0000a171 fetch  0x00000001 , 0x00000bf1 
+ 00031605  0x0000a172 branch  0x00007b71 
+ 00031606  0x0000a174 fetch  0x00000001 , 0x00000bf2 
+ 00031607  0x0000a175 branch  0x00007b71 
+ 00031608  0x0000a177 fetch  0x00000001 , 0x00000bf3 
+ 00031609  0x0000a178 branch  0x00007b71 
+ 00031610  0x0000a17b jam  0x00000001 , 0x00000be7 
+ 00031611  0x0000a17c arg  0x00000be8 , 0x00000011 
+ 00031612  0x0000a17d arg  0x00000001 , 0x00000012 
+ 00031613  0x0000a17e branch  0x00007c77 
+ 00031614  0x0000a181 fetch  0x00000002 , 0x00000b5b 
+ 00031615  0x0000a182 arg  0x000001ba , 0x00000002 
+ 00031616  0x0000a183 isub  0x00000002 , 0x0000003e 
+ 00031617  0x0000a184 nbranch  0x00007ad2 , 0x00000005 
+ 00031618  0x0000a187 fetch  0x00000001 , 0x00000be4 
+ 00031619  0x0000a188 nbranch  0x00007b8c , 0x00000034 
+ 00031620  0x0000a189 jam  0x00000000 , 0x00000ba1 
+ 00031621  0x0000a18b fetch  0x00000001 , 0x00000b5f 
+ 00031622  0x0000a18c iforce  0x00000012 
+ 00031623  0x0000a18d arg  0x00000ba1 , 0x00000011 
+ 00031624  0x0000a18e call  0x00007c77 
+ 00031625  0x0000a190 arg  0x00000ba1 , 0x00000005 
+ 00031626  0x0000a191 arg  0x00000008 , 0x00000039 
+ 00031627  0x0000a192 branch  0x00007d8c 
+ 00031628  0x0000a194 jam  0x00000000 , 0x00000be4 
+ 00031629  0x0000a195 jam  0x00000001 , 0x00000ba1 
+ 00031630  0x0000a196 branch  0x00007b85 
+ 00031631  0x0000a199 fetch  0x00000001 , 0x00000b5f 
+ 00031632  0x0000a19a bne  0x00000001 , 0x00007ad2 
+ 00031633  0x0000a19b jam  0x00000001 , 0x00000be9 
+ 00031634  0x0000a19c arg  0x00000001 , 0x00000012 
+ 00031635  0x0000a19d fetch  0x00000001 , 0x00000beb 
+ 00031636  0x0000a19e beq  0x00000000 , 0x00007b97 
+ 00031637  0x0000a19f beq  0x00000001 , 0x00007b98 
+ 00031638  0x0000a1a0 branch  0x00007b5d 
+ 00031639  0x0000a1a2 branch  0x00007b5f 
+ 00031640  0x0000a1a4 branch  0x00007b5d 
+ 00031641  0x0000a1aa fetch  0x00000001 , 0x00000b57 
+ 00031642  0x0000a1ab bne  0x00000004 , 0x00007ad2 
+ 00031643  0x0000a1ac fetch  0x00000001 , 0x00000b5f 
+ 00031644  0x0000a1ad bne  0x00000000 , 0x00007ad2 
+ 00031645  0x0000a1ae fetch  0x00000001 , 0x00000b60 
+ 00031646  0x0000a1af bne  0x00000000 , 0x00007ad2 
+ 00031647  0x0000a1b0 fetch  0x00000001 , 0x00000b5c 
+ 00031648  0x0000a1b1 bne  0x00000000 , 0x00007ad2 
+ 00031649  0x0000a1b2 fetch  0x00000001 , 0x00000b5e 
+ 00031650  0x0000a1b3 bne  0x00000000 , 0x00007ad2 
+ 00031651  0x0000a1b4 fetch  0x00000001 , 0x00000b59 
+ 00031652  0x0000a1b5 beq  0x00000000 , 0x00007ba8 
+ 00031653  0x0000a1b6 beq  0x00000001 , 0x00007bb5 
+ 00031654  0x0000a1b7 beq  0x00000002 , 0x00007bb6 
+ 00031655  0x0000a1b8 branch  0x00007ad2 
+ 00031656  0x0000a1bb fetch  0x00000001 , 0x00000b5b 
+ 00031657  0x0000a1bc bne  0x00000001 , 0x00007ad2 
+ 00031658  0x0000a1bd fetch  0x00000001 , 0x00008c00 
+ 00031659  0x0000a1be set0  0x00000007 , 0x0000003f 
+ 00031660  0x0000a1bf store  0x00000001 , 0x00008c00 
+ 00031661  0x0000a1c0 jam  0x00000000 , 0x00000bed 
+ 00031662  0x0000a1c1 jam  0x00000001 , 0x00000bee 
+ 00031663  0x0000a1c2 fetch  0x00000001 , 0x00000bef 
+ 00031664  0x0000a1c3 branch  0x00007ad6 , 0x00000034 
+ 00031665  0x0000a1c4 jam  0x00000000 , 0x00000bef 
+ 00031666  0x0000a1c5 jam  0x00000000 , 0x00000bee 
+ 00031667  0x0000a1c6 jam  0x00000002 , 0x00000bec 
+ 00031668  0x0000a1c7 branch  0x00007ad6 
+ 00031669  0x0000a1ca branch  0x00007ad2 
+ 00031670  0x0000a1cd fetch  0x00000001 , 0x00000b5b 
+ 00031671  0x0000a1ce bne  0x00000000 , 0x00007ad2 
+ 00031672  0x0000a1cf fetch  0x00000001 , 0x00000b5d 
+ 00031673  0x0000a1d0 beq  0x00000081 , 0x00007bc1 
+ 00031674  0x0000a1d1 beq  0x00000082 , 0x00007bc4 
+ 00031675  0x0000a1d2 beq  0x00000083 , 0x00007bc6 
+ 00031676  0x0000a1d3 and_into  0x0000007f , 0x0000003f 
+ 00031677  0x0000a1d4 beq  0x00000000 , 0x00007bbf 
+ 00031678  0x0000a1d5 branch  0x00007ad2 
+ 00031679  0x0000a1d8 jam  0x00000000 , 0x00000bf0 
+ 00031680  0x0000a1d9 branch  0x00007ad6 
+ 00031681  0x0000a1db jam  0x00000000 , 0x00000bf1 
+ 00031682  0x0000a1dd jam  0x00000001 , 0x00000bfe 
+ 00031683  0x0000a1de branch  0x00007ad6 
+ 00031684  0x0000a1e0 jam  0x00000000 , 0x00000bf2 
+ 00031685  0x0000a1e1 branch  0x00007bc2 
+ 00031686  0x0000a1e3 jam  0x00000000 , 0x00000bf3 
+ 00031687  0x0000a1e4 branch  0x00007bc2 
+ 00031688  0x0000a1e8 fetch  0x00000001 , 0x00000b5f 
+ 00031689  0x0000a1e9 bne  0x00000000 , 0x00007ad2 
+ 00031690  0x0000a1ea fetch  0x00000001 , 0x00000b60 
+ 00031691  0x0000a1eb bne  0x00000000 , 0x00007ad2 
+ 00031692  0x0000a1ec fetch  0x00000001 , 0x00000b59 
+ 00031693  0x0000a1ed beq  0x00000000 , 0x00007bd1 
+ 00031694  0x0000a1ee beq  0x00000001 , 0x00007bdf 
+ 00031695  0x0000a1ef beq  0x00000002 , 0x00007be0 
+ 00031696  0x0000a1f0 branch  0x00007ad2 
+ 00031697  0x0000a1f3 fetch  0x00000001 , 0x00000b5b 
+ 00031698  0x0000a1f4 bne  0x00000001 , 0x00007ad2 
+ 00031699  0x0000a1f5 call  0x00003779 
+ 00031700  0x0000a1f6 fetch  0x00000001 , 0x00008c00 
+ 00031701  0x0000a1f7 set1  0x00000007 , 0x0000003f 
+ 00031702  0x0000a1f8 store  0x00000001 , 0x00008c00 
+ 00031703  0x0000a1f9 jam  0x00000001 , 0x00000bed 
+ 00031704  0x0000a1fa jam  0x00000003 , 0x00000bec 
+ 00031705  0x0000a1fb jam  0x00000000 , 0x00000be5 
+ 00031706  0x0000a1fc call  0x00007ad6 
+ 00031707  0x0000a1fe call  0x00007de8 
+ 00031708  0x0000a1ff setarg  0x00001388 
+ 00031709  0x0000a200 arg  0x0000000f , 0x00000007 
+ 00031710  0x0000a201 branch  0x00007ddb 
+ 00031711  0x0000a204 branch  0x00007ad2 
+ 00031712  0x0000a207 fetch  0x00000001 , 0x00000b5b 
+ 00031713  0x0000a208 bne  0x00000000 , 0x00007ad2 
+ 00031714  0x0000a209 fetch  0x00000001 , 0x00000b5c 
+ 00031715  0x0000a20a bne  0x00000000 , 0x00007ad2 
+ 00031716  0x0000a20b fetch  0x00000001 , 0x00000b5d 
+ 00031717  0x0000a20c beq  0x00000081 , 0x00007bed 
+ 00031718  0x0000a20d beq  0x00000082 , 0x00007bef 
+ 00031719  0x0000a20e beq  0x00000083 , 0x00007bf1 
+ 00031720  0x0000a20f and_into  0x0000007f , 0x0000003f 
+ 00031721  0x0000a210 beq  0x00000000 , 0x00007beb 
+ 00031722  0x0000a211 branch  0x00007ad2 
+ 00031723  0x0000a214 jam  0x00000001 , 0x00000bf0 
+ 00031724  0x0000a215 branch  0x00007ad6 
+ 00031725  0x0000a217 jam  0x00000001 , 0x00000bf1 
+ 00031726  0x0000a218 branch  0x00007ad6 
+ 00031727  0x0000a21a jam  0x00000001 , 0x00000bf2 
+ 00031728  0x0000a21b branch  0x00007ad6 
+ 00031729  0x0000a21d jam  0x00000001 , 0x00000bf3 
+ 00031730  0x0000a21e branch  0x00007ad6 
+ 00031731  0x0000a222 fetch  0x00000001 , 0x00000b59 
+ 00031732  0x0000a223 bne  0x00000000 , 0x00007ad2 
+ 00031733  0x0000a224 fetch  0x00000001 , 0x00000b5d 
+ 00031734  0x0000a225 bne  0x00000000 , 0x00007ad2 
+ 00031735  0x0000a226 fetch  0x00000001 , 0x00000b5e 
+ 00031736  0x0000a227 bne  0x00000000 , 0x00007ad2 
+ 00031737  0x0000a228 fetch  0x00000001 , 0x00000b5f 
+ 00031738  0x0000a229 bne  0x00000000 , 0x00007ad2 
+ 00031739  0x0000a22a fetch  0x00000001 , 0x00000b60 
+ 00031740  0x0000a22b bne  0x00000000 , 0x00007ad2 
+ 00031741  0x0000a22c fetch  0x00000001 , 0x00000b5c 
+ 00031742  0x0000a22d bne  0x00000000 , 0x00007ad2 
+ 00031743  0x0000a22e fetch  0x00000001 , 0x00000b5b 
+ 00031744  0x0000a22f and_into  0x00000080 , 0x0000003f 
+ 00031745  0x0000a230 bne  0x00000000 , 0x00007ad2 
+ 00031746  0x0000a231 fetch  0x00000001 , 0x00000b5b 
+ 00031747  0x0000a232 bne  0x00000000 , 0x00007c0a 
+ 00031748  0x0000a234 jam  0x00000002 , 0x00000b57 
+ 00031749  0x0000a236 fetch  0x00000001 , 0x00000b5b 
+ 00031750  0x0000a237 store  0x00000001 , 0x00008c02 
+ 00031751  0x0000a238 call  0x00007ad6 
+ 00031752  0x0000a239 jam  0x00000001 , 0x00000bfd 
+ 00031753  0x0000a23a rtn 
+ 00031754  0x0000a23c jam  0x00000003 , 0x00000b57 
+ 00031755  0x0000a23d branch  0x00007c05 
+ 00031756  0x0000a241 fetch  0x00000001 , 0x00000b57 
+ 00031757  0x0000a242 beq  0x00000002 , 0x00007ad2 
+ 00031758  0x0000a243 fetch  0x00000001 , 0x00000b59 
+ 00031759  0x0000a244 bne  0x00000000 , 0x00007ad2 
+ 00031760  0x0000a245 fetch  0x00000001 , 0x00000b5d 
+ 00031761  0x0000a246 bne  0x00000000 , 0x00007ad2 
+ 00031762  0x0000a247 fetch  0x00000001 , 0x00000b5e 
+ 00031763  0x0000a248 bne  0x00000000 , 0x00007ad2 
+ 00031764  0x0000a249 fetch  0x00000001 , 0x00000b5f 
+ 00031765  0x0000a24a bne  0x00000000 , 0x00007ad2 
+ 00031766  0x0000a24b fetch  0x00000001 , 0x00000b60 
+ 00031767  0x0000a24c bne  0x00000000 , 0x00007ad2 
+ 00031768  0x0000a24d fetch  0x00000001 , 0x00000b5c 
+ 00031769  0x0000a24e bne  0x00000000 , 0x00007ad2 
+ 00031770  0x0000a24f fetch  0x00000001 , 0x00000b5b 
+ 00031771  0x0000a250 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00031772  0x0000a251 nbranch  0x00007ad2 , 0x00000002 
+ 00031773  0x0000a252 fetch  0x00000001 , 0x00000b57 
+ 00031774  0x0000a253 beq  0x00000003 , 0x00007c21 
+ 00031775  0x0000a254 beq  0x00000004 , 0x00007c21 
+ 00031776  0x0000a255 branch  0x00007ad2 
+ 00031777  0x0000a259 fetch  0x00000001 , 0x00000b5b 
+ 00031778  0x0000a25a beq  0x00000000 , 0x00007c25 
+ 00031779  0x0000a25b jam  0x00000004 , 0x00000b57 
+ 00031780  0x0000a25c branch  0x00007ad6 
+ 00031781  0x0000a25e jam  0x00000003 , 0x00000b57 
+ 00031782  0x0000a25f branch  0x00007ad6 
+ 00031783  0x0000a263 fetch  0x00000001 , 0x00000b57 
+ 00031784  0x0000a264 bne  0x00000004 , 0x00007ad2 
+ 00031785  0x0000a265 fetch  0x00000001 , 0x00000b59 
+ 00031786  0x0000a266 bne  0x00000001 , 0x00007ad2 
+ 00031787  0x0000a267 fetch  0x00000001 , 0x00000b5b 
+ 00031788  0x0000a268 bne  0x00000000 , 0x00007ad2 
+ 00031789  0x0000a269 fetch  0x00000001 , 0x00000b5c 
+ 00031790  0x0000a26a bne  0x00000000 , 0x00007ad2 
+ 00031791  0x0000a26b fetch  0x00000001 , 0x00000b5f 
+ 00031792  0x0000a26c bne  0x00000000 , 0x00007ad2 
+ 00031793  0x0000a26d fetch  0x00000001 , 0x00000b60 
+ 00031794  0x0000a26e bne  0x00000000 , 0x00007ad2 
+ 00031795  0x0000a26f fetch  0x00000001 , 0x00000b5d 
+ 00031796  0x0000a270 bne  0x00000000 , 0x00007ad2 
+ 00031797  0x0000a271 fetch  0x00000001 , 0x00000b5e 
+ 00031798  0x0000a272 bne  0x00000000 , 0x00007ad2 
+ 00031799  0x0000a273 branch  0x00007ad6 
+ 00031800  0x0000a277 bpatchx  0x00000090 , 0x00004032 
+ 00031801  0x0000a278 jam  0x00000001 , 0x00000be7 
+ 00031802  0x0000a279 fetch  0x00000001 , 0x00000b5c 
+ 00031803  0x0000a27a store  0x00000001 , 0x00000be8 
+ 00031804  0x0000a27b fetch  0x00000001 , 0x00000b5d 
+ 00031805  0x0000a27c sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00031806  0x0000a27d call  0x00007c46 , 0x00000005 
+ 00031807  0x0000a27e fetch  0x00000001 , 0x00000bec 
+ 00031808  0x0000a27f bne  0x00000004 , 0x00007ad6 
+ 00031809  0x0000a280 jam  0x00000002 , 0x00000bec 
+ 00031810  0x0000a281 call  0x00007ad6 
+ 00031811  0x0000a282 nop  0x00007530 
+ 00031812  0x0000a283 nop  0x00007530 
+ 00031813  0x0000a284 rtn 
+ 00031814  0x0000a286 jam  0x00000001 , 0x00000bfa 
+ 00031815  0x0000a287 jam  0x00000000 , 0x00000bee 
+ 00031816  0x0000a288 jam  0x00000004 , 0x00000bec 
+ 00031817  0x0000a289 rtn 
+ 00031818  0x0000a28d arg  0x00000b61 , 0x00000005 
+ 00031819  0x0000a28e call  0x00007a7e 
+ 00031820  0x0000a28f jam  0x00000001 , 0x00000be3 
+ 00031821  0x0000a290 call  0x00007c5a 
+ 00031822  0x0000a291 fetch  0x00000002 , 0x00000b5b 
+ 00031823  0x0000a292 store  0x00000002 , 0x00000be1 
+ 00031824  0x0000a293 call  0x00007ad6 
+ 00031825  0x0000a294 fetch  0x00000001 , 0x0000409a 
+ 00031826  0x0000a295 rtnne  0x00000004 
+ 00031827  0x0000a296 fetch  0x00000001 , 0x00000be5 
+ 00031828  0x0000a297 rtn  0x00000034 
+ 00031829  0x0000a298 fetch  0x00000001 , 0x00000b61 
+ 00031830  0x0000a29a store  0x00000001 , 0x000048ce 
+ 00031831  0x0000a29b jam  0x00000000 , 0x00000be5 
+ 00031832  0x0000a29c jam  0x00000003 , 0x000048be 
+ 00031833  0x0000a29d rtn 
+ 00031834  0x0000a2a1 fetch  0x00000002 , 0x00000b5b 
+ 00031835  0x0000a2a2 arg  0x00000200 , 0x00000002 
+ 00031836  0x0000a2a3 isub  0x00000002 , 0x0000003e 
+ 00031837  0x0000a2a4 nrtn  0x00000005 
+ 00031838  0x0000a2a5 fetch  0x00000002 , 0x00000b5d 
+ 00031839  0x0000a2a6 arg  0x00000000 , 0x00000002 
+ 00031840  0x0000a2a7 isub  0x00000002 , 0x0000003e 
+ 00031841  0x0000a2a8 nrtn  0x00000005 
+ 00031842  0x0000a2a9 fetch  0x00000002 , 0x00000b5f 
+ 00031843  0x0000a2aa arg  0x00000001 , 0x00000002 
+ 00031844  0x0000a2ab isub  0x00000002 , 0x0000003e 
+ 00031845  0x0000a2ac nrtn  0x00000005 
+ 00031846  0x0000a2ad jam  0x00000001 , 0x00000be5 
+ 00031847  0x0000a2ae rtn 
+ 00031848  0x0000a2b2 fetch  0x00000001 , 0x00000b5f 
+ 00031849  0x0000a2b3 bne  0x00000000 , 0x00007ad2 
+ 00031850  0x0000a2b4 fetch  0x00000001 , 0x00000b5b 
+ 00031851  0x0000a2b5 beq  0x00000000 , 0x00007c6e 
+ 00031852  0x0000a2b6 beq  0x00000001 , 0x00007c71 
+ 00031853  0x0000a2b7 branch  0x00007ad2 
+ 00031854  0x0000a2b9 jam  0x00000000 , 0x00000bea 
+ 00031855  0x0000a2ba jam  0x00000001 , 0x00000beb 
+ 00031856  0x0000a2bb branch  0x00007ad6 
+ 00031857  0x0000a2bd jam  0x00000001 , 0x00000be6 
+ 00031858  0x0000a2be jam  0x00000001 , 0x00000bea 
+ 00031859  0x0000a2bf jam  0x00000000 , 0x00000beb 
+ 00031860  0x0000a2c0 branch  0x00007ad6 
+ 00031861  0x0000a2c4 ifetchr  0x00000012 , 0x00000001 , 0x00000011 
+ 00031862  0x0000a2c5 increase  0x00000001 , 0x00000011 
+ 00031863  0x0000a2c8 bpatchx  0x00000091 , 0x00004032 
+ 00031864  0x0000a2c9 set1  0x0000000e , 0x00000000 
+ 00031865  0x0000a2ca bmark0  0x00000023 , 0x00007c7c 
+ 00031866  0x0000a2cb increase  0x00000001 , 0x00000012 
+ 00031867  0x0000a2cc lshift  0x00000012 , 0x00000012 
+ 00031868  0x0000a2ce storer  0x00000011 , 0x00000002 , 0x00000a90 
+ 00031869  0x0000a2cf storer  0x00000012 , 0x00000001 , 0x00000a92 
+ 00031870  0x0000a2d0 branch  0x00007c81 
+ 00031871  0x0000a2d3 arg  0x00000000 , 0x00000007 
+ 00031872  0x0000a2d4 branch  0x00007cc1 
+ 00031873  0x0000a2da bpatchx  0x00000092 , 0x00004032 
+ 00031874  0x0000a2db fetch  0x00000001 , 0x00008c24 
+ 00031875  0x0000a2dc rtnbit1  0x00000000 
+ 00031876  0x0000a2dd fetch  0x00000001 , 0x00000a92 
+ 00031877  0x0000a2de rtn  0x00000034 
+ 00031878  0x0000a2df copy  0x0000003f , 0x00000039 
+ 00031879  0x0000a2e0 iforce  0x00000002 
+ 00031880  0x0000a2e1 fetch  0x00000002 , 0x00000b5f 
+ 00031881  0x0000a2e2 sub  0x0000003f , 0x00000040 , 0x0000003e 
+ 00031882  0x0000a2e3 branch  0x00007c8f , 0x00000002 
+ 00031883  0x0000a2e4 sub  0x00000039 , 0x00000040 , 0x0000003e 
+ 00031884  0x0000a2e5 branch  0x00007c93 , 0x00000002 
+ 00031885  0x0000a2e6 force  0x00000040 , 0x00000039 
+ 00031886  0x0000a2e7 branch  0x00007c93 
+ 00031887  0x0000a2e9 isub  0x00000039 , 0x0000003e 
+ 00031888  0x0000a2ea branch  0x00007c93 , 0x00000002 
+ 00031889  0x0000a2eb iforce  0x00000039 
+ 00031890  0x0000a2ec store  0x00000001 , 0x00000a92 
+ 00031891  0x0000a2ee fetch  0x00000001 , 0x00000a92 
+ 00031892  0x0000a2ef isub  0x00000039 , 0x0000003f 
+ 00031893  0x0000a2f0 store  0x00000001 , 0x00000a92 
+ 00031894  0x0000a2f1 add  0x00000039 , 0xffffffff , 0x0000003f 
+ 00031895  0x0000a2f2 store  0x00000001 , 0x000009fa 
+ 00031896  0x0000a2f3 bmark0  0x00000023 , 0x00007ca5 
+ 00031897  0x0000a2f4 rshift  0x0000003f , 0x0000003f 
+ 00031898  0x0000a2f5 add  0x00000039 , 0xffffffff , 0x0000003f 
+ 00031899  0x0000a2f6 store  0x00000001 , 0x000009fa 
+ 00031900  0x0000a2f7 bmark0  0x0000000e , 0x00007ca5 
+ 00031901  0x0000a2f8 set0  0x0000000e , 0x00000000 
+ 00031902  0x0000a2f9 istoret  0x00000001 , 0x00000005 
+ 00031903  0x0000a2fa setarg  0x00000003 
+ 00031904  0x0000a2fb istore  0x00000001 , 0x00000005 
+ 00031905  0x0000a2fc increase  0xffffffff , 0x00000039 
+ 00031906  0x0000a2fd copy  0x00000039 , 0x0000003f 
+ 00031907  0x0000a2fe nbranch  0x00007ca5 , 0x00000005 
+ 00031908  0x0000a2ff increase  0x00000001 , 0x00000039 
+ 00031909  0x0000a301 fetch  0x00000002 , 0x00000a90 
+ 00031910  0x0000a302 copy  0x0000003f , 0x00000006 
+ 00031911  0x0000a304 ifetch  0x00000001 , 0x00000006 
+ 00031912  0x0000a305 istore  0x00000001 , 0x00000005 
+ 00031913  0x0000a306 bmark0  0x00000023 , 0x00007cac 
+ 00031914  0x0000a307 setarg  0x00000000 
+ 00031915  0x0000a308 istore  0x00000001 , 0x00000005 
+ 00031916  0x0000a30a loop  0x00007ca7 
+ 00031917  0x0000a30b copy  0x00000006 , 0x0000003f 
+ 00031918  0x0000a30c store  0x00000002 , 0x00000a90 
+ 00031919  0x0000a30d setarg  0x000009fa 
+ 00031920  0x0000a30e store  0x00000002 , 0x00008c09 
+ 00031921  0x0000a30f arg  0x00000000 , 0x00000007 
+ 00031922  0x0000a310 call  0x00007cc1 
+ 00031923  0x0000a311 fetch  0x00000001 , 0x00000a92 
+ 00031924  0x0000a312 nrtn  0x00000034 
+ 00031925  0x0000a313 fetch  0x00000001 , 0x00000bec 
+ 00031926  0x0000a314 rtnne  0x00000001 
+ 00031927  0x0000a315 jam  0x00000002 , 0x00000bec 
+ 00031928  0x0000a316 rtn 
+ 00031929  0x0000a31b arg  0x00000001 , 0x00000007 
+ 00031930  0x0000a31c arg  0x00000a3b , 0x00000011 
+ 00031931  0x0000a31d storer  0x00000011 , 0x00000002 , 0x00008c0b 
+ 00031932  0x0000a31f add  0x00000039 , 0xffffffff , 0x0000003f 
+ 00031933  0x0000a320 istore  0x00000001 , 0x00000011 
+ 00031934  0x0000a322 ifetch  0x00000001 , 0x00000006 
+ 00031935  0x0000a323 istore  0x00000001 , 0x00000005 
+ 00031936  0x0000a324 loop  0x00007cbe 
+ 00031937  0x0000a326 setarg  0x00000000 
+ 00031938  0x0000a327 qset1  0x0000003f 
+ 00031939  0x0000a328 store  0x00000001 , 0x00008c18 
+ 00031940  0x0000a329 rtn 
+ 00031941  0x0000a32c arg  0x00000002 , 0x00000007 
+ 00031942  0x0000a32d arg  0x00000a45 , 0x00000011 
+ 00031943  0x0000a32e storer  0x00000011 , 0x00000002 , 0x00008c0d 
+ 00031944  0x0000a32f branch  0x00007cbc 
+ 00031945  0x0000a332 bpatchx  0x00000093 , 0x00004032 
+ 00031946  0x0000a333 fetch  0x00000001 , 0x00000bf9 
+ 00031947  0x0000a334 rtn  0x00000034 
+ 00031948  0x0000a335 fetch  0x00000001 , 0x00000bfa 
+ 00031949  0x0000a336 branch  0x00007ced , 0x00000034 
+ 00031950  0x0000a337 fetch  0x00000001 , 0x00000bec 
+ 00031951  0x0000a338 beq  0x00000003 , 0x00007d27 
+ 00031952  0x0000a339 bne  0x00000002 , 0x00007ced 
+ 00031953  0x0000a33a fetch  0x00000001 , 0x00000bee 
+ 00031954  0x0000a33b nbranch  0x00007ced , 0x00000034 
+ 00031955  0x0000a33c call  0x00007cd5 
+ 00031956  0x0000a33d branch  0x00007ce0 
+ 00031957  0x0000a340 fetch  0x00000001 , 0x00008c24 
+ 00031958  0x0000a341 rtnbit1  0x00000001 
+ 00031959  0x0000a342 fetch  0x00000001 , 0x00000bf9 
+ 00031960  0x0000a343 rtnbit0  0x00000001 
+ 00031961  0x0000a344 fetch  0x00000001 , 0x00000bf9 
+ 00031962  0x0000a345 set0  0x00000001 , 0x0000003f 
+ 00031963  0x0000a346 store  0x00000001 , 0x00000bf9 
+ 00031964  0x0000a347 fetch  0x00000001 , 0x00000bf7 
+ 00031965  0x0000a348 rtn  0x00000034 
+ 00031966  0x0000a349 beq  0x00000010 , 0x00007d0f 
+ 00031967  0x0000a34a branch  0x0000137c 
+ 00031968  0x0000a34d fetch  0x00000001 , 0x00008c24 
+ 00031969  0x0000a34e rtnbit1  0x00000002 
+ 00031970  0x0000a34f fetch  0x00000001 , 0x00000bf9 
+ 00031971  0x0000a350 rtnbit0  0x00000002 
+ 00031972  0x0000a351 fetch  0x00000001 , 0x00000bf9 
+ 00031973  0x0000a352 set0  0x00000002 , 0x0000003f 
+ 00031974  0x0000a353 store  0x00000001 , 0x00000bf9 
+ 00031975  0x0000a354 fetch  0x00000001 , 0x00000bf8 
+ 00031976  0x0000a355 rtn  0x00000034 
+ 00031977  0x0000a356 beq  0x00000020 , 0x00007cf0 
+ 00031978  0x0000a357 beq  0x00000021 , 0x00007d0b 
+ 00031979  0x0000a358 beq  0x00000022 , 0x00007d13 
+ 00031980  0x0000a359 branch  0x0000137c 
+ 00031981  0x0000a35d arg  0x00000bff , 0x00000005 
+ 00031982  0x0000a35e arg  0x00000008 , 0x00000039 
+ 00031983  0x0000a35f branch  0x00007d8c 
+ 00031984  0x0000a362 fetch  0x00000001 , 0x00000be7 
+ 00031985  0x0000a363 fetcht  0x00000001 , 0x00000be9 
+ 00031986  0x0000a364 iand  0x00000002 , 0x0000003f 
+ 00031987  0x0000a365 branch  0x00007d07 , 0x00000034 
+ 00031988  0x0000a366 fetcht  0x00000001 , 0x00000bea 
+ 00031989  0x0000a367 iadd  0x00000002 , 0x0000003f 
+ 00031990  0x0000a368 beq  0x00000001 , 0x00007cf8 
+ 00031991  0x0000a369 branch  0x00007d07 
+ 00031992  0x0000a36c jam  0x00000000 , 0x00000bf8 
+ 00031993  0x0000a36e fetch  0x00000001 , 0x00000c00 
+ 00031994  0x0000a36f beq  0x00000002 , 0x00007d08 
+ 00031995  0x0000a370 beq  0x00000003 , 0x00007d08 
+ 00031996  0x0000a371 fetch  0x00000001 , 0x00000c00 
+ 00031997  0x0000a372 store  0x00000001 , 0x00000bff 
+ 00031998  0x0000a373 fetch  0x00000001 , 0x00000c01 
+ 00031999  0x0000a374 istore  0x00000001 , 0x00000005 
+ 00032000  0x0000a375 fetch  0x00000001 , 0x00000c03 
+ 00032001  0x0000a376 istore  0x00000001 , 0x00000005 
+ 00032002  0x0000a377 fetch  0x00000001 , 0x00000c05 
+ 00032003  0x0000a378 istore  0x00000001 , 0x00000005 
+ 00032004  0x0000a379 arg  0x00000004 , 0x00000039 
+ 00032005  0x0000a37a arg  0x00000bff , 0x00000006 
+ 00032006  0x0000a37b branch  0x00007cc5 
+ 00032007  0x0000a37e jam  0x00000000 , 0x00000bf8 
+ 00032008  0x0000a380 arg  0x00000008 , 0x00000039 
+ 00032009  0x0000a381 arg  0x00000bff , 0x00000006 
+ 00032010  0x0000a382 branch  0x00007cc5 
+ 00032011  0x0000a385 jam  0x00000000 , 0x00000bf8 
+ 00032012  0x0000a386 arg  0x00000003 , 0x00000039 
+ 00032013  0x0000a387 arg  0x00000c1f , 0x00000006 
+ 00032014  0x0000a388 branch  0x00007cc5 
+ 00032015  0x0000a38b jam  0x00000000 , 0x00000bf7 
+ 00032016  0x0000a38c arg  0x00000008 , 0x00000039 
+ 00032017  0x0000a38d arg  0x00000c0f , 0x00000006 
+ 00032018  0x0000a38e branch  0x00007cb9 
+ 00032019  0x0000a391 jam  0x00000000 , 0x00000bf8 
+ 00032020  0x0000a392 arg  0x00000002 , 0x00000039 
+ 00032021  0x0000a393 arg  0x00000c2f , 0x00000006 
+ 00032022  0x0000a394 branch  0x00007cc5 
+ 00032023  0x0000a397 fetch  0x00000001 , 0x00000bec 
+ 00032024  0x0000a398 beq  0x00000002 , 0x00007d1a 
+ 00032025  0x0000a399 rtn 
+ 00032026  0x0000a39b fetch  0x00000001 , 0x00008c00 
+ 00032027  0x0000a39c set1  0x00000007 , 0x0000003f 
+ 00032028  0x0000a39d store  0x00000001 , 0x00008c00 
+ 00032029  0x0000a39e jam  0x00000001 , 0x00000bfc 
+ 00032030  0x0000a39f rtn 
+ 00032031  0x0000a3a2 fetch  0x00000001 , 0x00000bec 
+ 00032032  0x0000a3a3 rtneq  0x00000003 
+ 00032033  0x0000a3a4 beq  0x00000002 , 0x00007d23 
+ 00032034  0x0000a3a5 rtn 
+ 00032035  0x0000a3a7 fetch  0x00000001 , 0x00000bfc 
+ 00032036  0x0000a3a8 rtn  0x00000034 
+ 00032037  0x0000a3a9 jam  0x00000001 , 0x00000bfb 
+ 00032038  0x0000a3aa branch  0x00007d2a 
+ 00032039  0x0000a3ad arg  0x0000000f , 0x00000007 
+ 00032040  0x0000a3ae call  0x00007de9 
+ 00032041  0x0000a3af nrtn  0x00000034 
+ 00032042  0x0000a3b1 fetch  0x00000001 , 0x00008c00 
+ 00032043  0x0000a3b2 rtnbit0  0x00000007 
+ 00032044  0x0000a3b3 jam  0x000000fc , 0x00008c00 
+ 00032045  0x0000a3b4 nop  0x00007530 
+ 00032046  0x0000a3b5 jam  0x0000003c , 0x00008c00 
+ 00032047  0x0000a3b6 rtn 
+ 00032048  0x0000a3bc sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032049  0x0000a3bd rtn  0x00000005 
+ 00032050  0x0000a3bf rshift  0x0000003f , 0x0000003f 
+ 00032051  0x0000a3c0 loop  0x00007d32 
+ 00032052  0x0000a3c1 rtn 
+ 00032053  0x0000a3c5 force  0x00000001 , 0x0000003f 
+ 00032054  0x0000a3c6 sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032055  0x0000a3c7 rtn  0x00000005 
+ 00032056  0x0000a3c9 lshift  0x0000003f , 0x0000003f 
+ 00032057  0x0000a3ca loop  0x00007d38 
+ 00032058  0x0000a3cb rtn 
+ 00032059  0x0000a3cd storer  0x00000005 , 0x00000002 , 0x0000097d 
+ 00032060  0x0000a3ce storet  0x00000008 , 0x00000964 
+ 00032061  0x0000a3cf storer  0x0000000b , 0x00000004 , 0x0000096c 
+ 00032062  0x0000a3d0 call  0x00007d43 
+ 00032063  0x0000a3d1 storer  0x00000006 , 0x00000002 , 0x0000097b 
+ 00032064  0x0000a3d2 storer  0x00000039 , 0x00000002 , 0x00000987 
+ 00032065  0x0000a3d3 storer  0x00000007 , 0x00000002 , 0x00000985 
+ 00032066  0x0000a3d4 rtn 
+ 00032067  0x0000a3d7 storer  0x00000011 , 0x00000004 , 0x00000970 
+ 00032068  0x0000a3d8 storer  0x00000012 , 0x00000004 , 0x00000974 
+ 00032069  0x0000a3d9 storer  0x00000013 , 0x00000003 , 0x00000978 
+ 00032070  0x0000a3da rtn 
+ 00032071  0x0000a3dd fetch  0x00000002 , 0x0000097d 
+ 00032072  0x0000a3de iforce  0x00000005 
+ 00032073  0x0000a3df fetcht  0x00000008 , 0x00000964 
+ 00032074  0x0000a3e0 fetchr  0x0000000b , 0x00000004 , 0x0000096c 
+ 00032075  0x0000a3e1 call  0x00007d51 
+ 00032076  0x0000a3e2 fetchr  0x00000039 , 0x00000002 , 0x00000987 
+ 00032077  0x0000a3e3 fetchr  0x00000007 , 0x00000002 , 0x00000985 
+ 00032078  0x0000a3e4 fetch  0x00000002 , 0x0000097b 
+ 00032079  0x0000a3e5 iforce  0x00000006 
+ 00032080  0x0000a3e6 rtn 
+ 00032081  0x0000a3e9 fetchr  0x00000011 , 0x00000004 , 0x00000970 
+ 00032082  0x0000a3ea fetchr  0x00000012 , 0x00000004 , 0x00000974 
+ 00032083  0x0000a3eb fetchr  0x00000013 , 0x00000003 , 0x00000978 
+ 00032084  0x0000a3ec rtn 
+ 00032085  0x0000a3ef fetch  0x00000002 , 0x0000097d 
+ 00032086  0x0000a3f0 copy  0x0000003f , 0x00000005 
+ 00032087  0x0000a3f1 rtn 
+ 00032088  0x0000a3f3 fetch  0x00000002 , 0x0000097b 
+ 00032089  0x0000a3f4 copy  0x0000003f , 0x00000006 
+ 00032090  0x0000a3f5 rtn 
+ 00032091  0x0000a3f7 copy  0x00000005 , 0x0000003f 
+ 00032092  0x0000a3f8 store  0x00000002 , 0x0000097d 
+ 00032093  0x0000a3f9 rtn 
+ 00032094  0x0000a3fb copy  0x00000006 , 0x0000003f 
+ 00032095  0x0000a3fc store  0x00000002 , 0x0000097b 
+ 00032096  0x0000a3fd rtn 
+ 00032097  0x0000a402 copy  0x00000005 , 0x0000003f 
+ 00032098  0x0000a403 store  0x00000002 , 0x00000959 
+ 00032099  0x0000a404 copy  0x00000006 , 0x0000003f 
+ 00032100  0x0000a405 store  0x00000002 , 0x00000957 
+ 00032101  0x0000a406 rtn 
+ 00032102  0x0000a408 fetch  0x00000002 , 0x00000959 
+ 00032103  0x0000a409 copy  0x0000003f , 0x00000005 
+ 00032104  0x0000a40a fetch  0x00000002 , 0x00000957 
+ 00032105  0x0000a40b copy  0x0000003f , 0x00000006 
+ 00032106  0x0000a40c rtn 
+ 00032107  0x0000a412 isub  0x00000002 , 0x00000011 
+ 00032108  0x0000a413 rtn  0x00000002 
+ 00032109  0x0000a414 arg  0x00000100 , 0x00000011 
+ 00032110  0x0000a415 iadd  0x00000011 , 0x0000003f 
+ 00032111  0x0000a416 isub  0x00000002 , 0x00000011 
+ 00032112  0x0000a417 rtn 
+ 00032113  0x0000a41a call  0x00007d7d 
+ 00032114  0x0000a41c call  0x00007d7d 
+ 00032115  0x0000a41d branch  0x00007d7d 
+ 00032116  0x0000a41f call  0x00007d79 
+ 00032117  0x0000a421 call  0x00007d79 
+ 00032118  0x0000a423 ifetch  0x00000004 , 0x00000006 
+ 00032119  0x0000a424 istore  0x00000004 , 0x00000005 
+ 00032120  0x0000a425 rtn 
+ 00032121  0x0000a427 ifetch  0x00000008 , 0x00000006 
+ 00032122  0x0000a428 istore  0x00000008 , 0x00000005 
+ 00032123  0x0000a429 rtn 
+ 00032124  0x0000a42c call  0x00007d7f 
+ 00032125  0x0000a42e call  0x00007d79 
+ 00032126  0x0000a430 call  0x00007d79 
+ 00032127  0x0000a432 call  0x00007d79 
+ 00032128  0x0000a433 branch  0x00007d79 
+ 00032129  0x0000a436 increase  0xffffffff , 0x0000003f 
+ 00032130  0x0000a437 nop  0x00000026 
+ 00032131  0x0000a438 nbranch  0x00007d81 , 0x00000034 
+ 00032132  0x0000a439 rtn 
+ 00032133  0x0000a43d arg  0x0000000a , 0x00000039 
+ 00032134  0x0000a43f nop  0x00002ee0 
+ 00032135  0x0000a440 loop  0x00007d86 
+ 00032136  0x0000a441 rtn 
+ 00032137  0x0000a444 arg  0x00000032 , 0x00000039 
+ 00032138  0x0000a445 branch  0x00007d86 
+ 00032139  0x0000a448 force  0x00000003 , 0x00000039 
+ 00032140  0x0000a44a force  0x00000000 , 0x0000003f 
+ 00032141  0x0000a44c istore  0x00000008 , 0x00000005 
+ 00032142  0x0000a44d loop  0x00007d8d 
+ 00032143  0x0000a44e rtn 
+ 00032144  0x0000a452 call  0x00007d91 
+ 00032145  0x0000a454 force  0x00000000 , 0x0000003f 
+ 00032146  0x0000a455 istore  0x00000008 , 0x00000005 
+ 00032147  0x0000a456 rtn 
+ 00032148  0x0000a458 force  0x00000000 , 0x0000003f 
+ 00032149  0x0000a459 istore  0x00000004 , 0x00000005 
+ 00032150  0x0000a45a rtn 
+ 00032151  0x0000a45d force  0x00000004 , 0x00000039 
+ 00032152  0x0000a45e branch  0x00007d8c 
+ 00032153  0x0000a460 force  0x00000008 , 0x00000039 
+ 00032154  0x0000a461 branch  0x00007d8c 
+ 00032155  0x0000a464 deposit  0x00000039 
+ 00032156  0x0000a465 rtn  0x00000034 
+ 00032157  0x0000a466 setarg  0x00000000 
+ 00032158  0x0000a468 istore  0x00000001 , 0x00000005 
+ 00032159  0x0000a469 loop  0x00007d9e 
+ 00032160  0x0000a46a rtn 
+ 00032161  0x0000a46e arg  0x00000020 , 0x00000039 
+ 00032162  0x0000a46f arg  0x0000098e , 0x00000005 
+ 00032163  0x0000a470 branch  0x00007d9b 
+ 00032164  0x0000a473 ifetch  0x00000004 , 0x00000013 
+ 00032165  0x0000a474 ifetcht  0x00000004 , 0x00000011 
+ 00032166  0x0000a475 ixor  0x00000002 , 0x0000003f 
+ 00032167  0x0000a476 istore  0x00000004 , 0x00000005 
+ 00032168  0x0000a477 increase  0x00000004 , 0x00000011 
+ 00032169  0x0000a478 increase  0x00000004 , 0x00000013 
+ 00032170  0x0000a479 loop  0x00007da4 
+ 00032171  0x0000a47a rtn 
+ 00032172  0x0000a47f bpatchx  0x00000094 , 0x00004032 
+ 00032173  0x0000a480 copy  0x00000039 , 0x0000003f 
+ 00032174  0x0000a481 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00032175  0x0000a482 rtn  0x00000002 
+ 00032176  0x0000a483 iadd  0x00000011 , 0x00000012 
+ 00032177  0x0000a484 increase  0xffffffff , 0x00000012 
+ 00032178  0x0000a485 rshift  0x00000039 , 0x00000039 
+ 00032179  0x0000a487 ifetcht  0x00000001 , 0x00000011 
+ 00032180  0x0000a488 ifetch  0x00000001 , 0x00000012 
+ 00032181  0x0000a489 istore  0x00000001 , 0x00000011 
+ 00032182  0x0000a48a istoret  0x00000001 , 0x00000012 
+ 00032183  0x0000a48b increase  0xffffffff , 0x00000012 
+ 00032184  0x0000a48c increase  0x00000001 , 0x00000011 
+ 00032185  0x0000a48d loop  0x00007db3 
+ 00032186  0x0000a48e rtn 
+ 00032187  0x0000a492 rshift32  0x0000003f , 0x00000002 
+ 00032188  0x0000a493 call  0x00007dc1 
+ 00032189  0x0000a494 byteswap  0x00000002 , 0x00000002 
+ 00032190  0x0000a495 lshift16  0x0000003f , 0x0000003f 
+ 00032191  0x0000a496 ior  0x00000002 , 0x0000003f 
+ 00032192  0x0000a497 rtn 
+ 00032193  0x0000a49c rshift16  0x0000003f , 0x00000006 
+ 00032194  0x0000a49d byteswap  0x00000006 , 0x00000006 
+ 00032195  0x0000a49e byteswap  0x0000003f , 0x0000003f 
+ 00032196  0x0000a49f lshift16  0x0000003f , 0x0000003f 
+ 00032197  0x0000a4a0 ior  0x00000006 , 0x0000003f 
+ 00032198  0x0000a4a1 rtn 
+ 00032199  0x0000a4a5 deposit  0x00000039 
+ 00032200  0x0000a4a6 rtn  0x00000034 
+ 00032201  0x0000a4a8 increase  0xfffffff8 , 0x00000039 
+ 00032202  0x0000a4a9 call  0x00007d79 , 0x00000002 
+ 00032203  0x0000a4aa rtn  0x00000005 
+ 00032204  0x0000a4ab branch  0x00007dc9 , 0x00000002 
+ 00032205  0x0000a4ac increase  0x00000008 , 0x00000039 
+ 00032206  0x0000a4ae increase  0xfffffffc , 0x00000039 
+ 00032207  0x0000a4af call  0x00007d76 , 0x00000002 
+ 00032208  0x0000a4b0 rtn  0x00000005 
+ 00032209  0x0000a4b1 branch  0x00007dce , 0x00000002 
+ 00032210  0x0000a4b2 increase  0x00000004 , 0x00000039 
+ 00032211  0x0000a4b3 branch  0x00007dd4 
+ 00032212  0x0000a4b6 deposit  0x00000039 
+ 00032213  0x0000a4b7 rtn  0x00000034 
+ 00032214  0x0000a4b9 ifetch  0x00000001 , 0x00000006 
+ 00032215  0x0000a4ba istore  0x00000001 , 0x00000005 
+ 00032216  0x0000a4bb loop  0x00007dd6 
+ 00032217  0x0000a4bc rtn 
+ 00032218  0x0000a4bf setarg  0x00000000 
+ 00032219  0x0000a4c1 rshift  0x00000022 , 0x00000002 
+ 00032220  0x0000a4c2 storet  0x00000004 , 0x0000409c 
+ 00032221  0x0000a4c3 arg  0x000041aa , 0x00000005 
+ 00032222  0x0000a4c4 iforce  0x00000002 
+ 00032223  0x0000a4c5 lshift  0x00000007 , 0x0000003f 
+ 00032224  0x0000a4c6 iadd  0x00000005 , 0x00000005 
+ 00032225  0x0000a4c7 istoret  0x00000002 , 0x00000005 
+ 00032226  0x0000a4c8 bpatchx  0x00000095 , 0x00004032 
+ 00032227  0x0000a4c9 rtn 
+ 00032228  0x0000a4cc arg  0x00000800 , 0x0000000b 
+ 00032229  0x0000a4cd lshift16  0x0000000b , 0x0000000b 
+ 00032230  0x0000a4ce iadd  0x0000000b , 0x0000003f 
+ 00032231  0x0000a4cf rtn 
+ 00032232  0x0000a4d3 arg  0x00000000 , 0x00000007 
+ 00032233  0x0000a4d5 bpatchx  0x00000096 , 0x00004032 
+ 00032234  0x0000a4d6 fetcht  0x00000004 , 0x0000409c 
+ 00032235  0x0000a4d7 rshift  0x00000022 , 0x0000003f 
+ 00032236  0x0000a4d8 store  0x00000004 , 0x0000409c 
+ 00032237  0x0000a4d9 isub  0x00000002 , 0x0000003e 
+ 00032238  0x0000a4da ncall  0x00007de4 , 0x00000002 
+ 00032239  0x0000a4db isub  0x00000002 , 0x0000000b 
+ 00032240  0x0000a4dc copy  0x0000000b , 0x00000002 
+ 00032241  0x0000a4dd arg  0x000041aa , 0x00000006 
+ 00032242  0x0000a4de copy  0x00000006 , 0x00000005 
+ 00032243  0x0000a4df arg  0x00000010 , 0x00000039 
+ 00032244  0x0000a4e1 ifetch  0x00000002 , 0x00000006 
+ 00032245  0x0000a4e2 isub  0x00000002 , 0x0000003f 
+ 00032246  0x0000a4e3 branch  0x00007df8 , 0x00000002 
+ 00032247  0x0000a4e4 force  0x00000000 , 0x0000003f 
+ 00032248  0x0000a4e6 istore  0x00000002 , 0x00000005 
+ 00032249  0x0000a4e7 loop  0x00007df4 
+ 00032250  0x0000a4e8 arg  0x000041aa , 0x00000006 
+ 00032251  0x0000a4e9 lshift  0x00000007 , 0x0000003f 
+ 00032252  0x0000a4ea iadd  0x00000006 , 0x00000006 
+ 00032253  0x0000a4eb ifetch  0x00000002 , 0x00000006 
+ 00032254  0x0000a4ec rtn 
+ 00032255  0x0000a4f2 iadd  0x00000002 , 0x00000002 
+ 00032256  0x0000a4f3 copy  0x00000002 , 0x00000039 
+ 00032257  0x0000a4f4 fetch  0x00000002 , 0x00000163 
+ 00032258  0x0000a4f5 isub  0x00000039 , 0x0000003f 
+ 00032259  0x0000a4f6 rtn  0x00000002 
+ 00032260  0x0000a4f7 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032261  0x0000a4f8 rshift16  0x00000002 , 0x00000002 
+ 00032262  0x0000a4f9 increase  0x00000001 , 0x00000002 
+ 00032263  0x0000a4fa lshift16  0x00000002 , 0x00000002 
+ 00032264  0x0000a4fb ior  0x00000002 , 0x00000002 
+ 00032265  0x0000a4fc rtn 
+ 00032266  0x0000a4ff call  0x00007e0c 
+ 00032267  0x0000a500 branch  0x00007e19 
+ 00032268  0x0000a504 disable  0x00000028 
+ 00032269  0x0000a505 isub  0x00000002 , 0x0000003f 
+ 00032270  0x0000a506 branch  0x00007e11 , 0x00000002 
+ 00032271  0x0000a507 enable  0x00000028 
+ 00032272  0x0000a508 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032273  0x0000a50a rtnbit0  0x0000000f 
+ 00032274  0x0000a50b copy  0x0000003f , 0x00000014 
+ 00032275  0x0000a50c arg  0x00010000 , 0x00000002 
+ 00032276  0x0000a50d fetch  0x00000002 , 0x00000163 
+ 00032277  0x0000a50e isub  0x00000002 , 0x0000003f 
+ 00032278  0x0000a50f iadd  0x00000014 , 0x0000003f 
+ 00032279  0x0000a510 set0  0x00000040 , 0x0000003f 
+ 00032280  0x0000a511 rtn 
+ 00032281  0x0000a516 fetcht  0x00000002 , 0x00000163 
+ 00032282  0x0000a517 iforce  0x00000006 
+ 00032283  0x0000a518 rshift16  0x0000003f , 0x0000003f 
+ 00032284  0x0000a519 imul32  0x00000002 , 0x0000003f 
+ 00032285  0x0000a51a iadd  0x00000006 , 0x0000003f 
+ 00032286  0x0000a51b rtn 
+ 00032287  0x0000a51f lshift8  0x0000003f , 0x0000003f 
+ 00032288  0x0000a520 lshift4  0x0000003f , 0x0000003f 
+ 00032289  0x0000a521 fetcht  0x00000003 , 0x00004174 
+ 00032290  0x0000a522 idiv  0x00000002 
+ 00032291  0x0000a523 call  0x00007e64 
+ 00032292  0x0000a524 quotient  0x00000002 
+ 00032293  0x0000a525 rtn 
+ 00032294  0x0000a529 fetcht  0x00000002 , 0x00000163 
+ 00032295  0x0000a52a idiv  0x00000002 
+ 00032296  0x0000a52b call  0x00007e61 
+ 00032297  0x0000a52c lshift16  0x0000003f , 0x0000003f 
+ 00032298  0x0000a52d remainder  0x00000002 
+ 00032299  0x0000a52e ior  0x00000002 , 0x00000002 
+ 00032300  0x0000a52f rtn 
+ 00032301  0x0000a537 arg  0x00000000 , 0x00000002 
+ 00032302  0x0000a539 copy  0x00000002 , 0x00000014 
+ 00032303  0x0000a53a ifetch  0x00000001 , 0x00000003 
+ 00032304  0x0000a53b call  0x00007e39 
+ 00032305  0x0000a53c copy  0x00000014 , 0x00000002 
+ 00032306  0x0000a53d call  0x00007e73 
+ 00032307  0x0000a53e arg  0x0000000a , 0x00000012 
+ 00032308  0x0000a53f imul32  0x00000012 , 0x0000003f 
+ 00032309  0x0000a540 iadd  0x00000002 , 0x0000003f 
+ 00032310  0x0000a541 copy  0x0000003f , 0x00000002 
+ 00032311  0x0000a542 loop  0x00007e2e 
+ 00032312  0x0000a543 rtn 
+ 00032313  0x0000a548 arg  0x0000003a , 0x00000002 
+ 00032314  0x0000a549 isub  0x00000002 , 0x0000003e 
+ 00032315  0x0000a54a nbranch  0x00007e42 , 0x00000002 
+ 00032316  0x0000a54b arg  0x00000061 , 0x00000002 
+ 00032317  0x0000a54c isub  0x00000002 , 0x0000003e 
+ 00032318  0x0000a54d branch  0x00007e45 , 0x00000002 
+ 00032319  0x0000a54e arg  0x00000037 , 0x00000002 
+ 00032320  0x0000a54f isub  0x00000002 , 0x0000003f 
+ 00032321  0x0000a550 rtn 
+ 00032322  0x0000a552 arg  0x00000030 , 0x00000002 
+ 00032323  0x0000a553 isub  0x00000002 , 0x0000003f 
+ 00032324  0x0000a554 rtn 
+ 00032325  0x0000a556 arg  0x00000057 , 0x00000002 
+ 00032326  0x0000a557 isub  0x00000002 , 0x0000003f 
+ 00032327  0x0000a558 rtn 
+ 00032328  0x0000a55b copy  0x00000002 , 0x00000030 
+ 00032329  0x0000a55c setarg  0x000001ff 
+ 00032330  0x0000a55d force  0x00000000 , 0x00000012 
+ 00032331  0x0000a55f rshift3  0x0000003f , 0x00000011 
+ 00032332  0x0000a560 rshift  0x00000011 , 0x00000011 
+ 00032333  0x0000a561 ixor  0x00000011 , 0x00000011 
+ 00032334  0x0000a562 isolate1  0x00000000 , 0x00000011 
+ 00032335  0x0000a563 setflag  0x00000001 , 0x00000009 , 0x0000003f 
+ 00032336  0x0000a564 rshift  0x00000002 , 0x00000002 
+ 00032337  0x0000a565 isolate1  0x00000000 , 0x0000003f 
+ 00032338  0x0000a566 setflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00032339  0x0000a567 rshift  0x0000003f , 0x0000003f 
+ 00032340  0x0000a568 increase  0x00000001 , 0x00000012 
+ 00032341  0x0000a569 compare  0x00000000 , 0x00000012 , 0x00000007 
+ 00032342  0x0000a56a nbranch  0x00007e4b , 0x00000001 
+ 00032343  0x0000a56b istoret  0x00000001 , 0x00000005 
+ 00032344  0x0000a56c loop  0x00007e4b 
+ 00032345  0x0000a56d copy  0x00000030 , 0x00000002 
+ 00032346  0x0000a56e rtn 
+ 00032347  0x0000a572 setarg  0x00000000 
+ 00032348  0x0000a573 copy  0x00000039 , 0x00000011 
+ 00032349  0x0000a575 ifetcht  0x00000002 , 0x00000006 
+ 00032350  0x0000a576 iadd  0x00000002 , 0x0000003f 
+ 00032351  0x0000a577 loop  0x00007e5d 
+ 00032352  0x0000a578 idiv  0x00000011 
+ 00032353  0x0000a57b call  0x00007e64 
+ 00032354  0x0000a57c quotient  0x0000003f 
+ 00032355  0x0000a57d rtn 
+ 00032356  0x0000a580 rtn  0x00000035 
+ 00032357  0x0000a581 branch  0x00007e64 
+ 00032358  0x0000a58d ifetch  0x00000001 , 0x00000011 
+ 00032359  0x0000a58e ifetcht  0x00000001 , 0x00000012 
+ 00032360  0x0000a58f isub  0x00000002 , 0x0000003e 
+ 00032361  0x0000a590 nrtn  0x00000005 
+ 00032362  0x0000a591 increase  0x00000001 , 0x00000011 
+ 00032363  0x0000a592 increase  0x00000001 , 0x00000012 
+ 00032364  0x0000a593 loop  0x00007e66 
+ 00032365  0x0000a594 force  0x00000000 , 0x0000003e 
+ 00032366  0x0000a595 rtn 
+ 00032367  0x0000a599 isub  0x00000002 , 0x0000003e 
+ 00032368  0x0000a59a nrtn  0x00000002 
+ 00032369  0x0000a59b deposit  0x00000002 
+ 00032370  0x0000a59c rtn 
+ 00032371  0x0000a59f iadd  0x00000002 , 0x0000003f 
+ 00032372  0x0000a5a0 isub  0x00000002 , 0x00000002 
+ 00032373  0x0000a5a1 isub  0x00000002 , 0x0000003f 
+ 00032374  0x0000a5a2 rtn 
+ 00032375  0x0000a5a5 arg  0x00000200 , 0x00000039 
+ 00032376  0x0000a5a6 arg  0x00004000 , 0x00000005 
+ 00032377  0x0000a5a7 branch  0x00007d8c 
+ 00032378  0x0000a5ab rtn  0x00000034 
+ 00032379  0x0000a5ac copy  0x0000003f , 0x0000003d 
+ 00032380  0x0000a5b0 fetch  0x00000002 , 0x0000810e 
+ 00032381  0x0000a5b1 nbranch  0x00007e7c , 0x00000034 
+ 00032382  0x0000a5b2 rtn 
+ 00032383  0x0000a5b5 jam  0x00000001 , 0x00008203 
+ 00032384  0x0000a5b6 rtn 
+ 00032385  0x0000a5b9 store  0x00000002 , 0x00008205 
+ 00032386  0x0000a5ba fetch  0x00000001 , 0x00008203 
+ 00032387  0x0000a5bb set1  0x00000004 , 0x0000003f 
+ 00032388  0x0000a5bc store  0x00000001 , 0x00008203 
+ 00032389  0x0000a5bd rtn 
+ 00032390  0x0000a5bf store  0x00000002 , 0x00008207 
+ 00032391  0x0000a5c0 fetch  0x00000001 , 0x00008203 
+ 00032392  0x0000a5c1 set1  0x00000006 , 0x0000003f 
+ 00032393  0x0000a5c2 store  0x00000001 , 0x00008203 
+ 00032394  0x0000a5c3 rtn 
+ 00032395  0x0000a5c6 store  0x00000002 , 0x00008205 
+ 00032396  0x0000a5c7 jam  0x00000030 , 0x00008203 
+ 00032397  0x0000a5c8 rtn 
+ 00032398  0x0000a5cc fetch  0x00000001 , 0x00008043 
+ 00032399  0x0000a5cd set0  0x00000004 , 0x0000003f 
+ 00032400  0x0000a5ce store  0x00000001 , 0x00008043 
+ 00032401  0x0000a5cf rtn 
+ 00032402  0x0000a5d2 fetch  0x00000002 , 0x0000810e 
+ 00032403  0x0000a5d3 arg  0x00000200 , 0x00000002 
+ 00032404  0x0000a5d5 isub  0x00000002 , 0x0000003e 
+ 00032405  0x0000a5d6 rtn 
+ 00032406  0x0000a5dd bpatchx  0x00000097 , 0x00004032 
+ 00032407  0x0000a5de ifetcht  0x00000008 , 0x00000011 
+ 00032408  0x0000a5df and  0x00000002 , 0x000000ff , 0x0000003f 
+ 00032409  0x0000a5e0 nbranch  0x00007e9c , 0x00000034 
+ 00032410  0x0000a5e1 rshift8  0x00000002 , 0x0000003f 
+ 00032411  0x0000a5e2 istore  0x00000008 , 0x00000011 
+ 00032412  0x0000a5e4 increase  0x00000007 , 0x00000011 
+ 00032413  0x0000a5e5 ifetch  0x00000001 , 0x00000011 
+ 00032414  0x0000a5e6 nbranch  0x0000137c , 0x00000034 
+ 00032415  0x0000a5e7 fetch  0x00000001 , 0x0000095b 
+ 00032416  0x0000a5e8 istore  0x00000001 , 0x00000011 
+ 00032417  0x0000a5e9 rtn 
+ 00032418  0x0000a5ef bpatchx  0x00000098 , 0x00004033 
+ 00032419  0x0000a5f0 arg  0x00000008 , 0x00000039 
+ 00032420  0x0000a5f1 ifetch  0x00000008 , 0x00000011 
+ 00032421  0x0000a5f2 rtn  0x00000034 
+ 00032422  0x0000a5f4 ifetch  0x00000001 , 0x00000011 
+ 00032423  0x0000a5f5 nbranch  0x00007eab , 0x00000034 
+ 00032424  0x0000a5f6 increase  0x00000001 , 0x00000011 
+ 00032425  0x0000a5f7 loop  0x00007ea6 
+ 00032426  0x0000a5f8 branch  0x0000137c 
+ 00032427  0x0000a5fa arg  0x00000000 , 0x00000002 
+ 00032428  0x0000a5fb istoret  0x00000001 , 0x00000011 
+ 00032429  0x0000a5fc rtn 
+ 00032430  0x0000a602 ifetch  0x00000008 , 0x00000011 
+ 00032431  0x0000a603 rtn 
+ 00032432  0x0000a609 ifetch  0x00000001 , 0x00000011 
+ 00032433  0x0000a60a rtn 
+ 00032434  0x0000a60e ifetch  0x00000002 , 0x00000011 
+ 00032435  0x0000a60f rtn 
+ 00032436  0x0000a614 arg  0x00000000 , 0x00000002 
+ 00032437  0x0000a616 fetch  0x00000001 , 0x00000006 
+ 00032438  0x0000a617 loop  0x00007eb5 , 0x00000034 
+ 00032439  0x0000a618 increase  0x00000001 , 0x00000002 
+ 00032440  0x0000a619 loop  0x00007eb5 
+ 00032441  0x0000a61a copy  0x00000002 , 0x0000003f 
+ 00032442  0x0000a61b rtn 
+ 00032443  0x0000a61f isub  0x00000002 , 0x0000003e 
+ 00032444  0x0000a620 nrtn  0x00000002 
+ 00032445  0x0000a622 copy  0x00000002 , 0x0000003f 
+ 00032446  0x0000a623 rtn 
+ 00032447  0x0000a627 force  0xffffffff , 0x0000003e 
+ 00032448  0x0000a628 rtn 
+ 00032449  0x0000a62b force  0x00000001 , 0x0000003e 
+ 00032450  0x0000a62c rtn 
+ 00032451  0x0000a62e force  0x00000000 , 0x0000003e 
+ 00032452  0x0000a62f rtn 
+ 00032453  0x0000a632 enable  0x00000028 
+ 00032454  0x0000a633 rtn 
+ 00032455  0x0000a636 disable  0x00000028 
+ 00032456  0x0000a637 rtn 
+ 00032457  0x0000a63a enable  0x0000002c 
+ 00032458  0x0000a63b rtn 
+ 00032459  0x0000a63e disable  0x0000002c 
+ 00032460  0x0000a63f rtn 
+ 00032461  0x0000a642 enable  0x00000031 
+ 00032462  0x0000a643 rtn 
+ 00032463  0x0000a646 setarg  0x00000001 
+ 00032464  0x0000a647 rtn 
+ 00032465  0x0000a64b setarg  0x00000000 
+ 00032466  0x0000a64c rtn 
+ 00032467  0x0000a651 sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032468  0x0000a652 rtn  0x00000005 
+ 00032469  0x0000a654 ifetcht  0x00000001 , 0x00000006 
+ 00032470  0x0000a655 iadd  0x00000002 , 0x0000003f 
+ 00032471  0x0000a656 loop  0x00007ed5 
+ 00032472  0x0000a657 rtn 
+ 00032473  0x0000a65b copy  0x00000039 , 0x0000003f 
+ 00032474  0x0000a65c rtn  0x00000034 
+ 00032475  0x0000a65d copy  0x00000006 , 0x0000003f 
+ 00032476  0x0000a65e iadd  0x00000039 , 0x0000003f 
+ 00032477  0x0000a65f increase  0xffffffff , 0x0000003f 
+ 00032478  0x0000a660 copy  0x0000003f , 0x00000006 
+ 00032479  0x0000a662 ifetch  0x00000001 , 0x00000006 
+ 00032480  0x0000a663 increase  0xfffffffe , 0x00000006 
+ 00032481  0x0000a664 istore  0x00000001 , 0x00000005 
+ 00032482  0x0000a665 loop  0x00007edf 
+ 00032483  0x0000a666 rtn 
+ 00032484  0x0000a669 copy  0x0000000b , 0x00000012 
+ 00032485  0x0000a66d arg  0x00009420 , 0x00000013 
+ 00032486  0x0000a66e force  0x00000024 , 0x00000039 
+ 00032487  0x0000a66f force  0x00000000 , 0x0000002b 
+ 00032488  0x0000a670 force  0x00000000 , 0x00000037 
+ 00032489  0x0000a672 call  0x00007ef9 
+ 00032490  0x0000a673 preload  0x00000011 
+ 00032491  0x0000a674 iadd  0x0000002b , 0x0000002b 
+ 00032492  0x0000a675 preload  0x00000002 
+ 00032493  0x0000a676 iadd  0x00000037 , 0x00000037 
+ 00032494  0x0000a677 increase  0x00000004 , 0x00000012 
+ 00032495  0x0000a678 increase  0x00000002 , 0x00000013 
+ 00032496  0x0000a679 loop  0x00007ee9 
+ 00032497  0x0000a67a preload  0x0000002b 
+ 00032498  0x0000a67b arg  0x00000024 , 0x00000002 
+ 00032499  0x0000a67c call  0x00007f45 
+ 00032500  0x0000a67d istore  0x00000004 , 0x00000005 
+ 00032501  0x0000a67e preload  0x00000037 
+ 00032502  0x0000a67f call  0x00007f45 
+ 00032503  0x0000a680 istore  0x00000004 , 0x00000005 
+ 00032504  0x0000a681 rtn 
+ 00032505  0x0000a685 ifetchr  0x0000002e , 0x00000002 , 0x00000012 
+ 00032506  0x0000a686 ifetchr  0x0000001c , 0x00000001 , 0x00000013 
+ 00032507  0x0000a687 call  0x00007f2a 
+ 00032508  0x0000a688 imults  0x00000002 , 0x00000011 
+ 00032509  0x0000a689 ifetchr  0x0000001c , 0x00000001 , 0x00000006 
+ 00032510  0x0000a68a branch  0x00007f00 , 0x00000028 
+ 00032511  0x0000a68b sub  0x0000001c , 0x00000000 , 0x0000001c 
+ 00032512  0x0000a68d add  0x00000012 , 0x00000002 , 0x00000006 
+ 00032513  0x0000a68e ifetchr  0x0000002e , 0x00000002 , 0x00000006 
+ 00032514  0x0000a68f call  0x00007f2a 
+ 00032515  0x0000a690 imults  0x00000002 , 0x00000018 
+ 00032516  0x0000a691 preload  0x00000011 
+ 00032517  0x0000a692 isub  0x00000018 , 0x00000011 
+ 00032518  0x0000a693 ifetchr  0x0000002e , 0x00000002 , 0x00000012 
+ 00032519  0x0000a694 preload  0x0000002e 
+ 00032520  0x0000a695 imults  0x00000002 , 0x00000018 
+ 00032521  0x0000a696 ifetchr  0x0000002e , 0x00000002 , 0x00000006 
+ 00032522  0x0000a697 ifetchr  0x0000001c , 0x00000001 , 0x00000013 
+ 00032523  0x0000a698 call  0x00007f2a 
+ 00032524  0x0000a699 imults  0x00000002 , 0x00000002 
+ 00032525  0x0000a69a preload  0x00000018 
+ 00032526  0x0000a69b iadd  0x00000002 , 0x00000002 
+ 00032527  0x0000a69c rtn 
+ 00032528  0x0000a6a0 ifetch  0x00000004 , 0x00000012 
+ 00032529  0x0000a6a1 ifetchr  0x00000011 , 0x00000004 , 0x00000013 
+ 00032530  0x0000a6a2 imults  0x00000011 , 0x0000002b 
+ 00032531  0x0000a6a3 ifetchr  0x00000011 , 0x00000004 , 0x00000006 
+ 00032532  0x0000a6a4 aligned  0x00000011 , 0x00000037 
+ 00032533  0x0000a6a5 add  0x00000012 , 0x00000004 , 0x00000006 
+ 00032534  0x0000a6a6 ifetch  0x00000004 , 0x00000006 
+ 00032535  0x0000a6a7 imults  0x00000011 , 0x00000002 
+ 00032536  0x0000a6a8 preload  0x0000002b 
+ 00032537  0x0000a6a9 isub  0x00000002 , 0x0000002b 
+ 00032538  0x0000a6aa ifetch  0x00000004 , 0x00000012 
+ 00032539  0x0000a6ab imults  0x00000037 , 0x00000037 
+ 00032540  0x0000a6ac ifetch  0x00000004 , 0x00000006 
+ 00032541  0x0000a6ad ifetchr  0x00000011 , 0x00000004 , 0x00000013 
+ 00032542  0x0000a6ae imults  0x00000011 , 0x0000003f 
+ 00032543  0x0000a6af iadd  0x00000037 , 0x00000037 
+ 00032544  0x0000a6b0 rtn 
+ 00032545  0x0000a6b4 lshift16  0x0000003f , 0x0000003f 
+ 00032546  0x0000a6b6 rshift2  0x0000003f , 0x0000003f 
+ 00032547  0x0000a6b7 rtn 
+ 00032548  0x0000a6ba lshift8  0x0000003f , 0x0000003f 
+ 00032549  0x0000a6bb branch  0x00007f22 
+ 00032550  0x0000a6be imul32  0x0000003f , 0x0000003f 
+ 00032551  0x0000a6c0 rshift4  0x0000003f , 0x0000003f 
+ 00032552  0x0000a6c1 rshift3  0x0000003f , 0x0000003f 
+ 00032553  0x0000a6c2 rtn 
+ 00032554  0x0000a6c7 preload  0x0000002e 
+ 00032555  0x0000a6c8 aligned  0x0000001c , 0x00000002 
+ 00032556  0x0000a6c9 rtn 
+ 00032557  0x0000a6cd rtnbit0  0x0000001f 
+ 00032558  0x0000a6ce force  0x00000000 , 0x00000002 
+ 00032559  0x0000a6cf set1  0x00000020 , 0x00000002 
+ 00032560  0x0000a6d0 increase  0xffffffff , 0x00000002 
+ 00032561  0x0000a6d1 ixor  0x00000002 , 0x0000003f 
+ 00032562  0x0000a6d2 pincrease  0x00000001 
+ 00032563  0x0000a6d3 rtn 
+ 00032564  0x0000a6d7 iforce  0x00000011 
+ 00032565  0x0000a6d8 arg  0x00000000 , 0x00000018 
+ 00032566  0x0000a6d9 set1  0x0000001e , 0x00000018 
+ 00032567  0x0000a6da arg  0x00000000 , 0x00000012 
+ 00032568  0x0000a6db arg  0x00000010 , 0x00000039 
+ 00032569  0x0000a6dd deposit  0x00000018 
+ 00032570  0x0000a6de iadd  0x00000012 , 0x0000003f 
+ 00032571  0x0000a6df rshift  0x00000012 , 0x00000012 
+ 00032572  0x0000a6e0 isub  0x00000011 , 0x0000003f 
+ 00032573  0x0000a6e1 branch  0x00007f3f , 0x00000005 
+ 00032574  0x0000a6e2 branch  0x00007f42 , 0x00000002 
+ 00032575  0x0000a6e4 sub  0x0000003f , 0x00000000 , 0x00000011 
+ 00032576  0x0000a6e5 deposit  0x00000018 
+ 00032577  0x0000a6e6 ior  0x00000012 , 0x00000012 
+ 00032578  0x0000a6e8 rshift2  0x00000018 , 0x00000018 
+ 00032579  0x0000a6e9 loop  0x00007f39 
+ 00032580  0x0000a6ea rtn 
+ 00032581  0x0000a6ee set0  0x0000002c , 0x00000000 
+ 00032582  0x0000a6ef bbit0  0x0000003f , 0x00007f49 
+ 00032583  0x0000a6f0 set1  0x0000002c , 0x00000000 
+ 00032584  0x0000a6f1 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032585  0x0000a6f3 isolate0  0x0000003f , 0x00000002 
+ 00032586  0x0000a6f4 branch  0x00007f4d , 0x00000001 
+ 00032587  0x0000a6f5 setflip  0x0000002c , 0x00000000 
+ 00032588  0x0000a6f6 sub  0x00000002 , 0x00000000 , 0x00000002 
+ 00032589  0x0000a6f8 idiv  0x00000002 
+ 00032590  0x0000a6f9 call  0x00007e61 
+ 00032591  0x0000a6fa rtnmark0  0x0000002c 
+ 00032592  0x0000a6fb sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032593  0x0000a6fc rtn 
+ 00032594  0x0000a701 setarg  0x00000000 
+ 00032595  0x0000a702 set1  0x00000013 , 0x0000003f 
+ 00032596  0x0000a703 store  0x00000008 , 0x0000009e 
+ 00032597  0x0000a704 rtn 
Index: output/bt_program23.list
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.list	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.list	(working copy)
@@ -0,0 +1,35840 @@
+              include "bt_format "
+              org 0x0000
+0x0 000031 bbit1 8 ,pf_patch_ext 
+0x1 000032 beq patch00_0 ,p_soft_reset 
+0x2 000033 beq patch10_3 ,p_set_sync_on 
+0x3 000034 beq patch15_5 ,p_app_init 
+0x4 000035 beq patch11_3 ,p_initialize_radio_cont 
+0x5 000036 beq patch17_2 ,p_dongle_usb_dispatch 
+0x6 000037 beq patch17_3 ,p_dongle_work_mode_auto 
+0x7 000038 branch loop 
+:      000040 pf_patch_ext:
+0x8 000041 beq patch31_6 ,p_usb_class_type 
+0x9 000042 beq patch31_7 ,p_usb0_request_get_descriptor 
+0xa 000043 beq patch32_3 ,p_usb_tx 
+0xb 000044 beq patch3c_6 ,p_g24_bind_mode_auto 
+0xc 000045 branch loop 
+:      000047 p_soft_reset:
+0xd 000048 clear_stack 
+0xe 000049 call app_param_init 
+0xf 000050 jam 0x4e ,mem_24g_pair_ch 
+0x10 000051 setarg 0x15202a 
+0x11 000052 store 3 ,mem_24g_pair_addr 
+0x12 000053 setarg 0x10 
+0x13 000054 istore 1 ,contw 
+0x14 000055 branch soft_reset + 3 
+:      000058 p_set_sync_on:
+0x15 000059 jam 0x5 ,modem_en 
+0x16 000060 nop 2 
+0x17 000061 jam 0x0 ,modem_en 
+0x18 000062 fetch 1 ,mem_fcomp_div 
+0x19 000063 beq xtal_24m ,set_sync_on_24m 
+0x1a 000064 jam 0x29 ,core_syn_afc_cfg1 
+0x1b 000065 branch set_sync_on_16m 
+:      000067 p_app_init:
+:      000068 p_dongle_init:
+0x1c 000069 setarg dongle_dispatch 
+0x1d 000070 store 2 ,mem_cb_24g_receive_process 
+0x1e 000071 setarg p_dongle_ackpayload_prep 
+0x1f 000072 store 2 ,mem_cb_24g_ackpayload 
+0x20 000074 setarg p_dongle_g24_gamepad1 
+0x21 000075 store 2 ,mem_cb_24g_data_device_gamepad1 
+0x22 000076 setarg p_dongle_g24_gamepad2 
+0x23 000077 store 2 ,mem_cb_24g_data_device_gamepad2 
+0x24 000079 setarg p_dongle_usb_config 
+0x25 000080 store 2 ,mem_cb_usb_config 
+0x26 000082 branch usb_init 
+:      000085 p_dongle_usb_config:
+0x27 000086 fetch 4 ,usb_devicedata_addr + 9 
+0x28 000087 set1 29 ,pdata 
+0x29 000088 store 4 ,mem_devicedesc + 9 
+:      000089 p_dongle_usb_config_param:
+0x2a 000090 call dongle_usb_device_name 
+0x2b 000091 call usb_tx_interval_config 
+0x2c 000092 call dongle_usb_vid_pid_config 
+0x2d 000093 branch p_dongle_usb_hid_icon_config 
+:      000095 p_dongle_usb_hid_icon_config:
+:      000096 p_dongle_usb_kb_hidreportdesc:
+0x2e 000097 setarg mem_hidreceportdesc_gamepad 
+0x2f 000098 store 2 ,mem_hidreportdesc_kb 
+0x30 000099 setarg 0x22 
+0x31 000100 store 1 ,mem_confdesc 
+0x32 000101 store 1 ,mem_confdesc + 3 
+0x33 000102 setarg 0x01 
+0x34 000103 store 1 ,mem_confdesc + 5 
+0x35 000104 setarg 0 
+0x36 000105 store 2 ,mem_confdesc + 16 
+0x37 000106 fetch 1 ,mem_hidreceportdesc_gamepad 
+0x38 000107 store 1 ,mem_confdesc + 26 
+0x39 000108 rtn 
+:      000111 p_dongle_ackpayload_prep:
+0x3a 000112 fetch 1 ,mem_24g_ackpayload_enable 
+0x3b 000113 beq bind_ackpayload ,g24_bind_ackpayload_prep 
+0x3c 000114 beq gamepad_ackload ,p_g24_ackpayload_prep 
+0x3d 000115 beq kb_led_ackpayload ,dongle_g24_kb_led_ackpayload_prep 
+0x3e 000116 rtn 
+:      000118 p_g24_ackpayload_prep:
+0x3f 000119 fetch 1 ,mem_24g_rxbuf + 2 
+0x40 000120 beq datatype_device1 ,g24_bind_ackpayload_prep 
+0x41 000121 beq datatype_attemp ,g24_bind_ackpayload_prep 
+0x42 000122 jam 0 ,mem_24g_ackpayload_enable 
+0x43 000123 jam 0x01 ,mem_24g_datalen 
+0x44 000124 fetch 1 ,mem_24g_gamepad_type 
+0x45 000125 store 1 ,mem_24g_txbuf 
+0x46 000126 rtn 
+:      000128 p_dongle_g24_gamepad1:
+0x47 000129 jam 0x01 ,mem_usb_kb_data 
+0x48 000130 arg mem_usb_kb_data + 1 ,contw 
+0x49 000131 arg mem_24g_rxdata_temp + 3 ,contr 
+0x4a 000132 arg 7 ,loopcnt 
+0x4b 000133 call memcpy 
+0x4c 000134 fetch 7 ,mem_usb_kb_data + 1 
+0x4d 000135 ncall p_dongle_g24_gp1_enable_blank_data_forcibly ,blank 
+0x4e 000136 call dongle_usb_tx_enable_ep1 
+0x4f 000137 branch g24_rx_interrupt_clear 
+:      000139 p_dongle_g24_gamepad2:
+0x50 000140 jam 0x02 ,mem_usb_kb_data 
+0x51 000141 arg mem_usb_kb_data + 1 ,contw 
+0x52 000142 arg mem_24g_rxdata_temp + 3 ,contr 
+0x53 000143 arg 7 ,loopcnt 
+0x54 000144 call memcpy 
+0x55 000145 fetch 7 ,mem_usb_kb_data + 1 
+0x56 000146 ncall p_dongle_g24_gp2_enable_blank_data_forcibly ,blank 
+0x57 000147 call dongle_usb_tx_enable_ep1 
+0x58 000148 branch g24_rx_interrupt_clear 
+:      000150 p_dongle_g24_gp1_enable_blank_data_forcibly:
+0x59 000151 jam 1 ,mem_dg_gp1_blank_data_enable 
+0x5a 000152 setarg timer_kb_blank_delay 
+0x5b 000153 arg timer_kb_blank ,queue 
+0x5c 000154 branch timer_init 
+:      000156 p_dongle_g24_gp2_enable_blank_data_forcibly:
+0x5d 000157 jam 1 ,mem_dg_gp2_blank_data_enable 
+0x5e 000158 setarg timer_gp2_blank_delay 
+0x5f 000159 arg timer_gp2_blank ,queue 
+0x60 000160 branch timer_init 
+:      000162 p_dongle_g24_blank_data_process:
+0x61 000163 call p_dongle_g24_gp1_blank_data 
+0x62 000164 branch p_dongle_g24_gp2_blank_data 
+:      000166 p_dongle_g24_gp1_blank_data:
+0x63 000167 fetch 1 ,mem_dg_gp1_blank_data_enable 
+0x64 000168 rtn blank 
+0x65 000169 arg timer_kb_blank ,queue 
+0x66 000170 call timer_check 
+0x67 000171 nrtn blank 
+0x68 000172 jam 0 ,mem_dg_gp1_blank_data_enable 
+0x69 000173 rtn 
+:      000175 p_dongle_g24_gp2_blank_data:
+0x6a 000176 fetch 1 ,mem_dg_gp2_blank_data_enable 
+0x6b 000177 rtn blank 
+0x6c 000178 arg timer_gp2_blank ,queue 
+0x6d 000179 call timer_check 
+0x6e 000180 nrtn blank 
+0x6f 000181 jam 0 ,mem_dg_gp2_blank_data_enable 
+0x70 000182 rtn 
+:      000184 p_initialize_radio_cont:
+0x71 000186 jam 0xff ,mem_gain_fix 
+0x72 000188 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0x73 000189 jam 0x40 ,0x8921 
+0x74 000191 jam 0x01 ,mem_24g_rx_phy 
+0x75 000192 jam 0x01 ,mem_24g_tx_phy 
+0x76 000195 jam 0x1e ,mem_24g_hop_interval 
+0x77 000198 jam 1 ,mem_24g_b_s_mode_switch_disable 
+0x78 000200 call initialize_radio_cont + 1 
+0x79 000203 call wdt_set_enable 
+:      000204 p_wdt_kick:
+0x7a 000206 setarg 125 
+0x7b 000207 branch wdt_init_config 
+:      000209 p_dongle_usb_dispatch:
+0x7c 000210 call p_wdt_kick 
+0x7d 000211 branch dongle_usb_dispatch + 1 
+:      000216 p_dongle_work_mode_auto:
+0x7e 000217 fetch 1 ,mem_24g_work_mode 
+0x7f 000218 rtnne dongle_work 
+0x80 000219 call p_g24_work_mode_start 
+0x81 000220 call p_dongle_g24_blank_data_process 
+0x82 000221 branch dongle_work_mode_auto + 5 
+:      000224 p_g24_work_mode_start:
+0x83 000225 fetch 1 ,mem_24g_work_mode 
+0x84 000226 rtnne dongle_work 
+0x85 000227 call g24_work_init 
+0x86 000228 call g24_ch_process 
+0x87 000229 branch p_g24_receive_packet_start 
+:      000231 p_g24_receive_packet_start:
+0x88 000232 call p_g24_receive_transmit_ack 
+0x89 000233 nbranch g24_rx_interrupt_clear ,user3 
+:      000234 p_g24_receive_packet_parse:
+0x8a 000235 call g24_receive_packet_parse_pid_crc 
+0x8b 000236 nbranch g24_rx_interrupt_clear ,user 
+0x8c 000237 fetch 1 ,mem_24g_rxdata_length 
+0x8d 000238 branch g24_rx_interrupt_clear ,blank 
+0x8e 000239 increase 2 ,pdata 
+0x8f 000240 iforce loopcnt 
+0x90 000241 arg mem_24g_rxbuf ,contr 
+0x91 000242 arg mem_24g_rxdata_temp ,contw 
+0x92 000243 call memcpy 
+0x93 000244 jam 0 ,mem_24g_mode_switch 
+0x94 000245 fetch 1 ,mem_24g_pair_mode 
+0x95 000246 call g24_enable_nodata_timer ,blank 
+0x96 000247 fetch 1 ,mem_24g_rxdata_temp + 2 
+0x97 000250 beq datatype_device_gamepad1 ,p_g24_data_device_gamepad1 
+0x98 000251 beq datatype_device_gamepad2 ,p_g24_data_device_gamepad2 
+0x99 000252 beq datatype_device2 ,p_g24_data_attemp 
+0x9a 000253 beq datatype_device1 ,p_g24_data_attemp_ack 
+0x9b 000254 branch g24_rx_interrupt_clear 
+:      000257 p_g24_data_attemp:
+0x9c 000258 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x9d 000259 rtnne datatype_attemp 
+0x9e 000260 fetch 1 ,mem_dg_gp1_blank_data_enable 
+0x9f 000261 branch p_g24_data_attemp_device1 ,blank 
+0xa0 000262 jam 2 ,mem_24g_gamepad_type 
+0xa1 000263 jam gamepad_ackload ,mem_24g_ackpayload_enable 
+0xa2 000264 call enable_user 
+0xa3 000265 fetch 4 ,mem_24g_rxdata_temp + 5 
+0xa4 000266 store 4 ,mem_24g_transmitter_addr 
+0xa5 000267 store 4 ,mem_24g_device2_addr 
+0xa6 000268 rtn 
+:      000270 p_g24_data_attemp_device1:
+0xa7 000271 jam 1 ,mem_24g_gamepad_type 
+0xa8 000272 jam gamepad_ackload ,mem_24g_ackpayload_enable 
+0xa9 000273 call enable_user 
+0xaa 000274 fetch 4 ,mem_24g_rxdata_temp + 5 
+0xab 000275 store 4 ,mem_24g_transmitter_addr 
+0xac 000276 store 4 ,mem_24g_device1_addr 
+0xad 000277 rtn 
+:      000279 p_g24_data_attemp_ack:
+0xae 000280 fetch 1 ,mem_24g_rxdata_temp + 3 
+0xaf 000281 rtnne datatype_attemp 
+0xb0 000282 jam gamepad_ackload ,mem_24g_ackpayload_enable 
+0xb1 000283 branch enable_user 
+:      000288 p_g24_receive_transmit_ack:
+0xb2 000289 call g24_rx_interrupt_clear 
+0xb3 000290 call p_g24_receive_packet 
+0xb4 000291 nrtn user3 
+:      000292 p_g24_transmit_ack:
+0xb5 000294 fetch 1 ,mem_24g_rxbuf 
+0xb6 000295 store 1 ,mem_24g_data_type 
+0xb7 000297 call g24_read_len_pid_crc 
+0xb8 000299 fetch 1 ,mem_24g_rxbuf + 1 
+0xb9 000300 isolate1 bit_ack_24g ,pdata 
+0xba 000301 branch g24tx_no_ack ,true 
+0xbb 000302 branch g24tx_with_ack 
+:      000304 p_g24_receive_packet:
+0xbc 000305 fetch 1 ,mem_24g_rx_phy 
+0xbd 000306 call le_enable_phy_by_pdata 
+0xbe 000307 fetch 4 ,mem_24g_addr 
+0xbf 000308 iforce access 
+0xc0 000309 call calc_mod_value_scale_le 
+0xc1 000310 call set_sync_on 
+0xc2 000311 fetcht 1 ,mem_24g_ch 
+0xc3 000312 call le_rf_rx_enable 
+:      000313 p_g24_receive_rxon:
+0xc4 000314 call g24_prep 
+0xc5 000315 bmark0 mark_ble_lr ,p_g24_receive_nolr 
+0xc6 000316 pulse dewhiten_code_calc 
+0xc7 000317 nop 30 
+0xc8 000318 call g24_prep 
+:      000319 p_g24_receive_nolr:
+0xc9 000320 disable user3 
+0xca 000321 enable decode_fec0 
+0xcb 000322 enable is_rx 
+0xcc 000323 disable is_tx 
+0xcd 000324 enable swfine 
+0xce 000325 fetch 2 ,mem_24g_rx_window 
+0xcf 000326 iforce stop_watch 
+0xd0 000327 correlate null ,timeout 
+0xd1 000328 nbranch g24_sync_timeout ,sync 
+0xd2 000329 fetch 3 ,0x4ff0 
+0xd3 000330 increase 1 ,pdata 
+0xd4 000331 store 3 ,0x4ff0 
+0xd5 000333 call rf_debug_rx_sync_line 
+0xd6 000334 bmark1 mark_ble_lr ,p_g24_receive_skip_fec1 
+0xd7 000335 disable decode_fec0 
+0xd8 000336 enable decode_fec1 
+:      000337 p_g24_receive_skip_fec1:
+0xd9 000338 enable enable_white 
+0xda 000339 enable enable_crc 
+0xdb 000340 call g24_receive_byte 
+0xdc 000341 store 1 ,mem_24g_get_syncword_crc8 
+0xdd 000342 fetcht 1 ,mem_24g_syncword_crc8 
+0xde 000343 isub temp ,null 
+0xdf 000344 nbranch g24_end_of_packet ,zero 
+0xe0 000345 disable user7 
+0xe1 000346 isolate1 mark_ble_lr ,mark 
+0xe2 000347 call g24_lr_receive_pdu_len ,true 
+0xe3 000348 branch g24_end_of_packet ,user7 
+0xe4 000349 call g24_receive_byte 
+0xe5 000350 store 1 ,mem_24g_rxbuf 
+0xe6 000351 bmark1 mark_24g_rxmode ,p_g24_receive_skip 
+0xe7 000352 fetch 1 ,mem_24g_rxbuf 
+0xe8 000353 fetcht 1 ,mem_24g_data_type 
+0xe9 000354 icompare bits_data ,temp 
+0xea 000355 nbranch g24_end_of_packet ,true 
+:      000356 p_g24_receive_skip:
+0xeb 000357 call g24_receive_byte 
+0xec 000358 isolate1 mark_ble_lr ,mark 
+0xed 000359 call g24_lr_receive_payload_len ,true 
+0xee 000360 istore 1 ,contw 
+0xef 000361 rshift3 pdata ,pdata 
+0xf0 000362 sub pdata ,0x1f ,null 
+0xf1 000363 nbranch g24_end_of_packet ,positive 
+0xf2 000364 copy pdata ,loopcnt 
+0xf3 000365 branch p_g24rx_nopayload ,zero 
+:      000366 p_g24rx_loop:
+0xf4 000367 call g24_receive_byte 
+0xf5 000368 istore 1 ,contw 
+0xf6 000369 loop p_g24rx_loop 
+:      000370 p_g24rx_nopayload:
+0xf7 000371 bmark1 mark_24g_rxmode ,p_g24_receive_skip_rssi 
+0xf8 000372 copy contw ,rega 
+0xf9 000373 call g24_receive_byte 
+0xfa 000374 store 1 ,mem_rssi_hex_received 
+0xfb 000375 copy rega ,contw 
+:      000376 p_g24_receive_skip_rssi:
+0xfc 000377 parse demod ,bucket ,24 
+0xfd 000378 rshift32 pdata ,pdata 
+0xfe 000379 rshift16 pdata ,pdata 
+0xff 000380 istore 3 ,contw 
+0x100 000381 disable decode_fec1 
+0x101 000382 isolate1 mark_24g_rxmode ,mark 
+0x102 000383 call save_rssi_dec ,true 
+0x103 000384 branch g24_end_of_packet ,crc_failed 
+0x104 000385 fetch 3 ,0x4ff3 
+0x105 000386 increase 1 ,pdata 
+0x106 000387 store 3 ,0x4ff3 
+0x107 000388 call rf_debug_rx_crc_line 
+0x108 000389 enable user3 
+0x109 000390 call le_match_set_txfreq 
+0x10a 000391 rtnmark1 mark_24g_rxmode 
+0x10b 000392 fetch 1 ,mem_rssi_hex_received 
+0x10c 000393 fetcht 1 ,mem_rssi_hex_received_max_value 
+0x10d 000394 isub temp ,null 
+0x10e 000395 call copy_temp2pdata ,positive 
+0x10f 000396 branch rssi_signal 
+:      000400 p_g24_data_device_gamepad1:
+0x110 000401 fetcht 1 ,mem_24g_rxdata_temp 
+0x111 000402 isolate1 bit_abort ,temp 
+0x112 000403 branch g24_data_attemp_device1_abort + 3 ,true 
+0x113 000404 fetch 2 ,mem_cb_24g_data_device_gamepad1 
+0x114 000405 branch callback_func 
+:      000407 p_g24_data_device_gamepad2:
+0x115 000408 fetcht 1 ,mem_24g_rxdata_temp 
+0x116 000409 isolate1 bit_abort ,temp 
+0x117 000410 branch g24_data_attemp_device2_abort ,true 
+0x118 000411 fetch 2 ,mem_cb_24g_data_device_gamepad2 
+0x119 000412 branch callback_func 
+:      000416 p_usb_class_type:
+0x11a 000417 set0 mark_isstr ,mark 
+0x11b 000418 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x11c 000419 and_into 0x80 ,pdata 
+0x11d 000420 beq out_device ,p_usb_out_device 
+0x11e 000421 branch usb_class_type + 4 
+:      000423 p_usb_out_device:
+0x11f 000424 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x120 000425 rshift4 pdata ,pdata 
+0x121 000426 rshift pdata ,pdata 
+0x122 000427 and_into 0x03 ,pdata 
+0x123 000428 beq class_req ,p_usb_out_class_req 
+0x124 000429 branch usb_out_device + 4 
+:      000431 p_usb_out_class_req:
+0x125 000432 fetch 1 ,mem_usb_setup_brequest 
+0x126 000433 beq set_report ,p_usb_set_report 
+0x127 000434 branch usb_out_class_req + 1 
+:      000436 p_usb_set_report:
+0x128 000437 nop 15000 
+0x129 000438 branch usb_set_report 
+:      000442 p_usb_tx:
+0x12a 000443 fetch 1 ,mem_usb_tx_enable 
+0x12b 000444 rtn blank 
+0x12c 000445 fetch 1 ,core_usb_txbusy 
+0x12d 000446 and_into 0x0f ,pdata 
+0x12e 000447 nbranch usb_inwake_state_tx_dispose ,blank 
+0x12f 000448 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x130 000449 branch usb_tx_fifo_release ,blank 
+0x131 000450 fetch 1 ,mem_usb_state 
+0x132 000451 beq usb_sleep ,usb_windows_wakeup 
+0x133 000452 bne usb_connected ,usb_tx_fifo_release 
+0x134 000453 fetch 1 ,mem_usb_clear_remote_wakeup 
+0x135 000454 nbranch usb_tx_fifo_release ,blank 
+0x136 000455 call p_usb_tx_data_ep1 
+0x137 000456 branch usb_tx_data_ep2 
+:      000458 p_usb_tx_data_ep1:
+0x138 000459 fetch 1 ,core_usb_txbusy 
+0x139 000460 rtnbit1 1 
+0x13a 000461 fetch 1 ,mem_usb_tx_enable 
+0x13b 000462 rtnbit0 1 
+0x13c 000463 fetch 1 ,mem_usb_tx_enable 
+0x13d 000464 set0 1 ,pdata 
+0x13e 000465 store 1 ,mem_usb_tx_enable 
+0x13f 000466 fetch 1 ,mem_usb_ep1_data 
+0x140 000467 rtn blank 
+0x141 000468 beq usb_ep1_kb ,p_usb_tx_kb_normal_data 
+0x142 000469 branch assert 
+:      000471 p_usb_tx_kb_normal_data:
+0x143 000472 jam 0 ,mem_usb_ep1_data 
+0x144 000473 arg 8 ,loopcnt 
+0x145 000474 arg mem_usb_kb_data ,contr 
+0x146 000475 branch usb_tx_ep1 
+:      000477 p_usb0_request_get_descriptor:
+0x147 000478 fetch 1 ,mem_usb_setup_bvalueh 
+0x148 000479 beq dsc_device ,dsc_device_info 
+0x149 000480 beq dsc_config ,dsc_config_info 
+0x14a 000481 beq dsc_string ,dsc_string_info 
+0x14b 000482 beq dsc_hid ,dsc_hid_info 
+0x14c 000483 beq dsc_hid_report ,p_dsc_hid_report_info 
+0x14d 000484 branch usb0_force_stall 
+:      000486 p_dsc_hid_report_info:
+0x14e 000487 jam 1 ,mem_usb_device_enumeration_endflag 
+0x14f 000488 jam usb_got_report_req ,mem_usb_state 
+0x150 000489 fetchr rega ,2 ,mem_hidreportdesc_kb 
+0x151 000490 branch usb0_respond_length 
+:      000493 p_g24_bind_mode_auto:
+0x152 000494 fetch 1 ,mem_24g_work_mode 
+0x153 000495 rtnne dongle_bind 
+0x154 000496 jam tx_power_f5db ,mem_tx_power 
+0x155 000497 branch g24_bind_mode_auto + 3 
+              org 0x800
+:      000506 start:
+0x800 000507 call lpmstate 
+:      000509 soft_reset:
+0x801 000510 bpatch patch00_0 ,mem_patch00 
+0x802 000511 clear_stack 
+0x803 000512 call app_param_init 
+0x804 000513 call initialize_radio 
+0x805 000514 call iic_init_360khz 
+0x806 000515 call init_param 
+0x807 000516 call l2cap_init 
+0x808 000517 bpatch patch00_1 ,mem_patch00 
+0x809 000518 call rfcomm_init 
+0x80a 000519 call init_lmp 
+0x80b 000520 call ui_init 
+0x80c 000521 call app_init 
+0x80d 000522 bpatch patch00_2 ,mem_patch00 
+0x80e 000523 call app_lpm_init ,wake 
+0x80f 000524 call publickey_init 
+0x810 000525 call sp_wait_pubkey_calc_done 
+0x811 000526 call lpm_recover_clk ,wake 
+:      000527 main_loop:
+0x812 000528 bpatch patch00_3 ,mem_patch00 
+0x813 000529 call sp_calc_sequence 
+0x814 000530 call sp_calc_sequence_256 
+0x815 000531 call sp_calc_sequence_256_check 
+0x816 000532 call le_advertising_dispatch 
+0x817 000533 call idle_dispatch 
+0x818 000534 call app_process_idle 
+0x819 000535 bpatch patch00_4 ,mem_patch00 
+0x81a 000536 call inquiry_dispatch 
+0x81b 000537 call inquiry_scan_dispatch 
+0x81c 000538 call page_scan_dispatch 
+0x81d 000539 call connection_dispatch 
+0x81e 000540 call g24_dispatch 
+0x81f 000541 call lpm_dispatch 
+0x820 000542 branch main_loop 
+:      000544 connection_dispatch:
+0x821 000545 call connection_incontext 
+0x822 000546 rtnmark0 mark_context 
+0x823 000547 set0 mark_context ,mark 
+0x824 000548 call context_save 
+0x825 000549 branch le_disable 
+:      000551 connection_incontext:
+0x826 000552 bpatch patch00_5 ,mem_patch00 
+0x827 000553 call context_search_insniff 
+0x828 000554 nbranch connection_nosniff ,zero 
+0x829 000555 call context_load 
+0x82a 000556 add rega ,coffset_mode ,contr 
+0x82b 000557 ifetch 1 ,contr 
+0x82c 000558 bbit1 mode_le ,le_conn_dispatch 
+0x82d 000559 bbit1 mode_master ,master_dispatch 
+0x82e 000560 branch slave_dispatch 
+:      000561 connection_nosniff:
+0x82f 000562 call context_get_next 
+0x830 000563 copy loopcnt ,null 
+0x831 000564 rtn zero 
+0x832 000565 call context_load 
+0x833 000566 fetch 1 ,mem_state 
+0x834 000567 bbit1 state_inpage ,master_page 
+0x835 000568 fetch 1 ,mem_mode 
+0x836 000569 bbit1 mode_master ,master_dispatch 
+0x837 000570 branch slave_dispatch 
+:      000578 idle_dispatch:
+0x838 000579 fetch 1 ,mem_hci_cmd 
+0x839 000580 rtn blank 
+0x83a 000581 beq hci_cmd_inquiry ,idle_inquiry 
+0x83b 000582 beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+0x83c 000583 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+0x83d 000584 beq hci_cmd_create_conn ,idle_create_conn 
+0x83e 000585 beq hci_cmd_le_create_conn ,idle_le_create_conn 
+0x83f 000586 call context_search_conn_handle 
+0x840 000587 rtn zero 
+0x841 000588 call context_search_plap 
+0x842 000589 rtn zero 
+:      000590 idle_exit:
+0x843 000591 jam 0 ,mem_hci_cmd 
+0x844 000592 rtn 
+:      000594 idle_le_create_conn:
+0x845 000595 jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+0x846 000596 jam 0 ,mem_hci_cmd 
+0x847 000597 rtn 
+:      000599 idle_inquiry:
+0x848 000600 set1 mark_inquiry_on ,mark 
+0x849 000601 set0 mark_inquiry_trainb ,mark 
+0x84a 000602 jam param_ninquiry ,mem_ninqy_index 
+0x84b 000603 jam 31 ,mem_nfreq_index_inq 
+0x84c 000604 branch idle_exit 
+:      000606 idle_inquiry_cancel:
+0x84d 000607 set0 mark_inquiry_on ,mark 
+0x84e 000608 force 0 ,stop_watch 
+0x84f 000609 branch idle_exit 
+:      000611 idle_remote_name_req:
+0x850 000612 call context_search_plap 
+0x851 000613 rtn zero 
+0x852 000614 force lmp_name_req ,temp 
+0x853 000615 jam 5 ,mem_nameres_cnt 
+0x854 000616 branch idle_start_page 
+:      000618 idle_create_conn:
+0x855 000619 bpatch patch00_6 ,mem_patch00 
+:      000620 idle_create_conn_device:
+0x856 000621 fetch 6 ,mem_hci_plap 
+0x857 000623 nop 1 
+0x858 000624 jam reconnect_hid ,memui_reconnect_mode 
+0x859 000626 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x85a 000627 branch idle_create_conn_cont 
+:      000629 idle_create_conn_cont:
+0x85b 000630 force lmp_version_req ,temp 
+:      000631 idle_start_page:
+0x85c 000632 bpatch patch00_7 ,mem_patch00 
+0x85d 000633 fetch 1 ,mem_page_mode 
+0x85e 000634 branch idle_page_mode_r0 ,blank 
+0x85f 000635 lshift3 pdata ,pdata 
+0x860 000636 lshift4 pdata ,pdata 
+0x861 000637 increase -1 ,pdata 
+:      000638 idle_page_mode_r0:
+0x862 000639 store 1 ,mem_npage 
+0x863 000640 store 1 ,mem_npage_index 
+0x864 000641 jam 31 ,mem_nfreq_index_page 
+0x865 000642 set0 mark_page_trainb ,mark 
+0x866 000643 call context_new 
+0x867 000644 nbranch idle_page_fail ,zero 
+0x868 000645 call get_free_amaddr 
+0x869 000646 store 1 ,mem_amaddr 
+0x86a 000647 storet 1 ,mem_lmo_opcode2 
+0x86b 000648 fetch 6 ,mem_hci_plap 
+0x86c 000649 store 6 ,mem_plap 
+0x86d 000650 bpatch patch01_0 ,mem_patch01 
+0x86e 000651 call timer_reinit 
+0x86f 000652 fetcht 1 ,mem_lmo_opcode2 
+0x870 000653 force 0 ,pdata 
+0x871 000654 compare lmp_name_req ,temp ,0xff 
+0x872 000655 nsetflag true ,state_init_seq ,pdata 
+0x873 000656 set1 state_inpage ,pdata 
+0x874 000657 store 1 ,mem_state 
+0x875 000658 jam bt_evt_reconn_started ,mem_fifo_temp 
+0x876 000659 call ui_ipc_send_event 
+0x877 000660 force 0 ,pdata 
+0x878 000661 setflag true ,smap_name_req ,pdata 
+0x879 000662 store 1 ,mem_state_map 
+0x87a 000663 setarg 0 
+0x87b 000664 set1 mode_master ,pdata 
+0x87c 000665 store 1 ,mem_mode 
+0x87d 000666 enable master 
+0x87e 000667 call context_save 
+0x87f 000668 disable master 
+0x880 000669 force page_length_timer ,queue 
+0x881 000670 fetch 2 ,mem_page_to 
+0x882 000671 call timer_init 
+0x883 000672 branch idle_exit 
+:      000673 idle_page_fail:
+0x884 000674 bpatch patch01_1 ,mem_patch01 
+0x885 000675 fetch 6 ,mem_hci_plap 
+0x886 000676 store 6 ,mem_plap 
+0x887 000677 compare lmp_name_req ,temp ,0xff 
+0x888 000678 branch idle_name_fail ,true 
+0x889 000679 branch idle_exit 
+:      000680 idle_name_fail:
+0x88a 000681 arg mem_tmp_buffer ,contw 
+0x88b 000682 arg 8 ,loopcnt 
+0x88c 000683 call memset0 
+0x88d 000684 jam bt_evt_reconn_failed ,mem_fifo_temp 
+0x88e 000685 call ui_ipc_send_event 
+0x88f 000686 branch idle_exit 
+:      000693 inquiry_dispatch:
+0x890 000694 rtnmark0 mark_inquiry_on 
+0x891 000695 force inquiry_length_timer ,queue 
+0x892 000696 call timer_check 
+0x893 000697 nsetflag blank ,mark_inquiry_on ,mark 
+0x894 000698 nbranch inquiry_start ,blank 
+0x895 000699 rtn 
+:      000703 inquiry_start:
+0x896 000704 bpatch patch01_2 ,mem_patch01 
+0x897 000705 fetcht 2 ,mem_inq_window 
+0x898 000706 force 4 ,queue 
+0x899 000707 call sniff_check_window 
+0x89a 000708 rtn user 
+0x89b 000709 call afh_clear 
+0x89c 000710 force 0 ,freq_mode 
+:      000711 inquiry_restart:
+0x89d 000712 rtn timeout 
+0x89e 000713 set0 mark_fhs_already_good ,mark 
+0x89f 000714 set0 mark_fhs_eir ,mark 
+:      000715 inquiry_rx_restart:
+0x8a0 000716 add clkn_bt ,1 ,bt_clk 
+0x8a1 000717 isolate1 mark_inquiry_trainb ,mark 
+0x8a2 000718 setflag true ,2 ,freq_mode 
+0x8a3 000719 compare 0x00 ,bt_clk ,0x02 
+0x8a4 000720 nbranch inquiry_receive ,true 
+:      000722 inquiry_transmit:
+0x8a5 000723 bpatch patch01_3 ,mem_patch01 
+0x8a6 000724 fetch 1 ,mem_inquiry_transmit 
+0x8a7 000725 increase 1 ,pdata 
+0x8a8 000726 store 1 ,mem_inquiry_transmit 
+0x8a9 000727 call fetch_giac 
+0x8aa 000728 call tx_radio_freq 
+0x8ab 000729 call fetch_diac 
+0x8ac 000730 call start_transmitter 
+0x8ad 000731 call start_tx_native 
+0x8ae 000732 call send_access_word 
+0x8af 000733 call end_of_packet 
+0x8b0 000734 call inquiry_check_train 
+0x8b1 000735 branch inquiry_restart 
+:      000737 inquiry_check_train:
+0x8b2 000738 bpatch patch01_4 ,mem_patch01 
+0x8b3 000739 fetch 1 ,mem_nfreq_index_inq 
+0x8b4 000740 increase -1 ,pdata 
+0x8b5 000741 store 1 ,mem_nfreq_index_inq 
+0x8b6 000742 rtn positive 
+0x8b7 000743 jam 31 ,mem_nfreq_index_inq 
+0x8b8 000744 fetch 1 ,mem_ninqy_index 
+0x8b9 000745 increase -1 ,pdata 
+0x8ba 000746 store 1 ,mem_ninqy_index 
+0x8bb 000747 rtn positive 
+0x8bc 000748 setflip mark_inquiry_trainb ,mark 
+0x8bd 000749 jam param_ninquiry ,mem_ninqy_index 
+0x8be 000750 rtn 
+:      000752 inquiry_receive:
+0x8bf 000753 bpatch patch01_5 ,mem_patch01 
+0x8c0 000754 call fetch_giac 
+0x8c1 000755 call rx_radio_freq 
+0x8c2 000756 call fetch_diac 
+0x8c3 000757 call start_rx_native 
+0x8c4 000758 call start_receiver 
+0x8c5 000759 call wait_access_clkn_rt 
+0x8c6 000760 branch inquiry_sync ,sync 
+0x8c7 000761 call inquiry_check_train 
+0x8c8 000762 branch inquiry_rx_restart 
+:      000763 inquiry_sync:
+0x8c9 000764 bpatch patch01_6 ,mem_patch01 
+0x8ca 000765 call save_rssi 
+0x8cb 000766 call scan_mode_whiten 
+0x8cc 000767 call receive_packet_whitened 
+0x8cd 000768 set0 mark_rxbuf_inuse ,mark 
+0x8ce 000769 rtnmark0 mark_fhs_already_good 
+:      000770 inquiry_receive_rtn:
+:      000771 inquiry_receive_eir_rtn:
+0x8cf 000772 fetch 1 ,mem_inquiry_rcv 
+0x8d0 000773 increase 1 ,pdata 
+0x8d1 000774 store 1 ,mem_inquiry_rcv 
+0x8d2 000775 rtn 
+:      000783 master_page:
+0x8d3 000784 bpatch patch01_7 ,mem_patch01 
+0x8d4 000785 enable master 
+0x8d5 000786 enable clknt 
+0x8d6 000787 fetch 2 ,mem_page_interval 
+0x8d7 000788 branch master_page_no_interval ,blank 
+0x8d8 000789 force page_interval_timer ,queue 
+0x8d9 000790 call timer_check 
+0x8da 000791 nrtn blank 
+:      000792 master_page_no_interval:
+0x8db 000793 bpatch patch02_0 ,mem_patch02 
+0x8dc 000794 fetcht 2 ,mem_page_window 
+0x8dd 000795 force 40 ,queue 
+0x8de 000796 call sniff_check_window 
+0x8df 000797 branch page_exit ,user 
+0x8e0 000798 force page_length_timer ,queue 
+0x8e1 000799 call timer_check 
+0x8e2 000800 nbranch page_start ,blank 
+0x8e3 000801 fetch 1 ,mem_state_map 
+0x8e4 000802 bbit1 smap_name_req ,master_npage_timeout 
+0x8e5 000803 branch master_page_timeout 
+:      000804 master_npage_timeout:
+0x8e6 000805 arg mem_tmp_buffer ,contw 
+0x8e7 000806 arg 8 ,loopcnt 
+0x8e8 000807 call memset0 
+:      000808 master_page_timeout:
+0x8e9 000809 bpatch patch02_1 ,mem_patch02 
+0x8ea 000810 jam 0 ,mem_state 
+0x8eb 000811 call init_lmp_work 
+0x8ec 000812 jam 0 ,memui_reconnect_mode 
+0x8ed 000813 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+0x8ee 000814 call ui_ipc_send_event 
+0x8ef 000815 branch page_exit 
+:      000817 page_start:
+0x8f0 000818 bpatch patch02_2 ,mem_patch02 
+0x8f1 000819 force 0 ,timeup 
+0x8f2 000820 until clkn_rt ,meet 
+0x8f3 000821 fetch 1 ,mem_page_clk 
+0x8f4 000822 increase -1 ,pdata 
+0x8f5 000823 ixor clkn_bt ,pdata 
+0x8f6 000824 compare 0 ,pdata ,3 
+0x8f7 000825 nbranch page_start ,true 
+0x8f8 000826 deposit am_addr 
+0x8f9 000827 store 1 ,mem_fhs_am_addr 
+0x8fa 000828 force 0 ,n_tx_slot 
+0x8fb 000829 force 0 ,freq_mode 
+:      000831 page_restart:
+0x8fc 000832 bpatch patch02_3 ,mem_patch02 
+0x8fd 000833 branch page_exit ,timeout 
+0x8fe 000834 call fetch_page_bt_adr 
+0x8ff 000835 fetchr timeup ,2 ,mem_param_rf_setup 
+0x900 000836 until clkn_rt ,meet 
+:      000837 page_rx_restart:
+0x901 000838 bpatch patch02_4 ,mem_patch02 
+0x902 000839 fetch 4 ,mem_page_clk 
+0x903 000840 iforce bt_clk 
+0x904 000841 increase 1 ,pdata 
+0x905 000842 store 4 ,mem_page_clk 
+0x906 000843 isolate1 mark_page_trainb ,mark 
+0x907 000844 setflag true ,2 ,freq_mode 
+0x908 000845 compare 0x00 ,bt_clk ,0x02 
+0x909 000846 nbranch page_receive ,true 
+0x90a 000847 fetch 1 ,mem_page_transmit 
+0x90b 000848 increase 1 ,pdata 
+0x90c 000849 store 1 ,mem_page_transmit 
+0x90d 000850 call tx_radio_freq 
+0x90e 000851 call start_transmitter 
+0x90f 000852 call start_tx_native 
+0x910 000853 call send_access_word 
+0x911 000854 call end_of_packet 
+0x912 000855 call page_check_train 
+0x913 000856 branch page_restart 
+:      000857 page_exit:
+0x914 000858 bpatch patch02_5 ,mem_patch02 
+0x915 000859 disable master 
+0x916 000860 fetch 2 ,mem_page_interval 
+0x917 000861 rtn blank 
+0x918 000862 force page_interval_timer ,queue 
+0x919 000863 branch timer_init 
+:      000865 page_check_train:
+0x91a 000866 bpatch patch02_6 ,mem_patch02 
+0x91b 000867 fetch 1 ,mem_nfreq_index_page 
+0x91c 000868 increase -1 ,pdata 
+0x91d 000869 store 1 ,mem_nfreq_index_page 
+0x91e 000870 rtn positive 
+0x91f 000871 jam 31 ,mem_nfreq_index_page 
+0x920 000872 fetch 1 ,mem_npage_index 
+0x921 000873 increase -1 ,pdata 
+0x922 000874 store 1 ,mem_npage_index 
+0x923 000875 rtn positive 
+0x924 000876 setflip mark_page_trainb ,mark 
+0x925 000877 fetch 1 ,mem_npage 
+0x926 000878 store 1 ,mem_npage_index 
+0x927 000879 rtn 
+:      000881 page_receive:
+0x928 000882 bpatch patch02_7 ,mem_patch02 
+0x929 000883 call rx_radio_freq 
+0x92a 000884 call start_rx_native 
+0x92b 000885 call start_receiver 
+0x92c 000886 call wait_access_clkn_rt 
+0x92d 000887 branch page_sync ,sync 
+0x92e 000888 call page_check_train 
+0x92f 000889 branch page_rx_restart 
+:      000890 page_sync:
+0x930 000891 call end_of_packet 
+0x931 000892 fetch 1 ,mem_page_rcv 
+0x932 000893 increase 1 ,pdata 
+0x933 000894 store 1 ,mem_page_rcv 
+0x934 000895 force 0 ,stop_watch 
+0x935 000896 fetch 4 ,mem_page_clk 
+:      000897 page_send_fhs:
+0x936 000898 bpatch patch03_0 ,mem_patch03 
+0x937 000899 call rf_setup_time_master_slot 
+0x938 000900 call fetch_page_bt_adr 
+0x939 000901 increase 1 ,n_tx_slot 
+:      000902 page_send_fhs_continue:
+0x93a 000903 and_into 0x1fd ,bt_clk 
+0x93b 000904 and_into 0x1fc ,freq_mode 
+0x93c 000905 call tx_radio_freq 
+0x93d 000906 call start_transmitter 
+0x93e 000907 call start_tx_native 
+0x93f 000908 call send_access_word 
+0x940 000909 deposit clkn_bt 
+0x941 000910 store 4 ,mem_clkn_bt 
+0x942 000911 force 0 ,am_addr 
+0x943 000912 force type_fhs ,type 
+0x944 000913 call scan_mode_whiten 
+0x945 000914 call transmit_packet_whitened 
+:      000915 page_wait_fhs_reply:
+0x946 000916 bpatch patch03_1 ,mem_patch03 
+0x947 000917 call rf_setup_time_slave_slot 
+0x948 000918 or_into 0x02 ,bt_clk 
+0x949 000919 and_into 0x1fc ,freq_mode 
+0x94a 000920 call rx_radio_freq 
+0x94b 000921 call start_rx_native 
+0x94c 000922 call start_receiver 
+0x94d 000923 call wait_access_clkn_rt 
+0x94e 000924 call end_of_packet ,sync 
+0x94f 000925 branch page_wait_fhs_reply_ok ,sync 
+0x950 000926 fetch 1 ,mem_fhs_wait_counter 
+0x951 000927 branch page_restart ,blank 
+0x952 000928 increase -1 ,pdata 
+0x953 000929 store 1 ,mem_fhs_wait_counter 
+0x954 000930 branch page_send_fhs 
+:      000932 page_wait_fhs_reply_ok:
+0x955 000933 bpatch patch03_2 ,mem_patch03 
+0x956 000934 fetch 1 ,mem_page_rcv_fhs 
+0x957 000935 increase 1 ,pdata 
+0x958 000936 store 1 ,mem_page_rcv_fhs 
+0x959 000937 call prepare_newconn 
+:      000938 master_newconn_loop:
+0x95a 000939 set1 mark_first_packet ,mark 
+0x95b 000940 call master_newconn_once 
+0x95c 000941 branch newconn_poll_responded ,sync 
+0x95d 000942 set0 mark_first_packet ,mark 
+0x95e 000943 call new_conn_timeout 
+0x95f 000944 nbranch master_newconn_loop ,blank 
+0x960 000945 branch page_restart 
+:      000947 newconn_poll_responded:
+0x961 000948 bpatch patch03_3 ,mem_patch03 
+0x962 000949 set0 mark_first_packet ,mark 
+0x963 000950 fetch 1 ,mem_state 
+0x964 000951 set0 state_inpage ,pdata 
+0x965 000952 store 1 ,mem_state 
+0x966 000953 call newconn_init 
+0x967 000954 disable master 
+0x968 000955 rtn 
+:      000958 master_dispatch:
+0x969 000959 bpatch patch03_4 ,mem_patch03 
+0x96a 000960 enable master 
+0x96b 000961 enable clknt 
+0x96c 000962 call role_switch_master 
+0x96d 000963 rtn user 
+0x96e 000964 call rf_setup_time_master_slot 
+0x96f 000965 add clkn_bt ,1 ,bt_clk 
+0x970 000966 call fetch_self_bt_adr 
+0x971 000967 force 0x03 ,freq_mode 
+0x972 000968 call scheduler_tx_l2cap_pkt 
+0x973 000969 call prepare_tx 
+0x974 000970 call tx_radio_freq 
+0x975 000971 call start_transmitter 
+0x976 000972 call start_tx_native 
+0x977 000973 call send_access_word 
+0x978 000974 call transmit_packet 
+:      000975 master_loop:
+0x979 000976 bpatch patch03_5 ,mem_patch03 
+0x97a 000977 call parse_lmp 
+0x97b 000978 call master_conn_recv_packet 
+0x97c 000979 nbranch master_notmatch ,match 
+0x97d 000980 call supervision_flush 
+0x97e 000981 call parse_l2cap 
+0x97f 000982 fetch 1 ,mem_master_rcvcnt 
+0x980 000983 increase 1 ,pdata 
+0x981 000984 store 1 ,mem_master_rcvcnt 
+:      000985 master_notmatch:
+0x982 000986 bpatch patch03_6 ,mem_patch03 
+0x983 000987 call scheduler_process 
+0x984 000988 call check_master_disconnect 
+0x985 000989 nrtn master 
+0x986 000990 call check_attempt 
+0x987 000991 nbranch master_attempt ,blank 
+:      000992 master_exit:
+0x988 000993 disable master 
+0x989 000994 rtn 
+:      000996 master_attempt:
+0x98a 000997 call prepare_tx 
+0x98b 000998 call master_conn_send_packet 
+0x98c 000999 branch master_loop 
+:      001002 check_master_disconnect:
+0x98d 001003 branch check_master_match ,match 
+0x98e 001004 call supervision_update 
+0x98f 001005 branch master_disconnect ,positive 
+:      001006 check_master_match:
+0x990 001007 call check_disconnect_timeout 
+0x991 001008 nbranch master_disconnect ,user 
+0x992 001009 fetch 1 ,mem_state_map 
+0x993 001010 rtnbit0 smap_name_req 
+0x994 001011 rtnbit1 smap_name_res 
+0x995 001012 fetch 1 ,mem_op 
+0x996 001013 rtnbit1 op_disconn 
+0x997 001014 call conn_timer_expired 
+0x998 001015 nrtn blank 
+0x999 001016 fetch 1 ,mem_nameres_cnt 
+0x99a 001017 increase -1 ,pdata 
+0x99b 001018 store 1 ,mem_nameres_cnt 
+0x99c 001019 nrtn blank 
+0x99d 001020 branch lmp_disconnect 
+:      001022 master_disconnect:
+0x99e 001023 bpatch patch03_7 ,mem_patch03 
+0x99f 001024 call quit_connection 
+0x9a0 001025 disable master 
+0x9a1 001026 fetch 1 ,mem_state_map 
+0x9a2 001027 bbit1 smap_name_req ,master_name_disconnect 
+0x9a3 001028 rtn 
+:      001030 master_name_disconnect:
+0x9a4 001031 fetch 1 ,mem_state_map 
+0x9a5 001032 rtnbit1 smap_name_res 
+:      001033 master_name_error:
+0x9a6 001034 arg mem_tmp_buffer ,contw 
+0x9a7 001035 arg 8 ,loopcnt 
+0x9a8 001036 branch memset0 
+:      001038 check_disconnect_timeout:
+0x9a9 001039 bpatch patch04_0 ,mem_patch04 
+0x9aa 001040 enable user 
+0x9ab 001041 fetch 1 ,mem_op 
+0x9ac 001042 rtnbit0 op_disconn 
+0x9ad 001043 call conn_timer_expired 
+0x9ae 001044 nrtn blank 
+0x9af 001045 branch disable_user 
+:      001047 conn_timer_expired:
+0x9b0 001048 fetch 1 ,mem_conn_timer 
+0x9b1 001049 increase -1 ,pdata 
+0x9b2 001050 store 1 ,mem_conn_timer 
+0x9b3 001051 rtn 
+:      001053 linkkey_ready:
+0x9b4 001054 bpatch patch04_1 ,mem_patch04 
+0x9b5 001055 fetch 1 ,mem_state 
+0x9b6 001056 bbit1 state_linkkey ,linkkey_set 
+0x9b7 001057 fetch 1 ,mem_pairing_auth 
+0x9b8 001058 branch linkkey_set ,blank 
+0x9b9 001059 jam defalt_pairing_auth ,mem_pairing_auth 
+0x9ba 001060 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+0x9bb 001061 call ui_ipc_send_event 
+0x9bc 001062 branch linkkey_set 
+:      001063 linkkey_set:
+0x9bd 001064 bpatch patch04_2 ,mem_patch04 
+0x9be 001065 call context_traverse_linkkey 
+0x9bf 001066 fetch 1 ,mem_state 
+0x9c0 001067 set1 state_linkkey ,pdata 
+0x9c1 001068 store 1 ,mem_state 
+0x9c2 001069 jam 1 ,mem_link_key_exists 
+0x9c3 001070 fetch 1 ,mem_conn_sm 
+0x9c4 001071 bne conn_sm_pairing ,linkkey_set_continue 
+:      001072 linkkey_set_continue:
+0x9c5 001073 rtn 
+:      001075 generate_linkkey_continue:
+0x9c6 001076 jam pairing_auth ,mem_pairing_auth 
+:      001077 clear_linkstate:
+0x9c7 001078 fetch 1 ,mem_state 
+0x9c8 001079 set0 state_linkkey ,pdata 
+0x9c9 001080 store 1 ,mem_state 
+0x9ca 001081 rtn 
+:      001085 role_switch_check:
+0x9cb 001086 bpatch patch04_3 ,mem_patch04 
+0x9cc 001087 disable user 
+0x9cd 001088 fetch 2 ,mem_tsniff 
+0x9ce 001089 arg 0xffff ,temp 
+0x9cf 001090 isub temp ,null 
+0x9d0 001091 nrtn zero 
+0x9d1 001092 fetch 4 ,mem_sniff_anchor 
+0x9d2 001093 branch role_switch_clkn ,clknt 
+0x9d3 001094 isub clke_bt ,pdata 
+0x9d4 001095 branch role_switch_clke 
+:      001096 role_switch_clkn:
+0x9d5 001097 isub clkn_bt ,pdata 
+:      001098 role_switch_clke:
+0x9d6 001099 sub pdata ,4 ,null 
+0x9d7 001100 nrtn positive 
+0x9d8 001101 force 0 ,pdata 
+0x9d9 001102 store 2 ,mem_tsniff 
+0x9da 001103 branch enable_user 
+:      001107 role_switch_prepare:
+0x9db 001108 copy pdata ,temp 
+0x9dc 001109 storet 4 ,mem_sniff_anchor 
+:      001110 role_switch_prepare0:
+0x9dd 001111 bpatch patch04_4 ,mem_patch04 
+0x9de 001112 jam switch_flag_accept ,mem_switch_flag 
+0x9df 001113 setarg 0xffff 
+0x9e0 001114 store 2 ,mem_tsniff 
+0x9e1 001115 jam 1 ,mem_sniff_attempt 
+0x9e2 001116 rtn 
+:      001119 role_switch_master:
+0x9e3 001120 bpatch patch04_5 ,mem_patch04 
+0x9e4 001121 call role_switch_check 
+0x9e5 001122 nrtn user 
+0x9e6 001123 disable user 
+0x9e7 001124 jam param_newconnto ,mem_newconnto_counter 
+0x9e8 001125 set0 mark_fhs_already_good ,mark 
+0x9e9 001126 set0 mark_role_switch_receive_fhs ,mark 
+:      001127 roles_waitfhs_loop:
+0x9ea 001128 call rf_setup_time_master_slot 
+0x9eb 001129 call master_recv_packet 
+0x9ec 001130 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+0x9ed 001131 call new_conn_timeout 
+0x9ee 001132 nbranch roles_waitfhs_loop ,blank 
+0x9ef 001133 bmark1 mark_role_switch_receive_fhs ,roles_replyto_fhs_rcvd 
+:      001134 role_switch_fail_master:
+0x9f0 001135 bpatch patch04_6 ,mem_patch04 
+0x9f1 001136 disable user 
+0x9f2 001137 deposit clkn_bt 
+0x9f3 001138 store 4 ,mem_next_btclk 
+0x9f4 001139 enable clknt 
+0x9f5 001140 enable master 
+0x9f6 001141 jam bt_evt_switch_fail_master ,mem_fifo_temp 
+0x9f7 001142 branch ui_ipc_send_event 
+:      001144 roles_replyto_fhs:
+0x9f8 001145 bpatch patch04_7 ,mem_patch04 
+0x9f9 001146 call rf_setup_time_slave_slot 
+0x9fa 001147 arg type_id ,type 
+0x9fb 001148 call master_send_packet 
+0x9fc 001149 set1 mark_role_switch_receive_fhs ,mark 
+0x9fd 001150 set0 mark_fhs_already_good ,mark 
+0x9fe 001151 fetch 1 ,mem_amaddr 
+0x9ff 001152 iforce am_addr 
+0xa00 001153 jam 2 ,mem_newconnto_counter 
+0xa01 001154 branch roles_waitfhs_loop 
+:      001156 roles_replyto_fhs_rcvd:
+0xa02 001157 fetch 4 ,mem_clke_bt 
+0xa03 001158 pincrease 8 
+0xa04 001159 store 4 ,mem_clke_bt 
+0xa05 001160 disable clknt 
+0xa06 001161 disable master 
+0xa07 001162 call apply_switch_clke 
+0xa08 001163 call prepare_newconn 
+:      001164 roles_newconns_loop:
+0xa09 001165 bpatch patch05_0 ,mem_patch05 
+0xa0a 001166 call slave_newconn_once 
+0xa0b 001167 branch roles_newconns_responded ,match 
+0xa0c 001168 call new_conn_timeout 
+0xa0d 001169 nbranch roles_newconns_loop ,blank 
+0xa0e 001170 branch role_switch_fail_master 
+:      001171 roles_newconns_responded:
+0xa0f 001172 fetch 1 ,mem_mode 
+0xa10 001173 set0 mode_master ,pdata 
+0xa11 001174 store 1 ,mem_mode 
+0xa12 001175 call supervision_flush 
+0xa13 001176 call calc_clke_offset 
+0xa14 001177 enable user 
+0xa15 001178 jam bt_evt_switch_success_master ,mem_fifo_temp 
+0xa16 001179 branch ui_ipc_send_event 
+:      001184 context_load:
+0xa17 001185 bpatch patch05_1 ,mem_patch05 
+0xa18 001186 set1 mark_context ,mark 
+0xa19 001187 deposit rega 
+0xa1a 001188 store 2 ,mem_context_ptr 
+0xa1b 001189 force context_size ,loopcnt 
+0xa1c 001190 arg mem_le_state ,contw 
+0xa1d 001191 add rega ,coffset_mode ,contr 
+0xa1e 001192 ifetch 1 ,contr 
+0xa1f 001193 copy rega ,contr 
+0xa20 001194 bbit1 mode_le ,memcpy 
+0xa21 001195 arg mem_state ,contw 
+0xa22 001196 call memcpy 
+0xa23 001197 disable attempt 
+0xa24 001198 fetch 1 ,mem_amaddr 
+0xa25 001199 iforce am_addr 
+0xa26 001200 jam 1 ,mem_current_sniff_attempt 
+0xa27 001201 branch context_load_master ,master 
+0xa28 001202 jam 1 ,mem_current_sniff_attempt 
+:      001203 context_load_master:
+0xa29 001204 fetch 1 ,mem_state 
+0xa2a 001205 rtnbit0 state_insniff 
+0xa2b 001206 fetch 1 ,mem_sniff_attempt 
+0xa2c 001207 store 1 ,mem_current_sniff_attempt 
+0xa2d 001208 fetch 1 ,mem_sniff_timeout 
+0xa2e 001209 store 1 ,mem_current_sniff_timeout 
+0xa2f 001210 rtn 
+:      001212 context_save:
+0xa30 001213 bpatch patch05_2 ,mem_patch05 
+0xa31 001214 fetch 2 ,mem_context_ptr 
+0xa32 001215 iforce contw 
+0xa33 001216 force context_size ,loopcnt 
+0xa34 001217 arg mem_le_state ,contr 
+0xa35 001218 branch memcpy ,le 
+0xa36 001219 arg mem_state ,contr 
+0xa37 001220 branch memcpy 
+:      001224 context_get_next:
+0xa38 001225 arg context_num ,loopcnt 
+0xa39 001226 fetcht 1 ,mem_current_context 
+:      001227 context_get_next_loop:
+0xa3a 001228 increase 1 ,temp 
+0xa3b 001229 compare context_num ,temp ,0xff 
+0xa3c 001230 nbranch context_get_next_cont ,true 
+0xa3d 001231 arg 0 ,temp 
+:      001232 context_get_next_cont:
+0xa3e 001233 storet 1 ,mem_current_context 
+0xa3f 001234 mul32 temp ,context_size ,pdata 
+0xa40 001235 arg mem_context ,rega 
+0xa41 001236 iadd rega ,rega 
+0xa42 001237 ifetch 1 ,rega 
+0xa43 001238 bbit1 state_insniff ,context_get_next_sniff 
+0xa44 001239 rtnbit1 state_inconn 
+0xa45 001240 rtnbit1 state_inpage 
+:      001241 context_get_next_sniff:
+0xa46 001242 loop context_get_next_loop 
+0xa47 001243 rtn 
+:      001245 context_new:
+0xa48 001246 bpatch patch05_3 ,mem_patch05 
+0xa49 001247 arg context_search_empty ,regc 
+0xa4a 001248 call context_search 
+0xa4b 001249 nrtn zero 
+0xa4c 001250 deposit rega 
+0xa4d 001251 store 2 ,mem_context_ptr 
+0xa4e 001252 force 0 ,null 
+0xa4f 001253 rtn 
+:      001257 context_check_all_wack:
+0xa50 001258 call check_esco_amaddr 
+0xa51 001259 branch context_check_esco_wack ,true 
+0xa52 001260 fetch 2 ,mem_context_ptr 
+0xa53 001261 add pdata ,coffset_arq ,contw 
+0xa54 001262 fetch 1 ,mem_arq 
+0xa55 001263 istore 1 ,contw 
+0xa56 001264 arg context_check_a_wack ,regc 
+0xa57 001265 branch context_search 
+:      001267 context_check_esco_wack:
+0xa58 001268 fetch 1 ,mem_arq 
+0xa59 001269 isolate1 wack ,pdata 
+0xa5a 001270 branch context_esco_wack ,true 
+0xa5b 001271 force 1 ,null 
+0xa5c 001272 rtn 
+:      001273 context_esco_wack:
+0xa5d 001274 force 0 ,null 
+0xa5e 001275 rtn 
+:      001278 context_check_idle:
+0xa5f 001279 arg context_check_inconn ,regc 
+0xa60 001280 branch context_search 
+:      001282 context_traverse_linkkey:
+0xa61 001283 fetcht 2 ,mem_context_ptr 
+0xa62 001284 arg context_traverse_clearkey ,regc 
+0xa63 001285 branch context_search 
+:      001289 context_search_conn_handle:
+0xa64 001290 fetcht 1 ,mem_hci_conn_handle 
+:      001291 context_search_conn_handle2:
+0xa65 001292 arg context_search_handle ,regc 
+0xa66 001293 branch context_search 
+:      001295 context_search_plap:
+0xa67 001296 bpatch patch05_4 ,mem_patch05 
+0xa68 001297 fetcht 6 ,mem_hci_plap 
+:      001298 context_search_plap2:
+0xa69 001299 arg context_search_lap ,regc 
+0xa6a 001300 branch context_search 
+:      001302 context_search_insniff:
+0xa6b 001303 arg context_search_sniff ,regc 
+0xa6c 001304 branch context_search 
+:      001306 context_search_sniff_window:
+0xa6d 001307 arg context_search_window ,regc 
+:      001308 context_search:
+0xa6e 001309 bpatch patch05_5 ,mem_patch05 
+0xa6f 001310 arg mem_context ,rega 
+0xa70 001311 arg context_num ,loopcnt 
+:      001312 context_search_loop:
+0xa71 001313 ifetch 1 ,rega 
+0xa72 001314 copy regc ,pc 
+:      001315 context_search_next:
+0xa73 001316 increase context_size ,rega 
+0xa74 001317 loop context_search_loop 
+0xa75 001318 force 1 ,null 
+0xa76 001319 rtn 
+:      001321 context_search_empty:
+0xa77 001322 bbit1 state_inconn ,context_search_next 
+0xa78 001323 bbit1 state_inpage ,context_search_next 
+0xa79 001324 force 0 ,null 
+0xa7a 001325 rtn 
+:      001327 context_search_lap:
+0xa7b 001328 bbit1 state_inpage ,context_search_lap_cont 
+0xa7c 001329 bbit0 state_inconn ,context_search_next 
+:      001330 context_search_lap_cont:
+0xa7d 001331 add rega ,coffset_plap ,contr 
+0xa7e 001332 ifetch 6 ,contr 
+0xa7f 001333 isub temp ,null 
+0xa80 001334 rtn zero 
+0xa81 001335 branch context_search_next 
+:      001337 context_search_handle:
+0xa82 001338 bbit0 state_inconn ,context_search_next 
+0xa83 001339 add rega ,coffset_conn_handle ,contr 
+0xa84 001340 ifetch 1 ,contr 
+0xa85 001341 isub temp ,null 
+0xa86 001342 rtn zero 
+0xa87 001343 branch context_search_next 
+:      001345 context_search_sniff:
+0xa88 001346 bbit0 state_insniff ,context_search_next 
+:      001347 context_search_sniff_loop:
+0xa89 001348 call context_get_anchor 
+0xa8a 001349 call sign_pdata_temp 
+0xa8b 001350 isub temp ,pdata 
+0xa8c 001351 increase 1 ,pdata 
+0xa8d 001352 branch context_search_sniff_miss ,positive 
+0xa8e 001353 copy contr ,regb 
+0xa8f 001354 store 9 ,mem_temp 
+0xa90 001355 fetch 1 ,mem_sc_calc 
+0xa91 001356 nbranch context_search_sniff_sc ,blank 
+0xa92 001357 fetch 9 ,mem_temp 
+0xa93 001358 copy regb ,contr 
+0xa94 001359 increase 5 ,pdata 
+0xa95 001360 branch context_search_meet1 
+:      001361 context_search_sniff_sc:
+0xa96 001362 fetch 9 ,mem_temp 
+0xa97 001363 copy regb ,contr 
+0xa98 001364 increase 20 ,pdata 
+:      001365 context_search_meet1:
+0xa99 001366 nbranch context_search_next ,positive 
+:      001367 context_search_meet:
+0xa9a 001368 copy temp ,bt_clk 
+0xa9b 001369 call context_next_anchor 
+0xa9c 001370 force 0 ,null 
+0xa9d 001371 rtn 
+:      001374 context_search_sniff_miss:
+0xa9e 001375 iforce regb 
+0xa9f 001376 add rega ,coffset_tsniff ,contr 
+0xaa0 001377 ifetch 2 ,contr 
+0xaa1 001378 branch context_search_meet ,blank 
+0xaa2 001379 call context_next_anchor 
+0xaa3 001380 branch context_search_sniff_loop 
+:      001382 sign_pdata_temp:
+0xaa4 001383 rshift16 pdata ,timeup 
+0xaa5 001384 rshift8 timeup ,timeup 
+0xaa6 001385 branch sign_pdata_temp_p0 ,zero 
+0xaa7 001386 compare 0xf ,timeup ,0xf 
+0xaa8 001387 nrtn true 
+0xaa9 001388 rshift16 temp ,timeup 
+0xaaa 001389 rshift8 timeup ,timeup 
+0xaab 001390 nrtn zero 
+0xaac 001391 set1 28 ,temp 
+0xaad 001392 rtn 
+:      001393 sign_pdata_temp_p0:
+0xaae 001394 rshift16 temp ,timeup 
+0xaaf 001395 rshift8 timeup ,timeup 
+0xab0 001396 compare 0xf ,timeup ,0xf 
+0xab1 001397 nrtn true 
+0xab2 001398 set1 28 ,pdata 
+0xab3 001399 rtn 
+:      001401 context_check_inconn:
+0xab4 001402 bbit0 state_inconn ,context_search_next 
+0xab5 001403 force 0 ,null 
+0xab6 001404 rtn 
+:      001406 context_check_a_wack:
+0xab7 001407 bbit0 state_inconn ,context_search_next 
+0xab8 001408 add rega ,coffset_mode ,contr 
+0xab9 001409 ifetch 1 ,contr 
+0xaba 001410 bbit1 mode_le ,context_search_next 
+0xabb 001411 add rega ,coffset_arq ,contr 
+0xabc 001412 ifetch 1 ,contr 
+0xabd 001413 bbit0 wack ,context_search_next 
+0xabe 001414 force 0 ,null 
+0xabf 001415 rtn 
+:      001417 context_get_anchor:
+0xac0 001418 add rega ,coffset_mode ,contr 
+0xac1 001419 ifetcht 1 ,contr 
+0xac2 001420 deposit clkn_bt 
+0xac3 001421 isolate1 mode_master ,temp 
+0xac4 001422 add rega ,coffset_sniff_anchor ,contr 
+0xac5 001423 ifetcht 4 ,contr 
+0xac6 001424 rtn true 
+0xac7 001425 add rega ,coffset_clk_offset ,contr 
+0xac8 001426 ifetch 6 ,contr 
+0xac9 001427 call calc_clke2 
+0xaca 001428 deposit clke_bt 
+0xacb 001429 rtn 
+:      001431 context_next_anchor:
+0xacc 001432 add rega ,coffset_tsniff ,contr 
+0xacd 001433 add rega ,coffset_sniff_anchor ,contw 
+0xace 001434 ifetch 2 ,contr 
+0xacf 001435 iadd temp ,timeup 
+0xad0 001436 deposit timeup 
+0xad1 001437 istore 4 ,contw 
+0xad2 001438 branch le_context_nextevent 
+:      001441 context_search_window:
+0xad3 001442 bbit0 state_insniff ,context_search_next 
+0xad4 001443 call context_get_anchor 
+0xad5 001444 iadd stop_watch ,pdata 
+0xad6 001445 iadd stop_watch ,pdata 
+0xad7 001446 iadd queue ,pdata 
+0xad8 001447 isub temp ,null 
+0xad9 001448 nbranch context_search_next ,positive 
+0xada 001449 force 0 ,null 
+0xadb 001450 rtn 
+:      001452 context_traverse_clearkey:
+0xadc 001453 bbit0 state_inconn ,context_search_next 
+0xadd 001454 deposit temp 
+0xade 001455 isub rega ,null 
+0xadf 001456 branch context_search_next ,null 
+0xae0 001457 add rega ,coffset_mode ,contr 
+0xae1 001458 ifetch 1 ,contr 
+0xae2 001459 bbit1 mode_le ,context_search_next 
+0xae3 001460 ifetch 1 ,rega 
+0xae4 001461 set0 state_linkkey ,pdata 
+0xae5 001462 istore 1 ,rega 
+0xae6 001463 branch context_search_next 
+:      001466 master_conn_send_packet:
+0xae7 001467 bpatch patch05_6 ,mem_patch05 
+0xae8 001468 call rf_setup_time_master_slot 
+:      001469 master_send_packet:
+0xae9 001470 add clkn_bt ,1 ,bt_clk 
+0xaea 001471 call fetch_self_bt_adr 
+0xaeb 001472 force 0x03 ,freq_mode 
+0xaec 001473 call tx_radio_freq 
+0xaed 001474 call start_transmitter 
+0xaee 001475 call start_tx_native 
+0xaef 001476 call send_access_word 
+0xaf0 001477 branch transmit_packet 
+:      001479 master_conn_recv_packet:
+0xaf1 001480 bpatch patch05_7 ,mem_patch05 
+0xaf2 001481 call rf_setup_time_slave_slot 
+:      001482 master_recv_packet:
+0xaf3 001483 add clkn_bt ,1 ,bt_clk 
+0xaf4 001484 call fetch_self_bt_adr 
+0xaf5 001485 force 0x03 ,freq_mode 
+0xaf6 001486 call rx_radio_freq 
+0xaf7 001487 call init_rx_packet_flags 
+0xaf8 001488 call prep_crypt 
+0xaf9 001489 call start_rx_native 
+0xafa 001490 call start_receiver 
+:      001491 master_rx_conn_finish_packet:
+0xafb 001492 call wait_access_clkn_rt 
+0xafc 001493 nrtn sync 
+0xafd 001494 call save_rssi 
+0xafe 001495 branch receive_packet 
+:      001499 master_newconn_once:
+0xaff 001500 bpatch patch06_0 ,mem_patch06 
+0xb00 001501 fetch 1 ,mem_fhs_am_addr 
+0xb01 001502 iforce am_addr 
+0xb02 001503 force type_poll ,type 
+0xb03 001504 call master_conn_send_packet 
+0xb04 001505 branch master_conn_recv_packet 
+:      001516 inquiry_scan_dispatch:
+0xb05 001517 fetch 1 ,mem_scan_mode 
+0xb06 001518 rtnbit0 inq_scan_mode 
+0xb07 001519 force iscan_interval_timer ,queue 
+0xb08 001520 call timer_check 
+0xb09 001521 nrtn blank 
+0xb0a 001522 fetcht 2 ,mem_iscan_window 
+0xb0b 001523 force 4 ,queue 
+0xb0c 001524 call sniff_check_window 
+0xb0d 001525 rtn user 
+0xb0e 001526 call inquiry_scan_start 
+0xb0f 001527 force iscan_interval_timer ,queue 
+0xb10 001528 fetch 2 ,mem_iscan_interval 
+0xb11 001529 nbranch timer_init ,sync 
+0xb12 001530 random pdata 
+0xb13 001531 iand mask3ff ,pdata 
+0xb14 001532 branch timer_init 
+:      001535 inquiry_scan_start:
+0xb15 001536 bpatch patch06_1 ,mem_patch06 
+0xb16 001537 jam 0 ,mem_fhs_am_addr 
+0xb17 001538 disable clknt 
+0xb18 001539 disable attempt 
+0xb19 001540 call afh_clear 
+0xb1a 001541 and clkn_bt ,0x1fc ,bt_clk 
+0xb1b 001542 force 0x01 ,freq_mode 
+0xb1c 001543 call fetch_giac 
+0xb1d 001544 call rx_radio_freq 
+0xb1e 001545 setflip mark_inquiry_state ,mark 
+0xb1f 001546 fetch 1 ,mem_inquiryscan_waitcnt 
+0xb20 001547 increase 1 ,pdata 
+0xb21 001548 store 1 ,mem_inquiryscan_waitcnt 
+0xb22 001549 call fetch_diac 
+0xb23 001550 call start_receiver 
+0xb24 001551 call wait_access_forever 
+0xb25 001552 nrtn sync 
+0xb26 001553 bpatch patch06_2 ,mem_patch06 
+0xb27 001554 force 0 ,stop_watch 
+0xb28 001555 call shutdown_radio 
+0xb29 001556 fetch 1 ,mem_inquiryscan_rcvcnt 
+0xb2a 001557 increase 1 ,pdata 
+0xb2b 001558 store 1 ,mem_inquiryscan_rcvcnt 
+0xb2c 001559 call fetch_giac 
+0xb2d 001560 call rf_setup_time_slave_slot 
+0xb2e 001561 or_into 0x002 ,bt_clk 
+0xb2f 001562 force 0x01 ,freq_mode 
+0xb30 001563 call tx_radio_freq 
+0xb31 001564 call fetch_diac 
+0xb32 001565 call start_transmitter 
+0xb33 001566 call start_tx_external 
+0xb34 001567 deposit clkn_bt 
+0xb35 001568 store 4 ,mem_clkn_bt 
+0xb36 001569 call send_access_word 
+0xb37 001570 force type_fhs ,type 
+0xb38 001571 force 0 ,am_addr 
+0xb39 001572 call scan_mode_whiten 
+0xb3a 001573 call transmit_packet_whitened 
+0xb3b 001574 call send_eir 
+0xb3c 001575 and_into 0x1fd ,bt_clk 
+0xb3d 001576 increase 1 ,n_tx_slot 
+0xb3e 001577 rtn 
+:      001579 send_eir:
+0xb3f 001580 bpatch patch06_3 ,mem_patch06 
+0xb40 001581 fetch 1 ,mem_eir_enable 
+0xb41 001582 rtn blank 
+0xb42 001583 arg mem_eir ,contw 
+0xb43 001584 fetch 1 ,mem_local_name_length 
+0xb44 001585 copy pdata ,loopcnt 
+0xb45 001586 increase 1 ,pdata 
+0xb46 001587 istore 1 ,contw 
+0xb47 001588 copy contw ,temp 
+0xb48 001589 increase 1 ,pdata 
+0xb49 001590 store 2 ,mem_tx_len 
+0xb4a 001591 copy temp ,contw 
+0xb4b 001592 setarg 0x09 
+0xb4c 001593 istore 1 ,contw 
+0xb4d 001594 arg mem_local_name ,contr 
+0xb4e 001595 call memcpy 
+0xb4f 001597 arg mem_all_uuid_128bits ,regc 
+0xb50 001598 arg 4 ,loopcnt 
+0xb51 001599 call get_all_uuid 
+0xb52 001600 arg mem_all_uuid_16bits ,regc 
+0xb53 001601 arg 1 ,loopcnt 
+0xb54 001602 call get_all_uuid 
+0xb55 001604 force type_dm3 ,type 
+0xb56 001605 jam 2 ,mem_tx_lch 
+0xb57 001606 setarg mem_eir 
+0xb58 001607 store 2 ,mem_txptr 
+0xb59 001608 call rf_setup_time_slave_slot 
+0xb5a 001609 call tx_radio_freq 
+0xb5b 001610 call start_transmitter 
+0xb5c 001611 call start_tx_external 
+0xb5d 001612 call send_access_word 
+0xb5e 001613 call scan_mode_whiten 
+0xb5f 001614 call transmit_packet_whitened 
+0xb60 001615 rtn 
+:      001618 get_all_uuid:
+0xb61 001619 copy contw ,temp 
+0xb62 001620 copy regc ,contr 
+0xb63 001621 ifetch 1 ,contr 
+0xb64 001622 rtn blank 
+:      001623 lshift_loop:
+0xb65 001624 lshift pdata ,pdata 
+0xb66 001625 loop lshift_loop 
+0xb67 001626 copy pdata ,rega 
+0xb68 001627 increase 2 ,pdata 
+0xb69 001628 copy pdata ,queue 
+0xb6a 001629 fetch 2 ,mem_tx_len 
+0xb6b 001630 iadd queue ,pdata 
+0xb6c 001631 store 2 ,mem_tx_len 
+0xb6d 001632 copy temp ,contw 
+0xb6e 001633 copy rega ,pdata 
+0xb6f 001634 increase 1 ,pdata 
+0xb70 001635 istore 1 ,contw 
+0xb71 001636 copy regc ,contr 
+0xb72 001637 ifetch 1 ,contr 
+0xb73 001638 ifetch 1 ,contr 
+0xb74 001639 istore 1 ,contw 
+0xb75 001640 copy rega ,loopcnt 
+0xb76 001641 branch memcpy 
+:      001647 page_scan_dispatch:
+0xb77 001648 fetch 1 ,mem_scan_mode 
+0xb78 001649 rtnbit0 page_scan_mode 
+0xb79 001650 force pscan_interval_timer ,queue 
+0xb7a 001651 call timer_check 
+0xb7b 001652 nrtn blank 
+0xb7c 001653 fetcht 2 ,mem_pscan_window 
+0xb7d 001654 force 40 ,queue 
+0xb7e 001655 call sniff_check_window 
+0xb7f 001656 rtn user 
+0xb80 001657 force 0 ,am_addr 
+0xb81 001658 jam param_pagerespto ,mem_fhs_wait_counter 
+0xb82 001659 set0 mark_fhs_already_good ,mark 
+0xb83 001660 call page_scan_start 
+0xb84 001661 force pscan_interval_timer ,queue 
+0xb85 001662 fetch 2 ,mem_pscan_interval 
+0xb86 001663 branch timer_init 
+:      001666 page_scan_start:
+0xb87 001667 bpatch patch06_4 ,mem_patch06 
+0xb88 001668 disable clknt 
+0xb89 001669 call afh_clear 
+0xb8a 001670 fetch 1 ,mem_pagescan_waitcnt 
+0xb8b 001671 increase 1 ,pdata 
+0xb8c 001672 store 1 ,mem_pagescan_waitcnt 
+0xb8d 001673 force 0 ,n_tx_slot 
+0xb8e 001674 call fetch_self_bt_adr 
+0xb8f 001675 add clkn_bt ,1 ,bt_clk 
+0xb90 001676 force 0x02 ,freq_mode 
+0xb91 001677 bpatch patch06_5 ,mem_patch06 
+0xb92 001678 call rx_radio_freq 
+0xb93 001679 call start_receiver 
+0xb94 001680 call wait_access_forever 
+0xb95 001681 nrtn sync 
+0xb96 001682 call shutdown_radio 
+0xb97 001683 fetch 1 ,mem_pagescan_rcvcnt 
+0xb98 001684 increase 1 ,pdata 
+0xb99 001685 store 1 ,mem_pagescan_rcvcnt 
+0xb9a 001686 force 0 ,stop_watch 
+0xb9b 001687 call rf_setup_time_slave_slot 
+0xb9c 001688 or_into 0x002 ,bt_clk 
+0xb9d 001689 force 0x01 ,freq_mode 
+0xb9e 001690 call tx_radio_freq 
+0xb9f 001691 call start_transmitter 
+0xba0 001692 call start_tx_external 
+0xba1 001693 call send_access_word 
+0xba2 001694 call end_of_packet 
+0xba3 001695 force 0 ,am_addr 
+0xba4 001696 fetchr timeup ,2 ,mem_param_rf_setup 
+0xba5 001697 until clke_rt ,meet 
+0xba6 001698 or_into 0x03 ,clke_bt 
+0xba7 001699 and_into 0x1fd ,bt_clk 
+:      001700 page_scan_wait_fhs_restart:
+0xba8 001701 bpatch patch06_6 ,mem_patch06 
+0xba9 001702 increase 1 ,n_tx_slot 
+0xbaa 001703 call rx_radio_freq 
+0xbab 001704 call start_receiver 
+0xbac 001705 call wait_access_mhalfbnd 
+0xbad 001706 nbranch page_scan_wait_fhs_again ,sync 
+0xbae 001707 call scan_mode_whiten 
+0xbaf 001708 call receive_packet_whitened 
+0xbb0 001709 bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+:      001710 page_scan_wait_fhs_again:
+0xbb1 001711 bpatch patch06_7 ,mem_patch06 
+0xbb2 001712 fetch 1 ,mem_fhs_wait_counter 
+0xbb3 001713 rtn blank 
+0xbb4 001714 increase -1 ,pdata 
+0xbb5 001715 store 1 ,mem_fhs_wait_counter 
+0xbb6 001716 call rf_setup_time_master_slot 
+0xbb7 001717 branch page_scan_wait_fhs_restart 
+:      001720 page_scan_reply_to_fhs:
+0xbb8 001721 bpatch patch07_0 ,mem_patch07 
+0xbb9 001722 set0 1 ,clke_bt 
+0xbba 001723 set1 0 ,clke_bt 
+0xbbb 001724 fetch 1 ,mem_pagescan_rcvfhscnt 
+0xbbc 001725 increase 1 ,pdata 
+0xbbd 001726 store 1 ,mem_pagescan_rcvfhscnt 
+0xbbe 001727 call rf_setup_time_slave_slot 
+0xbbf 001728 or_into 0x02 ,bt_clk 
+0xbc0 001729 call tx_radio_freq 
+0xbc1 001730 call start_transmitter 
+0xbc2 001731 call start_tx_external 
+0xbc3 001732 call send_access_word 
+0xbc4 001733 call end_of_packet 
+:      001734 slave_apply_clke_bt:
+0xbc5 001735 compare 0x03 ,clke_bt ,0x03 
+0xbc6 001736 branch slave_apply_clke_bt_now ,true 
+0xbc7 001737 until null ,mhalfbnd 
+0xbc8 001738 branch slave_apply_clke_bt 
+:      001739 slave_apply_clke_bt_now:
+0xbc9 001740 fetch 4 ,mem_clke_bt 
+0xbca 001741 or_into 0x03 ,pdata 
+0xbcb 001742 icopy clke_bt 
+:      001744 start_slave_connection:
+0xbcc 001745 bpatch patch07_1 ,mem_patch07 
+0xbcd 001746 fetch 6 ,extm_lap 
+0xbce 001747 store 6 ,mem_plap 
+0xbcf 001748 call prepare_newconn 
+:      001749 slave_newconn_loop:
+0xbd0 001750 call slave_newconn_once 
+0xbd1 001751 branch sconn_successful ,match 
+0xbd2 001752 call new_conn_timeout 
+0xbd3 001753 nbranch slave_newconn_loop ,blank 
+0xbd4 001754 rtn 
+:      001757 sconn_successful:
+0xbd5 001758 bpatch patch07_2 ,mem_patch07 
+0xbd6 001759 call newconn_init 
+0xbd7 001760 call context_new 
+0xbd8 001761 nrtn zero 
+0xbd9 001762 jam 0 ,mem_mode 
+0xbda 001763 call calc_clke_offset 
+0xbdb 001764 branch context_save 
+:      001769 slave_dispatch:
+0xbdc 001770 bpatch patch07_3 ,mem_patch07 
+0xbdd 001771 call calc_clke 
+0xbde 001772 call role_switch_slave 
+0xbdf 001773 rtn user 
+:      001774 slave_loop:
+0xbe0 001775 bpatch patch07_4 ,mem_patch07 
+0xbe1 001776 call scheduler_process 
+0xbe2 001777 call slave_conn_recv_packet 
+0xbe3 001778 nbranch slave_notmatch ,match 
+0xbe4 001779 fetch 2 ,mem_cb_bt_slave_match 
+0xbe5 001780 call callback_func 
+0xbe6 001781 call supervision_flush 
+0xbe7 001782 call scheduler_tx_l2cap_pkt 
+0xbe8 001783 call prepare_tx 
+0xbe9 001784 call slave_conn_send_packet 
+0xbea 001785 call parse_l2cap 
+0xbeb 001786 call parse_lmp 
+0xbec 001787 fetch 1 ,mem_slave_rcvcnt 
+0xbed 001788 increase 1 ,pdata 
+0xbee 001789 store 1 ,mem_slave_rcvcnt 
+0xbef 001790 call calc_clke_offset 
+:      001791 slave_notmatch:
+0xbf0 001792 bpatch patch07_5 ,mem_patch07 
+0xbf1 001793 call lpm_set_mult 
+0xbf2 001794 call supervision_update 
+0xbf3 001795 branch slave_disconnect ,positive 
+0xbf4 001796 call check_disconnect_timeout 
+0xbf5 001797 nbranch slave_disconnect ,user 
+0xbf6 001798 call check_attempt 
+0xbf7 001799 nbranch slave_loop ,blank 
+0xbf8 001800 rtn 
+:      001802 slave_disconnect:
+0xbf9 001803 bpatch patch07_6 ,mem_patch07 
+0xbfa 001804 jam 0 ,mem_tester_emulate 
+0xbfb 001805 jam 0 ,mem_debug_config 
+0xbfc 001806 call quit_connection 
+0xbfd 001807 set0 mark_testmode ,mark 
+0xbfe 001808 call test_enable_white 
+0xbff 001809 fetch 1 ,mem_state 
+0xc00 001810 rtn 
+:      001813 role_switch_slave:
+0xc01 001814 call role_switch_check 
+0xc02 001815 nrtn user 
+0xc03 001816 copy am_addr ,temp 
+0xc04 001817 call get_free_amaddr 
+0xc05 001818 store 1 ,mem_fhs_am_addr 
+0xc06 001819 copy temp ,am_addr 
+0xc07 001820 jam param_newconnto ,mem_newconnto_counter 
+:      001821 roles_sendfhs_loop:
+0xc08 001822 bpatch patch07_7 ,mem_patch07 
+0xc09 001823 call rf_setup_time_master_slot 
+0xc0a 001824 force type_fhs ,type 
+0xc0b 001825 call slave_send_access 
+0xc0c 001826 deposit clkn_bt 
+0xc0d 001827 store 4 ,mem_clkn_bt 
+0xc0e 001828 call transmit_packet 
+0xc0f 001829 call rf_setup_time_slave_slot 
+0xc10 001830 enable user3 
+0xc11 001831 call slave_receive_access 
+0xc12 001832 branch roles_got_fhs_reply ,sync 
+0xc13 001833 call shutdown_radio 
+0xc14 001834 call new_conn_timeout 
+0xc15 001835 nbranch roles_sendfhs_loop ,blank 
+0xc16 001836 rtnmark0 mark_accept_switch 
+0xc17 001837 jam lmp_slot_offset ,mem_lmo_opcode2 
+0xc18 001838 set1 mark_switch_initiated ,mark 
+0xc19 001839 rtn 
+:      001840 roles_got_fhs_reply:
+0xc1a 001841 enable clknt 
+0xc1b 001842 call prepare_newconn 
+0xc1c 001843 call afh_clear 
+:      001844 roles_newconn_loop:
+0xc1d 001845 bpatch patch08_0 ,mem_patch08 
+0xc1e 001846 call master_newconn_once 
+0xc1f 001847 branch roles_newconn_responded ,sync 
+0xc20 001848 call new_conn_timeout 
+0xc21 001849 nbranch roles_newconn_loop ,blank 
+0xc22 001850 disable clknt 
+0xc23 001851 deposit clke_bt 
+0xc24 001852 store 4 ,mem_next_btclk 
+0xc25 001853 rtn 
+:      001854 roles_newconn_responded:
+0xc26 001855 enable master 
+0xc27 001856 bmark0 mark_accept_switch ,roles_newconn_nolmp 
+0xc28 001857 set0 mark_accept_switch ,mark 
+0xc29 001858 jam lmp_accepted ,mem_lmo_opcode2 
+0xc2a 001859 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0xc2b 001860 call tid_set_reply 
+:      001861 roles_newconn_nolmp:
+0xc2c 001862 deposit am_addr 
+0xc2d 001863 store 1 ,mem_amaddr 
+0xc2e 001864 force 0 ,pdata 
+0xc2f 001865 store 6 ,mem_clk_offset 
+0xc30 001866 fetch 1 ,mem_mode 
+0xc31 001867 set1 mode_master ,pdata 
+0xc32 001868 store 1 ,mem_mode 
+0xc33 001869 call supervision_flush 
+0xc34 001870 disable master 
+0xc35 001871 enable user 
+0xc36 001872 rtn 
+:      001876 init_rx_packet_flags:
+0xc37 001877 bpatch patch08_1 ,mem_patch08 
+0xc38 001878 disable match 
+0xc39 001879 set0 mark_loopback ,mark 
+0xc3a 001880 set0 mark_am_addr_broadcast ,mark 
+0xc3b 001881 set0 mark_longpacket ,mark 
+0xc3c 001882 set0 mark_old_packet ,mark 
+0xc3d 001883 fetch 1 ,mem_arq 
+0xc3e 001884 set0 arqnx ,pdata 
+0xc3f 001885 set1 flowx ,pdata 
+0xc40 001886 store 1 ,mem_arq 
+0xc41 001887 rtn 
+:      001889 prepare_newconn:
+0xc42 001890 bpatch patch08_2 ,mem_patch08 
+0xc43 001891 jam param_newconnto ,mem_newconnto_counter 
+0xc44 001892 jam param_newconn_arq ,mem_arq 
+0xc45 001893 fetch 2 ,mem_rx_window_init 
+0xc46 001894 store 2 ,mem_rx_window 
+0xc47 001895 deposit clkn_bt 
+0xc48 001896 store 4 ,mem_next_btclk 
+0xc49 001897 rtn clknt 
+0xc4a 001898 deposit clke_bt 
+0xc4b 001899 store 4 ,mem_next_btclk 
+0xc4c 001900 rtn 
+:      001902 newconn_init:
+0xc4d 001903 bpatch patch08_3 ,mem_patch08 
+0xc4e 001904 call init_lmp_reinit 
+0xc4f 001905 call new_conn_handle 
+0xc50 001906 store 1 ,mem_conn_handle 
+0xc51 001907 setarg 0 
+0xc52 001908 store 2 ,mem_l2cap_rxbuff1_len 
+0xc53 001909 setarg param_supervision_to 
+0xc54 001910 store 2 ,mem_supervision_to 
+0xc55 001911 fetch 1 ,mem_state 
+0xc56 001912 set1 state_inconn ,pdata 
+0xc57 001913 store 1 ,mem_state 
+0xc58 001914 jam 0 ,mem_op 
+0xc59 001915 jam 0 ,mem_state_map 
+0xc5a 001916 jam 0 ,mem_lpm_current_mult 
+0xc5b 001917 branch supervision_flush 
+:      001920 clear_linkkey:
+0xc5c 001921 bpatch patch08_4 ,mem_patch08 
+0xc5d 001922 force 0 ,pdata 
+0xc5e 001923 store 8 ,mem_link_key 
+0xc5f 001924 istore 8 ,contw 
+0xc60 001925 call clear_linkstate 
+0xc61 001926 branch context_traverse_linkkey 
+:      001928 new_conn_timeout:
+0xc62 001929 fetch 1 ,mem_newconnto_counter 
+0xc63 001930 increase -1 ,pdata 
+0xc64 001931 store 1 ,mem_newconnto_counter 
+0xc65 001932 rtn 
+:      001934 new_conn_handle:
+0xc66 001935 fetch 1 ,mem_handle_num 
+0xc67 001936 increase 1 ,pdata 
+0xc68 001937 store 1 ,mem_handle_num 
+0xc69 001938 rtn 
+:      001941 quit_connection:
+0xc6a 001942 bpatch patch08_5 ,mem_patch08 
+0xc6b 001943 fetch 1 ,mem_hci_cmd 
+0xc6c 001944 beq hci_cmd_remote_name_req ,quit_connection_name 
+0xc6d 001945 fetch 1 ,mem_lmp_to_send 
+0xc6e 001946 bne lmp_name_req ,quit_connection_cont 
+:      001947 quit_connection_name:
+0xc6f 001948 call cmd_check_plap 
+0xc70 001949 nbranch quit_connection_cont ,zero 
+0xc71 001950 call master_name_error 
+0xc72 001951 jam 0 ,mem_hci_cmd 
+:      001952 quit_connection_cont:
+0xc73 001953 bpatch patch08_6 ,mem_patch08 
+0xc74 001954 call app_disconn_reason_collect_bt 
+0xc75 001955 call sniff_exit 
+0xc76 001956 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0xc77 001957 call ui_ipc_send_event 
+0xc78 001958 call init_lmp_work 
+0xc79 001959 call l2cap_init_work 
+0xc7a 001960 call sp_clear_flags 
+0xc7b 001961 fetch 1 ,mem_state 
+0xc7c 001962 set0 state_inconn ,pdata 
+0xc7d 001963 store 1 ,mem_state 
+0xc7e 001964 jam 0 ,memui_reconnect_mode 
+0xc7f 001966 fetch 1 ,mem_state_map 
+0xc80 001967 compare 0x0 ,pdata ,0xc0 
+0xc81 001968 branch quit_connection_not_clear_mark ,true 
+0xc82 001969 set0 mark_rxbuf_inuse ,mark 
+:      001970 quit_connection_not_clear_mark:
+0xc83 001971 fetch 1 ,mem_arq 
+0xc84 001972 bbit0 wack ,quit_connection_not_clear_tx 
+:      001973 quit_connection_not_clear_tx:
+0xc85 001974 fetch 1 ,mem_op 
+0xc86 001975 rtnbit0 op_txl2cap 
+0xc87 001976 set0 mark_tx_l2cap ,mark 
+0xc88 001977 rtn 
+:      001979 slave_newconn_once:
+0xc89 001980 bpatch patch08_7 ,mem_patch08 
+0xc8a 001981 fetch 1 ,extm_newconn_am_addr 
+0xc8b 001982 rtn blank 
+0xc8c 001983 icopy am_addr 
+0xc8d 001984 call slave_conn_recv_packet 
+0xc8e 001985 nrtn match 
+0xc8f 001986 force type_null ,type 
+0xc90 001987 call slave_conn_send_packet 
+0xc91 001988 deposit am_addr 
+0xc92 001989 store 1 ,mem_amaddr 
+0xc93 001990 force 0 ,pdata 
+0xc94 001991 store 1 ,extm_newconn_am_addr 
+0xc95 001992 rtn 
+:      001998 prepare_tx:
+0xc96 001999 bpatch patch09_0 ,mem_patch09 
+0xc97 002000 fetch 1 ,mem_state 
+0xc98 002001 bbit0 state_insco ,prepare_tx_not_sco 
+0xc99 002002 force type_hv3 ,type 
+0xc9a 002003 bmark0 mark_esco ,prepare_tx_not_esco 
+0xc9b 002004 call check_esco_amaddr 
+0xc9c 002005 nbranch prepare_tx_not_sco ,true 
+0xc9d 002006 branch prepare_tx_not_sco ,attempt 
+0xc9e 002007 call set_wait_ack 
+0xc9f 002008 setarg 2 
+0xca0 002009 store 2 ,mem_retransmission_cnt 
+0xca1 002010 rtn 
+:      002012 prepare_tx_not_esco:
+0xca2 002013 nrtn attempt 
+:      002014 prepare_tx_not_sco:
+0xca3 002015 bpatch patch09_1 ,mem_patch09 
+0xca4 002016 call context_check_all_wack 
+0xca5 002017 nbranch prepare_tx_no_retransmit ,zero 
+0xca6 002018 fetch 1 ,mem_arq 
+0xca7 002019 bbit0 wack ,prepare_tx_pollnull 
+:      002020 prepare_tx_retransmit:
+0xca8 002021 bmark1 mark_loopback ,prepare_tx_loopback 
+0xca9 002022 fetch 1 ,mem_debug_config 
+0xcaa 002023 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+0xcab 002024 fetch 2 ,mem_retransmission_cnt 
+0xcac 002025 increase -1 ,pdata 
+0xcad 002026 store 2 ,mem_retransmission_cnt 
+0xcae 002027 branch prepare_tx_nomore_retransmit ,blank 
+0xcaf 002028 fetch 1 ,mem_last_type 
+0xcb0 002029 iforce type 
+0xcb1 002030 rtn 
+:      002032 prepare_tx_nomore_retransmit:
+0xcb2 002033 bpatch patch09_2 ,mem_patch09 
+0xcb3 002034 call clear_got_tx 
+:      002035 prepare_tx_no_retransmit:
+0xcb4 002036 call check_esco_amaddr 
+0xcb5 002037 branch prepare_tx_pollnull ,true 
+0xcb6 002038 call send_lmp 
+0xcb7 002039 branch prepare_tx_sendlmp ,user 
+0xcb8 002040 fetch 1 ,mem_op 
+0xcb9 002041 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+0xcba 002042 bmark1 mark_loopback ,prepare_tx_loopback 
+0xcbb 002043 fetch 1 ,mem_debug_config 
+0xcbc 002044 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+:      002045 prepare_tx_pollnull:
+0xcbd 002046 force type_poll ,type 
+0xcbe 002047 rtn master 
+0xcbf 002048 force type_null ,type 
+0xcc0 002049 rtn 
+:      002050 prepare_tx_loopback:
+0xcc1 002051 bpatch patch09_3 ,mem_patch09 
+0xcc2 002052 fetch 1 ,mem_rx_type 
+0xcc3 002053 iforce type 
+0xcc4 002054 rtnne 1 
+0xcc5 002055 force type_null ,type 
+0xcc6 002056 rtn 
+:      002057 prepare_tx_txpat:
+0xcc7 002058 fetch 1 ,test_mode_packet_type 
+0xcc8 002059 and pdata ,0xf ,type 
+0xcc9 002060 set1 mark_loopback ,mark 
+0xcca 002061 rtn 
+:      002062 prepare_tx_sendlmp:
+0xccb 002063 force type_lmp ,type 
+0xccc 002064 call set_wait_ack 
+:      002065 prepare_tx_ccm_edr_lmp:
+0xccd 002066 call check_enc_ccm 
+0xcce 002067 rtn blank 
+0xccf 002068 jam 3 ,mem_llid 
+0xcd0 002069 fetch 1 ,mem_lmo_header_length 
+0xcd1 002070 and pdata ,0x1f8 ,pdata 
+0xcd2 002071 rshift3 pdata ,pdata 
+0xcd3 002072 store 2 ,mem_ccm_len 
+0xcd4 002073 copy pdata ,rega 
+0xcd5 002074 arg mem_lmo_header_opcode ,regc 
+0xcd6 002075 branch ccm_br_enc_new 
+:      002078 prepare_tx_sendl2cap:
+0xcd7 002079 call tx_l2cap_type 
+0xcd8 002080 call set_wait_ack 
+:      002081 prepare_tx_ccm_edr:
+0xcd9 002082 call check_enc_ccm 
+0xcda 002083 rtn blank 
+0xcdb 002084 fetch 1 ,mem_tx_lch 
+0xcdc 002085 and_into 3 ,pdata 
+0xcdd 002086 store 1 ,mem_llid 
+0xcde 002087 fetch 2 ,mem_tx_len 
+0xcdf 002088 copy pdata ,rega 
+0xce0 002089 store 2 ,mem_ccm_len 
+0xce1 002090 fetch 2 ,mem_txptr 
+0xce2 002091 copy pdata ,regc 
+0xce3 002092 branch ccm_br_enc_new 
+:      002095 set_wait_ack:
+0xce4 002096 bpatch patch09_4 ,mem_patch09 
+0xce5 002097 fetcht 1 ,mem_arq 
+0xce6 002098 set1 wack ,temp 
+0xce7 002099 storet 1 ,mem_arq 
+0xce8 002100 deposit type 
+0xce9 002101 store 1 ,mem_last_type 
+0xcea 002102 setarg 0xffff 
+0xceb 002103 store 2 ,mem_retransmission_cnt 
+0xcec 002104 rtn 
+:      002106 tx_l2cap_type:
+0xced 002107 bpatch patch09_5 ,mem_patch09 
+0xcee 002108 fetch 1 ,mem_state_map 
+0xcef 002109 isolate1 smap_edr ,pdata 
+0xcf0 002110 fetch 2 ,mem_tx_len 
+0xcf1 002111 branch tx_l2cap_type_edr ,true 
+0xcf2 002112 force type_dm1 ,type 
+0xcf3 002113 sub pdata ,17 ,null 
+0xcf4 002114 rtn positive 
+0xcf5 002115 force type_dh1 ,type 
+0xcf6 002116 sub pdata ,27 ,null 
+0xcf7 002117 rtn positive 
+0xcf8 002118 force type_dm3 ,type 
+0xcf9 002119 sub pdata ,121 ,null 
+0xcfa 002120 rtn positive 
+0xcfb 002121 force type_dh3 ,type 
+0xcfc 002122 sub pdata ,183 ,null 
+0xcfd 002123 rtn positive 
+0xcfe 002124 force type_dm5 ,type 
+0xcff 002125 sub pdata ,224 ,null 
+0xd00 002126 rtn positive 
+0xd01 002127 force type_dh5 ,type 
+0xd02 002128 rtn 
+:      002129 tx_l2cap_type_edr:
+0xd03 002130 force type_dm1 ,type 
+0xd04 002131 sub pdata ,17 ,null 
+0xd05 002132 rtn positive 
+0xd06 002133 force type_dh1 ,type 
+0xd07 002134 sub pdata ,54 ,null 
+0xd08 002135 rtn positive 
+0xd09 002136 force type_dm3 ,type 
+0xd0a 002137 arg 367 ,temp 
+0xd0b 002138 isub temp ,null 
+0xd0c 002139 nrtn positive 
+0xd0d 002140 force type_dm5 ,type 
+0xd0e 002141 arg 679 ,temp 
+0xd0f 002142 isub temp ,null 
+0xd10 002143 nrtn positive 
+0xd11 002144 force type_dh5 ,type 
+0xd12 002145 rtn 
+:      002154 slave_receive_master_slot:
+0xd13 002155 fetch 1 ,mem_state 
+0xd14 002156 bbit0 state_insniff ,slave_receive_notsniff 
+0xd15 002157 fetch 2 ,mem_tsniff 
+0xd16 002158 branch slave_receive_notsniff ,blank 
+0xd17 002159 nbranch slave_receive_sniff ,attempt 
+:      002160 slave_receive_notsniff:
+0xd18 002161 call rf_setup_time_master_slot 
+:      002162 slave_receive_access:
+0xd19 002163 add clke_bt ,1 ,bt_clk 
+:      002164 slave_receive_sniff:
+0xd1a 002165 enable swfine 
+0xd1b 002166 fetch 2 ,mem_rx_window 
+0xd1c 002167 rshift pdata ,pdata 
+0xd1d 002168 fetcht 2 ,mem_param_pll_setup 
+0xd1e 002169 iadd temp ,pdata 
+0xd1f 002170 call ahead_window 
+0xd20 002171 call fetch_extm_bt_adr 
+0xd21 002172 force 0x03 ,freq_mode 
+0xd22 002173 call rx_radio_freq 
+0xd23 002174 call init_rx_packet_flags 
+0xd24 002175 call prep_crypt 
+0xd25 002176 bpatch patch09_6 ,mem_patch09 
+0xd26 002177 fetch 2 ,mem_rx_window 
+0xd27 002178 rshift pdata ,pdata 
+0xd28 002179 call ahead_window 
+0xd29 002180 call start_receiver 
+0xd2a 002181 enable decode_fec0 
+0xd2b 002182 fetch 2 ,mem_rx_window 
+0xd2c 002183 fetcht 2 ,mem_param_clke_cal 
+0xd2d 002184 iadd temp ,stop_watch 
+0xd2e 002185 correlate null ,timeout 
+0xd2f 002186 copy clke ,temp 
+0xd30 002187 storet 6 ,mem_sync_clke 
+0xd31 002188 disable decode_fec0 
+0xd32 002189 nrtn sync 
+0xd33 002190 fetch 2 ,mem_param_clke_cal 
+0xd34 002191 copy pdata ,clke_rt 
+0xd35 002192 copy bt_clk ,clke_bt 
+0xd36 002193 branch lpm_adjust_clk ,wake 
+0xd37 002194 rtn 
+:      002197 slave_conn_recv_packet:
+0xd38 002198 bpatch patch09_7 ,mem_patch09 
+0xd39 002199 call slave_receive_master_slot 
+0xd3a 002200 nbranch shutdown_radio ,sync 
+0xd3b 002201 call save_rssi 
+0xd3c 002202 bmark0 mark_testmode ,receive_packet 
+0xd3d 002203 fetch 2 ,mem_tst_pktcnt_sync 
+0xd3e 002204 increase 1 ,pdata 
+0xd3f 002205 store 2 ,mem_tst_pktcnt_sync 
+:      002206 receive_packet:
+0xd40 002207 call rf_debug_rx_sync_line 
+0xd41 002208 rshift bt_clk ,temp 
+0xd42 002209 or temp ,0x40 ,white_init 
+:      002210 receive_packet_whitened:
+0xd43 002211 bpatch patch0a_0 ,mem_patch0a 
+0xd44 002212 enable enable_white 
+0xd45 002213 enable enable_hec 
+0xd46 002214 enable decode_fec1 
+0xd47 002215 parse demod ,bucket ,3 
+0xd48 002216 rshift8 pwindow ,pdata 
+0xd49 002217 store 1 ,mem_temp_am_addr 
+0xd4a 002218 parse demod ,bucket ,4 
+0xd4b 002219 inject bucket ,7 
+0xd4c 002220 copy pwindow ,pdata 
+0xd4d 002221 store 1 ,mem_rx_type 
+0xd4e 002222 parse demod ,bucket ,3 
+0xd4f 002223 rshift8 pwindow ,pdata 
+0xd50 002224 store 1 ,mem_temp_arq 
+0xd51 002225 fetch 1 ,mem_rx_type 
+0xd52 002226 sub pdata ,3 ,null 
+0xd53 002227 branch receive_packet_noedr ,positive 
+0xd54 002228 beq 7 ,receive_packet_noedr 
+0xd55 002229 fetch 1 ,mem_state_map 
+0xd56 002230 isolate1 smap_edr ,pdata 
+0xd57 002231 setflag true ,psk ,radio_ctrl 
+:      002232 receive_packet_noedr:
+0xd58 002233 bpatch patch0a_1 ,mem_patch0a 
+0xd59 002234 parse demod ,bucket ,8 
+0xd5a 002235 disable decode_fec1 
+0xd5b 002236 disable enable_hec 
+0xd5c 002237 branch error_header ,crc_failed 
+0xd5d 002238 bmark0 mark_testmode ,receive_packet_amchk 
+0xd5e 002239 fetch 2 ,mem_tst_pktcnt_hec 
+0xd5f 002240 increase 1 ,pdata 
+0xd60 002241 store 2 ,mem_tst_pktcnt_hec 
+:      002242 receive_packet_amchk:
+0xd61 002243 bpatch patch0a_2 ,mem_patch0a 
+0xd62 002244 fetch 1 ,mem_temp_am_addr 
+0xd63 002245 compare 0 ,pdata ,0x07 
+0xd64 002246 setflag true ,mark_am_addr_broadcast ,mark 
+0xd65 002247 branch am_addr_ok ,true 
+0xd66 002248 icompare 0x07 ,am_addr 
+0xd67 002249 branch am_addr_match ,true 
+0xd68 002250 bmark0 mark_esco ,end_of_packet 
+0xd69 002251 fetch 1 ,mem_arq 
+0xd6a 002252 set0 arqnx ,pdata 
+0xd6b 002253 set1 flowx ,pdata 
+0xd6c 002254 store 1 ,mem_arq 
+:      002255 am_addr_match:
+0xd6d 002256 call rf_debug_rx_match_line 
+0xd6e 002257 enable match 
+:      002258 am_addr_ok:
+0xd6f 002259 bpatch patch0a_3 ,mem_patch0a 
+0xd70 002260 fetch 1 ,mem_rx_type 
+0xd71 002261 icopy type 
+0xd72 002262 bmark1 mark_am_addr_broadcast ,arqn_bypass 
+0xd73 002263 fetcht 1 ,mem_temp_arq 
+0xd74 002264 fetch 1 ,mem_arq 
+0xd75 002265 set0 flow ,pdata 
+0xd76 002266 isolate1 flow ,temp 
+0xd77 002267 setflag true ,flow ,pdata 
+0xd78 002268 isolate1 arqn ,temp 
+0xd79 002269 setflag true ,arqn ,pdata 
+0xd7a 002270 store 1 ,mem_arq 
+0xd7b 002271 isolate0 arqn ,temp 
+0xd7c 002272 branch arqn_bypass ,true 
+0xd7d 002273 call clear_got_tx 
+:      002274 arqn_bypass:
+0xd7e 002275 bpatch patch0a_4 ,mem_patch0a 
+0xd7f 002276 arg 0 ,temp 
+0xd80 002277 call reserve_slot 
+0xd81 002278 and type ,0xf ,pdata 
+0xd82 002279 beq type_poll ,process_poll 
+0xd83 002280 beq type_null ,end_of_packet 
+0xd84 002281 beq type_fhs ,process_fhs 
+0xd85 002282 fetcht 1 ,mem_temp_arq 
+0xd86 002283 fetch 1 ,mem_arq 
+0xd87 002284 icompare 0x04 ,temp 
+0xd88 002285 nbranch rx_type_dispatch ,true 
+0xd89 002286 bmark0 mark_am_addr_broadcast ,failed_seqn 
+0xd8a 002287 bbit0 bcast1 ,rx_type_dispatch 
+:      002288 failed_seqn:
+0xd8b 002289 set1 mark_old_packet ,mark 
+:      002290 rx_type_dispatch:
+0xd8c 002291 bpatch patch0a_5 ,mem_patch0a 
+0xd8d 002292 deposit type 
+0xd8e 002293 beq type_dm1 ,process_dm1 
+0xd8f 002294 beq type_dh1 ,process_dh1 
+0xd90 002295 beq type_3dh1 ,process_3dh1 
+0xd91 002296 arg 4 ,temp 
+0xd92 002297 call reserve_slot 
+0xd93 002298 beq type_dm3 ,process_dm3 
+0xd94 002299 beq type_dh3 ,process_dh3 
+0xd95 002300 arg 8 ,temp 
+0xd96 002301 call reserve_slot 
+0xd97 002302 beq type_dm5 ,process_dm5 
+0xd98 002303 beq type_dh5 ,process_dh5 
+0xd99 002304 rtn 
+:      002309 process_poll:
+0xd9a 002310 branch end_of_packet 
+:      002312 process_dm3:
+:      002313 process_dm5:
+0xd9b 002314 set1 mark_longpacket ,mark 
+:      002315 process_dm1:
+0xd9c 002316 enable decode_fec2 
+0xd9d 002317 branch process_dmh 
+:      002319 process_dh3:
+:      002320 process_dh5:
+0xd9e 002321 set1 mark_longpacket ,mark 
+:      002322 process_3dh1:
+0xd9f 002323 set1 psk3m ,radio_ctrl 
+:      002324 process_dh1:
+0xda0 002325 enable decode_fec0 
+:      002326 process_dmh:
+0xda1 002327 bpatch patch0a_6 ,mem_patch0a 
+0xda2 002328 bmark1 mark_first_packet ,end_of_packet 
+0xda3 002329 bmark1 mark_rxbuf_inuse ,end_of_packet 
+0xda4 002330 isolate0 psk ,radio_ctrl 
+0xda5 002331 branch process_dmh_noedr ,true 
+0xda6 002332 disable enable_white 
+0xda7 002333 enable decode_fec0 
+0xda8 002334 disable decode_fec2 
+0xda9 002335 add clkn_bt ,2 ,timeup 
+0xdaa 002336 correlate clkn_bt ,meet 
+0xdab 002337 nbranch error_payload ,sync 
+0xdac 002338 set1 mark_longpacket ,mark 
+0xdad 002339 enable enable_white 
+:      002340 process_dmh_noedr:
+0xdae 002341 bpatch patch0a_7 ,mem_patch0a 
+0xdaf 002342 enable encrypt 
+0xdb0 002343 enable enable_crc 
+0xdb1 002344 parse demod ,bucket ,3 
+0xdb2 002345 rshift8 pwindow ,pdata 
+0xdb3 002346 store 1 ,mem_lch_code 
+0xdb4 002347 parse demod ,bucket ,5 
+0xdb5 002348 bmark1 mark_longpacket ,process_dmh_long 
+0xdb6 002349 rshift3 pwindow ,loopcnt 
+0xdb7 002350 rshift3 loopcnt ,loopcnt 
+0xdb8 002351 branch process_dmh_common 
+:      002352 process_dmh_long:
+0xdb9 002353 parse demod ,bucket ,5 
+0xdba 002354 rshift pwindow ,loopcnt 
+0xdbb 002355 parse demod ,bucket ,3 
+:      002356 process_dmh_common:
+0xdbc 002357 bpatch patch0b_0 ,mem_patch0b 
+0xdbd 002358 deposit loopcnt 
+0xdbe 002359 store 2 ,mem_len 
+0xdbf 002360 branch process_dmh_data_0 ,blank 
+0xdc0 002361 call check_enc_ccm 
+0xdc1 002362 branch process_dmh_common2 ,blank 
+:      002363 process_dmh_common2_ccm:
+0xdc2 002364 increase 4 ,loopcnt 
+0xdc3 002365 deposit loopcnt 
+:      002366 process_dmh_common2:
+0xdc4 002367 isub mask3ff ,null 
+0xdc5 002368 branch error_payload ,positive 
+0xdc6 002369 bpatch patch0b_1 ,mem_patch0b 
+0xdc7 002370 set0 mark_fhs_eir ,mark 
+0xdc8 002371 fetch 1 ,mem_lch_code 
+0xdc9 002372 and_into 0x03 ,pdata 
+0xdca 002373 arg mem_rxbuf ,contw 
+0xdcb 002374 beq llid_lmp ,process_lmp 
+0xdcc 002375 bmark1 mark_testmode ,process_dmh_common2_testmode 
+0xdcd 002377 fetch 1 ,mem_lch_code 
+0xdce 002378 and_into 0x03 ,pdata 
+0xdcf 002379 beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+0xdd0 002380 beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+0xdd1 002381 branch error_payload 
+:      002383 process_dmh_common2_testmode:
+0xdd2 002384 arg mem_l2cap_rxbuff1 ,contw 
+0xdd3 002385 branch process_dmh_data 
+:      002387 process_dmh_data_0:
+0xdd4 002388 call check_enc_ccm 
+0xdd5 002389 branch process_dmh_data_end ,blank 
+0xdd6 002390 setarg 0 
+0xdd7 002391 store 2 ,mem_ccm_len 
+0xdd8 002392 parse demod ,bucket ,32 
+0xdd9 002393 rshift32 pdata ,pdata 
+0xdda 002394 rshift8 pdata ,pdata 
+0xddb 002395 store 4 ,mem_le_peer_mic 
+0xddc 002396 branch process_dmh_data_end 
+:      002399 check_enc_ccm:
+0xddd 002400 fetch 1 ,mem_state_map 
+0xdde 002401 bbit0 smap_encryption ,enable_blank 
+0xddf 002402 fetch 1 ,mem_encapsulated_minor_type 
+0xde0 002403 bne encapsulated_minor_type_p256 ,enable_blank 
+0xde1 002404 branch disable_blank 
+:      002406 process_lmp:
+0xde2 002407 fetch 2 ,mem_len 
+0xde3 002408 sub pdata ,17 ,null 
+0xde4 002409 nbranch error_payload ,positive 
+0xde5 002410 bmark1 mark_old_packet ,ack_payload 
+0xde6 002411 branch process_dmh_data 
+:      002414 process_dmh_data_l2cap_start_pkt:
+0xde7 002415 bpatch patch0b_2 ,mem_patch0b 
+0xde8 002416 bmark1 mark_old_packet ,ack_payload 
+0xde9 002417 fetch 2 ,mem_len 
+0xdea 002418 arg 0x2e0 ,temp 
+0xdeb 002419 isub temp ,null 
+0xdec 002420 branch error_payload ,positive 
+0xded 002421 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xdee 002422 bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+0xdef 002423 bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+0xdf0 002424 branch end_of_packet 
+:      002425 process_dmh_data_into_buff1:
+0xdf1 002426 jam 1 ,mem_l2cap_rxbuff_new 
+0xdf2 002427 fetch 2 ,mem_l2cap_rxbuff1_len 
+0xdf3 002428 bne 0 ,end_of_packet 
+0xdf4 002429 arg mem_l2cap_rxbuff1 ,contw 
+0xdf5 002430 branch process_dmh_data 
+:      002431 process_dmh_data_into_buff2:
+0xdf6 002432 jam 2 ,mem_l2cap_rxbuff_new 
+0xdf7 002433 fetch 2 ,mem_l2cap_rxbuff2_len 
+0xdf8 002434 bne 0 ,end_of_packet 
+0xdf9 002435 arg mem_l2cap_rxbuff2 ,contw 
+0xdfa 002436 branch process_dmh_data 
+:      002438 process_dmh_data_l2cap_continue_pkt:
+0xdfb 002439 bpatch patch0b_3 ,mem_patch0b 
+0xdfc 002440 bmark1 mark_old_packet ,ack_payload 
+0xdfd 002441 fetch 2 ,mem_len 
+0xdfe 002442 arg 0x2e0 ,temp 
+0xdff 002443 isub temp ,null 
+0xe00 002444 branch error_payload ,positive 
+0xe01 002445 fetch 1 ,mem_l2cap_rxbuff_new 
+0xe02 002446 beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+0xe03 002447 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+0xe04 002448 branch end_of_packet 
+:      002449 process_dmh_data_l2cap_continue_pkt1:
+0xe05 002450 arg mem_l2cap_rxbuff1 ,contw 
+0xe06 002451 fetch 2 ,mem_l2cap_rxbuff1_len 
+0xe07 002452 iadd contw ,contw 
+0xe08 002453 branch process_dmh_data 
+:      002454 process_dmh_data_l2cap_continue_pkt2:
+0xe09 002455 arg mem_l2cap_rxbuff2 ,contw 
+0xe0a 002456 fetch 2 ,mem_l2cap_rxbuff2_len 
+0xe0b 002457 iadd contw ,contw 
+:      002458 process_dmh_data:
+0xe0c 002459 parse demod ,bucket ,8 
+0xe0d 002460 rshift3 pwindow ,pdata 
+0xe0e 002461 istore 1 ,contw 
+0xe0f 002462 loop process_dmh_data 
+:      002463 process_dmh_data_end:
+0xe10 002464 bpatch patch0b_4 ,mem_patch0b 
+0xe11 002465 parse demod ,bucket ,16 
+0xe12 002466 branch error_payload_crc ,crc_failed 
+0xe13 002467 call check_enc_ccm 
+0xe14 002468 call enable_user2 
+0xe15 002469 ncall ccm_br_decrypt_new ,blank 
+0xe16 002470 nbranch error_mic_error ,user2 
+0xe17 002471 call rf_debug_rx_crc_line 
+0xe18 002473 fetch 1 ,mem_l2cap_flow_ctrl_flag 
+0xe19 002474 beq l2cap_flow_ctrl_enable ,flow_ctrl 
+0xe1a 002476 bmark1 mark_testmode ,process_dmh_cont 
+0xe1b 002477 bmark1 mark_old_packet ,redundant_payload 
+0xe1c 002478 fetch 1 ,mem_lch_code 
+0xe1d 002479 compare 3 ,pdata ,3 
+0xe1e 002480 branch process_dmh_cont ,true 
+0xe1f 002481 fetch 2 ,mem_len 
+0xe20 002482 branch process_dmh_cont ,blank 
+0xe21 002483 bpatch patch0b_5 ,mem_patch0b 
+0xe22 002484 fetch 1 ,mem_l2cap_rxbuff_new 
+0xe23 002485 beq 1 ,process_l2cap_pass_crc_buff1 
+0xe24 002486 beq 2 ,process_l2cap_pass_crc_buff2 
+0xe25 002487 branch assert 
+:      002488 process_l2cap_pass_crc_buff1:
+0xe26 002489 fetch 2 ,mem_l2cap_rxbuff1_len 
+0xe27 002490 fetcht 2 ,mem_len 
+0xe28 002491 iadd temp ,pdata 
+0xe29 002492 store 2 ,mem_l2cap_rxbuff1_len 
+0xe2a 002493 rtn blank 
+0xe2b 002494 fetcht 2 ,mem_l2cap_rxbuff1 
+0xe2c 002495 increase 4 ,temp 
+0xe2d 002496 isub temp ,null 
+0xe2e 002497 call l2cap_buff1_inuse ,zero 
+0xe2f 002498 branch process_dmh_cont 
+:      002499 process_l2cap_pass_crc_buff2:
+0xe30 002500 fetch 2 ,mem_l2cap_rxbuff2_len 
+0xe31 002501 fetcht 2 ,mem_len 
+0xe32 002502 iadd temp ,pdata 
+0xe33 002503 store 2 ,mem_l2cap_rxbuff2_len 
+0xe34 002504 rtn blank 
+0xe35 002505 fetcht 2 ,mem_l2cap_rxbuff2 
+0xe36 002506 add temp ,4 ,temp 
+0xe37 002507 isub temp ,null 
+0xe38 002508 call l2cap_buff2_inuse ,zero 
+:      002510 process_dmh_cont:
+0xe39 002511 bpatch patch0b_6 ,mem_patch0b 
+0xe3a 002512 fetcht 1 ,mem_state_map 
+0xe3b 002513 fetch 1 ,mem_lch_code 
+0xe3c 002514 compare 3 ,pdata ,0x03 
+0xe3d 002515 setflag true ,smap_rxlmp ,temp 
+0xe3e 002516 nsetflag true ,smap_rxl2cap ,temp 
+0xe3f 002517 storet 1 ,mem_state_map 
+0xe40 002518 nbranch process_dmh_cont_rxbuf_not_use ,true 
+0xe41 002519 set1 mark_rxbuf_inuse ,mark 
+:      002520 process_dmh_cont_rxbuf_not_use:
+0xe42 002521 bmark0 mark_testmode ,ack_payload 
+0xe43 002522 isolate1 smap_rxlmp ,temp 
+0xe44 002523 branch ack_payload ,true 
+0xe45 002524 fetch 2 ,mem_tst_pktcnt_crc 
+0xe46 002525 increase 1 ,pdata 
+0xe47 002526 store 2 ,mem_tst_pktcnt_crc 
+0xe48 002527 set1 mark_loopback ,mark 
+0xe49 002528 set0 smap_rxl2cap ,temp 
+0xe4a 002529 set0 mark_rxbuf_inuse ,mark 
+0xe4b 002530 storet 1 ,mem_state_map 
+:      002531 ack_payload:
+0xe4c 002532 bpatch patch0b_7 ,mem_patch0b 
+0xe4d 002533 call check_enc_ccm 
+0xe4e 002534 ncall ccm_br_pcnt_rx_add ,blank 
+0xe4f 002535 fetcht 1 ,mem_temp_arq 
+0xe50 002536 fetch 1 ,mem_arq 
+0xe51 002537 set1 arqnx ,pdata 
+0xe52 002538 isolate1 seqn ,temp 
+0xe53 002539 setflag true ,seqn ,pdata 
+0xe54 002540 isolate1 mark_am_addr_broadcast ,mark 
+0xe55 002541 setflag true ,bcast1 ,pdata 
+0xe56 002542 store 1 ,mem_arq 
+0xe57 002543 fetch 2 ,mem_len 
+0xe58 002544 nbranch end_of_packet ,blank 
+0xe59 002545 fetch 1 ,mem_state_map 
+0xe5a 002546 set0 smap_rxl2cap ,pdata 
+0xe5b 002547 store 1 ,mem_state_map 
+0xe5c 002548 fetch 1 ,mem_lch_code 
+0xe5d 002549 compare 0x01 ,pdata ,0x07 
+0xe5e 002551 branch end_of_packet 
+:      002553 error_header:
+0xe5f 002554 bpatch patch0c_0 ,mem_patch0c 
+0xe60 002555 disable match 
+0xe61 002556 fetch 2 ,mem_rx_hec_err 
+0xe62 002557 increase 1 ,pdata 
+0xe63 002558 store 2 ,mem_rx_hec_err 
+0xe64 002559 branch end_of_packet 
+:      002560 error_payload_crc:
+0xe65 002561 fetch 2 ,mem_rx_crc_err 
+0xe66 002562 increase 1 ,pdata 
+0xe67 002563 store 2 ,mem_rx_crc_err 
+0xe68 002564 call discard_pkt 
+0xe69 002565 bmark0 mark_testmode ,error_payload 
+0xe6a 002566 set1 mark_loopback ,mark 
+:      002567 error_payload:
+0xe6b 002568 branch end_of_packet 
+:      002570 flow_ctrl:
+:      002571 error_mic_error:
+0xe6c 002572 branch error_payload_crc 
+:      002575 discard_pkt:
+0xe6d 002576 bpatch patch0c_1 ,mem_patch0c 
+0xe6e 002577 fetch 1 ,mem_lch_code 
+0xe6f 002578 compare 3 ,pdata ,0x03 
+0xe70 002579 nbranch discard_pkt_l2cap ,true 
+:      002580 discard_pkt_lmp:
+0xe71 002581 fetcht 1 ,mem_state_map 
+0xe72 002582 set0 smap_rxlmp ,temp 
+0xe73 002583 storet 1 ,mem_state_map 
+0xe74 002584 rtn 
+:      002585 discard_pkt_l2cap:
+0xe75 002588 fetcht 1 ,mem_state_map 
+0xe76 002589 set0 smap_rxl2cap ,temp 
+0xe77 002590 storet 1 ,mem_state_map 
+0xe78 002591 rtn 
+:      002593 redundant_payload:
+0xe79 002594 fetch 1 ,mem_arq 
+0xe7a 002595 set1 arqnx ,pdata 
+0xe7b 002596 store 1 ,mem_arq 
+:      002597 end_of_packet:
+0xe7c 002598 bpatch patch0c_2 ,mem_patch0c 
+0xe7d 002599 disable encode_fec0 
+0xe7e 002600 disable encode_fec2 
+0xe7f 002601 disable decode_fec0 
+0xe80 002602 disable decode_fec2 
+0xe81 002603 disable enable_crc 
+0xe82 002604 disable encrypt 
+0xe83 002605 disable enable_white 
+0xe84 002606 branch shutdown_radio ,is_rx 
+0xe85 002607 until null ,tx_clear 
+0xe86 002608 nop 100 
+0xe87 002609 branch shutdown_radio 
+:      002611 process_fhs:
+0xe88 002612 bpatch patch0c_3 ,mem_patch0c 
+0xe89 002613 enable enable_crc 
+0xe8a 002614 enable decode_fec2 
+0xe8b 002615 parse demod ,bucket ,72 
+0xe8c 002616 isolate1 58 ,pdata 
+0xe8d 002617 setflag true ,mark_fhs_eir ,mark 
+0xe8e 002618 copy bt_adr ,temp 
+0xe8f 002619 ialigned bt_adr 
+0xe90 002620 ialigned fhs0 
+0xe91 002621 pulse recalc 
+0xe92 002622 setsect 2 ,0xfffff 
+0xe93 002623 setsect 3 ,0x0ffff 
+0xe94 002624 nop 32 
+0xe95 002625 iverify fhs_parity 
+0xe96 002626 deposit lap 
+0xe97 002627 store 3 ,extm_lap 
+0xe98 002628 deposit uap 
+0xe99 002629 store 1 ,extm_uap 
+0xe9a 002630 copy temp ,bt_adr 
+0xe9b 002631 branch fhs_parity_ok ,true 
+0xe9c 002632 branch error_payload 
+:      002633 fhs_parity_ok:
+0xe9d 002634 bpatch patch0c_4 ,mem_patch0c 
+0xe9e 002635 parse demod ,bucket ,72 
+0xe9f 002636 ialigned fhs1 
+0xea0 002637 ialigned am_addr 
+0xea1 002638 ialigned nap 
+0xea2 002639 ialigned regb 
+0xea3 002640 force 0 ,pdata 
+0xea4 002641 parse demod ,bucket ,16 
+0xea5 002642 branch error_payload ,crc_failed 
+0xea6 002643 call rf_debug_rx_crc_line 
+0xea7 002644 setarg 0x0ffffffc 
+0xea8 002645 iand regb ,pdata 
+0xea9 002646 store 4 ,mem_clke_bt 
+0xeaa 002647 deposit fhs_class 
+0xeab 002648 store 3 ,extm_class 
+0xeac 002649 deposit fhs_misc 
+0xead 002650 store 1 ,extm_fhs_misc 
+0xeae 002651 deposit am_addr 
+0xeaf 002652 store 1 ,extm_newconn_am_addr 
+0xeb0 002653 deposit nap 
+0xeb1 002654 store 2 ,extm_nap 
+0xeb2 002655 deposit bt_clk 
+0xeb3 002656 inject rxf ,32 
+0xeb4 002657 compare type_fhs ,type ,0x0f 
+0xeb5 002658 setflag true ,mark_fhs_already_good ,mark 
+0xeb6 002659 branch end_of_packet 
+:      002661 clear_got_tx:
+0xeb7 002662 bpatch patch0c_5 ,mem_patch0c 
+0xeb8 002663 fetch 1 ,mem_arq 
+0xeb9 002664 rtnbit0 wack 
+0xeba 002665 set0 wack ,pdata 
+0xebb 002666 setflip seqnx ,pdata 
+0xebc 002667 store 1 ,mem_arq 
+0xebd 002668 call check_enc_ccm 
+0xebe 002669 ncall ccm_br_pcnt_tx_add ,blank 
+0xebf 002670 fetch 1 ,mem_last_type 
+0xec0 002671 beq type_lmp ,clear_got_txlmp 
+0xec1 002672 rtneq type_hv3 
+0xec2 002673 fetch 1 ,mem_op 
+0xec3 002674 rtnbit0 op_txl2cap ,pdata 
+0xec4 002675 set0 op_txl2cap ,pdata 
+0xec5 002676 set1 op_pkt_comp ,pdata 
+0xec6 002677 store 1 ,mem_op 
+0xec7 002678 set0 mark_tx_l2cap ,mark 
+0xec8 002679 fetch 2 ,mem_l2cap_tx_multi_offset 
+0xec9 002680 nrtn blank 
+0xeca 002681 fetch 1 ,mem_op 
+0xecb 002682 set0 op_pkt_comp ,pdata 
+0xecc 002683 store 1 ,mem_op 
+0xecd 002684 branch l2cap_malloc_free 
+:      002686 clear_got_txlmp:
+0xece 002687 bpatch patch0c_6 ,mem_patch0c 
+0xecf 002688 fetch 1 ,mem_lmo_header_opcode_x 
+0xed0 002689 rshift pdata ,pdata 
+0xed1 002690 beq lmp_start_encryption_req ,start_encryption 
+0xed2 002691 beq lmp_stop_encryption_req ,stop_encryption 
+0xed3 002692 beq lmp_unsniff_req ,sniff_exit 
+0xed4 002693 beq lmp_escape ,clear_lmp_escape 
+0xed5 002694 rtnne lmp_accepted 
+0xed6 002695 fetch 1 ,mem_lmo_payload 
+0xed7 002696 beq lmp_start_encryption_req ,clear_send_setup_complete 
+0xed8 002697 rtn 
+:      002699 clear_lmp_escape:
+0xed9 002700 fetch 1 ,mem_lmo_payload 
+0xeda 002701 set1 7 ,pdata 
+0xedb 002702 rtn 
+:      002703 clear_send_setup_complete:
+0xedc 002704 rtn master 
+0xedd 002705 fetch 1 ,mem_state 
+0xede 002706 rtnbit1 state_conn_comp 
+0xedf 002707 jam lmp_setup_complete ,mem_lmo_opcode2 
+0xee0 002708 rtn 
+:      002711 start_encryption:
+0xee1 002712 bpatch patch0c_7 ,mem_patch0c 
+0xee2 002713 fetch 1 ,mem_state_map 
+0xee3 002714 set1 smap_encryption ,pdata 
+0xee4 002715 store 1 ,mem_state_map 
+0xee5 002716 jam 1 ,core_encrypt 
+0xee6 002717 force 0 ,pdata 
+0xee7 002718 store 5 ,mem_ccm_pcnt_rx 
+0xee8 002719 set1 br_ccm_directionbit ,pdata 
+0xee9 002720 store 5 ,mem_ccm_pcnt_tx 
+0xeea 002721 rtn 
+:      002723 stop_encryption:
+0xeeb 002724 bpatch patch0d_0 ,mem_patch0d 
+0xeec 002725 fetch 1 ,mem_state_map 
+0xeed 002726 set0 smap_encryption ,pdata 
+0xeee 002727 store 1 ,mem_state_map 
+0xeef 002728 jam 0 ,core_encrypt 
+0xef0 002729 rtn 
+:      002732 sniff_init:
+0xef1 002733 bpatch patch0d_1 ,mem_patch0d 
+0xef2 002734 add clkn_bt ,3 ,rega 
+0xef3 002735 branch sniff_init_master ,master 
+0xef4 002736 add clke_bt ,3 ,rega 
+:      002737 sniff_init_master:
+0xef5 002738 fetcht 2 ,mem_tsniff 
+0xef6 002739 deposit rega 
+0xef7 002740 set0 27 ,pdata 
+0xef8 002741 idiv temp 
+0xef9 002742 fetch 2 ,mem_dsniff 
+0xefa 002743 call wait_div_end 
+0xefb 002744 remainder regc 
+0xefc 002745 isub regc ,pdata 
+0xefd 002746 branch sniff_init_nowrap ,positive 
+0xefe 002747 iadd temp ,pdata 
+:      002748 sniff_init_nowrap:
+0xeff 002749 iadd rega ,pdata 
+0xf00 002750 store 4 ,mem_sniff_anchor 
+0xf01 002751 jam switch_flag_init ,mem_switch_flag 
+0xf02 002752 fetch 1 ,mem_state 
+0xf03 002753 set1 state_insniff ,pdata 
+0xf04 002754 store 1 ,mem_state 
+0xf05 002755 fetch 1 ,mem_sniff_attempt 
+0xf06 002756 store 1 ,mem_current_sniff_attempt 
+0xf07 002757 setarg 0 
+0xf08 002758 store 3 ,mem_sniff_rcv 
+0xf09 002759 store 3 ,mem_sniff_lost 
+0xf0a 002760 store 1 ,mem_sniff_unint_lost 
+0xf0b 002761 jam bt_evt_enter_sniff ,mem_fifo_temp 
+0xf0c 002762 call ui_ipc_send_event 
+0xf0d 002763 fetch 2 ,mem_rx_window_sniff 
+0xf0e 002764 store 2 ,mem_rx_window 
+0xf0f 002765 nrtn master 
+0xf10 002766 add am_addr ,-1 ,queue 
+0xf11 002767 rtn 
+:      002769 sniff_exit:
+0xf12 002770 bpatch patch0d_2 ,mem_patch0d 
+0xf13 002771 fetch 1 ,mem_state 
+0xf14 002772 rtnbit0 state_insniff 
+0xf15 002773 set0 state_insniff ,pdata 
+0xf16 002774 store 1 ,mem_state 
+0xf17 002775 fetch 2 ,mem_rx_window_init 
+0xf18 002776 store 2 ,mem_rx_window 
+0xf19 002777 disable wake 
+0xf1a 002778 jam bt_evt_exit_sniff ,mem_fifo_temp 
+0xf1b 002779 branch ui_ipc_send_event 
+:      002782 check_attempt:
+0xf1c 002783 bpatch patch0d_3 ,mem_patch0d 
+0xf1d 002784 enable attempt 
+0xf1e 002785 fetch 1 ,mem_state 
+0xf1f 002786 bbit1 state_insniff ,check_attempt_sniff 
+0xf20 002787 rtnmark1 mark_testmode 
+0xf21 002788 fetch 1 ,mem_arq 
+0xf22 002789 rtnbit1 wack 
+0xf23 002790 fetch 1 ,mem_lmp_to_send 
+0xf24 002791 nrtn blank 
+0xf25 002792 fetch 1 ,mem_op 
+0xf26 002793 rtnbit1 op_txl2cap 
+:      002794 check_attempt_nomore:
+0xf27 002795 force 0 ,pdata 
+0xf28 002796 rtn 
+:      002798 check_attempt_sniff:
+0xf29 002799 bbit0 state_insco ,check_attempt_not_sco 
+0xf2a 002800 fetch 1 ,mem_current_sniff_attempt 
+0xf2b 002801 beq 2 ,check_attempt_sniff_restore_sco 
+0xf2c 002802 fetch 1 ,mem_arq 
+0xf2d 002803 bbit1 wack ,check_attempt_notimeout 
+0xf2e 002804 bmark0 mark_esco_rxok ,check_attempt_notimeout 
+:      002805 check_attempt_sniff_restore_sco:
+0xf2f 002806 nbranch check_attempt_notimeout ,master 
+0xf30 002807 fetch 1 ,mem_lmp_to_send 
+0xf31 002808 nbranch check_attempt_notimeout ,blank 
+:      002809 check_attempt_sco_master:
+0xf32 002810 branch check_attempt_nomore 
+:      002817 check_attempt_not_sco:
+0xf33 002818 fetch 1 ,mem_current_sniff_attempt 
+0xf34 002819 bne 1 ,check_attempt_notimeout 
+0xf35 002820 fetch 1 ,mem_current_sniff_timeout 
+0xf36 002821 branch check_attempt_notimeout ,blank 
+0xf37 002822 increase -1 ,pdata 
+0xf38 002823 store 1 ,mem_current_sniff_timeout 
+0xf39 002824 fetch 1 ,mem_arq 
+0xf3a 002825 rtnbit1 wack 
+0xf3b 002826 nrtn match 
+:      002827 check_attempt_notimeout:
+0xf3c 002828 fetch 1 ,mem_current_sniff_attempt 
+0xf3d 002829 increase -1 ,pdata 
+0xf3e 002830 store 1 ,mem_current_sniff_attempt 
+0xf3f 002831 rtn 
+:      002842 sniff_check_window:
+0xf40 002843 bpatch patch0d_4 ,mem_patch0d 
+0xf41 002844 disable swfine 
+0xf42 002845 copy temp ,stop_watch 
+0xf43 002846 call context_search_sniff_window 
+0xf44 002847 disable user 
+0xf45 002848 nrtn zero 
+0xf46 002849 force 0 ,stop_watch 
+0xf47 002850 enable user 
+0xf48 002851 rtn 
+:      002854 check_esco_amaddr:
+0xf49 002855 fetch 1 ,mem_esco_addr 
+0xf4a 002856 icompare 0xff ,am_addr 
+0xf4b 002857 rtn 
+:      002860 parse_l2cap:
+0xf4c 002861 bpatch patch0d_5 ,mem_patch0d 
+0xf4d 002862 set0 mark_rxbuf_inuse ,mark 
+:      002863 parse_l2cap_cont:
+0xf4e 002864 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0xf4f 002865 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf50 002866 rtn blank 
+0xf51 002867 isolate1 l2cap_inuse_buff1 ,pdata 
+0xf52 002868 arg mem_l2cap_rxbuff1 ,contr 
+0xf53 002869 call process_rx_l2cap_pkt ,true 
+0xf54 002870 bpatch patch0d_6 ,mem_patch0d 
+0xf55 002871 fetch 1 ,mem_l2cap_rx_done 
+0xf56 002872 beq l2cap_rx_done ,parse_l2cap_release_buff1 
+0xf57 002874 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0xf58 002875 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf59 002876 rtnbit0 l2cap_inuse_buff2 
+0xf5a 002877 arg mem_l2cap_rxbuff2 ,contr 
+0xf5b 002878 call process_rx_l2cap_pkt 
+0xf5c 002879 fetch 1 ,mem_l2cap_rx_done 
+0xf5d 002880 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+0xf5e 002881 rtn 
+:      002883 parse_l2cap_release_buff1:
+0xf5f 002884 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf60 002885 set0 l2cap_inuse_buff1 ,pdata 
+0xf61 002886 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf62 002887 setarg 0 
+0xf63 002888 store 2 ,mem_l2cap_rxbuff1_len 
+0xf64 002889 rtn 
+:      002890 parse_l2cap_release_buff2:
+0xf65 002891 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf66 002892 set0 l2cap_inuse_buff2 ,pdata 
+0xf67 002893 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf68 002894 setarg 0 
+0xf69 002895 store 2 ,mem_l2cap_rxbuff2_len 
+0xf6a 002896 rtn 
+:      002898 l2cap_buff1_inuse:
+0xf6b 002899 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf6c 002900 set1 l2cap_inuse_buff1 ,pdata 
+0xf6d 002901 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf6e 002902 rtn 
+:      002904 l2cap_buff2_inuse:
+0xf6f 002905 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf70 002906 set1 l2cap_inuse_buff2 ,pdata 
+0xf71 002907 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf72 002908 rtn 
+:      002914 slave_send_access:
+0xf73 002915 bpatch patch0d_7 ,mem_patch0d 
+0xf74 002916 add clke_bt ,1 ,bt_clk 
+0xf75 002917 call fetch_extm_bt_adr 
+0xf76 002918 force 0x03 ,freq_mode 
+0xf77 002919 call tx_radio_freq 
+0xf78 002920 call start_transmitter 
+0xf79 002921 call start_tx_external 
+0xf7a 002922 branch send_access_word 
+:      002925 slave_conn_send_packet:
+0xf7b 002926 bpatch patch0e_0 ,mem_patch0e 
+0xf7c 002927 call rf_setup_time_slave_slot 
+0xf7d 002928 deposit clke_bt 
+0xf7e 002929 fetcht 4 ,mem_next_btclk 
+0xf7f 002930 isub temp ,pdata 
+0xf80 002931 rtnne 1 
+0xf81 002932 compare type_null ,type ,0x1f 
+0xf82 002933 nbranch slave_conn_send_access ,true 
+0xf83 002934 fetch 1 ,mem_rx_type 
+0xf84 002935 rtn blank 
+:      002936 slave_conn_send_access:
+0xf85 002937 call slave_send_access 
+:      002938 transmit_packet:
+0xf86 002939 compare type_id ,type ,0x1f 
+0xf87 002940 branch end_of_packet ,true 
+0xf88 002941 rshift bt_clk ,temp 
+0xf89 002942 or temp ,0x40 ,white_init 
+:      002943 transmit_packet_whitened:
+0xf8a 002944 bpatch patch0e_1 ,mem_patch0e 
+0xf8b 002945 enable enable_white 
+0xf8c 002946 enable enable_hec 
+0xf8d 002947 enable encode_fec1 
+0xf8e 002948 set0 mark_longpacket ,mark 
+0xf8f 002949 deposit am_addr 
+0xf90 002950 inject mod ,3 
+0xf91 002951 deposit type 
+0xf92 002952 inject mod ,4 
+0xf93 002953 fetch 1 ,mem_arq 
+0xf94 002954 inject bucket ,4 
+0xf95 002955 inject mod ,3 
+0xf96 002956 enable enable_parity 
+0xf97 002957 inject mod ,8 
+0xf98 002958 disable encode_fec1 
+0xf99 002959 disable enable_parity 
+0xf9a 002960 disable enable_hec 
+0xf9b 002961 set0 psk3m ,radio_ctrl 
+0xf9c 002962 arg 0 ,temp 
+0xf9d 002963 call reserve_slot 
+0xf9e 002964 bpatch patch0e_2 ,mem_patch0e 
+0xf9f 002965 and type ,0x1f ,pdata 
+0xfa0 002966 beq type_lmp ,transmit_lmp 
+0xfa1 002967 beq type_null ,end_of_packet 
+0xfa2 002968 beq type_poll ,end_of_packet 
+0xfa3 002969 beq type_fhs ,transmit_fhs 
+0xfa4 002970 beq type_dm1 ,transmit_dm1 
+0xfa5 002971 beq type_dh1 ,transmit_dh1 
+0xfa6 002972 beq type_3dh1 ,transmit_3dh1 
+0xfa7 002973 arg 4 ,temp 
+0xfa8 002974 call reserve_slot 
+0xfa9 002975 beq type_dm3 ,transmit_dm3 
+0xfaa 002976 beq type_dh3 ,transmit_dh3 
+0xfab 002977 arg 8 ,temp 
+0xfac 002978 call reserve_slot 
+0xfad 002979 beq type_dh5 ,transmit_dh5 
+0xfae 002980 branch transmit_dm5 
+:      002984 transmit_fhs:
+0xfaf 002985 bpatch patch0e_3 ,mem_patch0e 
+0xfb0 002986 fetch 1 ,mem_fhs_am_addr 
+0xfb1 002987 icopy am_addr 
+0xfb2 002988 fetch 1 ,mem_fhs_misc 
+0xfb3 002989 icopy fhs_misc 
+0xfb4 002990 fetch 3 ,mem_class 
+0xfb5 002991 icopy fhs_class 
+0xfb6 002992 fetch 2 ,mem_nap 
+0xfb7 002993 icopy nap 
+0xfb8 002994 enable enable_crc 
+0xfb9 002995 enable encode_fec2 
+0xfba 002996 copy bt_adr ,rega 
+0xfbb 002997 call fetch_self_bt_adr 
+0xfbc 002998 pulse recalc 
+0xfbd 002999 nop 32 
+0xfbe 003000 copy bt_clk ,timeup 
+0xfbf 003001 fetch 4 ,mem_clkn_bt 
+0xfc0 003002 icopy bt_clk 
+0xfc1 003003 preload fhs0 
+0xfc2 003004 set1 58 ,pdata 
+0xfc3 003005 inject mod ,72 
+0xfc4 003006 preload fhs1 
+0xfc5 003007 inject mod ,72 
+0xfc6 003008 copy timeup ,bt_clk 
+0xfc7 003009 copy rega ,bt_adr 
+0xfc8 003010 enable enable_parity 
+0xfc9 003011 inject mod ,16 
+0xfca 003012 disable enable_parity 
+0xfcb 003013 branch end_of_packet 
+:      003015 transmit_lmp_ccm:
+0xfcc 003016 disable encrypt 
+0xfcd 003017 branch transmit_lmp_common 
+:      003019 transmit_lmp:
+0xfce 003020 bpatch patch0e_4 ,mem_patch0e 
+0xfcf 003021 call check_enc_ccm 
+0xfd0 003022 nbranch transmit_lmp_ccm ,blank 
+0xfd1 003023 enable encrypt 
+:      003024 transmit_lmp_common:
+0xfd2 003025 enable enable_crc 
+0xfd3 003026 enable encode_fec2 
+0xfd4 003027 fetch 1 ,mem_lmo_header_length 
+0xfd5 003028 and pdata ,0x1f8 ,temp 
+0xfd6 003029 arg mem_lmo_header_length ,contr 
+0xfd7 003030 increase 8 ,temp 
+0xfd8 003031 rshift3 temp ,loopcnt 
+:      003032 transmit_lmp_loop:
+0xfd9 003033 ifetch 1 ,contr 
+0xfda 003034 inject mod ,8 
+0xfdb 003035 loop transmit_lmp_loop 
+0xfdc 003036 branch transmit_end 
+:      003039 transmit_dm1:
+0xfdd 003040 enable encode_fec2 
+0xfde 003041 branch transmit_dmh 
+:      003042 transmit_dm3:
+:      003043 transmit_dm5:
+0xfdf 003044 enable encode_fec2 
+0xfe0 003045 set1 mark_longpacket ,mark 
+0xfe1 003046 branch transmit_dmh 
+:      003048 transmit_3dh1:
+0xfe2 003049 set1 psk3m ,radio_ctrl 
+:      003050 transmit_dh1:
+0xfe3 003051 enable encode_fec0 
+0xfe4 003052 branch transmit_dmh 
+:      003054 transmit_dh3:
+:      003055 transmit_dh5:
+0xfe5 003056 set1 psk3m ,radio_ctrl 
+0xfe6 003057 enable encode_fec0 
+0xfe7 003058 set1 mark_longpacket ,mark 
+:      003060 transmit_dmh:
+0xfe8 003061 bpatch patch0e_5 ,mem_patch0e 
+0xfe9 003062 fetch 1 ,mem_state_map 
+0xfea 003063 bbit0 smap_edr ,transmit_noedr 
+0xfeb 003064 sub type ,3 ,null 
+0xfec 003065 branch transmit_noedr ,positive 
+0xfed 003066 disable encrypt 
+0xfee 003067 disable encode_fec2 
+0xfef 003068 enable encode_fec0 
+0xff0 003069 disable enable_white 
+0xff1 003070 set1 psk ,radio_ctrl 
+0xff2 003071 isolate1 psk3m ,radio_ctrl 
+0xff3 003072 branch transmit_edr3m ,true 
+0xff4 003073 setarg 0xabeee 
+0xff5 003074 inject mod ,20 
+0xff6 003075 branch transmit_edr_sync_end 
+:      003076 transmit_edr3m:
+0xff7 003077 setarg 0x5faeba 
+0xff8 003078 inject mod ,24 
+0xff9 003079 setarg 0x12 
+0xffa 003080 inject mod ,6 
+:      003081 transmit_edr_sync_end:
+0xffb 003082 enable enable_white 
+0xffc 003083 set1 mark_longpacket ,mark 
+:      003084 transmit_noedr:
+0xffd 003085 enable encrypt 
+0xffe 003086 enable enable_crc 
+0xfff 003087 bmark1 mark_loopback ,transmit_loopback 
+0x1000 003088 fetch 1 ,mem_tx_lch 
+0x1001 003089 inject mod ,3 
+0x1002 003090 fetch 2 ,mem_tx_len 
+0x1003 003091 iforce loopcnt 
+0x1004 003092 bmark1 mark_longpacket ,transmit_long 
+0x1005 003093 inject mod ,5 
+0x1006 003094 branch transmit_stuff 
+:      003095 transmit_long:
+0x1007 003096 inject mod ,13 
+:      003097 transmit_stuff:
+0x1008 003098 deposit loopcnt 
+0x1009 003099 branch transmit_end ,blank 
+0x100a 003100 fetch 2 ,mem_txptr 
+0x100b 003101 iforce contr 
+:      003102 transmit_stuff_loop:
+0x100c 003103 ifetch 1 ,contr 
+0x100d 003104 inject mod ,8 
+0x100e 003105 loop transmit_stuff_loop 
+:      003108 transmit_end:
+0x100f 003109 bpatch patch0e_6 ,mem_patch0e 
+0x1010 003110 call check_enc_ccm 
+0x1011 003111 branch transmit_end2 ,blank 
+0x1012 003112 fetch 4 ,mem_le_mic 
+0x1013 003113 inject mod ,32 
+:      003114 transmit_end2:
+0x1014 003115 enable enable_parity 
+0x1015 003116 inject mod ,16 
+0x1016 003117 disable enable_parity 
+0x1017 003118 call set_wait_ack 
+0x1018 003119 fetch 1 ,mem_state_map 
+0x1019 003120 bbit0 smap_edr ,end_of_packet 
+0x101a 003121 force 0 ,pdata 
+0x101b 003122 inject mod ,6 
+0x101c 003123 branch end_of_packet 
+:      003126 transmit_loopback:
+0x101d 003127 bpatch patch0e_7 ,mem_patch0e 
+0x101e 003128 bmark1 mark_longpacket ,transmit_loopback_long 
+:      003129 transmit_loopback_short:
+0x101f 003130 fetch 1 ,mem_lch_code 
+0x1020 003131 inject mod ,3 
+0x1021 003132 fetch 1 ,mem_len 
+0x1022 003133 iforce regc 
+0x1023 003134 inject mod ,5 
+0x1024 003135 branch transmit_loopback_cont 
+:      003136 transmit_loopback_long:
+0x1025 003137 fetch 1 ,mem_lch_code 
+0x1026 003138 inject mod ,3 
+0x1027 003139 fetch 2 ,mem_len 
+0x1028 003140 iforce regc 
+0x1029 003141 inject mod ,13 
+:      003142 transmit_loopback_cont:
+0x102a 003143 arg mem_l2cap_rxbuff1 ,contr 
+:      003144 transmit_loopback_loop:
+0x102b 003145 copy regc ,null 
+0x102c 003146 branch transmit_loopback_end ,zero 
+0x102d 003147 ifetch 1 ,contr 
+0x102e 003148 inject mod ,8 
+0x102f 003149 increase -1 ,regc 
+0x1030 003150 branch transmit_loopback_loop 
+:      003151 transmit_loopback_end:
+0x1031 003152 fetch 2 ,mem_tst_pktcnt_dmh 
+0x1032 003153 increase 1 ,pdata 
+0x1033 003154 store 2 ,mem_tst_pktcnt_dmh 
+0x1034 003155 branch transmit_end 
+:      003158 apply_switch_clke:
+0x1035 003159 fetch 4 ,mem_clke_bt 
+0x1036 003160 add pdata ,7 ,rega 
+0x1037 003161 fetch 2 ,mem_slot_offset 
+0x1038 003162 nbranch apply_switch_nozero ,blank 
+0x1039 003163 increase -3 ,rega 
+0x103a 003164 branch apply_switch_wait_loop 
+:      003165 apply_switch_nozero:
+0x103b 003166 mul32 pdata ,12 ,pdata 
+0x103c 003167 fetcht 2 ,core_halfslot 
+0x103d 003168 increase 1 ,temp 
+:      003169 apply_switch_loop:
+0x103e 003170 isub temp ,pdata 
+0x103f 003171 nbranch apply_switch_bt ,positive 
+0x1040 003172 increase -1 ,rega 
+0x1041 003173 branch apply_switch_loop 
+:      003174 apply_switch_bt:
+0x1042 003175 sub pdata ,0 ,pdata 
+:      003176 apply_switch_wait_loop:
+0x1043 003177 until null ,oneslot 
+0x1044 003178 compare 0 ,clkn_bt ,3 
+0x1045 003179 nbranch apply_switch_wait_loop ,true 
+0x1046 003180 iforce clke_rt 
+0x1047 003181 copy rega ,clke_bt 
+0x1048 003182 iforce clke_rt 
+0x1049 003183 rtn 
+:      003186 calc_slot_offset:
+0x104a 003187 bpatch patch0f_0 ,mem_patch0f 
+0x104b 003188 until null ,halfslot 
+0x104c 003189 deposit clke 
+0x104d 003190 iforce contr 
+0x104e 003191 rshift16 ,pdata ,pdata 
+0x104f 003192 isub clkn_bt ,loopcnt 
+0x1050 003193 and_into 3 ,loopcnt 
+0x1051 003194 nbranch calc_bt_portion ,zero 
+0x1052 003195 force 0 ,pdata 
+0x1053 003196 branch calc_skip_bt 
+:      003197 calc_bt_portion:
+0x1054 003198 fetcht 2 ,mem_param_rt_rthalfslot 
+0x1055 003199 force 0 ,pdata 
+:      003200 calc_slot_offset_loop:
+0x1056 003201 iadd temp ,pdata 
+0x1057 003202 loop calc_slot_offset_loop 
+:      003203 calc_skip_bt:
+0x1058 003204 iadd contr ,pdata 
+0x1059 003205 div pdata ,12 
+0x105a 003206 call get_div_result 
+0x105b 003207 store 2 ,mem_slot_offset 
+0x105c 003208 rtn 
+:      003210 calc_clke_offset:
+0x105d 003211 bpatch patch0f_1 ,mem_patch0f 
+0x105e 003212 deposit clke 
+0x105f 003213 copy clkn ,temp 
+0x1060 003214 isub temp ,null 
+0x1061 003215 nsetflag positive ,44 ,pdata 
+0x1062 003216 isub temp ,temp 
+0x1063 003217 fetch 2 ,mem_param_rt_rthalfslot 
+0x1064 003218 isolate0 15 ,temp 
+0x1065 003219 branch calc_clke_pos ,true 
+0x1066 003220 copy temp ,alarm 
+0x1067 003221 arg 0x10000 ,temp 
+0x1068 003222 fetch 2 ,mem_param_rt_rthalfslot 
+0x1069 003223 isub temp ,pdata 
+0x106a 003224 iadd alarm ,temp 
+:      003226 calc_clke_pos:
+0x106b 003227 storet 6 ,mem_le_clk_offset 
+0x106c 003228 rtn le 
+0x106d 003229 storet 6 ,mem_clk_offset 
+0x106e 003230 rtn 
+:      003232 calc_clke:
+0x106f 003233 disable clknt 
+0x1070 003234 fetch 6 ,mem_le_clk_offset 
+0x1071 003235 branch calc_clke2 ,le 
+0x1072 003236 fetch 6 ,mem_clk_offset 
+:      003237 calc_clke2:
+0x1073 003238 iadd clkn ,alarm 
+0x1074 003239 increase 10 ,alarm 
+0x1075 003240 fetch 2 ,mem_param_rt_rthalfslot 
+0x1076 003241 isub alarm ,pdata 
+0x1077 003242 isolate0 15 ,pdata 
+0x1078 003243 branch calc_clke_pos_adj ,true 
+0x1079 003244 setarg 0x10000 
+0x107a 003245 fetchr regd ,2 ,mem_param_rt_rthalfslot 
+0x107b 003246 isub regd ,pdata 
+0x107c 003247 iadd alarm ,alarm 
+:      003248 calc_clke_pos2:
+0x107d 003249 copy alarm ,clke 
+0x107e 003250 rtn 
+:      003251 calc_clke_pos_adj:
+0x107f 003252 force 0 ,null 
+0x1080 003253 branch calc_clke_pos2 
+:      003259 calc_mod_value_scale:
+0x1081 003260 branch calc_mod_value_scale_le2 ,le 
+0x1082 003261 setarg 0x402c17 
+0x1083 003262 store 3 ,mem_scale_ratio 
+0x1084 003263 rshift16 access ,pdata 
+0x1085 003264 rshift3 pdata ,temp 
+0x1086 003265 arg 48 ,loopcnt 
+:      003266 calc_mod_value_scale_do:
+0x1087 003267 setarg 0 
+0x1088 003268 store 3 ,mem_xcnt 
+:      003269 calc_mod_vs_loop:
+0x1089 003270 rshift temp ,pdata 
+0x108a 003271 ixor temp ,pdata 
+0x108b 003272 and_into 3 ,pdata 
+0x108c 003273 bbit0 1 ,calc_mod_vs01 
+0x108d 003274 pincrease -1 
+:      003275 calc_mod_vs01:
+0x108e 003276 arg mem_xcnt ,contw 
+0x108f 003277 iadd contw ,contw 
+0x1090 003278 ifetch 1 ,contw 
+0x1091 003279 pincrease 1 
+0x1092 003280 istore 1 ,contw 
+0x1093 003281 rshift temp ,temp 
+0x1094 003282 loop calc_mod_vs_loop 
+0x1095 003283 arg mem_xcnt + 2 ,rega 
+0x1096 003284 arg mem_scale_ratio ,regb 
+0x1097 003285 arg 0 ,regc 
+0x1098 003286 arg 3 ,loopcnt 
+:      003287 calc_mod_vs_loop2:
+0x1099 003288 ifetch 1 ,rega 
+0x109a 003289 ifetcht 1 ,regb 
+0x109b 003290 imul32 temp ,pdata 
+0x109c 003291 iadd regc ,regc 
+0x109d 003292 increase -1 ,rega 
+0x109e 003293 increase 1 ,regb 
+0x109f 003294 loop calc_mod_vs_loop2 
+0x10a0 003295 fetch 1 ,mem_scale_ratio + 1 
+0x10a1 003296 lshift8 pdata ,pdata 
+0x10a2 003297 lshift4 pdata ,pdata 
+0x10a3 003298 idiv regc 
+0x10a4 003299 call wait_div_end 
+0x10a5 003300 quotient pdata 
+0x10a6 003301 store 2 ,mod_value_scale1 
+0x10a7 003302 store 2 ,mem_scale_ratio_temp 
+0x10a8 003303 rtn 
+:      003305 calc_mod_value_scale_le2:
+0x10a9 003306 fetch 2 ,mem_scale_ratio_temp 
+0x10aa 003307 store 2 ,mod_value_scale1 
+0x10ab 003308 rtn 
+:      003310 calc_mod_value_scale_le:
+0x10ac 003311 setarg 0x402d19 
+0x10ad 003312 store 3 ,mem_scale_ratio 
+0x10ae 003313 rshift32 access ,pdata 
+0x10af 003314 rshift3 pdata ,temp 
+0x10b0 003315 arg 32 ,loopcnt 
+0x10b1 003316 branch calc_mod_value_scale_do 
+:      003318 calc_radio_freq:
+0x10b2 003319 bpatch patch0f_2 ,mem_patch0f 
+0x10b3 003320 call set_sync_on 
+0x10b4 003321 copy bt_clk ,pdata 
+0x10b5 003322 and_into 0x180 ,pdata 
+0x10b6 003323 compare 3 ,freq_mode ,0x07 
+0x10b7 003324 nbranch freq_not_connection ,true 
+0x10b8 003325 rshift3 pdata ,pdata 
+0x10b9 003326 iadd freq_index ,pdata 
+0x10ba 003327 branch do_hop_mod_now 
+:      003328 freq_not_connection:
+0x10bb 003329 copy freq_index ,pdata 
+:      003330 do_hop_mod_now:
+0x10bc 003331 div pdata ,79 
+0x10bd 003332 pulse recalc 
+0x10be 003333 call wait_div_end 
+0x10bf 003334 remainder rega 
+0x10c0 003335 add rega ,-40 ,temp 
+0x10c1 003336 branch odd_half ,positive 
+0x10c2 003337 lshift rega ,temp 
+0x10c3 003338 branch freq_result 
+:      003339 odd_half:
+0x10c4 003340 lshift temp ,temp 
+0x10c5 003341 increase 1 ,temp 
+:      003342 freq_result:
+0x10c6 003343 bpatch patch0f_3 ,mem_patch0f 
+0x10c7 003344 fetch 1 ,mem_mode 
+0x10c8 003345 bbit0 afh_change ,afh_process_con 
+:      003346 afh_process_0:
+0x10c9 003347 fetch 4 ,mem_afh_instant 
+0x10ca 003348 isub bt_clk ,null 
+0x10cb 003349 branch afh_process_con ,positive 
+0x10cc 003350 call afh_clear 
+0x10cd 003351 fetch 1 ,mem_afh_new_mod 
+0x10ce 003352 rtn blank 
+0x10cf 003353 fetch 1 ,mem_mode 
+0x10d0 003354 set1 afh_enable ,pdata 
+0x10d1 003355 store 1 ,mem_mode 
+0x10d2 003356 fetch 5 ,mem_afh_map_new 
+0x10d3 003357 store 5 ,mem_afh_map_lo 
+0x10d4 003358 ifetch 5 ,contr 
+0x10d5 003359 store 5 ,mem_afh_map_hi 
+0x10d6 003360 call afh_process_freq_map 
+:      003361 afh_process_con:
+0x10d7 003362 fetch 1 ,mem_mode 
+0x10d8 003363 rtnbit0 afh_enable 
+0x10d9 003364 isolate1 1 ,bt_clk 
+0x10da 003365 branch afh_same_channel ,true 
+0x10db 003366 rshift3 temp ,rega 
+0x10dc 003367 and temp ,7 ,queue 
+0x10dd 003368 setarg mem_afh_map_lo 
+0x10de 003369 iadd rega ,rega 
+0x10df 003370 ifetch 1 ,rega 
+0x10e0 003371 qisolate0 pdata 
+0x10e1 003372 branch afh_process_1 ,true 
+0x10e2 003373 deposit temp 
+0x10e3 003374 branch afh_process_end 
+:      003375 afh_process_1:
+0x10e4 003376 fetch 1 ,mem_afh_used 
+0x10e5 003377 iforce regb 
+0x10e6 003378 deposit bt_clk 
+0x10e7 003379 and_into 0x180 ,pdata 
+0x10e8 003380 rshift3 pdata ,pdata 
+0x10e9 003381 iadd freq_index ,pdata 
+0x10ea 003382 idiv regb 
+0x10eb 003383 setarg mem_afh_map 
+0x10ec 003384 call wait_div_end 
+0x10ed 003385 remainder rega 
+0x10ee 003386 iadd rega ,contr 
+0x10ef 003387 ifetch 1 ,contr 
+:      003388 afh_process_end:
+0x10f0 003389 store 1 ,mem_afh_index 
+0x10f1 003390 iforce temp 
+0x10f2 003391 rtn 
+:      003393 afh_same_channel:
+0x10f3 003394 fetch 1 ,mem_afh_index 
+0x10f4 003395 iforce temp 
+0x10f5 003396 rtn 
+:      003398 afh_clear:
+0x10f6 003399 fetch 1 ,mem_mode 
+0x10f7 003400 set0 afh_enable ,pdata 
+0x10f8 003401 set0 afh_change ,pdata 
+0x10f9 003402 store 1 ,mem_mode 
+0x10fa 003403 rtn 
+:      003404 afh_process_freq_map:
+0x10fb 003405 bpatch patch0f_4 ,mem_patch0f 
+0x10fc 003406 arg mem_afh_map ,contw 
+0x10fd 003407 force 10 ,loopcnt 
+0x10fe 003408 call memset0 
+0x10ff 003409 arg mem_afh_map ,contw 
+0x1100 003410 force 0 ,regc 
+0x1101 003411 force 2 ,queue 
+:      003412 process_freq_3:
+0x1102 003413 fetch 5 ,mem_afh_map_lo 
+0x1103 003414 iforce temp 
+0x1104 003415 compare 2 ,queue ,0xff 
+0x1105 003416 branch process_freq_1 ,true 
+0x1106 003417 rshift temp ,temp 
+:      003418 process_freq_1:
+0x1107 003419 isolate0 0 ,temp 
+0x1108 003420 branch process_freq_0 ,true 
+0x1109 003421 deposit regc 
+0x110a 003422 istore 1 ,contw 
+:      003423 process_freq_0:
+0x110b 003424 rshift2 temp ,temp 
+0x110c 003425 increase 2 ,regc 
+0x110d 003426 compare 40 ,regc ,0xfe 
+0x110e 003427 nbranch process_freq_2 ,true 
+0x110f 003428 fetch 5 ,mem_afh_map_hi 
+0x1110 003429 iforce temp 
+0x1111 003430 compare 2 ,queue ,0xff 
+0x1112 003431 branch process_freq_2 ,true 
+0x1113 003432 rshift temp ,temp 
+:      003433 process_freq_2:
+0x1114 003434 sub regc ,78 ,null 
+0x1115 003435 branch process_freq_1 ,positive 
+0x1116 003436 force 1 ,regc 
+0x1117 003437 increase -1 ,queue 
+0x1118 003438 nbranch process_freq_3 ,zero 
+0x1119 003439 arg mem_afh_map ,rega 
+0x111a 003440 deposit contw 
+0x111b 003441 isub rega ,pdata 
+0x111c 003442 store 1 ,mem_afh_used 
+0x111d 003443 rtn 
+:      003445 rx_radio_freq:
+0x111e 003446 bpatch patch0f_5 ,mem_patch0f 
+0x111f 003447 call calc_radio_freq 
+0x1120 003448 fetch 1 ,mem_debug_config 
+0x1121 003449 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+0x1122 003450 fetcht 1 ,mem_rx_fixed_freq 
+:      003451 rx_radio_freq_now:
+0x1123 003452 branch set_freq_rx 
+:      003455 tx_radio_freq:
+0x1124 003456 bpatch patch0f_6 ,mem_patch0f 
+0x1125 003457 call calc_radio_freq 
+0x1126 003458 fetch 1 ,mem_debug_config 
+0x1127 003459 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+0x1128 003460 fetcht 1 ,mem_tx_fixed_freq 
+:      003461 tx_radio_freq_now:
+0x1129 003462 branch set_freq_tx 
+:      003465 fetch_giac:
+0x112a 003466 force 0 ,uap 
+0x112b 003467 fetch 3 ,mem_glap 
+0x112c 003468 iforce lap 
+0x112d 003469 rtn 
+:      003471 fetch_page_bt_adr:
+0x112e 003472 bpatch patch0f_7 ,mem_patch0f 
+0x112f 003473 fetch 1 ,mem_hci_puap 
+0x1130 003474 icopy uap 
+0x1131 003475 fetch 3 ,mem_hci_plap 
+0x1132 003476 icopy lap 
+0x1133 003477 rtn 
+:      003479 fetch_self_bt_adr:
+0x1134 003480 bpatch patch10_0 ,mem_patch10 
+0x1135 003481 fetch 2 ,mem_nap 
+0x1136 003482 icopy nap 
+0x1137 003483 fetch 1 ,mem_uap 
+0x1138 003484 icopy uap 
+0x1139 003485 fetch 3 ,mem_lap 
+0x113a 003486 icopy lap 
+0x113b 003487 rtn 
+:      003489 fetch_extm_bt_adr:
+0x113c 003490 bpatch patch10_1 ,mem_patch10 
+0x113d 003491 fetch 2 ,mem_pnap 
+0x113e 003492 icopy nap 
+0x113f 003493 fetch 1 ,mem_puap 
+0x1140 003494 icopy uap 
+0x1141 003495 fetch 3 ,mem_plap 
+0x1142 003496 icopy lap 
+0x1143 003497 rtn 
+:      003500 fetch_diac:
+0x1144 003501 bmark1 mark_all_diac ,fetch_diac_do 
+0x1145 003502 rtnmark0 mark_inquiry_state 
+0x1146 003503 rtnmark0 mark_periodical_diac 
+:      003504 fetch_diac_do:
+0x1147 003505 and_into -256 ,lap 
+0x1148 003506 pulse recalc 
+0x1149 003507 nop 32 
+0x114a 003508 rtn 
+:      003511 shutdown_radio:
+0x114b 003512 bpatch patch10_2 ,mem_patch10 
+0x114c 003513 call rf_debug_shutdown_radio_line 
+0x114d 003514 force 0x08 ,radio_ctrl 
+0x114e 003515 force 0 ,radio_ctrl 
+0x114f 003516 disable is_rx 
+0x1150 003517 disable is_tx 
+0x1151 003518 pulse packet_end 
+0x1152 003519 jam 0x5 ,modem_en 
+0x1153 003520 nop 2 
+0x1154 003521 jam 0x0 ,modem_en 
+0x1155 003522 call set_sync_on 
+0x1156 003523 jam 0 ,core_syn_en 
+0x1157 003524 jam 0x10 ,core_rf_ldo_en0 
+0x1158 003525 fetch 1 ,core_clkpll_cfg6 
+0x1159 003526 set0 7 ,pdata 
+0x115a 003527 store 1 ,core_clkpll_cfg6 
+0x115b 003528 jam 0 ,core_rf_ldo_en1 
+0x115c 003529 branch gain_control 
+:      003533 set_sync_on:
+0x115d 003534 bpatch patch10_3 ,mem_patch10 
+0x115e 003535 jam 0x5 ,modem_en 
+0x115f 003536 nop 2 
+0x1160 003537 jam 0x0 ,modem_en 
+0x1161 003538 fetch 1 ,mem_fcomp_div 
+0x1162 003539 beq xtal_24m ,set_sync_on_24m 
+0x1163 003540 beq xtal_16m ,set_sync_on_16m 
+:      003541 set_sync_on_24m:
+0x1164 003542 jam 0xaa ,core_rf_ldo_cfg4 
+0x1165 003543 jam 0xaa ,core_rf_ldo_cfg5 
+0x1166 003544 jam 0x15 ,core_rf_ldo_cfg6 
+0x1167 003546 jam 0x78 ,core_rf_ldo_en0 
+0x1168 003547 fetch 1 ,core_clkpll_cfg6 
+0x1169 003548 set1 7 ,pdata 
+0x116a 003549 store 1 ,core_clkpll_cfg6 
+0x116b 003550 jam 0x04 ,core_rf_ldo_en1 
+0x116c 003551 nop 60 
+0x116d 003552 jam 0x7a ,core_syn_en 
+0x116e 003553 jam 0 ,core_rx_en0 
+0x116f 003554 jam 0 ,core_rx_en1 
+0x1170 003555 jam 0 ,core_tx_en0 
+0x1171 003556 jam 0 ,core_tx_en1 
+0x1172 003558 jam 0x2a ,core_rf_ldo_cfg5 
+0x1173 003559 jam 0x78 ,core_rf_ldo_en0 
+:      003560 set_sync_on_next:
+0x1174 003561 fetch 1 ,core_clkpll_cfg6 
+0x1175 003562 set0 7 ,pdata 
+0x1176 003563 store 1 ,core_clkpll_cfg6 
+0x1177 003564 jam 0 ,core_syn_cal_ctrl 
+0x1178 003565 rtn 
+:      003567 set_sync_on_16m:
+0x1179 003568 jam 0xe6 ,core_syn_aac_cfg1 
+0x117a 003570 jam 0xaa ,core_rf_ldo_cfg4 
+0x117b 003571 jam 0xaa ,core_rf_ldo_cfg5 
+0x117c 003572 jam 0x15 ,core_rf_ldo_cfg6 
+0x117d 003574 jam 0x78 ,core_rf_ldo_en0 
+0x117e 003575 fetch 1 ,core_clkpll_cfg6 
+0x117f 003576 set1 7 ,pdata 
+0x1180 003577 store 1 ,core_clkpll_cfg6 
+0x1181 003578 jam 0x04 ,core_rf_ldo_en1 
+0x1182 003579 nop 60 
+0x1183 003580 jam 0x3a ,core_syn_en 
+0x1184 003581 jam 0 ,core_rx_en0 
+0x1185 003582 jam 0 ,core_rx_en1 
+0x1186 003583 jam 0 ,core_tx_en0 
+0x1187 003584 jam 0 ,core_tx_en1 
+0x1188 003586 jam 0x2a ,core_rf_ldo_cfg5 
+0x1189 003587 jam 0x38 ,core_rf_ldo_en0 
+0x118a 003588 branch set_sync_on_next 
+:      003590 set_freq_rx:
+0x118b 003591 bpatch patch10_4 ,mem_patch10 
+0x118c 003593 fetch 1 ,mem_fcomp_div 
+0x118d 003594 sub pdata ,xtal_24m ,null 
+0x118e 003595 call rf_rx_write_freq_24m ,zero 
+0x118f 003596 ncall rf_rx_write_freq_16m ,zero 
+0x1190 003598 storet 1 ,mem_last_freq 
+0x1191 003599 add temp ,0 ,pdata 
+0x1192 003600 bmark1 mark_ble_2m ,set_rxfreq_2m_offset 
+0x1193 003601 add temp ,1 ,pdata 
+:      003602 set_rxfreq_2m_offset:
+0x1194 003603 call rf_rx_write_freq 
+0x1195 003604 branch calc_mod_value_scale 
+:      003607 rf_rx_write_freq_24m:
+0x1196 003608 jam 0 ,core_syn_cal_ctrl 
+0x1197 003609 jam 0x04 ,core_syn_top_ctrl 
+0x1198 003610 jam 0 ,core_syn_mmd_cp_ctrl 
+0x1199 003611 jam 0x03 ,core_syn_cp_lpf_cfg 
+0x119a 003612 jam 0x40 ,core_syn_afc_cfg3 
+0x119b 003613 rtn 
+:      003614 rf_rx_write_freq_16m:
+0x119c 003615 jam 0x30 ,core_syn_cal_ctrl 
+0x119d 003616 jam 0x06 ,core_syn_top_ctrl 
+0x119e 003617 jam 0 ,core_syn_mmd_cp_ctrl 
+0x119f 003618 jam 0x20 ,core_syn_cp_lpf_cfg 
+0x11a0 003619 jam 0x15 ,core_syn_afc_cfg3 
+0x11a1 003620 rtn 
+:      003622 rf_rx_enable:
+0x11a2 003623 bpatch patch10_5 ,mem_patch10 
+0x11a3 003624 call rf_debug_rx_gpio_high 
+0x11a4 003626 fetch 1 ,mem_gain_fix 
+0x11a5 003627 beq 0xff ,rf_rx_enable_no_soft_agc 
+0x11a6 003628 arg mem_gain_table ,contr 
+0x11a7 003629 iadd contr ,contr 
+0x11a8 003630 ifetch 1 ,contr 
+0x11a9 003631 store 1 ,core_rf_rx_gain_fix 
+0x11aa 003632 jam 0x27 ,core_rf_rx_agc_ctrl 
+:      003634 rf_rx_enable_no_soft_agc:
+0x11ab 003635 fetcht 1 ,mem_gain_second_agc_en 
+0x11ac 003636 fetch 1 ,core_rf_rx_agc_ctrl 
+0x11ad 003637 ior temp ,pdata 
+0x11ae 003638 store 1 ,core_rf_rx_agc_ctrl 
+0x11af 003640 jam 0xaa ,core_rf_ldo_cfg4 
+0x11b0 003641 jam 0x2a ,core_rf_ldo_cfg5 
+0x11b1 003642 jam 0x13 ,core_rf_ldo_cfg6 
+0x11b2 003643 jam 0x7f ,core_rf_ldo_en0 
+0x11b3 003644 fetch 1 ,core_clkpll_cfg6 
+0x11b4 003645 set0 7 ,pdata 
+0x11b5 003646 store 1 ,core_clkpll_cfg6 
+0x11b6 003647 nop 60 
+0x11b7 003648 jam 0x1f ,core_rx_en0 
+0x11b8 003649 jam 0xf8 ,core_rx_en1 
+0x11b9 003650 jam 0x18 ,core_tx_en0 
+0x11ba 003651 jam 0x00 ,core_rf_ldo_cfg4 
+0x11bb 003652 jam 0x20 ,core_rf_ldo_cfg5 
+0x11bc 003653 nop 10 
+0x11bd 003654 jam 0x04 ,modem_en 
+0x11be 003655 nop 2 
+0x11bf 003656 jam 0x0c ,modem_en 
+0x11c0 003657 rtn 
+:      003661 rf_rx_write_freq:
+0x11c1 003662 bpatch patch10_6 ,mem_patch10 
+0x11c2 003663 arg 2400 ,contr 
+0x11c3 003664 iadd contr ,pdata 
+0x11c4 003665 fetcht 1 ,mem_fcomp_div 
+0x11c5 003666 branch rf_write_freq_calc 
+:      003669 rf_tx_write_freq:
+0x11c6 003670 bpatch patch10_7 ,mem_patch10 
+0x11c7 003671 fetch 1 ,mem_fcomp_div 
+0x11c8 003672 sub pdata ,xtal_24m ,null 
+0x11c9 003673 call rf_tx_write_freq_24m ,zero 
+0x11ca 003674 ncall rf_tx_write_freq_16m ,zero 
+0x11cb 003676 setarg 2400 
+0x11cc 003677 iadd rega ,pdata 
+0x11cd 003678 lshift pdata ,pdata 
+0x11ce 003679 fetcht 1 ,mem_fcomp_div 
+0x11cf 003680 mul32 temp ,0x03 ,temp 
+:      003681 rf_write_freq_calc:
+0x11d0 003682 lshift temp ,temp 
+0x11d1 003683 idiv temp 
+0x11d2 003684 call wait_div_end 
+0x11d3 003685 quotient pdata 
+0x11d4 003686 store 1 ,core_syn_divr_int 
+0x11d5 003687 remainder pdata 
+0x11d6 003688 lshift16 pdata ,pdata 
+0x11d7 003689 lshift8 pdata ,pdata 
+0x11d8 003690 idiv temp 
+0x11d9 003691 call wait_div_end 
+0x11da 003692 quotient pdata 
+0x11db 003693 store 1 ,core_syn_divr_int + 3 
+0x11dc 003694 rshift8 pdata ,pdata 
+0x11dd 003695 store 1 ,core_syn_divr_int + 2 
+0x11de 003696 rshift8 pdata ,pdata 
+0x11df 003697 store 1 ,core_syn_divr_int + 1 
+0x11e0 003698 fetcht 1 ,core_syn_cal_ctrl 
+0x11e1 003699 and_into 0xf0 ,temp 
+0x11e2 003700 storet 1 ,core_syn_cal_ctrl 
+0x11e3 003701 nop 12 
+0x11e4 003702 fetch 1 ,mem_fcomp_div 
+0x11e5 003703 beq xtal_24m ,rf_write_freq_calc_24m 
+0x11e6 003704 beq xtal_16m ,rf_write_freq_calc_16m 
+:      003705 rf_write_freq_calc_24m:
+0x11e7 003706 or_into 0x0c ,temp 
+0x11e8 003707 storet 1 ,core_syn_cal_ctrl 
+0x11e9 003708 nop 12 
+0x11ea 003709 or_into 0x03 ,temp 
+0x11eb 003710 storet 1 ,core_syn_cal_ctrl 
+0x11ec 003711 rtn 
+:      003713 rf_write_freq_calc_16m:
+0x11ed 003714 or_into 0x3c ,temp 
+0x11ee 003715 storet 1 ,core_syn_cal_ctrl 
+0x11ef 003716 nop 12 
+0x11f0 003717 or_into 0x33 ,temp 
+0x11f1 003718 storet 1 ,core_syn_cal_ctrl 
+0x11f2 003719 rtn 
+:      003722 rf_tx_write_freq_24m:
+0x11f3 003723 jam 0 ,core_syn_cal_ctrl 
+0x11f4 003724 jam 0x12 ,core_syn_top_ctrl 
+0x11f5 003725 jam 0 ,core_syn_mmd_cp_ctrl 
+0x11f6 003726 jam 0x03 ,core_syn_cp_lpf_cfg 
+0x11f7 003727 jam 0xa6 ,core_syn_aac_cfg1 
+0x11f8 003728 jam 0x40 ,core_syn_afc_cfg3 
+0x11f9 003729 rtn 
+:      003731 rf_tx_write_freq_16m:
+0x11fa 003732 jam 0x30 ,core_syn_cal_ctrl 
+0x11fb 003733 jam 0x15 ,core_syn_top_ctrl 
+0x11fc 003734 jam 0 ,core_syn_mmd_cp_ctrl 
+0x11fd 003735 jam 0x20 ,core_syn_cp_lpf_cfg 
+0x11fe 003736 jam 0xa6 ,core_syn_aac_cfg1 
+0x11ff 003737 jam 0x15 ,core_syn_afc_cfg3 
+0x1200 003738 rtn 
+:      003741 set_freq_tx:
+0x1201 003742 bpatch patch11_0 ,mem_patch11 
+0x1202 003744 jam 0x12 ,core_syn_top_ctrl 
+0x1203 003745 storet 1 ,mem_last_freq 
+0x1204 003746 add temp ,2 ,rega 
+0x1205 003747 call rf_tx_write_freq 
+0x1206 003748 nop 0x3c0 
+:      003750 txon:
+0x1207 003751 bpatch patch11_1 ,mem_patch11 
+0x1208 003753 jam 0xaa ,core_rf_ldo_cfg4 
+0x1209 003754 jam 0x2a ,core_rf_ldo_cfg5 
+0x120a 003755 jam 0x10 ,core_rf_ldo_cfg6 
+0x120b 003757 jam 0x7f ,core_rf_ldo_en0 
+0x120c 003758 fetch 1 ,core_clkpll_cfg6 
+0x120d 003759 set0 7 ,pdata 
+0x120e 003760 store 1 ,core_clkpll_cfg6 
+0x120f 003761 jam 0x07 ,core_rf_ldo_en1 
+0x1210 003762 nop 60 
+0x1211 003764 jam 0x0d ,core_tx_en0 
+0x1212 003765 jam 0xf9 ,core_tx_en1 
+0x1213 003766 jam 0x00 ,core_rf_ldo_cfg4 
+0x1214 003767 jam 0x20 ,core_rf_ldo_cfg5 
+0x1215 003768 nop 10 
+0x1216 003769 jam 0x01 ,modem_en 
+0x1217 003770 nop 2 
+0x1218 003771 jam 0x03 ,modem_en 
+0x1219 003773 bpatch patch11_2 ,mem_patch11 
+0x121a 003774 fetch 1 ,mem_tx_power 
+0x121b 003775 beq tx_power_3db ,set_tx_power_3db 
+0x121c 003776 beq tx_power_5db ,set_tx_power_5db 
+0x121d 003777 beq tx_power_6db ,set_tx_power_6db 
+0x121e 003778 beq tx_power_7db ,set_tx_power_7db 
+0x121f 003779 beq tx_power_10db ,set_tx_power_10db 
+0x1220 003780 beq tx_power_f3db ,set_tx_power_f3db 
+0x1221 003781 beq tx_power_f5db ,set_tx_power_f5db 
+0x1222 003782 beq tx_power_f20db ,set_tx_power_f20db 
+0x1223 003783 beq tx_power_f30db ,set_tx_power_f30db 
+:      003784 set_tx_power_0db:
+0x1224 003785 jam 0x6a ,core_tx_pwr_ctrl0 
+0x1225 003786 jam 0x07 ,core_tx_pwr_ctrl1 
+:      003787 set_rf_ldo_cfg89:
+0x1226 003788 jam 0xa3 ,core_rf_ldo_cfg8 
+0x1227 003789 jam 0x07 ,core_rf_ldo_cfg9 
+0x1228 003790 rtn 
+:      003792 set_tx_power_3db:
+0x1229 003793 jam 0x66 ,core_tx_pwr_ctrl0 
+0x122a 003794 jam 0x0b ,core_tx_pwr_ctrl1 
+:      003795 set_rf_ldo_cfg89_2:
+0x122b 003796 jam 0xaa ,core_rf_ldo_cfg8 
+0x122c 003797 jam 0x0a ,core_rf_ldo_cfg9 
+0x122d 003798 rtn 
+:      003800 set_tx_power_5db:
+0x122e 003801 jam 0x6c ,core_tx_pwr_ctrl0 
+0x122f 003802 jam 0x0d ,core_tx_pwr_ctrl1 
+0x1230 003803 branch set_rf_ldo_cfg89_2 
+:      003805 set_tx_power_6db:
+0x1231 003806 jam 0x6b ,core_tx_pwr_ctrl0 
+0x1232 003807 jam 0x0f ,core_tx_pwr_ctrl1 
+0x1233 003808 branch set_rf_ldo_cfg89_2 
+:      003810 set_tx_power_7db:
+0x1234 003811 jam 0xa7 ,core_tx_pwr_ctrl0 
+0x1235 003812 jam 0x0f ,core_tx_pwr_ctrl1 
+0x1236 003813 branch set_rf_ldo_cfg89_2 
+:      003815 set_tx_power_10db:
+0x1237 003816 jam 0xb6 ,core_tx_pwr_ctrl0 
+0x1238 003817 jam 0x0f ,core_tx_pwr_ctrl1 
+0x1239 003818 branch set_rf_ldo_cfg89_2 
+:      003820 set_tx_power_f3db:
+0x123a 003821 jam 0x68 ,core_tx_pwr_ctrl0 
+0x123b 003822 jam 0x05 ,core_tx_pwr_ctrl1 
+0x123c 003823 branch set_rf_ldo_cfg89 
+:      003825 set_tx_power_f5db:
+0x123d 003826 jam 0x60 ,core_tx_pwr_ctrl0 
+0x123e 003827 jam 0x05 ,core_tx_pwr_ctrl1 
+0x123f 003828 branch set_rf_ldo_cfg89 
+:      003830 set_tx_power_f20db:
+0x1240 003831 jam 0x53 ,core_tx_pwr_ctrl0 
+0x1241 003832 jam 0x01 ,core_tx_pwr_ctrl1 
+0x1242 003833 branch set_rf_ldo_cfg89 
+:      003835 set_tx_power_f30db:
+0x1243 003836 jam 0x4c ,core_tx_pwr_ctrl0 
+0x1244 003837 jam 0x00 ,core_tx_pwr_ctrl1 
+0x1245 003838 branch set_rf_ldo_cfg89 
+:      003841 initialize_radio:
+0x1246 003842 jam clksel_rc ,core_clksel 
+:      003843 initialize_radio_wait:
+0x1247 003844 fetch 2 ,mem_rf_init_ptr 
+0x1248 003845 bbit0 14 ,initialize_radio_wait 
+0x1249 003846 iforce contr 
+0x124a 003847 arg 0x8a00 ,temp 
+:      003848 initialize_radio_loop:
+0x124b 003849 ifetch 1 ,contr 
+0x124c 003850 beq 0xff ,initialize_radio_cont 
+0x124d 003851 ior temp ,contw 
+0x124e 003852 ifetch 1 ,contr 
+0x124f 003853 istore 1 ,contw 
+0x1250 003854 branch initialize_radio_loop 
+:      003856 initialize_radio_cont:
+0x1251 003857 bpatch patch11_3 ,mem_patch11 
+0x1252 003858 jam 0x05 ,core_clkpll_cfg0 
+0x1253 003859 jam 0x94 ,core_rx_iqadc_cfg 
+0x1254 003860 call initialize_rc_cal 
+0x1255 003861 call initialize_rf_ldo_cfg1 
+0x1256 003862 call initialize_syn_afc_cfg1 
+0x1257 003863 jam 0xe6 ,core_syn_aac_cfg1 
+0x1258 003866 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0x1259 003867 jam 0x0b ,core_rf_ldo_cfg2 
+0x125a 003868 jam 0x05 ,core_rf_ldo_cfg3 
+0x125b 003871 jam 0x76 ,core_agc_wb_sat_th 
+0x125c 003872 jam 0x76 ,core_agc_nb_sat_th 
+0x125d 003874 fetch 1 ,mem_fcomp_div 
+0x125e 003875 bne xtal_16m ,initialize_radio_cont_next 
+0x125f 003876 jam 0x34 ,core_clkpll_cfg5 
+:      003877 initialize_radio_cont_next:
+0x1260 003878 jam 0xff ,core_clkpll_ctrl1 
+0x1261 003879 nop 100 
+0x1262 003880 jam 0x0e ,core_clkpll_ctrl2 
+0x1263 003881 jam 0x03 ,core_clkpll_ctrl0 
+0x1264 003883 call set_tx_power_0db 
+0x1265 003885 jam 0x2b ,core_tx_mixer_cfg1 
+0x1266 003886 jam 0x13 ,core_tx_mixer_cfg2 
+0x1267 003888 call init_lpm_ctrl 
+0x1268 003889 nop 10 
+0x1269 003890 jam clksel_dpll ,core_clksel 
+0x126a 003891 jam system_clk_12m ,mem_system_clk 
+0x126b 003892 branch le_disable 
+:      003895 initialize_syn_afc_cfg1:
+0x126c 003896 fetch 1 ,mem_syn_afc_cfg1 
+0x126d 003897 branch initialize_syn_afc_cfg1_default ,blank 
+0x126e 003898 or_into 0x20 ,pdata 
+0x126f 003899 store 1 ,core_syn_afc_cfg1 
+0x1270 003900 rtn 
+:      003901 initialize_syn_afc_cfg1_default:
+0x1271 003902 jam 0x29 ,core_syn_afc_cfg1 
+0x1272 003903 rtn 
+:      003905 initialize_rf_ldo_cfg1:
+0x1273 003906 fetch 1 ,mem_rf_ldo_cfg1 
+0x1274 003907 branch initialize_rf_ldo_cfg1_default ,blank 
+0x1275 003908 store 1 ,core_rf_ldo_cfg1 
+0x1276 003909 rtn 
+:      003910 initialize_rf_ldo_cfg1_default:
+0x1277 003911 jam 0x00 ,core_rf_ldo_cfg1 
+0x1278 003912 rtn 
+:      003914 initialize_rc_cal:
+0x1279 003915 fetch 1 ,mem_rc_cal 
+0x127a 003916 branch initialize_rc_cal_default ,blank 
+0x127b 003917 store 1 ,core_rx_bq_bw_cal 
+0x127c 003918 rtn 
+:      003919 initialize_rc_cal_default:
+0x127d 003920 jam 0xd3 ,core_rx_bq_bw_cal 
+0x127e 003921 rtn 
+:      003927 save_rssi:
+0x127f 003928 bpatch patch11_4 ,mem_patch11 
+0x1280 003929 jam 0x20 ,mem_rssi_hex 
+0x1281 003930 fetch 1 ,modem_rssi 
+0x1282 003931 store 1 ,mem_modem_rssi 
+0x1283 003932 sub pdata ,0xfc ,null 
+0x1284 003933 nrtn positive 
+0x1285 003934 sub pdata ,0x7f ,null 
+0x1286 003935 rtn positive 
+0x1287 003937 fetch 1 ,modem_gain 
+0x1288 003938 and pdata ,0x0f ,temp 
+0x1289 003939 lshift temp ,temp 
+0x128a 003940 rshift4 pdata ,pdata 
+0x128b 003941 iadd temp ,temp 
+0x128c 003942 mul32 temp ,3 ,temp 
+0x128d 003943 fetch 1 ,mem_modem_rssi 
+0x128e 003944 sub pdata ,0xff ,pdata 
+0x128f 003945 iadd temp ,pdata 
+0x1290 003946 increase -5 ,pdata 
+0x1291 003947 store 1 ,mem_rssi_hex 
+0x1292 003948 rtn 
+:      003950 rssi_hex2dec:
+0x1293 003951 fetch 1 ,mem_rssi_hex 
+0x1294 003952 call bcd 
+0x1295 003953 store 1 ,mem_rssi 
+0x1296 003954 rtn 
+:      003956 bcd:
+0x1297 003957 and_into 0xff ,pdata 
+0x1298 003958 div pdata ,10 
+0x1299 003959 call get_div_result 
+0x129a 003960 lshift4 pdata ,pdata 
+0x129b 003961 remainder temp 
+0x129c 003962 ior temp ,pdata 
+0x129d 003963 rtn 
+:      003965 gain_control:
+0x129e 003966 fetch 1 ,mem_gain_fix 
+0x129f 003967 rtneq 0xff 
+0x12a0 003968 nbranch gain_increase ,sync 
+0x12a1 003969 fetch 1 ,mem_modem_rssi 
+0x12a2 003970 sub pdata ,0xf0 ,null 
+0x12a3 003971 nbranch gain_descend ,positive 
+0x12a4 003972 sub pdata ,0x7f ,null 
+0x12a5 003973 branch gain_descend ,positive 
+0x12a6 003975 fetchr rega ,1 ,core_rf_rx_gain_fix 
+0x12a7 003976 fetch 1 ,mem_gain_fix 
+0x12a8 003977 rtneq 0 
+0x12a9 003978 arg mem_gain_table ,contr 
+0x12aa 003979 iadd contr ,contr 
+0x12ab 003980 ifetch 1 ,contr 
+0x12ac 003981 isub rega ,null 
+0x12ad 003982 nrtn zero 
+0x12ae 003983 increase -2 ,contr 
+0x12af 003984 ifetcht 1 ,contr 
+0x12b0 003985 rshift4 temp ,pdata 
+0x12b1 003986 rshift4 rega ,regb 
+0x12b2 003987 isub regb ,regb 
+0x12b3 003988 and temp ,0xf ,pdata 
+0x12b4 003989 and rega ,0xf ,rega 
+0x12b5 003990 isub rega ,rega 
+0x12b6 003991 lshift rega ,pdata 
+0x12b7 003992 iadd regb ,regb 
+0x12b8 003993 mul32 regb ,3 ,regb 
+0x12b9 003994 fetcht 1 ,mem_modem_rssi 
+0x12ba 003995 and temp ,0x80 ,pdata 
+0x12bb 003996 rtn blank 
+:      003997 add_negative:
+0x12bc 003998 setarg 0x100 
+0x12bd 003999 isub temp ,temp 
+0x12be 004000 copy regb ,pdata 
+0x12bf 004001 isub temp ,pdata 
+0x12c0 004002 rtn positive 
+0x12c1 004003 and pdata ,0xff ,pdata 
+0x12c2 004004 rtneq 0xff 
+0x12c3 004005 rtneq 0xfe 
+:      004007 gain_increase:
+0x12c4 004008 fetch 1 ,mem_gain_fix 
+0x12c5 004009 beq 1 ,set_rx_gain0 
+0x12c6 004010 beq 2 ,set_rx_gain1 
+0x12c7 004012 branch set_rx_gain0 
+:      004014 gain_descend:
+0x12c8 004015 fetch 1 ,mem_gain_fix 
+0x12c9 004016 beq 0 ,set_rx_gain1 
+0x12ca 004017 beq 1 ,set_rx_gain2 
+:      004019 set_rx_gain2:
+0x12cb 004020 jam 2 ,mem_gain_fix 
+0x12cc 004021 rtn 
+:      004023 set_rx_gain0:
+0x12cd 004024 jam 0 ,mem_gain_fix 
+0x12ce 004025 rtn 
+:      004027 set_rx_gain1:
+0x12cf 004028 jam 1 ,mem_gain_fix 
+0x12d0 004029 rtn 
+:      004032 xtal_fast_wake:
+0x12d1 004033 setarg 0xf0f 
+0x12d2 004034 branch lpm_write_config 
+:      004036 init_lpm_ctrl:
+0x12d3 004037 setarg 0x80f 
+0x12d4 004038 branch lpm_write_config 
+:      004042 start_receiver:
+0x12d5 004043 bpatch patch11_5 ,mem_patch11 
+0x12d6 004044 disable is_tx 
+0x12d7 004045 enable is_rx 
+0x12d8 004046 pulse init_encrypt 
+0x12d9 004047 branch rf_rx_enable 
+:      004049 prep_crypt:
+0x12da 004050 bpatch patch11_6 ,mem_patch11 
+0x12db 004051 call check_enc_ccm 
+0x12dc 004052 nbranch prep_crypt_ccm ,blank 
+0x12dd 004053 fetch 1 ,mem_state_map 
+0x12de 004054 isolate1 smap_encryption ,pdata 
+0x12df 004055 setflag true ,0 ,pdata 
+0x12e0 004056 store 1 ,core_encrypt 
+0x12e1 004057 arg mem_kc ,contr 
+0x12e2 004058 ifetch 9 ,contr 
+0x12e3 004059 iforce kc_ls 
+0x12e4 004060 ifetch 7 ,contr 
+0x12e5 004061 iforce kc_ms 
+0x12e6 004062 fetch 1 ,mem_key_size 
+0x12e7 004063 add pdata ,-1 ,g1l 
+0x12e8 004064 pulse kc_p_activate 
+0x12e9 004065 rtn 
+:      004067 prep_crypt_ccm:
+0x12ea 004068 jam 0 ,core_encrypt 
+0x12eb 004069 rtn 
+:      004071 wait_access_end:
+0x12ec 004072 deposit clke 
+0x12ed 004073 store 6 ,mem_sync_clke 
+0x12ee 004074 disable decode_fec0 
+0x12ef 004075 nbranch shutdown_radio ,sync 
+0x12f0 004076 fetch 2 ,mem_param_clke_cal 
+0x12f1 004077 copy pdata ,clke_rt 
+0x12f2 004078 increase 1 ,clke_bt 
+0x12f3 004079 and_into 0x1fc ,clke_bt 
+0x12f4 004080 rtn 
+:      004084 wait_access_mhalfbnd:
+0x12f5 004085 enable decode_fec0 
+:      004086 wait_access_mhalfbnd_correlate:
+0x12f6 004087 correlate null ,mhalfbnd 
+0x12f7 004088 branch wait_access_end ,sync 
+0x12f8 004089 compare 0x02 ,clke_bt ,0x02 
+0x12f9 004090 nbranch wait_access_mhalfbnd_correlate ,true 
+0x12fa 004091 branch wait_access_end 
+:      004093 wait_access_clkn_rt:
+0x12fb 004094 bpatch patch11_7 ,mem_patch11 
+0x12fc 004095 fetchr timeup ,2 ,mem_param_conn_access 
+0x12fd 004096 enable decode_fec0 
+0x12fe 004097 correlate clkn_rt ,meet 
+0x12ff 004098 disable decode_fec0 
+0x1300 004099 nbranch shutdown_radio ,sync 
+0x1301 004100 rtn 
+:      004102 wait_access_forever:
+0x1302 004103 bpatch patch12_0 ,mem_patch12 
+0x1303 004104 enable decode_fec0 
+0x1304 004105 correlate null ,timeout 
+0x1305 004106 disable decode_fec0 
+0x1306 004107 nbranch shutdown_radio ,sync 
+0x1307 004108 fetch 2 ,mem_param_clke_cal 
+0x1308 004109 copy pdata ,clke_rt 
+0x1309 004110 and_into 0x1fc ,clke_bt 
+0x130a 004111 rtn 
+:      004114 reserve_slot:
+0x130b 004115 bpatch patch12_1 ,mem_patch12 
+0x130c 004116 iforce rega 
+0x130d 004117 deposit bt_clk 
+0x130e 004118 iadd temp ,timeup 
+0x130f 004119 copy timeup ,pdata 
+0x1310 004120 store 4 ,mem_next_btclk 
+0x1311 004121 deposit rega 
+0x1312 004122 rtn 
+:      004125 ahead_window:
+0x1313 004126 copy pdata ,temp 
+0x1314 004127 bpatch patch12_2 ,mem_patch12 
+0x1315 004128 copy temp ,pdata 
+0x1316 004129 call clk2bt 
+0x1317 004130 lshift16 bt_clk ,pdata 
+0x1318 004131 set1 44 ,pdata 
+0x1319 004132 call clk_diff 
+0x131a 004133 set0 44 ,pdata 
+0x131b 004134 call get_clk 
+0x131c 004135 call clk_diff 
+0x131d 004136 rtn user 
+0x131e 004137 call clk2rt 
+0x131f 004138 iforce stop_watch 
+0x1320 004139 until null ,timeout 
+0x1321 004140 rtn 
+:      004143 setup_clk:
+0x1322 004144 bpatch patch12_3 ,mem_patch12 
+0x1323 004145 branch setup_clkn ,clknt 
+0x1324 004146 until clke_rt ,meet 
+:      004147 skip_setup_clke:
+0x1325 004148 copy clke_bt ,temp 
+0x1326 004149 branch setup_clknbt 
+:      004150 setup_clkn:
+0x1327 004151 branch skip_setup_clkn ,attempt 
+0x1328 004152 until clkn_rt ,meet 
+:      004153 skip_setup_clkn:
+0x1329 004154 copy clkn_bt ,temp 
+:      004155 setup_clknbt:
+0x132a 004156 branch setup_clk11 ,user 
+0x132b 004157 compare 1 ,temp ,3 
+0x132c 004158 nbranch setup_clk ,true 
+:      004159 setup_complete:
+0x132d 004160 bpatch patch12_4 ,mem_patch12 
+0x132e 004161 fetch 1 ,mem_state 
+0x132f 004162 rtnbit0 state_inconn 
+0x1330 004163 fetch 4 ,mem_next_btclk 
+0x1331 004164 isub temp ,pdata 
+0x1332 004165 nrtn positive 
+0x1333 004166 sub pdata ,0xff ,null 
+0x1334 004167 branch setup_clk ,positive 
+0x1335 004168 rtn 
+:      004169 setup_clk11:
+0x1336 004170 compare 3 ,temp ,3 
+0x1337 004171 nbranch setup_clk ,true 
+0x1338 004172 branch setup_complete 
+:      004174 rf_setup_time:
+0x1339 004175 bpatch patch12_5 ,mem_patch12 
+0x133a 004176 fetchr timeup ,2 ,mem_param_rf_setup 
+0x133b 004177 branch setup_clk 
+:      004179 rf_setup_time_slave_slot:
+0x133c 004180 disable user 
+0x133d 004181 branch rf_setup_time 
+:      004183 rf_setup_time_master_slot:
+0x133e 004184 enable user 
+0x133f 004185 branch rf_setup_time 
+:      004187 start_transmitter:
+0x1340 004188 bpatch patch12_6 ,mem_patch12 
+0x1341 004189 call prep_crypt 
+0x1342 004190 disable is_rx 
+0x1343 004191 enable is_tx 
+0x1344 004192 rtn 
+:      004196 start_tx_native:
+0x1345 004197 bpatch patch12_7 ,mem_patch12 
+0x1346 004198 fetchr timeup ,2 ,mem_param_tx_setup 
+0x1347 004199 until clkn_rt ,meet 
+0x1348 004200 pulse init_encrypt 
+0x1349 004201 rtn 
+:      004203 start_rx_native:
+0x134a 004204 bpatch patch13_0 ,mem_patch13 
+0x134b 004205 fetchr timeup ,2 ,mem_param_rx_setup 
+0x134c 004206 until clkn_rt ,meet 
+0x134d 004207 rtn 
+:      004210 start_tx_external:
+0x134e 004211 bpatch patch13_1 ,mem_patch13 
+0x134f 004212 fetchr timeup ,2 ,mem_param_tx_setup 
+0x1350 004213 until clke_rt ,meet 
+0x1351 004214 pulse init_encrypt 
+0x1352 004215 rtn 
+:      004217 send_access_word:
+0x1353 004218 bpatch patch13_2 ,mem_patch13 
+0x1354 004219 call rf_debug_tx_on_line 
+0x1355 004220 preload access 
+0x1356 004221 enable encode_fec0 
+0x1357 004222 set1 txgfsk ,radio_ctrl 
+0x1358 004223 inject mod ,72 
+0x1359 004224 disable encode_fec0 
+0x135a 004225 rtn 
+:      004228 scan_mode_whiten:
+0x135b 004229 copy xin ,temp 
+0x135c 004230 or_into 0x60 ,temp 
+0x135d 004231 copy temp ,white_init 
+0x135e 004232 rtn 
+:      004237 get_free_amaddr:
+0x135f 004238 bpatch patch13_3 ,mem_patch13 
+0x1360 004239 fetch 1 ,mem_current_amaddr 
+0x1361 004240 increase 1 ,pdata 
+0x1362 004241 bne param_esco_addr ,get_free_amaddr_cont 
+0x1363 004242 force 1 ,pdata 
+:      004243 get_free_amaddr_cont:
+0x1364 004244 store 1 ,mem_current_amaddr 
+0x1365 004245 iforce am_addr 
+0x1366 004246 rtn 
+:      004248 get_clk:
+0x1367 004249 copy clkn ,temp 
+0x1368 004250 rtn master 
+0x1369 004251 copy clke ,temp 
+0x136a 004252 rtn 
+:      004254 get_clkbt:
+0x136b 004255 deposit clkn_bt 
+0x136c 004256 rtn master 
+0x136d 004257 deposit clke_bt 
+0x136e 004258 rtn 
+:      004261 supervision_update:
+0x136f 004262 bpatch patch13_4 ,mem_patch13 
+0x1370 004263 fetcht 4 ,mem_supervision_timer 
+0x1371 004264 call get_clkbt 
+0x1372 004265 isub temp ,timeup 
+0x1373 004266 deposit timeup 
+0x1374 004267 fetcht 2 ,mem_supervision_to 
+0x1375 004268 lshift temp ,temp 
+0x1376 004269 isub temp ,pdata 
+0x1377 004270 rtn 
+:      004272 supervision_flush:
+0x1378 004273 bpatch patch13_5 ,mem_patch13 
+0x1379 004274 call get_clkbt 
+0x137a 004275 store 4 ,mem_supervision_timer 
+0x137b 004276 rtn 
+:      004278 assert:
+0x137c 004279 bpatch patch13_6 ,mem_patch13 
+0x137d 004280 branch assert 
+:      004282 loop:
+0x137e 004283 branch loop 
+:      004285 sleep:
+0x137f 004286 rtn blank 
+0x1380 004288 rshift pdata ,pdata 
+0x1381 004289 increase -3 ,pdata 
+:      004290 sleep_loop:
+0x1382 004291 increase -1 ,pdata 
+0x1383 004292 nbranch sleep_loop ,zero 
+0x1384 004293 force 0 ,pdata 
+0x1385 004294 rtn 
+:      004298 init_param:
+0x1386 004300 arg 0x10 ,loopcnt 
+0x1387 004301 arg 0 ,contw 
+0x1388 004302 call memset0 
+0x1389 004303 arg mem_le_state ,contw 
+0x138a 004304 arg 10 ,loopcnt 
+0x138b 004305 call memset0 
+0x138c 004306 jam 0 ,mem_sp_calc 
+0x138d 004307 jam 0 ,mem_fifo_temp 
+0x138e 004308 jam 0 ,mem_le_testtype 
+0x138f 004309 jam 0 ,mem_debug_config 
+0x1390 004310 jam 0 ,mem_lmp_conn_state 
+0x1391 004311 jam 0 ,mem_connection_options 
+0x1392 004312 jam 0 ,mem_tester_emulate 
+0x1393 004313 jam 0 ,mem_tester_cnt 
+0x1394 004314 setarg param_glap 
+0x1395 004315 store 3 ,mem_glap 
+0x1396 004316 jam 0x60 ,mem_fhs_misc 
+0x1397 004317 jam param_max_slot ,mem_max_slot 
+0x1398 004318 jam 0x02 ,mem_fw_ver 
+0x1399 004320 setarg param_tx_setup 
+0x139a 004321 store 2 ,mem_param_tx_setup 
+0x139b 004322 setarg param_rf_setup 
+0x139c 004323 store 2 ,mem_param_rf_setup 
+0x139d 004324 setarg param_conn_access 
+0x139e 004325 store 2 ,mem_param_conn_access 
+0x139f 004326 setarg param_rx_setup 
+0x13a0 004327 store 2 ,mem_param_rx_setup 
+0x13a1 004328 setarg param_clke_cal 
+0x13a2 004329 store 2 ,mem_param_clke_cal 
+0x13a3 004330 setarg param_pll_setup 
+0x13a4 004331 store 2 ,mem_param_pll_setup 
+0x13a5 004332 setarg param_dpll_start_delay 
+0x13a6 004333 store 2 ,mem_param_dpll_start_delay 
+0x13a7 004334 setarg param_rt_rthalfslot 
+0x13a8 004335 store 2 ,mem_param_rt_rthalfslot 
+0x13a9 004336 setarg param_clke_cal_le_1m 
+0x13aa 004337 store 2 ,mem_param_clke_cal_le_1m 
+0x13ab 004338 setarg param_clke_cal_le_2m 
+0x13ac 004339 store 2 ,mem_param_clke_cal_le_2m 
+0x13ad 004340 setarg param_clke_cal_le_coded 
+0x13ae 004341 store 2 ,mem_param_clke_cal_le_coded 
+0x13af 004342 setarg mem_ble_tx_buff0 
+0x13b0 004343 store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+0x13b1 004344 setarg mem_ble_l2cap_tx_buff_size 
+0x13b2 004345 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0x13b3 004347 call init_memp 
+0x13b4 004348 setarg mem_sp_state_end 
+0x13b5 004349 arg mem_sp_state_start ,contw 
+0x13b6 004350 isub contw ,loopcnt 
+0x13b7 004351 call clear_mem 
+0x13b8 004353 bpatch patch13_7 ,mem_patch13 
+0x13b9 004354 rtn wake 
+0x13ba 004355 jam bluetooth_core_specification_5_0 ,mem_lmp_version 
+0x13bb 004356 setarg company_id_yichip 
+0x13bc 004357 store 2 ,mem_lmp_compid 
+0x13bd 004358 setarg 0x08 
+0x13be 004359 store 2 ,mem_lmp_subversion 
+0x13bf 004360 jam 0x7f ,mem_seqi 
+0x13c0 004362 setarg 0x24 
+0x13c1 004363 store 2 ,mem_iscan_window 
+0x13c2 004364 store 2 ,mem_pscan_window 
+0x13c3 004365 setarg 0x200 
+0x13c4 004366 store 2 ,mem_iscan_interval 
+0x13c5 004367 store 2 ,mem_pscan_interval 
+0x13c6 004368 setarg 0x20 
+0x13c7 004369 store 2 ,mem_inq_window 
+0x13c8 004370 store 2 ,mem_page_window 
+0x13c9 004371 setarg 0x2000 
+0x13ca 004372 store 2 ,mem_page_to 
+0x13cb 004373 setarg 0x480 
+0x13cc 004374 store 2 ,mem_rx_window_init 
+0x13cd 004375 setarg 0xc00 
+0x13ce 004376 store 2 ,mem_rx_window_sniff 
+0x13cf 004378 setarg 0xc3f 
+0x13d0 004379 store 2 ,mem_lpm_xtalcnt + 1 
+0x13d1 004380 setarg 0x333 
+0x13d2 004381 istore 2 ,contw 
+0x13d3 004382 setarg 0x24109d 
+0x13d4 004383 store 3 ,mem_lpm_ctrl3 + 1 
+0x13d5 004385 call clear_wake 
+0x13d6 004386 setarg 0 
+0x13d7 004387 store 2 ,mem_tx_len 
+0x13d8 004388 rshift clkn_bt ,pdata 
+0x13d9 004389 store 4 ,mem_last_clkn 
+0x13da 004390 rtn 
+:      004392 clk24m_init:
+0x13db 004393 jam 6 ,core_clksel 
+0x13dc 004394 jam 1 ,core_clksel 
+0x13dd 004395 nop 10 
+0x13de 004396 setarg 7498 
+0x13df 004397 store 2 ,core_halfslot 
+0x13e0 004398 rtn 
+:      004404 lpmstate:
+0x13e1 004405 setarg 0xee21 
+0x13e2 004406 store 2 ,core_clkoff 
+0x13e3 004407 fetch 4 ,core_gpio_in 
+0x13e4 004408 store 4 ,mem_saved_gpio_in 
+0x13e5 004409 fetch 1 ,core_lpm_ctrl + 3 
+0x13e6 004410 store 1 ,mem_wakup_from_power_flag 
+0x13e7 004411 fetch 1 ,core_lpm_ldocnt 
+0x13e8 004412 bbit0 gpio_latch ,loadcode 
+0x13e9 004413 enable wake 
+0x13ea 004414 bbit0 cold_wake ,lpmwake 
+0x13eb 004415 disable wake 
+0x13ec 004416 deposit auxcnt 
+0x13ed 004417 nbranch lpmwake ,blank 
+0x13ee 004418 fetch 1 ,core_lpm_ctrl + 3 
+0x13ef 004419 bbit1 reload_code ,lpmwake 
+0x13f0 004420 arg param_hibernate_clks ,temp 
+0x13f1 004421 branch lpm_enter_sleep 
+:      004422 lpmwake:
+0x13f2 004423 fetch 4 ,core_lpm_ctrl2 
+0x13f3 004424 store 4 ,core_lpm_reg 
+0x13f4 004425 fetch 1 ,core_lpm_ctrl2 + 1 
+0x13f5 004426 and_into 0xe0 ,pdata 
+0x13f6 004427 store 1 ,core_lpm_reg + 1 
+0x13f7 004428 call lpm_write_ctrl3 
+0x13f8 004429 fetch 3 ,core_lpm_xtalcnt 
+0x13f9 004430 store 3 ,core_lpm_reg 
+0x13fa 004431 ifetch 1 ,contr 
+0x13fb 004432 or_into isogate_mask ,pdata 
+0x13fc 004433 istore 1 ,contw 
+0x13fd 004434 call lpm_write_ctrl2 
+0x13fe 004435 fetch 1 ,core_lpm_isogate 
+0x13ff 004436 set1 enable_retmem ,pdata 
+0x1400 004437 store 1 ,core_lpm_isogate 
+0x1401 004438 call lpm_write_ctrl2 
+0x1402 004439 call lpm_load_context ,wake 
+0x1403 004440 fetch 1 ,core_lpm_reg + 2 
+0x1404 004441 set0 gpio_latch ,pdata 
+0x1405 004442 store 1 ,core_lpm_reg + 2 
+0x1406 004443 call lpm_write_ctrl2 
+0x1407 004444 nbranch loadcode ,wake 
+0x1408 004445 call lpm_save_mpu_lock 
+0x1409 004446 rtnmark0 mark_otp_encrypt 
+0x140a 004447 jam lock_otp ,core_misc_ctrl 
+0x140b 004448 rtn 
+:      004450 lpm_save_mpu_lock:
+0x140c 004451 fetch 3 ,mem_efuse_header 
+0x140d 004452 rtn blank 
+0x140e 004453 store 3 ,mem_tmp_buffer 
+0x140f 004454 branch app_lpm_peripheral_lock_check 
+:      004456 lpm_ctrl3_cfg_dig_vsel:
+0x1410 004457 fetch 1 ,mem_dig_aon_vsel 
+0x1411 004458 beq 1 ,lpm_ctrl3_cfg_vsel_108 
+0x1412 004459 beq 2 ,lpm_ctrl3_cfg_vsel_096 
+0x1413 004460 beq 3 ,lpm_ctrl3_cfg_vsel_084 
+:      004461 lpm_ctrl3_cfg_vsel_120:
+0x1414 004462 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x1415 004463 and_into 0xe0 ,pdata 
+:      004464 lpm_ctrl3_cfg_vsel_store:
+0x1416 004465 store 1 ,mem_lpm_ctrl3 + 1 
+0x1417 004466 rtn 
+:      004467 lpm_ctrl3_cfg_vsel_108:
+0x1418 004468 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x1419 004469 and_into 0xe0 ,pdata 
+0x141a 004470 or_into 0x1d ,pdata 
+0x141b 004471 branch lpm_ctrl3_cfg_vsel_store 
+:      004472 lpm_ctrl3_cfg_vsel_096:
+0x141c 004473 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x141d 004474 and_into 0xe0 ,pdata 
+0x141e 004475 or_into 0x1b ,pdata 
+0x141f 004476 branch lpm_ctrl3_cfg_vsel_store 
+:      004477 lpm_ctrl3_cfg_vsel_084:
+0x1420 004478 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x1421 004479 and_into 0xe0 ,pdata 
+0x1422 004480 or_into 0x17 ,pdata 
+0x1423 004481 branch lpm_ctrl3_cfg_vsel_store 
+:      004483 lpm_load_context:
+0x1424 004484 fetch 1 ,mem_saved_spidctrl 
+0x1425 004485 store 1 ,core_spid_ctrl 
+0x1426 004486 arg mem_saved_gpio ,contr 
+0x1427 004487 arg core_gpio_conf ,contw 
+0x1428 004488 call memcpy20 
+0x1429 004489 fetch 8 ,mem_saved_mark 
+0x142a 004490 iforce mark 
+0x142b 004491 fetch 8 ,core_gpio_wakeup_low 
+0x142c 004492 store 8 ,mem_gpio_wakeup_low 
+0x142d 004493 branch load_ucode 
+:      004495 lpm_save_context:
+0x142e 004496 deposit mark 
+0x142f 004497 store 8 ,mem_saved_mark 
+0x1430 004498 arg core_gpio_conf ,contr 
+0x1431 004499 arg mem_saved_gpio ,contw 
+0x1432 004500 call memcpy20 
+0x1433 004501 fetch 1 ,core_spid_ctrl 
+0x1434 004502 store 1 ,mem_saved_spidctrl 
+0x1435 004503 branch lpm_write_gpio_wakeup 
+:      004505 lpo_calibration:
+0x1436 004506 fetch 1 ,core_aes_en 
+0x1437 004507 rshift4 pdata ,pdata 
+0x1438 004508 nbranch lpo_cal_inited ,blank 
+0x1439 004509 fetch 3 ,mem_clks_per_lpo 
+0x143a 004510 nrtn blank 
+0x143b 004511 fetch 1 ,core_aes_en 
+0x143c 004512 or_into 0xc0 ,pdata 
+0x143d 004513 store 1 ,core_aes_en 
+0x143e 004514 jam ccnt_start ,core_misc_ctrl 
+:      004515 lpo_cal_inited:
+0x143f 004516 fetch 1 ,core_perf_status 
+0x1440 004517 rtnbit0 1 
+0x1441 004518 fetch 3 ,core_clk_counter 
+0x1442 004519 store 3 ,mem_clks_per_lpo 
+0x1443 004520 rtn 
+:      004524 lpm_adjust_clk:
+0x1444 004525 bpatch patch14_0 ,mem_patch14 
+0x1445 004526 deposit clke 
+0x1446 004527 call clk_diff_rt 
+0x1447 004528 fetcht 4 ,mem_sleep_counter_all 
+0x1448 004529 sub temp ,0xff ,null 
+0x1449 004530 rtn positive 
+0x144a 004531 lshift8 pdata ,pdata 
+0x144b 004532 lshift4 pdata ,pdata 
+0x144c 004533 idiv temp 
+0x144d 004534 call get_div_result 
+0x144e 004535 arg param_lpm_adjmax ,temp 
+0x144f 004536 call ceiling 
+0x1450 004537 store 1 ,mem_lpm_adjust 
+0x1451 004538 nbranch lpm_adjust_positive ,user 
+0x1452 004539 sub pdata ,0 ,pdata 
+:      004540 lpm_adjust_positive:
+0x1453 004541 fetcht 3 ,mem_clks_per_lpo 
+0x1454 004542 iadd temp ,pdata 
+0x1455 004543 store 3 ,mem_clks_per_lpo 
+:      004544 lpm_clear_counter:
+0x1456 004545 setarg 0 
+0x1457 004546 store 4 ,mem_sleep_counter_all 
+0x1458 004547 rtn 
+:      004559 lpm_hibernate:
+0x1459 004560 arg param_hibernate_clks ,temp 
+0x145a 004561 fetch 1 ,mem_lpm_config + 1 
+0x145b 004562 set0 7 ,pdata 
+0x145c 004563 store 1 ,mem_lpm_config + 1 
+:      004564 lpm_hibernate_normal:
+0x145d 004565 bpatch patch14_1 ,mem_patch14 
+0x145e 004566 call lpm_write_gpio_wakeup 
+0x145f 004567 fetch 1 ,mem_lpm_hibernate_switch 
+0x1460 004568 store 1 ,mem_lpm_xtalcnt + 4 
+0x1461 004569 fetch 1 ,mem_lpm_xtalcnt + 2 
+0x1462 004570 set1 cold_wake ,pdata 
+0x1463 004571 store 1 ,mem_lpm_xtalcnt + 2 
+:      004574 lpm_sleep:
+0x1464 004575 bpatch patch14_2 ,mem_patch14 
+0x1465 004576 call xtal_fast_wake 
+0x1466 004577 fetch 2 ,mem_cb_before_lpm_sleep 
+0x1467 004578 call callback_func 
+:      004579 lpm_sleep_skip_cb_function:
+0x1468 004580 fetch 4 ,mem_sleep_counter_all 
+0x1469 004581 iadd temp ,pdata 
+0x146a 004582 store 4 ,mem_sleep_counter_all 
+0x146b 004583 call lpm_save_context 
+0x146c 004584 call lpm_ctrl3_cfg_dig_vsel 
+0x146d 004585 fetch 4 ,mem_lpm_ctrl3 
+0x146e 004586 copy pdata ,regb 
+0x146f 004587 fetch 5 ,mem_lpm_xtalcnt 
+0x1470 004588 store 4 ,core_lpm_reg 
+0x1471 004589 rshift32 pdata ,rega 
+0x1472 004590 until null ,lpo_edge 
+0x1473 004591 deposit clkn 
+0x1474 004592 store 6 ,mem_sleep_clkn 
+0x1475 004593 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+0x1476 004594 until null ,lpo_edge 
+0x1477 004595 until null ,lpo_edge 
+0x1478 004596 deposit rega 
+0x1479 004597 store 1 ,core_lpm_isogate 
+0x147a 004598 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+0x147b 004599 until null ,lpo_edge 
+0x147c 004600 until null ,lpo_edge 
+0x147d 004601 storer regb ,4 ,core_lpm_reg 
+0x147e 004602 jam lpmreg_sel_ctrl3 ,core_lpm_wr 
+:      004603 lpm_enter_sleep:
+0x147f 004604 until null ,lpo_edge 
+0x1480 004605 until null ,lpo_edge 
+0x1481 004606 storet 4 ,core_lpm_reg 
+0x1482 004607 jam lpmreg_sel_counter ,core_lpm_wr 
+0x1483 004608 until null ,never 
+:      004613 lpm_recover_clk:
+0x1484 004614 bpatch patch14_3 ,mem_patch14 
+0x1485 004615 setarg 0 
+0x1486 004616 copy auxcnt ,null 
+0x1487 004617 branch lpm_recover_timeout ,zero 
+0x1488 004618 fetch 1 ,core_lpm_xtalcnt 
+0x1489 004619 fetcht 1 ,core_lpm_buckcnt 
+0x148a 004620 isub temp ,null 
+0x148b 004621 branch lpm_recover_xtal ,positive 
+0x148c 004622 deposit temp 
+:      004623 lpm_recover_xtal:
+0x148d 004624 isub auxcnt ,pdata 
+0x148e 004625 increase 1 ,pdata 
+:      004626 lpm_recover_timeout:
+0x148f 004627 increase 10 ,pdata 
+0x1490 004628 until null ,lpo_edge 
+0x1491 004629 iadd lpo_time ,pdata 
+0x1492 004630 fetcht 4 ,mem_sleep_counter 
+0x1493 004631 iadd temp ,pdata 
+0x1494 004632 fetcht 3 ,mem_clks_per_lpo 
+0x1495 004633 imul32 temp ,pdata 
+0x1496 004634 rshift8 pdata ,pdata 
+0x1497 004635 rshift4 pdata ,pdata 
+0x1498 004636 increase param_lpm_fix ,pdata 
+0x1499 004637 fetcht 2 ,mem_param_rt_rthalfslot 
+0x149a 004638 idiv temp 
+0x149b 004639 call get_div_result 
+0x149c 004640 lshift16 pdata ,pdata 
+0x149d 004641 remainder temp 
+0x149e 004642 ior temp ,pdata 
+0x149f 004643 fetcht 6 ,mem_sleep_clkn 
+0x14a0 004644 call clk_add 
+0x14a1 004645 copy temp ,clkn 
+0x14a2 004646 fetch 6 ,mem_context + coffset_clk_offset 
+0x14a3 004647 call calc_clke2 
+0x14a4 004648 deposit clke 
+0x14a5 004649 store 6 ,mem_pdatatemp 
+0x14a6 004650 deposit auxcnt 
+0x14a7 004651 istore 1 ,contw 
+0x14a8 004652 fetch 1 ,core_gpio_in1 
+0x14a9 004653 or_into 0xf0 ,pdata 
+0x14aa 004654 istore 1 ,contw 
+0x14ab 004655 rtn 
+:      004657 lpm_dispatch:
+0x14ac 004658 bpatch patch14_4 ,mem_patch14 
+0x14ad 004659 call lpo_calibration 
+0x14ae 004660 fetch 3 ,mem_clks_per_lpo 
+0x14af 004661 rtn blank 
+0x14b0 004662 fetch 1 ,mem_lpm_mode 
+0x14b1 004663 rtn blank 
+0x14b2 004664 fetch 1 ,mem_ssp_enable 
+0x14b3 004665 branch lpm_dispatch_next ,blank 
+0x14b4 004666 fetch 1 ,mem_sp_local_key_invalid 
+0x14b5 004667 rtn blank 
+:      004668 lpm_dispatch_next:
+0x14b6 004669 fetch 1 ,mem_sc_calc 
+0x14b7 004670 nrtn blank 
+0x14b8 004671 arg context_check_a_wack ,regc 
+0x14b9 004672 call context_search 
+0x14ba 004673 rtn zero 
+0x14bb 004674 call lpm_check_wake_lock 
+0x14bc 004675 nrtn blank 
+0x14bd 004676 fetch 1 ,mem_context 
+0x14be 004677 compare 3 ,pdata ,0x7 
+0x14bf 004678 nbranch lpm_dispatch_unconn ,true 
+0x14c0 004679 fetch 2 ,mem_context + coffset_tsniff 
+0x14c1 004680 rtn blank 
+0x14c2 004681 rtn wake 
+0x14c3 004682 bpatch patch14_5 ,mem_patch14 
+:      004683 lpm_dispatch_next2:
+0x14c4 004684 fetcht 1 ,mem_lpm_current_mult 
+0x14c5 004685 fetch 2 ,mem_context + coffset_tsniff 
+0x14c6 004686 imul32 temp ,pdata 
+0x14c7 004687 rshift4 temp ,temp 
+0x14c8 004688 rshift2 temp ,temp 
+0x14c9 004689 isub temp ,pdata 
+0x14ca 004690 fetcht 4 ,mem_context + coffset_sniff_anchor 
+0x14cb 004691 iadd temp ,pdata 
+0x14cc 004692 fetcht 1 ,mem_lpm_overhead 
+0x14cd 004693 isub temp ,pdata 
+0x14ce 004694 lshift16 pdata ,alarm 
+0x14cf 004695 bpatch patch14_6 ,mem_patch14 
+0x14d0 004696 fetch 2 ,mem_context + coffset_rx_window 
+0x14d1 004697 rshift pdata ,pdata 
+0x14d2 004698 call clk2bt 
+0x14d3 004699 deposit alarm 
+0x14d4 004700 call clk_diff 
+0x14d5 004701 copy clke ,temp 
+0x14d6 004702 call clk_diff_rt 
+0x14d7 004703 rtn user 
+:      004704 lpm_dispatch_sleep:
+0x14d8 004705 call clk2lpo 
+:      004706 lpm_dispatch_lpo:
+0x14d9 004707 bpatch patch14_7 ,mem_patch14 
+0x14da 004708 fetch 1 ,mem_lpm_xtalcnt 
+0x14db 004709 isub temp ,null 
+0x14dc 004710 branch lpm_clear_counter ,positive 
+0x14dd 004711 storet 4 ,mem_sleep_counter 
+0x14de 004712 call app_will_enter_lpm 
+0x14df 004713 call l2cap_lpm_save_txbuf 
+0x14e0 004714 fetcht 4 ,mem_sleep_counter 
+0x14e1 004715 branch lpm_sleep 
+:      004717 lpm_dispatch_unconn:
+0x14e2 004718 bpatch patch15_0 ,mem_patch15 
+0x14e3 004719 fetch 1 ,mem_context 
+0x14e4 004720 rtnbit1 state_inconn 
+0x14e5 004721 rtnbit1 state_inpage 
+0x14e6 004722 fetch 1 ,mem_ssp_enable 
+0x14e7 004723 branch lpm_unconn_nossp ,blank 
+0x14e8 004724 fetch 1 ,mem_sp_local_key_invalid 
+0x14e9 004725 rtn blank 
+:      004726 lpm_unconn_nossp:
+0x14ea 004727 fetch 1 ,mem_le_adv_enable 
+0x14eb 004728 nbranch lpm_unconn_cont ,blank 
+0x14ec 004729 fetch 1 ,mem_scan_mode 
+0x14ed 004730 rtn blank 
+:      004731 lpm_unconn_cont:
+0x14ee 004732 fetch 2 ,mem_lpm_interval 
+0x14ef 004733 rtn blank 
+:      004734 lpm_sleep_btclk:
+0x14f0 004735 fetcht 1 ,mem_lpm_overhead 
+0x14f1 004736 isub temp ,pdata 
+0x14f2 004737 arg 7500 ,temp 
+0x14f3 004738 imul32 temp ,pdata 
+0x14f4 004739 branch lpm_dispatch_sleep 
+:      004741 lpm_set_mult:
+0x14f5 004742 bpatch patch15_1 ,mem_patch15 
+0x14f6 004743 disable wake 
+0x14f7 004744 fetch 1 ,mem_state 
+0x14f8 004745 rtnbit0 state_insniff 
+0x14f9 004746 nbranch lpm_not_match ,match 
+0x14fa 004747 call lpm_match 
+0x14fb 004748 fetch 2 ,mem_rx_window_sniff 
+0x14fc 004749 store 2 ,mem_rx_window 
+0x14fd 004750 fetch 1 ,mem_arq 
+0x14fe 004751 bbit1 wack ,lpm_mult_short 
+0x14ff 004752 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x1500 004753 call l2cap_malloc_is_fifo_empty 
+0x1501 004754 nbranch lpm_mult_short ,blank 
+0x1502 004755 fetch 1 ,mem_classic_bt_flag 
+0x1503 004756 bbit1 short_mult_flag ,lpm_mult_short 
+:      004757 lpm_mult_wait_timeout:
+0x1504 004758 fetch 2 ,mem_cb_bt_set_mult 
+0x1505 004759 call callback_func 
+0x1506 004760 nbranch lpm_mult_short ,blank 
+0x1507 004761 jam 0 ,mem_lpm_current_mult 
+0x1508 004762 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x1509 004763 fetch 1 ,mem_lpm_mult_cnt 
+0x150a 004764 branch lpm_mult_long ,blank 
+0x150b 004765 increase -1 ,pdata 
+0x150c 004766 store 1 ,mem_lpm_mult_cnt 
+0x150d 004767 rtn 
+:      004770 classic_bt_set_mult_short_flag:
+0x150e 004771 arg short_mult_flag ,queue 
+0x150f 004772 branch classic_bluetooth_set_flag 
+:      004774 classic_bt_clr_mult_short_flag:
+0x1510 004775 arg short_mult_flag ,queue 
+0x1511 004776 branch classic_bluetooth_clr_flag 
+:      004780 lpm_match:
+0x1512 004781 jam 0 ,mem_sniff_unint_lost 
+0x1513 004782 fetch 3 ,mem_sniff_rcv 
+0x1514 004783 increase 1 ,pdata 
+0x1515 004784 store 3 ,mem_sniff_rcv 
+0x1516 004785 rtn 
+:      004787 lpm_not_match:
+0x1517 004788 bpatch patch15_2 ,mem_patch15 
+0x1518 004789 fetcht 2 ,mem_rx_window_sniff 
+0x1519 004790 rshift temp ,temp 
+0x151a 004791 fetch 2 ,mem_rx_window 
+0x151b 004792 iadd temp ,pdata 
+0x151c 004793 store 2 ,mem_rx_window 
+:      004794 lpm_lost:
+0x151d 004795 jam 0 ,mem_lpm_current_mult 
+0x151e 004796 fetch 3 ,mem_sniff_lost 
+0x151f 004797 increase 1 ,pdata 
+0x1520 004798 store 3 ,mem_sniff_lost 
+0x1521 004799 fetch 1 ,mem_sniff_unint_lost 
+0x1522 004800 increase 1 ,pdata 
+0x1523 004801 store 1 ,mem_sniff_unint_lost 
+0x1524 004802 rtn 
+:      004804 lpm_mult_short:
+0x1525 004805 jam 0 ,mem_lpm_current_mult 
+0x1526 004806 fetch 1 ,mem_lpm_mult_timeout 
+0x1527 004807 store 1 ,mem_lpm_mult_cnt 
+0x1528 004808 rtn 
+:      004810 lpm_mult_long:
+0x1529 004811 fetcht 1 ,mem_lpm_mult 
+0x152a 004812 storet 1 ,mem_lpm_current_mult 
+0x152b 004813 rtn 
+:      004815 lpm_cal_xtal_startup:
+0x152c 004816 fetch 1 ,mem_lpm_xtalcnt 
+0x152d 004817 nrtn blank 
+0x152e 004818 jam clksel_rc ,core_clksel 
+0x152f 004819 setarg 0xf0c 
+0x1530 004820 call lpm_write_config 
+0x1531 004821 setarg 200000 
+0x1532 004822 call sleep 
+0x1533 004823 until null ,lpo_edge 
+0x1534 004824 copy lpo_time ,alarm 
+0x1535 004825 call xtal_fast_wake 
+0x1536 004826 jam clksel_xtal ,core_clksel 
+0x1537 004827 nop 10 
+0x1538 004828 until null ,lpo_edge 
+0x1539 004829 deposit lpo_time 
+0x153a 004830 isub alarm ,pdata 
+0x153b 004831 increase 0x30 ,pdata 
+0x153c 004832 arg 0xff ,temp 
+0x153d 004833 call ceiling 
+0x153e 004834 store 1 ,mem_lpm_xtalcnt 
+0x153f 004835 nop 30000 
+0x1540 004836 nop 30000 
+0x1541 004837 nop 30000 
+0x1542 004838 rtn 
+:      004872 lpm_write_config:
+0x1543 004873 arg 0xfff ,contw 
+0x1544 004874 iand contw ,contw 
+0x1545 004875 fetch 1 ,mem_lpm_config 
+0x1546 004876 and_into 0xf0 ,pdata 
+0x1547 004877 lshift8 pdata ,pdata 
+0x1548 004878 ior contw ,pdata 
+0x1549 004879 store 2 ,core_lpm_reg 
+0x154a 004880 ifetch 2 ,contr 
+0x154b 004881 istore 2 ,contw 
+:      004883 lpm_write_ctrl:
+0x154c 004884 setarg lpmreg_sel_ctrl 
+0x154d 004885 branch lpm_write 
+:      004887 lpm_write_ctrl2:
+0x154e 004888 setarg lpmreg_sel_ctrl2 
+:      004889 lpm_write:
+0x154f 004890 until null ,lpo_edge 
+0x1550 004891 store 1 ,core_lpm_wr 
+0x1551 004892 until null ,lpo_edge 
+0x1552 004893 until null ,lpo_edge 
+0x1553 004894 rtn 
+:      004896 lpm_write_sel_vdd:
+0x1554 004897 fetch 4 ,core_lpm_ctrl2 
+0x1555 004898 store 4 ,core_lpm_reg 
+0x1556 004899 fetch 1 ,core_lpm_ctrl2 
+0x1557 004900 and_into 0x41 ,pdata 
+0x1558 004901 fetcht 1 ,mem_lpm_ctrl3 
+0x1559 004902 ior temp ,pdata 
+0x155a 004903 store 1 ,core_lpm_reg 
+:      004904 lpm_write_ctrl3:
+0x155b 004905 setarg lpmreg_sel_ctrl3 
+0x155c 004906 branch lpm_write 
+:      004909 lpm_write_gpio_wakeup:
+0x155d 004910 bpatch patch15_3 ,mem_patch15 
+0x155e 004911 fetch 4 ,mem_gpio_wakeup_low 
+0x155f 004912 store 4 ,core_lpm_reg 
+0x1560 004913 setarg lpmreg_sel_gpiolow 
+0x1561 004914 call lpm_write 
+0x1562 004915 fetch 4 ,mem_gpio_wakeup_high 
+0x1563 004916 store 4 ,core_lpm_reg 
+0x1564 004917 setarg lpmreg_sel_gpiohigh 
+0x1565 004918 branch lpm_write 
+:      004920 lpm_get_wake_lock:
+0x1566 004921 fetch 2 ,mem_lpm_wake_lock 
+0x1567 004922 qset1 pdata 
+0x1568 004923 store 2 ,mem_lpm_wake_lock 
+0x1569 004924 rtn 
+:      004926 lpm_put_wake_lock:
+0x156a 004927 fetch 2 ,mem_lpm_wake_lock 
+0x156b 004928 qset0 pdata 
+0x156c 004929 store 2 ,mem_lpm_wake_lock 
+0x156d 004930 rtn 
+:      004934 lpm_check_wake_lock:
+0x156e 004935 bpatch patch15_4 ,mem_patch15 
+0x156f 004936 call app_check_wake_lock 
+0x1570 004937 fetch 2 ,mem_lpm_wake_lock 
+0x1571 004938 copy pdata ,rega 
+0x1572 004939 fetch 1 ,mem_state_map 
+0x1573 004940 isolate1 smap_rxlmp ,pdata 
+0x1574 004941 setflag true ,wake_lock_lmp_rx ,rega 
+0x1575 004942 fetch 1 ,mem_lmo_opcode1 
+0x1576 004943 fetcht 1 ,mem_lmo_opcode2 
+0x1577 004944 iadd temp ,pdata 
+0x1578 004945 fetcht 1 ,mem_lmp_to_send 
+0x1579 004946 iadd temp ,pdata 
+0x157a 004947 nsetflag blank ,wake_lock_lmp_tx ,rega 
+0x157b 004948 fetch 3 ,mem_tx_fifo3 
+0x157c 004949 nsetflag blank ,wake_lock_ble_tx ,rega 
+0x157d 004950 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x157e 004951 fetcht 2 ,mem_l2cap_rxbuff2_len 
+0x157f 004952 iadd temp ,pdata 
+0x1580 004953 nsetflag blank ,wake_lock_l2cap_rx ,rega 
+0x1581 004954 fetch util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x1582 004955 nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+0x1583 004956 fetch util_fifo_len ,mem_ipc_fifo_c512bt 
+0x1584 004957 nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+0x1585 004958 fetch 1 ,mem_hci_cmd 
+0x1586 004959 nsetflag blank ,wake_lock_cmd ,rega 
+0x1587 004960 fetch 1 ,mem_device_option 
+0x1588 004961 compare dvc_op_module ,pdata ,0xff 
+0x1589 004962 call lpm_uart_wake_lock ,true 
+0x158a 004963 copy rega ,pdata 
+0x158b 004964 store 2 ,mem_lpm_wake_lock 
+0x158c 004965 rtn 
+:      004967 lpm_uart_wake_lock:
+0x158d 004968 fetch 2 ,core_uart_rxitems 
+0x158e 004969 nsetflag blank ,wake_lock_uart_rx ,rega 
+0x158f 004970 fetch 2 ,core_uart_txitems 
+0x1590 004971 nsetflag blank ,wake_lock_uart_tx ,rega 
+0x1591 004972 rtn 
+:      004974 lpm_shut_down:
+0x1592 004975 fetch 4 ,core_lpm_ctrl 
+0x1593 004976 set0 27 ,pdata 
+0x1594 004977 store 4 ,core_lpm_reg 
+0x1595 004978 call lpm_write_ctrl 
+0x1596 004979 branch assert 
+:      004981 lpm_disable_exen_output:
+0x1597 004982 fetch 4 ,core_lpm_xtalcnt 
+0x1598 004983 set0 20 ,pdata 
+0x1599 004984 store 4 ,core_lpm_reg 
+0x159a 004985 branch lpm_write_ctrl2 
+:      004992 le_init_conn:
+0x159b 004993 bpatchx patch33_1 ,mem_patch33 
+0x159c 004994 disable wake 
+0x159d 004995 jam 1 ,mem_le_conn_handle 
+0x159e 004996 jam 3 ,mem_le_state 
+0x159f 004997 jam 1 ,mem_le_arq 
+0x15a0 004998 setarg -1 
+0x15a1 004999 store 2 ,mem_le_event_count 
+0x15a2 005000 force 0 ,pdata 
+0x15a3 005001 store 1 ,mem_le_ch 
+0x15a4 005002 store 1 ,mem_le_op 
+0x15a5 005003 store 3 ,mem_sniff_rcv 
+0x15a6 005004 store 3 ,mem_sniff_lost 
+0x15a7 005005 call le_clear_enc 
+0x15a8 005006 jam 1 ,mem_le_txheader 
+0x15a9 005007 jam 0 ,mem_le_txlen 
+0x15aa 005008 jam fun_rx_ll_1m_phy ,mem_le_rx_phy 
+0x15ab 005009 jam fun_tx_ll_1m_phy ,mem_le_tx_phy 
+0x15ac 005010 jam 0 ,mem_le_l2cap_att_states 
+0x15ad 005011 branch le_supervision_flush 
+:      005013 le_init_master:
+0x15ae 005014 bpatchx patch33_2 ,mem_patch33 
+0x15af 005015 enable master 
+0x15b0 005016 jam lemode_master ,mem_le_mode 
+0x15b1 005017 jam 1 ,mem_le_att_handle 
+0x15b2 005018 jam 1 ,mem_le_search_handle_start 
+0x15b3 005019 setarg 0xffff 
+0x15b4 005020 store 2 ,mem_le_search_handle_end 
+0x15b5 005021 force 0 ,pdata 
+0x15b6 005022 store 5 ,mem_ccm_pcnt_rx 
+0x15b7 005023 set1 le_ccm_directionbit ,pdata 
+0x15b8 005024 store 5 ,mem_ccm_pcnt_tx 
+0x15b9 005025 branch le_init_conn 
+:      005028 le_init_slave:
+0x15ba 005029 bpatchx patch33_3 ,mem_patch33 
+0x15bb 005030 disable master 
+0x15bc 005031 setarg 0x17 
+0x15bd 005032 store 2 ,mem_le_remote_mtu 
+0x15be 005033 increase 4 ,pdata 
+0x15bf 005034 store 2 ,mem_remote_rx_max_octets 
+0x15c0 005035 jam lemode_slave ,mem_le_mode 
+0x15c1 005036 jam 0 ,mem_le_adv_enable 
+0x15c2 005037 jam 0 ,mem_lpm_current_mult 
+0x15c3 005038 call le_clear_pairing_state 
+0x15c4 005039 fetch 2 ,mem_le_superto 
+0x15c5 005040 store 2 ,mem_le_init_superto 
+0x15c6 005041 fetch 2 ,mem_le_tsniff 
+0x15c7 005042 mul32 pdata ,5 ,pdata 
+0x15c8 005043 rshift4 pdata ,pdata 
+0x15c9 005044 store 2 ,mem_le_superto 
+0x15ca 005045 branch le_init_conn 
+:      005052 le_conn_dispatch:
+0x15cb 005053 bpatchx patch33_4 ,mem_patch33 
+0x15cc 005054 call le_enable 
+0x15cd 005055 fetch 1 ,mem_le_state 
+0x15ce 005056 isolate1 lestate_encryption ,pdata 
+0x15cf 005057 setflag true ,mark_ble_encryption ,mark 
+0x15d0 005058 call app_process_ble 
+0x15d1 005059 fetch 1 ,mem_le_mode 
+0x15d2 005060 bbit1 mode_master ,le_master_dispatch 
+0x15d3 005061 branch le_slave_dispatch 
+:      005067 le_master_dispatch:
+0x15d4 005068 bpatchx patch33_5 ,mem_patch33 
+0x15d5 005069 enable master 
+0x15d6 005070 call le_supervision_update 
+0x15d7 005071 branch le_master_disconn ,positive 
+0x15d8 005072 call le_setup 
+0x15d9 005073 call le_prepare_tx 
+0x15da 005074 disable match 
+0x15db 005075 call le_transmit_receive_sifs 
+0x15dc 005076 nrtn match 
+0x15dd 005077 fetch 1 ,mem_le_conn_rcv 
+0x15de 005078 increase 1 ,pdata 
+0x15df 005079 store 1 ,mem_le_conn_rcv 
+0x15e0 005080 call le_acknowledge 
+0x15e1 005081 disable master 
+0x15e2 005082 rtn 
+:      005084 le_master_disconn:
+0x15e3 005085 call le_disconnect 
+0x15e4 005086 disable master 
+0x15e5 005087 rtn 
+:      005092 le_slave_dispatch:
+0x15e6 005093 bpatchx patch33_6 ,mem_patch33 
+0x15e7 005094 jam 0 ,mem_le_md_count 
+0x15e8 005095 set0 mark_ble_crc_fail ,mark 
+0x15e9 005096 call sp_calc_sequence_256 
+0x15ea 005097 call le_secure_connect_sm 
+0x15eb 005098 disable attempt 
+0x15ec 005099 call le_supervision_update 
+0x15ed 005100 branch le_slave_disconn ,positive 
+0x15ee 005101 fetch 1 ,mem_le_rx_phy 
+0x15ef 005102 call le_enable_phy_by_pdata 
+0x15f0 005103 call le_setup 
+0x15f1 005104 call le_receive_slave 
+0x15f2 005105 nbranch le_slave_unsync ,sync 
+0x15f3 005106 call le_got_first_packet 
+0x15f4 005107 branch le_slave_match ,match 
+0x15f5 005108 bmark1 mark_ble_crc_fail ,le_slave_crc_fail 
+0x15f6 005109 branch le_slave_cont 
+:      005112 le_slave_crc_fail:
+:      005113 le_slave_match:
+0x15f7 005114 bpatchx patch33_7 ,mem_patch33 
+0x15f8 005115 fetch 1 ,mem_le_md_count 
+0x15f9 005116 pincrease 1 
+0x15fa 005117 store 1 ,mem_le_md_count 
+0x15fb 005118 beq le_md_max_count ,le_slave_cont 
+0x15fc 005119 call le_acknowledge 
+0x15fd 005120 call le_prepare_tx 
+0x15fe 005121 fetch 1 ,mem_le_tx_phy 
+0x15ff 005122 call le_enable_phy_by_pdata 
+0x1600 005123 call le_transmit_norx 
+0x1601 005124 call le_parse 
+0x1602 005125 fetch 2 ,mem_cb_ble_transmit 
+0x1603 005126 call callback_func 
+0x1604 005127 call le_check_md 
+0x1605 005128 branch le_slave_more_data ,user 
+:      005129 le_slave_cont:
+0x1606 005130 bpatchx patch34_0 ,mem_patch34 
+0x1607 005131 call le_pairing_sm 
+0x1608 005132 call le_check_paring_time 
+0x1609 005133 call check_51cmd 
+0x160a 005134 fetch 1 ,mem_le_op 
+0x160b 005135 bbit1 op_disconn ,le_slave_disconn 
+:      005136 le_slave_unsync:
+0x160c 005137 bpatchx patch34_1 ,mem_patch34 
+0x160d 005138 call le_lpm_set_mult 
+0x160e 005139 branch calc_clke_offset 
+:      005142 le_check_md:
+0x160f 005143 disable user 
+0x1610 005144 bmark1 mark_ble_rx_md ,enable_user 
+0x1611 005145 bmark1 mark_ble_tx_md ,enable_user 
+0x1612 005146 bmark1 mark_ble_crc_fail ,enable_user 
+0x1613 005147 rtn 
+:      005150 le_slave_more_data:
+0x1614 005151 bpatchx patch34_2 ,mem_patch34 
+0x1615 005152 enable attempt 
+0x1616 005153 call le_transmit_receive_sifs_notx 
+0x1617 005154 branch le_slave_match ,match 
+0x1618 005155 bmark1 mark_ble_crc_fail ,le_slave_crc_fail 
+0x1619 005156 branch le_slave_cont 
+:      005158 le_slave_disconn:
+:      005161 le_disconnect:
+0x161a 005162 bpatchx patch34_3 ,mem_patch34 
+0x161b 005163 call le_clear_connection_info 
+0x161c 005164 call app_disconn_reason_collect_ble 
+0x161d 005165 call le_clear_pairing_state 
+0x161e 005166 call le_sc_state_clear 
+0x161f 005167 jam bt_evt_le_disconnected ,mem_fifo_temp 
+0x1620 005168 branch ui_ipc_send_event 
+:      005170 le_clear_connection_info:
+0x1621 005171 arg mem_used_map ,contw 
+0x1622 005172 call memset0_16 
+0x1623 005173 jam 0 ,mem_le_conn_handle 
+0x1624 005174 jam lemode_idle ,mem_le_mode 
+0x1625 005175 jam 0 ,mem_le_state 
+:      005176 le_clear_pairing_state:
+0x1626 005177 bpatchx patch34_4 ,mem_patch34 
+0x1627 005178 jam flag_le_enc_null ,mem_le_enc_state 
+0x1628 005179 jam flag_le_pairing_null ,mem_le_pairing_state 
+0x1629 005180 branch sp_clear_flags 
+:      005182 le_got_first_packet:
+0x162a 005183 bpatchx patch34_5 ,mem_patch34 
+0x162b 005184 fetch 1 ,mem_le_conn_rcv 
+0x162c 005185 increase 1 ,pdata 
+0x162d 005186 store 1 ,mem_le_conn_rcv 
+0x162e 005187 fetch 1 ,mem_le_state 
+0x162f 005188 rtnbit1 lestate_got_first_packet 
+0x1630 005189 set1 lestate_got_first_packet ,pdata 
+0x1631 005190 store 1 ,mem_le_state 
+0x1632 005191 fetch 2 ,mem_le_init_superto 
+0x1633 005192 store 2 ,mem_le_superto 
+0x1634 005193 setarg 0 
+0x1635 005194 store 4 ,mem_le_transmit_window 
+0x1636 005195 rtn 
+:      005203 le_enable_phy_by_pdata:
+0x1637 005204 copy pdata ,temp 
+0x1638 005205 bpatchx patch34_6 ,mem_patch34 
+0x1639 005206 copy temp ,pdata 
+0x163a 005207 bbit1 bit_le_1m_phy ,le_enable 
+0x163b 005208 bbit1 bit_le_2m_phy ,le_enable_2m 
+0x163c 005209 bbit0 bit_le_coded_phy ,le_enable 
+0x163d 005210 bbit1 bit_le_coded_phy_s8 ,le_enable_coded_s8 
+0x163e 005211 bbit1 bit_le_coded_phy_s2 ,le_enable_coded_s2 
+0x163f 005212 branch le_enable 
+:      005214 le_enable_2m:
+0x1640 005215 call le_enable 
+0x1641 005216 set1 mark_ble_2m ,mark 
+0x1642 005217 set0 mark_ble_lr ,mark 
+0x1643 005218 jam 0x03 ,0x8901 
+0x1644 005219 jam 0x84 ,0x8920 
+0x1645 005220 rtn 
+:      005222 le_enable_coded_s2:
+:      005223 le_enable_coded:
+0x1646 005224 call le_enable 
+0x1647 005225 set1 mark_ble_lr ,mark 
+0x1648 005226 set0 mark_ble_lr_s8 ,mark 
+0x1649 005227 jam 0x05 ,0x8901 
+0x164a 005228 jam 0x80 ,0x8920 
+0x164b 005229 jam 0x20 ,0x8930 
+0x164c 005230 jam 0x0a ,0x8934 
+0x164d 005231 rtn 
+:      005233 le_enable_coded_s8:
+0x164e 005234 call le_enable_coded 
+0x164f 005235 set1 mark_ble_lr_s8 ,mark 
+0x1650 005236 rtn 
+:      005238 le_enable:
+0x1651 005239 bpatchx patch34_7 ,mem_patch34 
+0x1652 005240 enable le 
+0x1653 005241 set0 mark_ble_2m ,mark 
+0x1654 005242 set0 mark_ble_lr ,mark 
+0x1655 005243 jam 0x01 ,0x8901 
+0x1656 005244 jam 0x80 ,0x8920 
+0x1657 005245 jam 0xa7 ,0x8925 
+0x1658 005246 jam 0x03 ,0x8930 
+0x1659 005247 jam 0x58 ,0x8933 
+0x165a 005248 jam 0x0a ,0x8934 
+0x165b 005249 jam 0x40 ,0x8937 
+0x165c 005250 jam 9 ,core_rx_bq_cfg0 
+0x165d 005251 rtn 
+:      005254 le_disable:
+0x165e 005255 bpatchx patch35_0 ,mem_patch35 
+0x165f 005256 disable le 
+0x1660 005257 set0 mark_ble_encryption ,mark 
+0x1661 005258 jam 0x00 ,0x8901 
+0x1662 005259 jam 0x80 ,0x8920 
+0x1663 005260 jam 0xa3 ,0x8925 
+0x1664 005261 jam 0x03 ,0x8930 
+0x1665 005262 jam 0x68 ,0x8933 
+0x1666 005263 jam 0x09 ,0x8934 
+0x1667 005264 jam 0x28 ,0x8937 
+0x1668 005265 jam 9 ,core_rx_bq_cfg0 
+0x1669 005266 rtn 
+:      005268 le_prep:
+0x166a 005269 disable enable_crc 
+0x166b 005270 disable enable_white 
+0x166c 005271 fetch 3 ,mem_le_crcinit 
+0x166d 005272 iforce crc24_init 
+0x166e 005273 fetch 1 ,mem_le_ch_mapped 
+0x166f 005274 reverse pdata ,temp 
+0x1670 005275 set1 1 ,temp 
+0x1671 005276 rshift temp ,white_init 
+0x1672 005277 rtn 
+:      005280 le_rx_setfreq:
+0x1673 005281 call le_setfreq 
+:      005282 le_rf_rx_enable:
+0x1674 005283 call set_freq_rx 
+0x1675 005284 fetch 2 ,mem_param_pll_setup 
+0x1676 005285 call sleep 
+0x1677 005286 branch rf_rx_enable 
+:      005288 le_tx_setfreq:
+0x1678 005289 branch txon ,match 
+0x1679 005290 bmark1 mark_ble_crc_fail ,txon 
+:      005291 le_tx_setfreq0:
+0x167a 005292 call le_setfreq 
+0x167b 005293 branch set_freq_tx 
+:      005294 le_setfreq:
+0x167c 005295 bpatchx patch35_1 ,mem_patch35 
+0x167d 005296 call set_sync_on 
+0x167e 005297 fetch 1 ,mem_le_testtype 
+0x167f 005298 nbranch le_ctf_test ,blank 
+0x1680 005299 fetch 1 ,mem_le_ch_mapped 
+0x1681 005300 sub pdata ,36 ,null 
+0x1682 005301 branch le_ctf_normal ,positive 
+0x1683 005302 force 0 ,temp 
+0x1684 005303 rtneq 37 
+0x1685 005304 force 24 ,temp 
+0x1686 005305 rtneq 38 
+0x1687 005306 force 78 ,temp 
+0x1688 005307 rtn 
+:      005309 le_ctf_normal:
+0x1689 005310 sub pdata ,10 ,null 
+0x168a 005311 branch le_ctf_low ,positive 
+0x168b 005312 increase 1 ,pdata 
+:      005314 le_ctf_low:
+0x168c 005315 lshift pdata ,pdata 
+0x168d 005316 add pdata ,2 ,temp 
+0x168e 005317 rtn 
+:      005319 le_ctf_test:
+0x168f 005320 fetch 1 ,mem_le_ch_mapped 
+0x1690 005321 lshift pdata ,temp 
+0x1691 005322 rtn 
+:      005324 le_sca_map:
+0x1692 005325 arg 500 ,temp 
+0x1693 005326 rtn blank 
+0x1694 005327 arg 250 ,temp 
+0x1695 005328 rtneq 1 
+0x1696 005329 arg 150 ,temp 
+0x1697 005330 rtneq 2 
+0x1698 005331 arg 100 ,temp 
+0x1699 005332 rtneq 3 
+0x169a 005333 arg 75 ,temp 
+0x169b 005334 rtneq 4 
+0x169c 005335 arg 50 ,temp 
+0x169d 005336 rtneq 5 
+0x169e 005337 arg 40 ,temp 
+0x169f 005338 rtneq 6 
+0x16a0 005339 arg 20 ,temp 
+0x16a1 005340 rtn 
+:      005344 le_setup:
+0x16a2 005345 bpatchx patch35_2 ,mem_patch35 
+0x16a3 005346 enable swfine 
+0x16a4 005347 fetch 4 ,mem_le_access 
+0x16a5 005348 iforce access 
+0x16a6 005349 call calc_mod_value_scale_le 
+0x16a7 005350 call le_map_channel 
+0x16a8 005351 setarg 0x200 
+0x16a9 005352 branch le_setup_master ,master 
+0x16aa 005353 fetch 2 ,mem_le_receive_window 
+0x16ab 005354 rshift pdata ,pdata 
+:      005355 le_setup_master:
+0x16ac 005356 fetcht 2 ,mem_param_pll_setup 
+0x16ad 005357 iadd temp ,pdata 
+0x16ae 005358 call ahead_window 
+0x16af 005359 deposit clke 
+0x16b0 005360 rtn 
+:      005363 le_context_nextevent:
+0x16b1 005364 bpatchx patch35_3 ,mem_patch35 
+0x16b2 005365 call push_stack_rega_b_c 
+0x16b3 005366 storer loopcnt ,2 ,mem_loopcnt 
+0x16b4 005367 add rega ,coffset_mode ,contr 
+0x16b5 005368 ifetch 1 ,contr 
+0x16b6 005369 rtnbit0 mode_le 
+0x16b7 005370 add rega ,coffset_le_event_cnt ,contw 
+0x16b8 005371 ifetch 2 ,contw 
+0x16b9 005372 increase 1 ,pdata 
+0x16ba 005373 istore 2 ,contw 
+0x16bb 005374 call le_update_param 
+0x16bc 005375 call le_update_channel_map 
+0x16bd 005376 call le_update_phy 
+0x16be 005377 call le_context_nexthop 
+0x16bf 005378 call pop_stack_rega_b_c 
+0x16c0 005379 fetchr loopcnt ,2 ,mem_loopcnt 
+0x16c1 005380 rtn 
+:      005382 le_context_nexthop:
+0x16c2 005383 add rega ,coffset_le_hop ,contr 
+0x16c3 005384 ifetch 1 ,contr 
+0x16c4 005385 add rega ,coffset_le_ch ,contw 
+0x16c5 005386 ifetcht 1 ,contw 
+0x16c6 005387 iadd temp ,pdata 
+0x16c7 005388 sub pdata ,36 ,null 
+0x16c8 005389 branch le_nexthop_nowrap ,positive 
+0x16c9 005390 increase -37 ,pdata 
+:      005391 le_nexthop_nowrap:
+0x16ca 005392 istore 1 ,contw 
+0x16cb 005393 rtn 
+:      005396 le_calc_channel_map:
+0x16cc 005397 add rega ,coffset_le_channel_map ,contr 
+0x16cd 005398 ifetch 5 ,contr 
+0x16ce 005399 force 0 ,temp 
+0x16cf 005400 force 37 ,loopcnt 
+:      005401 le_count_channels_loop:
+0x16d0 005402 bbit0 0 ,le_count_channels_notused 
+0x16d1 005403 increase 1 ,temp 
+:      005404 le_count_channels_notused:
+0x16d2 005405 rshift pdata ,pdata 
+0x16d3 005406 loop le_count_channels_loop 
+0x16d4 005407 add temp ,-1 ,pdata 
+0x16d5 005408 add rega ,coffset_le_channels ,contw 
+0x16d6 005409 istore 1 ,contw 
+0x16d7 005410 rtn 
+:      005412 le_map_channel:
+0x16d8 005413 bpatchx patch35_4 ,mem_patch35 
+0x16d9 005414 fetch 1 ,mem_le_ch 
+0x16da 005415 iforce queue 
+0x16db 005416 fetcht 5 ,mem_le_channel_map 
+0x16dc 005417 qisolate1 temp 
+0x16dd 005418 branch le_map_channel_end ,true 
+:      005419 le_map_channel_next:
+0x16de 005420 fetch 1 ,mem_le_channels 
+0x16df 005421 isub queue ,pdata 
+0x16e0 005422 branch le_map_channel_cont ,positive 
+0x16e1 005423 sub pdata ,-1 ,queue 
+0x16e2 005424 branch le_map_channel_next 
+:      005425 le_map_channel_cont:
+0x16e3 005426 copy queue ,loopcnt 
+0x16e4 005427 force 0 ,queue 
+:      005428 le_map_channel_loop:
+0x16e5 005429 qisolate1 temp 
+0x16e6 005430 branch le_map_channel_skip ,true 
+0x16e7 005431 increase 1 ,loopcnt 
+:      005432 le_map_channel_skip:
+0x16e8 005433 deposit loopcnt 
+0x16e9 005434 branch le_map_channel_end ,blank 
+0x16ea 005435 increase 1 ,queue 
+0x16eb 005436 increase -1 ,loopcnt 
+0x16ec 005437 branch le_map_channel_loop 
+:      005438 le_map_channel_end:
+0x16ed 005439 deposit queue 
+0x16ee 005440 store 1 ,mem_le_ch_mapped 
+0x16ef 005441 rtn 
+:      005444 le_wait_tx:
+0x16f0 005445 branch le_wait_master ,master 
+0x16f1 005446 until null ,timeout 
+0x16f2 005447 rtn 
+:      005449 le_wait_master:
+0x16f3 005450 arg 0xea0 ,timeup 
+0x16f4 005451 until clkn_rt ,meet 
+0x16f5 005452 rtn 
+:      005454 le_receive_adv:
+0x16f6 005455 disable swfine 
+0x16f7 005456 fetch 2 ,mem_le_scan_window 
+0x16f8 005457 copy pdata ,timeup 
+0x16f9 005458 branch le_receive_packet 
+:      005461 le_receive_slave:
+0x16fa 005462 bpatchx patch35_5 ,mem_patch35 
+0x16fb 005463 call le_dec_init 
+0x16fc 005464 enable swfine 
+0x16fd 005465 fetch 2 ,mem_le_receive_window 
+0x16fe 005466 fetcht 4 ,mem_le_transmit_window 
+0x16ff 005467 iadd temp ,timeup 
+:      005468 le_receive_packet:
+0x1700 005469 call le_rx_setfreq 
+:      005470 le_receive_rxon:
+0x1701 005471 bpatchx patch35_6 ,mem_patch35 
+0x1702 005472 call le_prep 
+0x1703 005473 bmark0 mark_ble_lr ,le_receive_nolr 
+0x1704 005474 pulse dewhiten_code_calc 
+0x1705 005475 nop 30 
+0x1706 005476 call le_prep 
+0x1707 005477 lshift3 timeup ,timeup 
+:      005478 le_receive_nolr:
+0x1708 005479 disable match 
+0x1709 005480 enable decode_fec0 
+0x170a 005481 enable is_rx 
+0x170b 005482 disable is_tx 
+0x170c 005483 copy timeup ,stop_watch 
+0x170d 005484 correlate null ,timeout 
+0x170e 005485 branch le_receive_on_attempt ,attempt 
+0x170f 005486 copy clke ,temp 
+0x1710 005487 storet 6 ,mem_sync_clke 
+:      005488 le_receive_on_attempt:
+0x1711 005489 nbranch le_unsync_end ,sync 
+0x1712 005490 bpatchx patch35_7 ,mem_patch35 
+0x1713 005491 enable swfine 
+0x1714 005492 arg param_t_ifs_150us + param_20ms_init + param_sync_time_difference ,temp 
+0x1715 005493 fetch 1 ,mem_system_clk 
+0x1716 005494 imul32 temp ,stop_watch 
+0x1717 005495 call rf_debug_rx_sync_line 
+0x1718 005496 branch le_receive_skip ,attempt 
+0x1719 005497 call calc_clke_all_modem 
+0x171a 005498 fetch 1 ,mem_le_state 
+0x171b 005499 bbit0 lestate_got_first_packet ,le_receive_skip 
+0x171c 005500 fetcht 6 ,mem_sync_clke 
+0x171d 005501 call lpm_adjust_clk ,wake 
+:      005502 le_receive_skip:
+0x171e 005503 call save_rssi 
+0x171f 005504 enable enable_white 
+0x1720 005505 enable enable_crc 
+0x1721 005506 parse demod ,bucket ,8 
+0x1722 005507 rshift3 pwindow ,pdata 
+0x1723 005508 store 1 ,mem_le_rxbuf_data_header 
+0x1724 005509 parse demod ,bucket ,8 
+0x1725 005510 rshift3 pwindow ,pdata 
+0x1726 005511 store 1 ,mem_le_rxbuf_data_length 
+0x1727 005512 copy pdata ,loopcnt 
+0x1728 005513 branch le_rx_nopayload ,zero 
+0x1729 005515 bmark1 mark_ble_encryption ,le_rx_dec 
+:      005517 le_rx_loop:
+0x172a 005518 parse demod ,bucket ,8 
+0x172b 005519 rshift3 pwindow ,pdata 
+0x172c 005520 istore 1 ,contw 
+0x172d 005521 loop le_rx_loop 
+0x172e 005522 branch le_rx_nopayload 
+:      005524 le_rx_dec:
+0x172f 005525 copy contw ,regb 
+0x1730 005526 call le_check_retransmit 
+0x1731 005528 fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0x1732 005529 increase -4 ,rega 
+0x1733 005530 nbranch le_mic_error ,positive 
+0x1734 005532 call le_dec_start 
+0x1735 005533 copy regb ,contw 
+0x1736 005534 arg 0 ,temp 
+0x1737 005535 fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+0x1738 005536 increase -4 ,loopcnt 
+0x1739 005537 branch le_rx_dec_loop_end ,zero 
+:      005538 le_rx_dec_loop:
+0x173a 005540 parse demod ,bucket ,8 
+0x173b 005541 rshift3 pwindow ,pdata 
+0x173c 005542 istore 1 ,contw 
+0x173d 005543 increase 1 ,temp 
+0x173e 005544 and temp ,0xf ,null 
+0x173f 005545 call le_dec ,zero 
+0x1740 005546 loop le_rx_dec_loop 
+:      005547 le_rx_dec_loop_end:
+0x1741 005548 call le_dec_end 
+0x1742 005549 copy regb ,contw 
+:      005552 le_rx_nopayload:
+0x1743 005553 bpatchx patch36_0 ,mem_patch36 
+0x1744 005554 parse demod ,bucket ,24 
+0x1745 005555 rshift32 pdata ,pdata 
+0x1746 005556 rshift16 pdata ,pdata 
+0x1747 005557 istore 3 ,contw 
+0x1748 005558 enable swfine 
+0x1749 005559 call le_set_until_tx_timer 
+0x174a 005560 branch le_crc_fail ,crc_failed 
+0x174b 005561 bmark0 mark_ble_encryption ,le_rx_match 
+0x174c 005562 fetch 1 ,mem_le_rxbuf_data_length 
+0x174d 005563 branch le_rx_match ,blank 
+0x174e 005564 increase -4 ,pdata 
+0x174f 005565 store 1 ,mem_le_rxbuf_data_length 
+0x1750 005566 call wait_ccm_done 
+0x1751 005567 fetch 1 ,core_misc_status 
+0x1752 005568 bbit0 7 ,le_mic_error 
+0x1753 005569 force regidx_result ,regext_index 
+0x1754 005570 storer regext ,4 ,mem_le_peer_mic 
+:      005571 le_rx_match:
+0x1755 005572 call rf_debug_rx_crc_line 
+0x1756 005573 enable match 
+0x1757 005574 set0 mark_ble_crc_fail ,mark 
+:      005575 le_crc_fail_tx:
+0x1758 005576 call ccm_ctrl_clr 
+0x1759 005577 fetch 1 ,mem_le_rx_phy 
+0x175a 005578 nsetflag ble_coded_info ,bit_le_coded_phy_s8 ,pdata 
+0x175b 005579 store 1 ,mem_le_rx_phy 
+:      005580 le_match_set_txfreq:
+0x175c 005581 bpatchx patch36_1 ,mem_patch36 
+0x175d 005582 fetcht 1 ,mem_last_freq 
+0x175e 005583 add temp ,2 ,rega 
+0x175f 005584 bmark1 mark_ble_2m ,le_match_set_txfreq_offset 
+0x1760 005585 add temp ,2 ,rega 
+:      005586 le_match_set_txfreq_offset:
+0x1761 005587 disable decode_fec0 
+0x1762 005588 call set_sync_on 
+0x1763 005589 branch rf_tx_write_freq 
+:      005592 le_dec_init:
+0x1764 005593 rtnmark0 mark_ble_encryption 
+0x1765 005594 call load_sk 
+0x1766 005595 force regidx_result ,regext_index 
+0x1767 005596 call aes_clear 
+0x1768 005597 branch aes_clear_data 
+:      005600 le_dec_start:
+0x1769 005601 jam 0 ,core_ccm_aad0 
+0x176a 005602 jam 1 ,core_ccm_aad1 
+0x176b 005603 fetch 1 ,mem_le_rxbuf_data_header 
+0x176c 005604 and_into 0x3 ,pdata 
+0x176d 005605 store 1 ,core_ccm_aad2 
+0x176e 005607 setarg mem_le_rxbuf_data_payload 
+0x176f 005608 store 2 ,core_ccm_input_playload_addr 
+0x1770 005609 store 2 ,core_ccm_output_playload_addr 
+0x1771 005611 fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0x1772 005612 increase -4 ,rega 
+0x1773 005614 fetcht 5 ,mem_ccm_pcnt_rx 
+0x1774 005615 isolate1 mark_old_packet ,mark 
+0x1775 005616 call le_pcnt_rx_sub1 ,true 
+0x1776 005617 call ccm_b0 
+0x1777 005618 setarg 0 
+0x1778 005619 store 2 ,core_ccm_inptr 
+0x1779 005620 jam 6 ,core_ccm_ctrl 
+0x177a 005621 jam 7 ,core_ccm_ctrl 
+0x177b 005622 rtn 
+:      005624 le_pcnt_rx_sub1:
+0x177c 005625 sub temp ,0 ,null 
+0x177d 005626 branch le_pcnt_rx_sub1_0 ,zero 
+0x177e 005627 increase -1 ,temp 
+0x177f 005628 set1 le_ccm_directionbit ,temp 
+0x1780 005629 rtn 
+:      005631 le_pcnt_rx_sub1_0:
+0x1781 005632 setarg 0xffffff 
+0x1782 005633 lshift16 pdata ,pdata 
+0x1783 005634 arg 0xffff ,temp 
+0x1784 005635 ior temp ,temp 
+0x1785 005636 rtn 
+:      005638 le_dec:
+0x1786 005639 copy contw ,regb 
+0x1787 005640 fetch 1 ,mem_le_rxbuf_data_length 
+0x1788 005641 increase -4 ,pdata 
+0x1789 005642 isub temp ,null 
+0x178a 005643 rtn zero 
+0x178b 005644 storet 2 ,core_ccm_inptr 
+0x178c 005645 copy regb ,contw 
+0x178d 005646 rtn 
+:      005648 le_dec_end:
+0x178e 005649 parse demod ,bucket ,32 
+0x178f 005650 rshift32 pdata ,pdata 
+0x1790 005651 rshift8 pdata ,pdata 
+0x1791 005652 istore 4 ,contw 
+0x1792 005653 copy contw ,regb 
+0x1793 005655 force regidx_data ,regext_index 
+0x1794 005656 copy pdata ,regext 
+0x1795 005657 storet 2 ,core_ccm_inptr 
+0x1796 005658 rtn 
+:      005660 le_mic_error:
+0x1797 005661 branch le_end_of_packet 
+:      005663 le_retransmit_end_of_packet:
+0x1798 005664 call le_set_until_tx_timer 
+0x1799 005665 call end_of_packet 
+0x179a 005666 branch le_rx_match 
+:      005668 le_crc_fail:
+0x179b 005669 call rf_debug_rx_crc_fail_line 
+0x179c 005670 bmark1 mark_ble_crc_fail ,le_crc_fail_consecutive 
+0x179d 005671 set1 mark_ble_crc_fail ,mark 
+0x179e 005672 branch le_crc_fail_tx 
+:      005674 le_unsync_end:
+:      005675 le_crc_fail_consecutive:
+0x179f 005676 set0 mark_ble_crc_fail ,mark 
+0x17a0 005677 branch le_end_of_packet 
+:      005679 le_end_of_packet:
+0x17a1 005680 call ccm_ctrl_clr 
+0x17a2 005681 branch end_of_packet 
+:      005683 calc_clke_all_modem:
+0x17a3 005684 bmark1 mark_ble_lr ,calc_clke_modem_coded 
+0x17a4 005685 bmark1 mark_ble_2m ,calc_clke_modem_2m 
+0x17a5 005686 fetch 2 ,mem_param_clke_cal_le_1m 
+0x17a6 005687 copy pdata ,clke_rt 
+0x17a7 005688 copy bt_clk ,clke_bt 
+0x17a8 005689 rtn 
+:      005692 calc_clke_modem_coded:
+0x17a9 005693 fetch 2 ,mem_param_clke_cal_le_coded 
+0x17aa 005694 copy pdata ,clke_rt 
+0x17ab 005695 add bt_clk ,1 ,clke_bt 
+0x17ac 005696 rtn 
+:      005698 calc_clke_modem_2m:
+0x17ad 005699 fetch 2 ,mem_param_clke_cal_le_2m 
+0x17ae 005700 copy pdata ,clke_rt 
+0x17af 005701 copy bt_clk ,clke_bt 
+0x17b0 005702 rtn 
+:      005705 le_set_until_tx_timer:
+0x17b1 005706 fetch 1 ,mem_le_rxbuf_data_length 
+0x17b2 005707 add pdata ,5 ,temp 
+0x17b3 005708 lshift3 temp ,temp 
+0x17b4 005709 fetch 1 ,mem_le_rx_phy 
+0x17b5 005710 bmark1 mark_ble_lr ,le_set_until_tx_timer_rx_lr 
+0x17b6 005711 bbit1 bit_le_1m_phy ,le_set_until_tx_timer_rx_1m 
+0x17b7 005712 bbit1 bit_le_2m_phy ,le_set_until_tx_timer_rx_2m 
+:      005713 le_set_until_tx_timer_rx_lr:
+0x17b8 005714 branch le_set_until_tx_timer_rx_coded_s2 ,ble_coded_info 
+0x17b9 005715 branch le_set_until_tx_timer_rx_coded_s8 
+:      005717 le_set_until_tx_timer_rx_1m:
+0x17ba 005718 branch le_calc_stop_watch 
+:      005720 le_set_until_tx_timer_rx_2m:
+0x17bb 005721 rshift temp ,temp 
+0x17bc 005722 branch le_calc_stop_watch 
+:      005724 le_set_until_tx_timer_rx_coded_s2:
+0x17bd 005725 add temp ,3 ,temp 
+0x17be 005726 lshift temp ,temp 
+0x17bf 005727 branch le_set_until_tx_timer_rx_coded 
+:      005729 le_set_until_tx_timer_rx_coded_s8:
+0x17c0 005730 add temp ,3 ,temp 
+0x17c1 005731 lshift3 temp ,temp 
+:      005732 le_set_until_tx_timer_rx_coded:
+0x17c2 005733 setarg param_coded_c1_term1_time_40us 
+0x17c3 005734 iadd temp ,temp 
+0x17c4 005735 branch le_calc_stop_watch 
+:      005737 le_calc_stop_watch:
+0x17c5 005738 fetch 1 ,mem_system_clk 
+0x17c6 005739 imul32 temp ,temp 
+0x17c7 005740 arg param_20ms_init ,rega 
+0x17c8 005741 imul32 rega ,pdata 
+0x17c9 005742 isub temp ,temp 
+0x17ca 005743 copy stop_watch ,pdata 
+0x17cb 005744 isub temp ,stop_watch 
+0x17cc 005745 rtn 
+:      005747 le_transmit_receive_sifs_without_change_mode:
+0x17cd 005748 call le_transmit 
+0x17ce 005749 fetcht 1 ,mem_last_freq 
+0x17cf 005750 call set_freq_rx 
+0x17d0 005751 call rf_rx_enable 
+0x17d1 005752 enable swfine 
+0x17d2 005753 arg 5500 ,timeup 
+0x17d3 005754 branch le_receive_rxon 
+:      005757 le_transmit_receive_sifs:
+0x17d4 005758 bpatchx patch36_2 ,mem_patch36 
+0x17d5 005759 fetch 1 ,mem_le_tx_phy 
+0x17d6 005760 call le_enable_phy_by_pdata 
+0x17d7 005761 call le_transmit 
+:      005762 le_transmit_receive_sifs_notx:
+0x17d8 005763 fetch 1 ,mem_le_rx_phy 
+0x17d9 005764 call le_enable_phy_by_pdata 
+0x17da 005766 fetcht 1 ,mem_last_freq 
+0x17db 005767 call set_freq_rx 
+0x17dc 005768 call rf_rx_enable 
+0x17dd 005769 enable swfine 
+0x17de 005770 arg 5500 ,timeup 
+0x17df 005771 bmark0 mark_ble_lr ,le_receive_rxon 
+0x17e0 005772 arg 8500 ,timeup 
+0x17e1 005773 branch le_receive_rxon 
+:      005775 le_transmit_norx:
+0x17e2 005776 call le_transmit 
+0x17e3 005777 branch end_of_packet 
+:      005779 le_transmit:
+0x17e4 005780 bpatchx patch36_3 ,mem_patch36 
+0x17e5 005781 call le_prep 
+0x17e6 005782 call le_tx_setfreq 
+0x17e7 005783 call rf_debug_tx_on_line 
+0x17e8 005784 set1 txgfsk ,radio_ctrl 
+0x17e9 005785 enable encode_fec0 
+0x17ea 005786 enable is_tx 
+0x17eb 005787 disable is_rx 
+0x17ec 005788 call le_wait_tx 
+0x17ed 005789 disable lr_s2en 
+0x17ee 005790 bmark1 mark_ble_lr ,le_transmit_lr 
+0x17ef 005791 bmark1 mark_ble_2m ,le_transmit_2m 
+0x17f0 005792 rshift16 access ,pdata 
+0x17f1 005793 rshift8 pdata ,pdata 
+0x17f2 005794 rshift4 pdata ,pdata 
+0x17f3 005795 inject mod ,40 
+:      005796 le_transmit_packet:
+0x17f4 005797 enable enable_white 
+0x17f5 005798 enable enable_crc 
+0x17f6 005799 bpatchx patch36_4 ,mem_patch36 
+0x17f7 005800 fetch 1 ,mem_le_txheader 
+0x17f8 005801 inject mod ,8 
+0x17f9 005802 ifetch 1 ,contr 
+0x17fa 005803 copy pdata ,loopcnt 
+0x17fb 005804 inject mod ,8 
+0x17fc 005805 sub loopcnt ,0 ,null 
+0x17fd 005806 branch le_tr_nopayload ,zero 
+0x17fe 005808 fetch 1 ,core_ccm_ctrl 
+0x17ff 005809 branch le_transmit_packet_not_enc ,blank 
+0x1800 005810 bmark1 mark_ble_encryption ,le_transmit_packet_enc 
+:      005811 le_transmit_packet_not_enc:
+0x1801 005812 arg mem_le_txpayload ,contr 
+:      005813 le_tr_loop:
+0x1802 005814 ifetch 1 ,contr 
+0x1803 005815 inject mod ,8 
+0x1804 005816 loop le_tr_loop 
+:      005818 le_tr_nopayload:
+0x1805 005819 enable enable_parity 
+0x1806 005820 inject mod ,24 
+0x1807 005821 disable enable_parity 
+0x1808 005822 bmark0 mark_ble_lr ,le_transmit_skip 
+0x1809 005823 disable enable_white 
+0x180a 005824 setarg 0 
+0x180b 005825 inject mod ,3 
+:      005826 le_transmit_skip:
+0x180c 005827 until null ,tx_clear 
+0x180d 005828 nop 100 
+0x180e 005829 disable encode_fec0 
+0x180f 005830 disable encode_fec3 
+0x1810 005831 call set_sync_on 
+0x1811 005832 call rf_debug_tx_off_line 
+:      005833 le_check_start_pause_enc:
+0x1812 005834 fetch 1 ,mem_le_txheader 
+0x1813 005835 and pdata ,llid_le_ll ,pdata 
+0x1814 005836 rtnne llid_le_ll 
+0x1815 005837 fetch 1 ,mem_le_enc_state 
+0x1816 005838 beq flag_le_enc_pause ,le_clear_enc 
+0x1817 005839 rtnne flag_le_send_start_enc_req 
+0x1818 005840 fetch 1 ,mem_le_txpayload 
+0x1819 005841 beq ll_start_enc_req ,le_set_enc 
+0x181a 005842 rtn 
+:      005845 le_transmit_packet_enc:
+0x181b 005846 increase -4 ,loopcnt 
+0x181c 005847 copy loopcnt ,temp 
+0x181d 005848 call ccm_wait_enc 
+0x181e 005849 arg mem_le_txpayload ,contr 
+:      005850 le_transmit_packet_enc_loop:
+0x181f 005851 ifetch 1 ,contr 
+0x1820 005852 inject mod ,8 
+0x1821 005853 loop le_transmit_packet_enc_loop 
+0x1822 005854 call ccm_check_enc_done 
+0x1823 005855 copy regext ,pdata 
+0x1824 005856 inject mod ,32 
+0x1825 005857 branch le_tr_nopayload 
+:      005859 le_transmit_lr:
+0x1826 005860 arg 10 ,loopcnt 
+:      005861 le_transmit_lr_preamble_loop:
+0x1827 005862 setarg 0x3c 
+0x1828 005863 inject mod ,8 
+0x1829 005864 loop le_transmit_lr_preamble_loop 
+0x182a 005865 disable encode_fec0 
+0x182b 005866 enable encode_fec3 
+0x182c 005867 rshift16 access ,pdata 
+0x182d 005868 rshift16 pdata ,pdata 
+0x182e 005869 rshift4 pdata ,pdata 
+0x182f 005870 inject mod ,32 
+0x1830 005871 bmark1 mark_ble_lr_s8 ,le_transmit_lr_s8 
+:      005872 le_transmit_lr_s2:
+0x1831 005873 setarg 1 
+0x1832 005874 inject mod ,5 
+0x1833 005875 enable lr_s2en 
+0x1834 005876 branch le_transmit_packet 
+:      005878 le_transmit_lr_s8:
+0x1835 005879 setarg 0 
+0x1836 005880 inject mod ,5 
+0x1837 005881 branch le_transmit_packet 
+:      005883 le_transmit_2m:
+0x1838 005884 fetch 1 ,mem_system_clk 
+0x1839 005885 rshift pdata ,loopcnt 
+:      005886 le_transmit_2m_dealy:
+0x183a 005887 nop 2 
+0x183b 005888 loop le_transmit_2m_dealy 
+0x183c 005890 rshift16 access ,pdata 
+0x183d 005891 rshift8 pdata ,pdata 
+0x183e 005892 rshift4 pdata ,temp 
+0x183f 005893 copy temp ,pdata 
+0x1840 005894 inject mod ,8 
+0x1841 005895 copy temp ,pdata 
+0x1842 005896 inject mod ,40 
+0x1843 005897 branch le_transmit_packet 
+:      005900 le_update_param:
+0x1844 005901 arg le_update_param_ahead1_cb ,regc 
+0x1845 005902 arg le_update_param_cb ,regb 
+0x1846 005903 arg lestate_update_param ,queue 
+0x1847 005904 branch le_check_update_flag 
+:      005906 le_update_param_ahead1_cb:
+0x1848 005907 add rega ,coffset_sniff_anchor ,contr 
+0x1849 005908 ifetcht 4 ,contr 
+0x184a 005909 add rega ,coffest_le_new_transmitwindowsize ,contr 
+0x184b 005910 ifetch 1 ,contr 
+0x184c 005911 add rega ,coffset_le_window_size ,contw 
+0x184d 005912 istore 1 ,contw 
+0x184e 005913 ifetch 2 ,contr 
+0x184f 005914 lshift2 pdata ,pdata 
+0x1850 005915 iadd temp ,timeup 
+0x1851 005916 add rega ,coffset_sniff_anchor ,contw 
+0x1852 005917 deposit timeup 
+0x1853 005918 istore 4 ,contw 
+0x1854 005919 ifetch 2 ,contr 
+0x1855 005920 lshift2 pdata ,pdata 
+0x1856 005921 add rega ,coffset_tsniff ,contw 
+0x1857 005922 istore 2 ,contw 
+0x1858 005923 ifetch 4 ,contr 
+0x1859 005924 add rega ,coffset_le_slave_latency ,contw 
+0x185a 005925 istore 4 ,contw 
+0x185b 005926 branch le_receive_window_size 
+:      005928 le_update_param_cb:
+0x185c 005929 ifetch 1 ,rega 
+0x185d 005930 set0 lestate_got_first_packet ,pdata 
+0x185e 005931 istore 1 ,rega 
+0x185f 005932 fetch 2 ,mem_le_superto 
+0x1860 005933 store 2 ,mem_le_init_superto 
+0x1861 005934 storer rega ,2 ,mem_rega 
+0x1862 005935 jam bt_evt_le_parse_conn_param_accepted ,mem_fifo_temp 
+0x1863 005936 call ui_ipc_send_event 
+0x1864 005937 fetchr rega ,2 ,mem_rega 
+0x1865 005938 add rega ,coffset_le_slave_superto ,contr 
+0x1866 005939 ifetch 2 ,contr 
+0x1867 005940 store 2 ,mem_le_init_superto 
+0x1868 005941 rtn 
+:      005943 le_update_channel_map:
+0x1869 005944 arg 0 ,regc 
+0x186a 005945 arg le_update_channel_map_cb ,regb 
+0x186b 005946 arg lestate_update_map ,queue 
+0x186c 005947 branch le_check_update_flag 
+:      005949 le_update_channel_map_cb:
+0x186d 005950 add rega ,coffset_le_new_map ,contr 
+0x186e 005951 ifetch 5 ,contr 
+0x186f 005952 add rega ,coffset_le_channel_map ,contw 
+0x1870 005953 istore 5 ,contw 
+0x1871 005954 branch le_calc_channel_map 
+:      005957 le_update_phy:
+0x1872 005958 arg 0 ,regc 
+0x1873 005959 arg le_update_phy_cb ,regb 
+0x1874 005960 arg lestate_update_phy ,queue 
+0x1875 005961 branch le_check_update_flag 
+:      005963 le_update_phy_cb:
+0x1876 005964 add rega ,coffset_le_new_m2s_phy ,contr 
+0x1877 005965 ifetch 1 ,contr 
+0x1878 005966 call le_update_phy_cb_m2s 
+0x1879 005967 istore 1 ,contw 
+0x187a 005968 add rega ,coffset_le_new_s2m_phy ,contr 
+0x187b 005969 ifetch 1 ,contr 
+0x187c 005970 call le_update_phy_cb_s2m 
+0x187d 005971 istore 1 ,contw 
+0x187e 005972 storer rega ,2 ,mem_rega 
+0x187f 005973 jam bt_evt_le_update_phy ,mem_fifo_temp 
+0x1880 005974 call ui_ipc_send_event 
+0x1881 005975 fetchr rega ,2 ,mem_rega 
+0x1882 005976 rtn 
+:      005978 le_update_phy_cb_m2s:
+0x1883 005979 call le_update_phy_cb_m2s_no_change ,blank 
+0x1884 005980 add rega ,coffset_le_rx_phy ,contw 
+0x1885 005981 nrtn master 
+0x1886 005982 fetcht 1 ,mem_le_tx_phys 
+0x1887 005983 isolate1 bit_le_coded_phy_s8 ,temp 
+0x1888 005984 setflag true ,bit_le_coded_phy_s8 ,pdata 
+0x1889 005985 add rega ,coffset_le_tx_phy ,contw 
+0x188a 005986 rtn 
+:      005988 le_update_phy_cb_m2s_no_change:
+0x188b 005989 add rega ,coffset_le_rx_phy ,contr 
+0x188c 005990 ifetch 1 ,contr 
+0x188d 005991 nrtn master 
+0x188e 005992 add rega ,coffset_le_tx_phy ,contr 
+0x188f 005993 ifetch 1 ,contr 
+0x1890 005994 rtn 
+:      005996 le_update_phy_cb_s2m:
+0x1891 005997 call le_update_phy_cb_s2m_no_change ,blank 
+0x1892 005998 fetcht 1 ,mem_le_tx_phys 
+0x1893 005999 isolate1 bit_le_coded_phy_s8 ,temp 
+0x1894 006000 setflag true ,bit_le_coded_phy_s8 ,pdata 
+0x1895 006001 add rega ,coffset_le_tx_phy ,contw 
+0x1896 006002 nrtn master 
+0x1897 006003 set0 bit_le_coded_phy_s8 ,pdata 
+0x1898 006004 add rega ,coffset_le_rx_phy ,contw 
+0x1899 006005 rtn 
+:      006007 le_update_phy_cb_s2m_no_change:
+0x189a 006008 add rega ,coffset_le_tx_phy ,contr 
+0x189b 006009 ifetch 1 ,contr 
+0x189c 006010 nrtn master 
+0x189d 006011 add rega ,coffset_le_rx_phy ,contr 
+0x189e 006012 ifetch 1 ,contr 
+0x189f 006013 rtn 
+:      006018 le_check_update_flag:
+0x18a0 006019 ifetch 1 ,rega 
+0x18a1 006020 qisolate0 pdata 
+0x18a2 006021 rtn true 
+0x18a3 006022 add rega ,coffset_le_event_cnt ,contr 
+0x18a4 006023 ifetcht 2 ,contr 
+0x18a5 006024 add rega ,coffset_le_instant ,contr 
+0x18a6 006025 ifetch 2 ,contr 
+0x18a7 006027 isub temp ,pdata 
+0x18a8 006028 branch le_update ,zero 
+0x18a9 006029 nbranch le_check_update_small ,positive 
+0x18aa 006030 sub pdata ,1 ,null 
+0x18ab 006031 branch le_update_ahead1 ,zero 
+0x18ac 006032 rtn 
+:      006034 le_update_ahead1:
+0x18ad 006035 copy regc ,pdata 
+0x18ae 006036 branch callback_func 
+:      006038 le_update:
+0x18af 006039 ifetch 1 ,rega 
+0x18b0 006040 qset0 pdata 
+0x18b1 006041 istore 1 ,rega 
+0x18b2 006042 copy regb ,pdata 
+0x18b3 006043 branch callback_func 
+:      006045 le_check_update_small:
+0x18b4 006046 add rega ,coffset_le_event_cnt ,contr 
+0x18b5 006047 ifetch 2 ,contr 
+0x18b6 006048 add rega ,coffset_le_instant ,contr 
+0x18b7 006049 ifetch 2 ,contr 
+0x18b8 006050 isub temp ,pdata 
+0x18b9 006051 arg 0xffff ,temp 
+0x18ba 006052 isub temp ,null 
+0x18bb 006053 branch le_update ,zero 
+0x18bc 006054 arg 0xf000 ,temp 
+0x18bd 006055 isub temp ,null 
+0x18be 006056 nbranch le_update ,positive 
+0x18bf 006057 rtn 
+:      006060 le_check_retransmit:
+0x18c0 006061 fetcht 1 ,mem_le_arq 
+0x18c1 006062 fetch 1 ,mem_le_rxbuf_data_header 
+0x18c2 006065 rshift pdata ,pdata 
+0x18c3 006066 ixor temp ,pdata 
+0x18c4 006067 isolate1 nesn ,pdata 
+0x18c5 006068 setflag true ,mark_old_packet ,mark 
+0x18c6 006069 rtn 
+:      006072 le_acknowledge:
+0x18c7 006073 bpatchx patch36_5 ,mem_patch36 
+0x18c8 006074 call le_supervision_flush 
+0x18c9 006075 rtnmark1 mark_ble_crc_fail 
+0x18ca 006076 call le_check_wak 
+0x18cb 006077 fetch 1 ,mem_le_rxbuf_data_header 
+0x18cc 006078 isolate1 md ,pdata 
+0x18cd 006079 setflag true ,mark_ble_rx_md ,mark 
+0x18ce 006080 rshift pdata ,pdata 
+0x18cf 006081 ixor temp ,pdata 
+0x18d0 006082 isolate1 nesn ,pdata 
+0x18d1 006083 setflag true ,mark_old_packet ,mark 
+0x18d2 006084 rtnmark1 mark_old_packet 
+0x18d3 006085 fetch 1 ,mem_le_rxbuf_data_length 
+0x18d4 006086 branch le_ack_unenc ,blank 
+0x18d5 006087 fetch 1 ,mem_le_state 
+0x18d6 006088 bbit0 lestate_encryption ,le_ack_unenc 
+0x18d7 006089 fetcht 4 ,mem_le_peer_mic 
+0x18d8 006090 fetch 4 ,mem_ccm_last_mic 
+0x18d9 006091 isub temp ,null 
+0x18da 006092 branch assert ,zero 
+0x18db 006093 storet 4 ,mem_ccm_last_mic 
+0x18dc 006094 fetch 5 ,mem_ccm_pcnt_rx 
+0x18dd 006095 increase 1 ,pdata 
+0x18de 006096 set1 le_ccm_directionbit ,pdata 
+0x18df 006097 store 5 ,mem_ccm_pcnt_rx 
+:      006099 le_ack_unenc:
+0x18e0 006100 fetcht 1 ,mem_le_arq 
+0x18e1 006101 setflip nesn ,temp 
+0x18e2 006102 storet 1 ,mem_le_arq 
+0x18e3 006103 fetch 1 ,mem_le_configuration 
+0x18e4 006104 rtnbit0 bit_ble_deal_bb_packet 
+0x18e5 006105 bpatchx patch36_6 ,mem_patch36 
+0x18e6 006106 fetch 1 ,mem_le_rxbuf_data_length 
+0x18e7 006107 rtn blank 
+0x18e8 006108 fetch 1 ,mem_le_rxbuf_data_header 
+0x18e9 006109 compare llid_continue ,pdata ,3 
+0x18ea 006110 branch le_parse_writing_attribute_continue ,true 
+0x18eb 006111 compare llid_start ,pdata ,3 
+0x18ec 006112 branch le_parse_writing_attribute_start ,true 
+0x18ed 006113 rtn 
+:      006116 le_check_wak:
+0x18ee 006117 bpatchx patch36_7 ,mem_patch36 
+0x18ef 006118 fetcht 1 ,mem_le_arq 
+0x18f0 006119 isolate0 wak ,temp 
+0x18f1 006120 rtn true 
+0x18f2 006121 fetch 1 ,mem_le_rxbuf_data_header 
+0x18f3 006122 lshift pdata ,pdata 
+0x18f4 006123 ixor temp ,pdata 
+0x18f5 006124 rtnbit0 sn 
+0x18f6 006125 set0 wak ,temp 
+0x18f7 006126 setflip sn ,temp 
+0x18f8 006127 storet 1 ,mem_le_arq 
+0x18f9 006128 compare 3 ,temp ,3 
+0x18fa 006129 nrtn true 
+0x18fb 006130 rtn 
+:      006133 le_set_enc:
+0x18fc 006134 fetch 1 ,mem_le_state 
+0x18fd 006135 set1 lestate_encryption ,pdata 
+0x18fe 006136 store 1 ,mem_le_state 
+0x18ff 006137 set1 mark_ble_encryption ,mark 
+0x1900 006138 rtn 
+:      006140 le_clear_enc:
+0x1901 006141 bpatchx patch37_0 ,mem_patch37 
+0x1902 006142 jam flag_le_enc_null ,mem_le_enc_state 
+0x1903 006143 arg 0 ,pdata 
+0x1904 006144 store 4 ,mem_ccm_last_mic 
+0x1905 006145 store 5 ,mem_ccm_pcnt_tx 
+0x1906 006146 set1 le_ccm_directionbit ,pdata 
+0x1907 006147 store 5 ,mem_ccm_pcnt_rx 
+0x1908 006148 fetch 1 ,mem_le_state 
+0x1909 006149 set0 lestate_encryption ,pdata 
+0x190a 006150 store 1 ,mem_le_state 
+0x190b 006151 set0 mark_ble_encryption ,mark 
+0x190c 006152 rtn 
+:      006157 le_scan_check_sender_addr_type:
+0x190d 006158 arg 1 ,rega 
+0x190e 006159 fetch 1 ,mem_le_rxbuf_adv_connect_ind_header 
+0x190f 006160 rtnbit1 le_sender_addr_bit 
+0x1910 006161 arg 0 ,rega 
+0x1911 006162 rtn 
+:      006165 le_get_master_rx_max:
+0x1912 006166 copy contr ,contw 
+0x1913 006167 fetcht 2 ,mem_remote_rx_max_octets 
+0x1914 006168 copy contw ,contr 
+0x1915 006169 rtn 
+:      006172 le_prepare_tx:
+0x1916 006173 bpatchx patch37_1 ,mem_patch37 
+0x1917 006174 fetch 1 ,mem_le_arq 
+0x1918 006175 rtnbit1 wak 
+0x1919 006176 call le_check_tx_md 
+0x191a 006177 call le_fifo_get_first_tx_ptr 
+0x191b 006178 branch le_send_empty ,blank 
+0x191c 006179 ifetch 2 ,contr 
+0x191d 006180 ifetcht 2 ,contr 
+0x191e 006181 copy temp ,rega 
+0x191f 006182 isub rega ,pdata 
+0x1920 006183 call le_get_master_rx_max 
+0x1921 006184 call not_greater_than 
+0x1922 006185 copy pdata ,temp 
+0x1923 006186 ifetchr type ,1 ,contr 
+0x1924 006187 copy rega ,pdata 
+0x1925 006188 iadd contr ,pdata 
+0x1926 006189 store 2 ,mem_contr 
+0x1927 006190 call le_update_tx_type 
+0x1928 006191 call le_send_packet 
+0x1929 006193 call le_fifo_get_first_tx_ptr 
+0x192a 006194 ifetch 2 ,contr 
+0x192b 006195 copy pdata ,rega 
+0x192c 006196 copy contr ,regc 
+0x192d 006197 ifetcht 2 ,contr 
+0x192e 006198 copy temp ,regb 
+0x192f 006199 isub regb ,pdata 
+0x1930 006200 call le_get_master_rx_max 
+0x1931 006201 call not_greater_than 
+0x1932 006202 iadd regb ,pdata 
+0x1933 006203 istore 2 ,regc 
+0x1934 006204 isub rega ,null 
+0x1935 006205 nrtn zero 
+0x1936 006206 branch le_fifo_release_first_node 
+:      006209 le_check_tx_md:
+0x1937 006210 call le_check_continue 
+0x1938 006211 rtnmark1 mark_ble_tx_md 
+0x1939 006212 fetch 1 ,mem_le_configuration 
+0x193a 006213 bbit0 bit_ble_transmit_packet_by_md ,le_clear_md 
+0x193b 006214 call le_fifo_get_second_tx_ptr 
+0x193c 006215 branch le_clear_md ,blank 
+0x193d 006216 branch le_set_md 
+:      006219 le_check_continue:
+0x193e 006220 call le_fifo_get_first_tx_ptr 
+0x193f 006221 branch le_clear_md ,blank 
+0x1940 006222 ifetch 2 ,contr 
+0x1941 006223 ifetcht 2 ,contr 
+0x1942 006224 isub temp ,rega 
+0x1943 006225 call le_get_master_rx_max 
+0x1944 006226 copy temp ,pdata 
+0x1945 006227 isub rega ,null 
+0x1946 006228 branch le_clear_md ,positive 
+:      006229 le_set_md:
+0x1947 006230 set1 mark_ble_tx_md ,mark 
+0x1948 006231 rtn 
+:      006233 le_clear_md:
+0x1949 006234 set0 mark_ble_tx_md ,mark 
+0x194a 006235 rtn 
+:      006237 le_update_tx_type:
+0x194b 006238 copy rega ,pdata 
+0x194c 006239 rtn blank 
+0x194d 006240 arg llid_continue ,type 
+0x194e 006241 rtn 
+:      006244 le_att_check_notification_enable:
+0x194f 006245 bpatchx patch37_2 ,mem_patch37 
+0x1950 006246 increase 1 ,temp 
+0x1951 006247 call le_att_get_handle_ptr 
+0x1952 006248 increase -2 ,contr 
+0x1953 006249 ifetch 2 ,contr 
+0x1954 006250 arg client_charactertic_configuration ,temp 
+0x1955 006251 isub temp ,null 
+0x1956 006252 nrtn zero 
+0x1957 006253 increase 1 ,contr 
+0x1958 006254 copy contr ,rega 
+0x1959 006255 ifetch 1 ,contr 
+0x195a 006256 rtn 
+:      006259 le_send_empty:
+0x195b 006260 force 0 ,temp 
+0x195c 006261 force 1 ,type 
+:      006263 le_send_packet:
+0x195d 006264 bpatchx patch37_3 ,mem_patch37 
+0x195e 006265 storet 1 ,mem_le_txlen 
+0x195f 006266 fetcht 1 ,mem_le_arq 
+0x1960 006267 set1 wak ,temp 
+0x1961 006268 and temp ,0xfc ,pdata 
+0x1962 006269 ior type ,pdata 
+0x1963 006270 store 1 ,mem_le_arq 
+0x1964 006271 and_into 0x1f ,pdata 
+0x1965 006272 isolate1 mark_ble_tx_md ,mark 
+0x1966 006273 setflag true ,md ,pdata 
+0x1967 006274 store 1 ,mem_le_txheader 
+0x1968 006276 fetch 1 ,mem_le_txheader 
+0x1969 006277 compare 1 ,type ,3 
+0x196a 006278 nbranch le_send_no_txlen ,true 
+0x196b 006279 fetch 1 ,mem_le_txlen 
+0x196c 006280 rtn blank 
+:      006282 le_send_no_txlen:
+0x196d 006283 bmark1 mark_ble_encryption ,le_send_packet_enc 
+0x196e 006284 fetchr loopcnt ,1 ,mem_le_txlen 
+0x196f 006285 fetch 2 ,mem_contr 
+0x1970 006286 copy pdata ,contr 
+0x1971 006287 arg mem_le_txpayload ,contw 
+0x1972 006288 branch memcpy_fast 
+:      006290 le_send_packet_enc:
+0x1973 006291 call load_sk 
+0x1974 006292 branch le_encrypt_new_start 
+:      006294 get_lpm_wake_ble_rx_lock:
+0x1975 006295 arg wake_lock_ble_rx ,queue 
+0x1976 006296 branch lpm_get_wake_lock 
+:      006298 put_lpm_wake_ble_rx_lock:
+0x1977 006299 arg wake_lock_ble_rx ,queue 
+0x1978 006300 branch lpm_put_wake_lock 
+:      006303 le_parse:
+0x1979 006304 bpatchx patch37_4 ,mem_patch37 
+0x197a 006305 rtnmark1 mark_old_packet 
+0x197b 006306 rtnmark1 mark_ble_crc_fail 
+0x197c 006307 fetch 1 ,mem_le_rxbuf_data_header 
+0x197d 006308 and pdata ,0x3 ,pdata 
+0x197e 006309 store 1 ,mem_le_packet_llid 
+0x197f 006310 fetch 1 ,mem_le_rxbuf_data_length 
+0x1980 006311 rtn blank 
+0x1981 006312 setarg mem_le_rxbuf_data_payload 
+0x1982 006313 store 2 ,mem_le_payload_ptr 
+0x1983 006314 bpatchx patch37_5 ,mem_patch37 
+0x1984 006315 fetch 1 ,mem_le_packet_llid 
+0x1985 006316 beq llid_le_ll ,le_parse_ll 
+:      006317 le_parse_l2cap:
+0x1986 006318 call le_check_l2cap_complete 
+0x1987 006319 nbranch get_lpm_wake_ble_rx_lock ,user 
+0x1988 006320 call put_lpm_wake_ble_rx_lock 
+0x1989 006321 setarg 0 
+0x198a 006322 store 2 ,mem_le_packet_len_recved 
+0x198b 006323 fetch 2 ,mem_le_payload_ptr 
+0x198c 006324 add pdata ,2 ,contr 
+0x198d 006325 bpatchx patch37_6 ,mem_patch37 
+0x198e 006326 ifetch 2 ,contr 
+0x198f 006327 beq le_l2cap_cid_att ,le_parse_att 
+0x1990 006328 beq le_l2cap_cid_smp ,le_parse_smp 
+0x1991 006329 beq le_l2cap_cid_signal ,le_parse_signaling 
+0x1992 006330 rtn 
+:      006333 le_check_l2cap_complete:
+0x1993 006334 fetch 1 ,mem_le_packet_llid 
+0x1994 006335 beq llid_start ,le_check_l2cap_llid_start 
+0x1995 006336 beq llid_continue ,le_check_l2cap_llid_continue 
+0x1996 006337 rtn 
+:      006342 le_check_l2cap_cid_legal:
+0x1997 006343 call enable_user 
+0x1998 006344 arg le_l2cap_cid_att ,temp 
+0x1999 006345 isub pdata ,null 
+0x199a 006346 rtn zero 
+0x199b 006347 arg le_l2cap_cid_signal ,temp 
+0x199c 006348 isub pdata ,null 
+0x199d 006349 rtn zero 
+0x199e 006350 arg le_l2cap_cid_smp ,temp 
+0x199f 006351 isub pdata ,null 
+0x19a0 006352 rtn zero 
+0x19a1 006353 branch disable_user 
+:      006356 le_check_l2cap_llid_start:
+0x19a2 006357 fetch 2 ,mem_le_payload_ptr 
+0x19a3 006358 copy pdata ,contr 
+0x19a4 006359 ifetch 2 ,contr 
+0x19a5 006360 store 2 ,mem_le_l2cap_size 
+0x19a6 006361 ifetch 2 ,contr 
+0x19a7 006362 call le_check_l2cap_cid_legal 
+0x19a8 006363 nrtn user 
+0x19a9 006364 fetcht 1 ,mem_le_rxbuf_data_length 
+0x19aa 006365 storet 2 ,mem_le_packet_len_recved 
+0x19ab 006366 fetch 2 ,mem_le_l2cap_size 
+0x19ac 006367 increase 4 ,pdata 
+0x19ad 006368 isub temp ,null 
+0x19ae 006369 branch enable_user ,zero 
+0x19af 006370 fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+0x19b0 006371 arg mem_le_l2cap_buf ,contw 
+0x19b1 006372 fetch 2 ,mem_le_payload_ptr 
+0x19b2 006373 copy pdata ,contr 
+0x19b3 006374 call memcpy_fast 
+0x19b4 006375 branch disable_user 
+:      006380 le_check_l2cap_continue_legal:
+0x19b5 006381 call enable_user 
+0x19b6 006382 fetch 2 ,mem_le_packet_len_recved 
+0x19b7 006383 nrtn blank 
+0x19b8 006384 branch disable_user 
+:      006386 le_check_l2cap_llid_continue:
+0x19b9 006387 call le_check_l2cap_continue_legal 
+0x19ba 006388 nrtn user 
+0x19bb 006389 fetch 2 ,mem_le_packet_len_recved 
+0x19bc 006390 arg mem_le_l2cap_buf ,contw 
+0x19bd 006391 iadd contw ,rega 
+0x19be 006392 fetcht 1 ,mem_le_rxbuf_data_length 
+0x19bf 006393 iadd temp ,pdata 
+0x19c0 006394 store 2 ,mem_le_packet_len_recved 
+0x19c1 006395 fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+0x19c2 006396 copy rega ,contw 
+0x19c3 006397 fetch 2 ,mem_le_payload_ptr 
+0x19c4 006398 copy pdata ,contr 
+0x19c5 006399 call memcpy_fast 
+0x19c6 006400 setarg mem_le_l2cap_buf 
+0x19c7 006401 store 2 ,mem_le_payload_ptr 
+0x19c8 006402 fetch 2 ,mem_le_l2cap_size 
+0x19c9 006403 increase 4 ,pdata 
+0x19ca 006404 fetcht 2 ,mem_le_packet_len_recved 
+0x19cb 006405 isub temp ,null 
+0x19cc 006406 branch enable_user ,zero 
+0x19cd 006407 branch disable_user 
+:      006413 le_get_search_att_uuid:
+0x19ce 006414 call store_contr 
+0x19cf 006415 arg mem_le_search_uuid_length ,contw 
+0x19d0 006416 branch le_get_search_common 
+:      006420 le_writeatt_cb:
+0x19d1 006421 fetch 2 ,mem_cb_att_write 
+0x19d2 006422 branch callback_func 
+:      006424 le_supervision_update:
+0x19d3 006425 fetcht 4 ,mem_le_supervision_timer 
+0x19d4 006426 call get_clkbt 
+0x19d5 006427 isub temp ,timeup 
+0x19d6 006428 deposit timeup 
+0x19d7 006429 fetcht 2 ,mem_le_superto 
+0x19d8 006430 lshift4 temp ,temp 
+0x19d9 006431 lshift temp ,temp 
+0x19da 006432 isub temp ,pdata 
+0x19db 006433 rtn 
+:      006435 le_supervision_flush:
+0x19dc 006436 call get_clkbt 
+0x19dd 006437 store 4 ,mem_le_supervision_timer 
+0x19de 006438 rtn 
+:      006442 le_receive_window_size:
+0x19df 006443 bpatchx patch37_7 ,mem_patch37 
+0x19e0 006444 add rega ,coffset_le_peer_sca ,contr 
+0x19e1 006445 ifetch 1 ,contr 
+0x19e2 006446 call le_sca_map 
+0x19e3 006447 add rega ,coffset_tsniff ,contr 
+0x19e4 006448 ifetch 2 ,contr 
+0x19e5 006449 imul32 temp ,pdata 
+0x19e6 006450 fetcht 2 ,mem_param_rt_rthalfslot 
+0x19e7 006451 imul32 temp ,pdata 
+0x19e8 006452 arg 1000000 ,temp 
+0x19e9 006453 idiv temp 
+0x19ea 006454 arg param_windown_size ,temp 
+0x19eb 006455 fetch 1 ,mem_system_clk 
+0x19ec 006456 imul32 temp ,temp 
+0x19ed 006457 add rega ,coffset_le_window_size ,contr 
+0x19ee 006458 ifetch 1 ,contr 
+0x19ef 006459 imul32 temp ,pdata 
+0x19f0 006460 iadd temp ,pdata 
+0x19f1 006461 store 4 ,mem_le_transmit_window 
+0x19f2 006462 fetch 2 ,mem_rx_window_sniff 
+0x19f3 006463 call wait_div_end 
+0x19f4 006464 quotient temp 
+0x19f5 006465 iadd temp ,pdata 
+0x19f6 006466 add rega ,coffset_rx_window ,contw 
+0x19f7 006467 istore 2 ,contw 
+0x19f8 006468 rtn 
+:      006472 le_init_attlist_search:
+0x19f9 006473 bpatchx patch38_0 ,mem_patch38 
+0x19fa 006474 fetch 2 ,mem_le_search_handle_start 
+0x19fb 006475 iforce regb 
+0x19fc 006476 fetch 2 ,mem_le_search_handle_end 
+0x19fd 006477 iforce regc 
+0x19fe 006478 fetch 2 ,mem_ui_le_uuid_table 
+0x19ff 006479 iforce contr 
+0x1a00 006480 enable user 
+0x1a01 006481 rtn 
+:      006484 le_att_handle_inrange:
+0x1a02 006485 ifetch 2 ,contr 
+0x1a03 006486 and_into 0xff ,pdata 
+0x1a04 006487 rtn blank 
+0x1a05 006488 isub regb ,null 
+0x1a06 006489 nrtn positive 
+0x1a07 006490 isub regc ,null 
+0x1a08 006491 rtn zero 
+0x1a09 006492 branch le_att_handle_blank ,positive 
+0x1a0a 006493 force 1 ,null 
+0x1a0b 006494 rtn 
+:      006495 le_att_handle_blank:
+0x1a0c 006496 force 0 ,pdata 
+0x1a0d 006497 rtn 
+:      006501 le_att_get_handle_ptr:
+0x1a0e 006502 call le_att_get_handle_ptr2 
+0x1a0f 006503 branch le_att_get_handle_ptr_found ,zero 
+0x1a10 006504 rtn 
+:      006506 le_att_get_handle_ptr2:
+0x1a11 006507 bpatchx patch38_1 ,mem_patch38 
+0x1a12 006508 fetch 2 ,mem_ui_le_uuid_table 
+0x1a13 006509 iforce contr 
+:      006510 le_att_get_handle_loop1:
+0x1a14 006511 ifetch 2 ,contr 
+0x1a15 006512 and_into 0xff ,pdata 
+0x1a16 006513 rtn blank 
+0x1a17 006514 isub temp ,null 
+0x1a18 006515 rtn zero 
+0x1a19 006516 ifetch 1 ,contr 
+0x1a1a 006517 iadd contr ,contr 
+0x1a1b 006518 ifetch 1 ,contr 
+0x1a1c 006519 iadd contr ,contr 
+0x1a1d 006520 branch le_att_get_handle_loop1 
+:      006521 le_att_get_handle_ptr_found:
+0x1a1e 006522 ifetch 1 ,contr 
+0x1a1f 006523 iadd contr ,contr 
+0x1a20 006524 rtn 
+:      006528 le_att_get_short_uuid_ptr:
+0x1a21 006529 bpatchx patch38_2 ,mem_patch38 
+0x1a22 006530 fetch 2 ,mem_ui_le_uuid_table 
+0x1a23 006531 iforce contr 
+:      006532 le_att_get_short_uuid_loop:
+0x1a24 006533 ifetch 2 ,contr 
+0x1a25 006534 and_into 0xff ,pdata 
+0x1a26 006535 rtn blank 
+0x1a27 006536 ifetch 1 ,contr 
+0x1a28 006537 iadd contr ,contr 
+0x1a29 006538 increase -2 ,contr 
+0x1a2a 006539 ifetch 2 ,contr 
+0x1a2b 006540 isub temp ,null 
+0x1a2c 006541 rtn zero 
+0x1a2d 006542 ifetch 1 ,contr 
+0x1a2e 006543 iadd contr ,contr 
+0x1a2f 006544 branch le_att_get_short_uuid_loop 
+:      006549 le_att_get_last_handle:
+0x1a30 006550 fetch 2 ,mem_ui_le_uuid_table 
+0x1a31 006551 iforce contr 
+:      006552 le_att_get_last_handle_loop:
+0x1a32 006553 ifetch 2 ,contr 
+0x1a33 006554 and_into 0xff ,pdata 
+0x1a34 006555 rtn blank 
+0x1a35 006556 add pdata ,1 ,temp 
+0x1a36 006557 ifetch 1 ,contr 
+0x1a37 006558 iadd contr ,contr 
+0x1a38 006559 ifetch 1 ,contr 
+0x1a39 006560 iadd contr ,contr 
+0x1a3a 006561 copy contr ,contw 
+0x1a3b 006562 branch le_att_get_last_handle_loop 
+:      006565 le_att_get_handle_info_from_ptr:
+0x1a3c 006566 fetch 2 ,mem_le_cur_attlist_start_ptr 
+0x1a3d 006567 branch le_att_get_handle_info_fast 
+:      006569 le_att_get_handle_info:
+0x1a3e 006570 bpatchx patch38_3 ,mem_patch38 
+0x1a3f 006571 fetch 2 ,mem_ui_le_uuid_table 
+:      006572 le_att_get_handle_info_fast:
+0x1a40 006573 iforce contr 
+:      006574 le_att_get_handle_loop:
+0x1a41 006575 ifetch 2 ,contr 
+0x1a42 006576 and_into 0xff ,pdata 
+0x1a43 006577 branch le_att_unfind_handle ,blank 
+0x1a44 006578 isub temp ,null 
+0x1a45 006579 branch le_att_finded_handle ,zero 
+0x1a46 006580 ifetch 1 ,contr 
+0x1a47 006581 iadd contr ,contr 
+0x1a48 006582 ifetch 1 ,contr 
+0x1a49 006583 iadd contr ,contr 
+0x1a4a 006584 branch le_att_get_handle_loop 
+:      006585 le_att_unfind_handle:
+0x1a4b 006586 branch disable_blank 
+:      006588 le_att_finded_handle:
+0x1a4c 006589 ifetch 1 ,contr 
+0x1a4d 006590 store 1 ,mem_le_cur_uuid_length 
+0x1a4e 006591 copy pdata ,loopcnt 
+0x1a4f 006592 arg mem_le_cur_uuid ,contw 
+0x1a50 006593 call memcpy_fast 
+0x1a51 006594 ifetch 1 ,contr 
+0x1a52 006595 store 1 ,mem_le_curr_att_len 
+0x1a53 006596 call store_contr 
+0x1a54 006597 branch enable_blank 
+:      006600 le_modified_name:
+0x1a55 006601 bpatchx patch38_4 ,mem_patch38 
+0x1a56 006602 call le_modified_name_att_list 
+0x1a57 006603 branch le_modified_name_adv 
+:      006605 le_modified_name_att_list:
+0x1a58 006606 arg uuid_chrctr_device_name ,temp 
+0x1a59 006607 call le_att_get_short_uuid_ptr 
+0x1a5a 006608 rtn blank 
+0x1a5b 006609 ifetch 1 ,contr 
+0x1a5c 006610 copy contr ,contw 
+0x1a5d 006611 fetcht 1 ,mem_le_name_len 
+0x1a5e 006612 copy temp ,loopcnt 
+0x1a5f 006613 isub temp ,null 
+0x1a60 006614 nbranch le_name_length_longer_than_att ,positive 
+0x1a61 006615 isub temp ,temp 
+0x1a62 006616 arg mem_le_name ,contr 
+0x1a63 006617 call memcpy_fast 
+0x1a64 006618 copy temp ,loopcnt 
+0x1a65 006619 ncall memcpy_empty ,zero 
+0x1a66 006620 rtn 
+:      006621 le_name_length_longer_than_att:
+0x1a67 006622 copy pdata ,loopcnt 
+0x1a68 006623 arg mem_le_name ,contr 
+0x1a69 006624 branch memcpy_fast 
+:      006627 le_modified_name_adv:
+0x1a6a 006628 arg mem_le_adv_data_len + 32 ,regc 
+0x1a6b 006629 arg mem_le_adv_data ,rega 
+0x1a6c 006630 call le_modified_name_adv_and_scan 
+0x1a6d 006631 setarg 0 
+0x1a6e 006632 setflag user ,0 ,pdata 
+0x1a6f 006633 store 1 ,mem_pdatatemp 
+0x1a70 006634 arg mem_le_scan_data_len + 32 ,regc 
+0x1a71 006635 arg mem_le_scan_data ,rega 
+0x1a72 006636 call le_modified_name_adv_and_scan 
+0x1a73 006637 rtn user 
+0x1a74 006638 fetch 1 ,mem_pdatatemp 
+0x1a75 006639 branch assert ,blank 
+0x1a76 006640 rtn 
+:      006643 le_modified_name_adv_and_scan:
+0x1a77 006644 bpatchx patch38_5 ,mem_patch38 
+0x1a78 006645 call enable_user 
+0x1a79 006646 call clear_temp_block 
+0x1a7a 006647 arg 0 ,regb 
+0x1a7b 006648 arg mem_le_data_temp ,contw 
+0x1a7c 006649 call le_modified_name_adv_loop 
+0x1a7d 006650 fetch 1 ,mem_le_name_len 
+0x1a7e 006651 add pdata ,1 ,temp 
+0x1a7f 006652 iadd regb ,rega 
+0x1a80 006653 increase 2 ,rega 
+0x1a81 006654 sub rega ,0x1f ,null 
+0x1a82 006655 nbranch le_modified_name_adv_and_scan_name_overflow ,positive 
+0x1a83 006656 istoret 1 ,contw 
+0x1a84 006657 arg gap_adtype_local_name_complete ,temp 
+0x1a85 006658 istoret 1 ,contw 
+0x1a86 006659 iforce loopcnt 
+0x1a87 006660 call memcpy_fast 
+0x1a88 006661 copy rega ,regb 
+:      006662 le_modified_name_adv_and_scan_store_data:
+0x1a89 006663 deposit regb 
+0x1a8a 006664 store 1 ,mem_le_data_len_temp 
+0x1a8b 006665 arg mem_le_data_len_temp ,contr 
+0x1a8c 006666 setarg -32 
+0x1a8d 006667 iadd regc ,contw 
+0x1a8e 006668 branch memcpy32 
+:      006670 le_modified_name_adv_and_scan_name_overflow:
+0x1a8f 006671 call disable_user 
+0x1a90 006672 branch le_modified_name_adv_and_scan_store_data 
+:      006674 le_modified_name_adv_loop:
+0x1a91 006675 ifetch 1 ,rega 
+0x1a92 006676 rtn blank 
+0x1a93 006677 pincrease 1 
+0x1a94 006678 ifetcht 1 ,contr 
+0x1a95 006679 sub temp ,gap_adtype_local_name_complete ,null 
+0x1a96 006680 branch le_modified_name_adv_found_name ,zero 
+0x1a97 006681 iadd regb ,regb 
+0x1a98 006682 copy rega ,contr 
+0x1a99 006683 iforce loopcnt 
+0x1a9a 006684 call memcpy_fast 
+0x1a9b 006685 copy contr ,rega 
+:      006686 le_modified_name_adv_loop2:
+0x1a9c 006687 deposit rega 
+0x1a9d 006688 isub regc ,null 
+0x1a9e 006689 rtn positive 
+0x1a9f 006690 branch le_modified_name_adv_loop 
+:      006692 le_modified_name_adv_found_name:
+0x1aa0 006693 iadd rega ,rega 
+0x1aa1 006694 branch le_modified_name_adv_loop2 
+:      006697 memcpy_empty:
+0x1aa2 006698 setarg space 
+0x1aa3 006699 istore 1 ,contw 
+0x1aa4 006700 loop memcpy_empty 
+0x1aa5 006701 rtn 
+:      006704 le_lpm_set_mult:
+0x1aa6 006705 bpatchx patch38_6 ,mem_patch38 
+0x1aa7 006706 disable wake 
+0x1aa8 006707 branch le_lpm_set_mult_attempt ,attempt 
+0x1aa9 006708 nbranch le_lpm_lost ,match 
+:      006709 le_lpm_set_mult_attempt:
+0x1aaa 006710 call lpm_match 
+0x1aab 006711 fetch 2 ,mem_rx_window_sniff 
+0x1aac 006712 store 2 ,mem_le_receive_window 
+:      006713 le_lpm_set_mult_attempt_match:
+0x1aad 006714 nbranch lpm_mult_short ,match 
+0x1aae 006715 bmark1 mark_old_packet ,lpm_mult_short 
+0x1aaf 006717 fetch 1 ,mem_le_rxbuf_data_length 
+0x1ab0 006718 nbranch lpm_mult_short ,blank 
+0x1ab1 006719 fetch 1 ,mem_le_txlen 
+0x1ab2 006720 nbranch lpm_mult_short ,blank 
+0x1ab3 006722 fetch 1 ,mem_le_configuration 
+0x1ab4 006723 bbit1 bit_ble_short_mult ,lpm_mult_short 
+0x1ab5 006725 fetch 1 ,mem_le_state 
+0x1ab6 006726 bbit1 lestate_update_param ,lpm_mult_short 
+0x1ab7 006727 branch lpm_mult_wait_timeout 
+:      006729 le_lpm_lost:
+0x1ab8 006730 fetcht 2 ,mem_rx_window_sniff 
+0x1ab9 006731 rshift temp ,temp 
+0x1aba 006732 fetch 2 ,mem_le_receive_window 
+0x1abb 006733 iadd temp ,pdata 
+0x1abc 006734 store 2 ,mem_le_receive_window 
+0x1abd 006735 branch lpm_lost 
+:      006738 le_set_config_fixed_tk:
+0x1abe 006739 arg bit_ble_passkey_fixed_key ,queue 
+0x1abf 006740 branch le_set_config 
+:      006742 le_clr_config_fixed_tk:
+0x1ac0 006743 arg bit_ble_passkey_fixed_key ,queue 
+0x1ac1 006744 branch le_clr_config 
+:      006746 le_set_config_fixed_ltk:
+0x1ac2 006747 arg bit_ble_pairing_fixed_ltk ,queue 
+0x1ac3 006748 branch le_set_config 
+:      006750 le_clr_config_fixed_ltk:
+0x1ac4 006751 arg bit_ble_pairing_fixed_ltk ,queue 
+0x1ac5 006752 branch le_clr_config 
+:      006754 le_set_config_more_data:
+0x1ac6 006755 arg bit_ble_transmit_packet_by_md ,queue 
+0x1ac7 006756 branch le_set_config 
+:      006758 le_clr_config_more_data:
+0x1ac8 006759 arg bit_ble_transmit_packet_by_md ,queue 
+0x1ac9 006760 branch le_clr_config 
+:      006762 le_set_config_read_authentication:
+0x1aca 006763 arg bit_ble_read_auth ,queue 
+0x1acb 006764 branch le_set_config 
+:      006766 le_clr_config_read_authentication:
+0x1acc 006767 arg bit_ble_read_auth ,queue 
+0x1acd 006768 branch le_clr_config 
+:      006770 le_set_config_write_authentication:
+0x1ace 006771 arg bit_ble_write_auth ,queue 
+0x1acf 006772 branch le_set_config 
+:      006774 le_clr_config_write_authentication:
+0x1ad0 006775 arg bit_ble_write_auth ,queue 
+0x1ad1 006776 branch le_clr_config 
+:      006778 le_set_config_short_mult:
+0x1ad2 006779 arg bit_ble_short_mult ,queue 
+0x1ad3 006780 branch le_set_config 
+:      006782 le_clr_config_short_mult:
+0x1ad4 006783 arg bit_ble_short_mult ,queue 
+0x1ad5 006784 branch le_clr_config 
+:      006787 le_set_config:
+0x1ad6 006788 fetch 1 ,mem_le_configuration 
+0x1ad7 006789 qset1 pdata 
+0x1ad8 006790 store 1 ,mem_le_configuration 
+0x1ad9 006791 rtn 
+:      006793 le_clr_config:
+0x1ada 006794 fetch 1 ,mem_le_configuration 
+0x1adb 006795 qset0 pdata 
+0x1adc 006796 store 1 ,mem_le_configuration 
+0x1add 006797 rtn 
+:      006799 le_set_fixed_ltk:
+0x1ade 006800 setarg 0x112233 
+0x1adf 006801 store 3 ,mem_le_fixed_ltk 
+0x1ae0 006802 setarg 0x445566 
+0x1ae1 006803 istore 3 ,contw 
+0x1ae2 006804 setarg 0x778899 
+0x1ae3 006805 istore 3 ,contw 
+0x1ae4 006806 setarg 0x001122 
+0x1ae5 006807 istore 3 ,contw 
+0x1ae6 006808 setarg 0x334455 
+0x1ae7 006809 istore 3 ,contw 
+0x1ae8 006810 setarg 0x66 
+0x1ae9 006811 istore 1 ,contw 
+0x1aea 006812 rtn 
+:      006815 le_set_justwork:
+0x1aeb 006816 setarg 0x01000302 
+0x1aec 006817 store 4 ,mem_le_pres 
+0x1aed 006818 setarg 0x010010 
+0x1aee 006819 store 3 ,mem_le_pres_max_keysize 
+0x1aef 006820 jam 1 ,mem_le_pairing_mode 
+0x1af0 006821 rtn 
+:      006825 le_fifo_malloc_tx_empty:
+0x1af1 006826 arg 0 ,rega 
+0x1af2 006827 arg llid_empty ,type 
+0x1af3 006828 branch le_fifo_malloc_tx 
+:      006832 le_fifo_malloc_tx_ll:
+0x1af4 006833 arg llid_le_ll ,type 
+0x1af5 006834 call le_fifo_malloc_tx 
+0x1af6 006835 copy regb ,pdata 
+0x1af7 006836 istore 1 ,contw 
+0x1af8 006837 rtn 
+:      006841 le_fifo_malloc_tx_l2cap:
+0x1af9 006842 force llid_start ,type 
+0x1afa 006843 increase 4 ,rega 
+0x1afb 006844 call le_fifo_malloc_tx 
+0x1afc 006845 increase -4 ,rega 
+0x1afd 006846 copy rega ,pdata 
+0x1afe 006847 istore 2 ,contw 
+0x1aff 006848 copy regb ,pdata 
+0x1b00 006849 istore 2 ,contw 
+0x1b01 006850 rtn 
+:      006854 le_fifo_malloc_tx:
+0x1b02 006855 bpatchx patch38_7 ,mem_patch38 
+0x1b03 006856 increase 5 ,rega 
+0x1b04 006857 call ble_l2cap_malloc 
+0x1b05 006858 increase -5 ,rega 
+0x1b06 006859 copy rega ,pdata 
+0x1b07 006860 istore 2 ,contw 
+0x1b08 006861 setarg 0 
+0x1b09 006862 istore 2 ,contw 
+0x1b0a 006863 copy type ,pdata 
+0x1b0b 006864 istore 1 ,contw 
+0x1b0c 006865 rtn 
+:      006868 le_fifo_get_first_tx_ptr:
+0x1b0d 006869 call l2cap_malloc_fifo_out 
+0x1b0e 006870 copy pdata ,contr 
+0x1b0f 006871 rtn 
+:      006873 le_fifo_get_second_tx_ptr:
+0x1b10 006874 fetch 2 ,mem_tx_fifo2_ptr 
+0x1b11 006875 rtn 
+:      006877 le_fifo_get_last_tx_ptr:
+0x1b12 006878 call le_fifo_get_last_tx_ptr0 
+0x1b13 006879 copy pdata ,contr 
+0x1b14 006880 rtn 
+:      006883 le_fifo_get_last_tx_ptr0:
+0x1b15 006884 fetch 2 ,mem_tx_fifo3_ptr 
+0x1b16 006885 rtn 
+:      006888 le_fifo_get_first_l2cap_ptr:
+0x1b17 006889 call le_fifo_get_first_tx_ptr 
+0x1b18 006890 increase 5 ,contr 
+0x1b19 006891 rtn 
+:      006893 le_fifo_get_first_att_ptr:
+0x1b1a 006894 call le_fifo_get_first_tx_ptr 
+0x1b1b 006895 increase 9 ,contr 
+0x1b1c 006896 rtn 
+:      006898 le_fifo_get_last_att_ptr:
+0x1b1d 006899 call le_fifo_get_last_tx_ptr 
+0x1b1e 006900 increase 9 ,contr 
+0x1b1f 006901 rtn 
+:      006903 le_fifo_get_last_l2cap_ptr:
+0x1b20 006904 call le_fifo_get_last_tx_ptr 
+0x1b21 006905 increase 5 ,contr 
+0x1b22 006906 rtn 
+:      006909 le_fifo_check_full:
+0x1b23 006910 branch l2cap_malloc_is_fifo_full 
+:      006913 le_fifo_check_nearly_full:
+0x1b24 006914 branch l2cap_malloc_is_fifo_nearly_full 
+:      006917 le_fifo_check_empty:
+0x1b25 006918 branch l2cap_malloc_is_fifo_empty 
+:      006921 le_fifo_release_first_node:
+0x1b26 006922 branch l2cap_malloc_free 
+:      006925 le_set_dle:
+0x1b27 006926 store 8 ,mem_local_rx_max_octets 
+0x1b28 006927 branch le_set_feature_data_packet_length_extension 
+:      006930 le_set_phys:
+0x1b29 006931 and temp ,0xff ,rega 
+0x1b2a 006932 call le_set_tx_phy 
+0x1b2b 006933 rshift8 temp ,rega 
+0x1b2c 006934 branch le_set_rx_phy 
+:      006936 le_set_tx_phy:
+0x1b2d 006937 storer rega ,1 ,mem_le_tx_phys 
+0x1b2e 006938 isolate1 bit_le_2m_phy ,rega 
+0x1b2f 006939 call le_set_feature_2m_phy ,true 
+0x1b30 006940 isolate1 bit_le_coded_phy ,rega 
+0x1b31 006941 call le_set_feature_coded_phy ,true 
+0x1b32 006942 rtn 
+:      006944 le_set_rx_phy:
+0x1b33 006945 storer rega ,1 ,mem_le_rx_phys 
+0x1b34 006946 branch le_set_tx_phy + 1 
+:      006949 le_set_feature_2m_phy:
+0x1b35 006950 arg bit_ll_feature_le_2m_phy ,queue 
+0x1b36 006951 branch le_set_feature 
+:      006954 le_set_feature_coded_phy:
+0x1b37 006955 arg bit_ll_feature_le_coded_phy ,queue 
+0x1b38 006956 branch le_set_feature 
+:      006959 le_set_feature_data_packet_length_extension:
+0x1b39 006960 arg bit_ll_feature_le_data_packet_length_extension ,queue 
+0x1b3a 006961 branch le_set_feature 
+:      006964 le_set_feature:
+0x1b3b 006965 fetch 8 ,mem_le_local_feature 
+0x1b3c 006966 qset1 pdata 
+0x1b3d 006967 store 8 ,mem_le_local_feature 
+0x1b3e 006968 rtn 
+:      006974 le_advertising_dispatch:
+0x1b3f 006975 jam fun_rx_ll_1m_phy ,mem_le_rx_phy 
+0x1b40 006976 jam fun_tx_ll_1m_phy ,mem_le_tx_phy 
+0x1b41 006977 call le_enable 
+0x1b42 006978 call le_scan 
+0x1b43 006979 call le_adv 
+0x1b44 006980 branch le_disable 
+:      006982 le_scan:
+0x1b45 006983 bpatchx patch39_0 ,mem_patch39 
+0x1b46 006984 fetch 1 ,mem_le_scan_enable 
+0x1b47 006985 rtnne le_scan_enable 
+0x1b48 006986 arg le_scan_interval_timer ,queue 
+0x1b49 006987 call timer_check 
+0x1b4a 006988 nrtn blank 
+0x1b4b 006989 fetch 2 ,mem_le_scan_interval 
+0x1b4c 006990 fetcht 2 ,mem_le_scan_window 
+0x1b4d 006991 isub temp ,pdata 
+0x1b4e 006992 arg le_scan_interval_timer ,queue 
+0x1b4f 006993 call timer_init 
+0x1b50 006994 disable master 
+0x1b51 006995 call le_init_adv 
+0x1b52 006996 call le_wait_adv 
+0x1b53 006997 nrtn match 
+0x1b54 006998 bpatchx patch39_1 ,mem_patch39 
+0x1b55 006999 fetch 6 ,mem_le_rxbuf + 2 
+0x1b56 007000 store 6 ,mem_le_plap 
+0x1b57 007003 fetch 1 ,mem_le_adv_rcv 
+0x1b58 007004 increase 1 ,pdata 
+0x1b59 007005 store 1 ,mem_le_adv_rcv 
+0x1b5a 007006 call le_create_conn 
+0x1b5b 007007 rtn master 
+0x1b5c 007008 call le_send_scan_request 
+0x1b5d 007009 nrtn match 
+0x1b5e 007010 fetch 1 ,mem_le_scanrsp_rcv 
+0x1b5f 007011 increase 1 ,pdata 
+0x1b60 007012 store 1 ,mem_le_scanrsp_rcv 
+0x1b61 007013 fetch 9 ,mem_le_rxbuf + 8 
+0x1b62 007014 store 9 ,mem_tmp_buffer 
+0x1b63 007015 rtn 
+:      007018 le_wait_adv:
+0x1b64 007019 bpatchx patch39_2 ,mem_patch39 
+0x1b65 007020 call le_next_adv_channel 
+0x1b66 007021 call le_receive_adv 
+0x1b67 007022 fetch 1 ,mem_le_adv_waitcnt 
+0x1b68 007023 increase 1 ,pdata 
+0x1b69 007024 store 1 ,mem_le_adv_waitcnt 
+0x1b6a 007025 rtn 
+:      007028 le_create_conn:
+0x1b6b 007029 bpatchx patch39_3 ,mem_patch39 
+0x1b6c 007030 fetch 1 ,mem_cmd_le_create_conn 
+0x1b6d 007031 rtnne hci_cmd_le_create_conn 
+0x1b6e 007032 fetch 6 ,mem_le_plap 
+0x1b6f 007033 fetcht 6 ,mem_le_conn_peer_addr 
+0x1b70 007034 isub temp ,null 
+0x1b71 007035 nrtn zero 
+0x1b72 007036 call context_new 
+0x1b73 007037 nrtn zero 
+0x1b74 007038 call le_connect_request 
+0x1b75 007039 call le_init_master 
+0x1b76 007040 jam 0 ,mem_hci_cmd 
+0x1b77 007041 jam 0 ,mem_le_peer_sca 
+0x1b78 007042 jam 0 ,mem_le_scan_enable 
+0x1b79 007043 jam 0 ,mem_cmd_le_create_conn 
+0x1b7a 007044 branch context_save 
+:      007046 le_connect_request:
+0x1b7b 007047 bpatchx patch39_4 ,mem_patch39 
+0x1b7c 007048 force -1 ,pdata 
+0x1b7d 007049 setsect 2 ,1 
+0x1b7e 007050 store 5 ,mem_le_channel_map 
+0x1b7f 007051 arg mem_le_state ,rega 
+0x1b80 007052 call le_calc_channel_map 
+0x1b81 007053 force 4 ,loopcnt 
+0x1b82 007054 arg mem_le_access ,contw 
+0x1b83 007055 call generate_random_loop 
+0x1b84 007056 fetch 2 ,mem_le_timeout 
+0x1b85 007057 store 2 ,mem_le_superto 
+:      007058 le_con_req_hop_retry:
+0x1b86 007059 random pdata 
+0x1b87 007060 and_into 0xf ,pdata 
+0x1b88 007061 sub pdata ,4 ,null 
+0x1b89 007062 branch le_con_req_hop_retry ,positive 
+0x1b8a 007063 store 1 ,mem_le_hop 
+0x1b8b 007064 store 1 ,mem_tmp1 
+0x1b8c 007065 bpatchx patch39_5 ,mem_patch39 
+0x1b8d 007066 fetcht 2 ,mem_le_conn_interval 
+0x1b8e 007067 storet 2 ,mem_le_tsniff 
+0x1b8f 007068 copy temp ,regc 
+0x1b90 007069 add clkn_bt ,7 ,pdata 
+0x1b91 007070 idiv regc 
+0x1b92 007071 call wait_div_end 
+0x1b93 007072 remainder rega 
+0x1b94 007073 isub rega ,pdata 
+0x1b95 007074 iadd regc ,pdata 
+0x1b96 007075 fetcht 2 ,mem_le_dsniff 
+0x1b97 007076 iadd temp ,pdata 
+0x1b98 007077 store 4 ,mem_le_anchor 
+0x1b99 007078 isub clkn_bt ,rega 
+0x1b9a 007079 increase -6 ,rega 
+0x1b9b 007080 arg 0x2205 ,regb 
+0x1b9c 007081 fetch 1 ,mem_le_conn_own_addr_type 
+0x1b9d 007082 nsetflag blank ,le_sender_addr_bit ,regb 
+0x1b9e 007083 fetch 1 ,mem_le_conn_peer_addr_type 
+0x1b9f 007084 nsetflag blank ,le_receiver_addr_bit ,regb 
+0x1ba0 007085 copy regb ,pdata 
+0x1ba1 007086 store 2 ,mem_le_txheader 
+0x1ba2 007087 fetch 6 ,mem_le_lap 
+0x1ba3 007088 istore 6 ,contw 
+0x1ba4 007089 fetch 6 ,mem_le_plap 
+0x1ba5 007090 istore 6 ,contw 
+0x1ba6 007091 fetch 4 ,mem_le_access 
+0x1ba7 007092 istore 4 ,contw 
+0x1ba8 007093 random pdata 
+0x1ba9 007094 istore 2 ,contw 
+0x1baa 007095 random pdata 
+0x1bab 007096 istore 1 ,contw 
+0x1bac 007097 force 2 ,pdata 
+0x1bad 007098 istore 1 ,contw 
+0x1bae 007099 rshift2 rega ,pdata 
+0x1baf 007100 istore 2 ,contw 
+0x1bb0 007101 rshift2 regc ,pdata 
+0x1bb1 007102 istore 2 ,contw 
+0x1bb2 007103 bpatchx patch39_6 ,mem_patch39 
+0x1bb3 007104 setarg 0 
+0x1bb4 007105 istore 2 ,contw 
+0x1bb5 007106 fetch 2 ,mem_le_timeout 
+0x1bb6 007107 istore 2 ,contw 
+0x1bb7 007108 fetch 5 ,mem_le_channel_map 
+0x1bb8 007109 istore 5 ,contw 
+0x1bb9 007110 fetch 1 ,mem_le_hop 
+0x1bba 007111 arg param_le_sca ,temp 
+0x1bbb 007112 ior temp ,pdata 
+0x1bbc 007113 istore 1 ,contw 
+0x1bbd 007114 call le_transmit_norx 
+0x1bbe 007115 setarg mem_le_txheader 
+0x1bbf 007116 add pdata ,18 ,contr 
+0x1bc0 007117 ifetch 3 ,contr 
+0x1bc1 007118 store 3 ,mem_le_crcinit 
+0x1bc2 007119 rtn 
+:      007123 le_adv:
+0x1bc3 007124 jam 36 ,mem_le_ch_mapped 
+0x1bc4 007125 jam 0 ,mem_le_adv_channel_map_temp 
+:      007126 le_adv_loop:
+0x1bc5 007127 fetch 1 ,mem_le_adv_enable 
+0x1bc6 007128 rtn blank 
+0x1bc7 007129 arg le_adv_interval_timer ,queue 
+0x1bc8 007130 call timer_check 
+0x1bc9 007131 nrtn blank 
+0x1bca 007132 bpatchx patch39_7 ,mem_patch39 
+:      007133 le_adv_loop_tx:
+0x1bcb 007134 enable swfine 
+0x1bcc 007135 call le_init_adv 
+0x1bcd 007136 call le_next_adv_channel 
+0x1bce 007137 call le_send_adv_ind 
+0x1bcf 007138 nbranch le_adv_not_match ,match 
+0x1bd0 007139 fetch 1 ,mem_le_req_rcv 
+0x1bd1 007140 increase 1 ,pdata 
+0x1bd2 007141 store 1 ,mem_le_req_rcv 
+0x1bd3 007142 fetch 1 ,mem_le_rxbuf_adv_header 
+0x1bd4 007143 and pdata ,0x0f ,pdata 
+0x1bd5 007144 beq scan_req ,le_send_scan_response 
+0x1bd6 007145 beq connect_req ,le_parse_connect_req 
+:      007146 le_adv_not_match:
+0x1bd7 007147 bpatchx patch3a_0 ,mem_patch3a 
+0x1bd8 007148 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1bd9 007149 fetcht 1 ,mem_le_adv_channel_map 
+0x1bda 007150 isub temp ,null 
+0x1bdb 007151 nbranch le_adv_loop ,zero 
+0x1bdc 007152 random pdata 
+0x1bdd 007153 arg 0x1ff ,temp 
+0x1bde 007154 iand temp ,pdata 
+0x1bdf 007155 add pdata ,250 ,pdata 
+0x1be0 007156 call delay 
+0x1be1 007157 arg le_adv_interval_timer ,queue 
+0x1be2 007158 fetch 2 ,mem_le_adv_interval 
+0x1be3 007159 branch timer_init 
+:      007162 le_init_adv:
+0x1be4 007163 bpatchx patch3a_1 ,mem_patch3a 
+0x1be5 007164 disable master 
+:      007165 le_adv_access:
+0x1be6 007166 setarg 0x8e89be 
+0x1be7 007167 lshift8 pdata ,pdata 
+0x1be8 007168 or_into 0xd6 ,pdata 
+0x1be9 007169 iforce access 
+0x1bea 007170 setarg 0x555555 
+0x1beb 007171 store 3 ,mem_le_crcinit 
+0x1bec 007172 branch calc_mod_value_scale_le 
+:      007176 le_send_adv_ind:
+0x1bed 007177 bpatchx patch3a_2 ,mem_patch3a 
+0x1bee 007178 fetch 1 ,mem_le_adv_type 
+0x1bef 007179 fetcht 1 ,mem_le_adv_own_addr_type 
+0x1bf0 007180 lshift4 temp ,temp 
+0x1bf1 007181 lshift2 temp ,temp 
+0x1bf2 007182 iadd temp ,temp 
+0x1bf3 007183 storet 1 ,mem_le_txheader 
+0x1bf4 007184 beq adv_direct_ind ,le_send_adv_direct_ind 
+0x1bf5 007185 fetcht 1 ,mem_le_adv_data_len 
+0x1bf6 007186 add temp ,6 ,pdata 
+0x1bf7 007187 store 1 ,mem_le_txlen 
+0x1bf8 007188 fetch 6 ,mem_le_lap 
+0x1bf9 007189 store 6 ,mem_le_txpayload 
+0x1bfa 007190 copy temp ,loopcnt 
+0x1bfb 007191 arg mem_le_adv_data ,contr 
+0x1bfc 007192 call memcpy_fast 
+0x1bfd 007193 branch le_send_adv_transmit 
+:      007195 le_send_adv_direct_ind:
+0x1bfe 007196 setarg 12 
+0x1bff 007197 store 1 ,mem_le_txlen 
+0x1c00 007198 fetch 6 ,mem_le_lap 
+0x1c01 007199 store 6 ,mem_le_txpayload 
+0x1c02 007200 fetch 6 ,mem_hci_plap 
+0x1c03 007201 istore 6 ,contw 
+:      007202 le_send_adv_transmit:
+0x1c04 007203 bpatchx patch3a_3 ,mem_patch3a 
+0x1c05 007204 fetch 1 ,mem_le_adv_transmit 
+0x1c06 007205 increase 1 ,pdata 
+0x1c07 007206 store 1 ,mem_le_adv_transmit 
+0x1c08 007207 arg 1800 ,stop_watch 
+0x1c09 007208 disable match 
+0x1c0a 007209 branch le_transmit_receive_sifs_without_change_mode 
+:      007212 le_send_scan_request:
+0x1c0b 007213 bpatchx patch3a_4 ,mem_patch3a 
+0x1c0c 007214 fetch 1 ,mem_le_scan_type 
+0x1c0d 007215 rtnne le_scan_type_active 
+0x1c0e 007216 fetch 1 ,mem_le_adv_transmit 
+0x1c0f 007217 increase 1 ,pdata 
+0x1c10 007218 store 1 ,mem_le_adv_transmit 
+0x1c11 007219 arg 0x0c03 ,temp 
+0x1c12 007220 fetch 1 ,mem_le_scan_own_addr_type 
+0x1c13 007221 nsetflag blank ,le_sender_addr_bit ,temp 
+0x1c14 007222 copy rega ,pdata 
+0x1c15 007223 nsetflag blank ,le_receiver_addr_bit ,temp 
+0x1c16 007224 storet 2 ,mem_le_txheader 
+0x1c17 007225 fetch 6 ,mem_le_lap 
+0x1c18 007226 istore 6 ,contw 
+0x1c19 007227 fetch 6 ,mem_le_plap 
+0x1c1a 007228 istore 6 ,contw 
+0x1c1b 007229 branch le_transmit_receive_sifs_without_change_mode 
+:      007231 le_send_scan_response:
+0x1c1c 007232 fetch 6 ,mem_le_rxbuf_adv_scan_req_adv_address 
+0x1c1d 007233 fetcht 6 ,mem_le_lap 
+0x1c1e 007234 isub temp ,null 
+0x1c1f 007235 nrtn zero 
+0x1c20 007236 arg scan_rsp ,temp 
+0x1c21 007237 fetch 1 ,mem_le_adv_own_addr_type 
+0x1c22 007238 nsetflag blank ,le_sender_addr_bit ,temp 
+0x1c23 007239 storet 1 ,mem_le_txheader 
+0x1c24 007240 fetcht 1 ,mem_le_scan_data_len 
+0x1c25 007241 add temp ,6 ,pdata 
+0x1c26 007242 store 1 ,mem_le_txlen 
+0x1c27 007243 fetch 6 ,mem_le_lap 
+0x1c28 007244 store 6 ,mem_le_txpayload 
+0x1c29 007245 arg mem_le_scan_data ,contr 
+0x1c2a 007246 copy temp ,loopcnt 
+0x1c2b 007247 call memcpy_fast 
+0x1c2c 007248 call le_transmit_norx 
+0x1c2d 007249 branch le_adv_not_match 
+:      007251 le_parse_connect_req:
+0x1c2e 007252 fetch 6 ,mem_le_rxbuf_adv_connect_ind_adv_address 
+0x1c2f 007253 fetcht 6 ,mem_le_lap 
+0x1c30 007254 isub temp ,null 
+0x1c31 007255 nrtn zero 
+0x1c32 007256 call le_scan_check_sender_addr_type 
+0x1c33 007257 storer rega ,1 ,mem_le_conn_peer_addr_type 
+0x1c34 007258 fetch 6 ,mem_le_rxbuf_adv_connect_ind_init_address 
+0x1c35 007259 store 6 ,mem_le_plap 
+0x1c36 007260 fetch 8 ,mem_le_rxbuf_adv_connect_ind_access_address 
+0x1c37 007261 store 8 ,mem_le_access 
+0x1c38 007262 fetcht 2 ,mem_le_rxbuf_adv_connect_ind_win_offset 
+0x1c39 007263 bpatchx patch3a_5 ,mem_patch3a 
+0x1c3a 007264 lshift2 temp ,temp 
+0x1c3b 007265 fetch 2 ,mem_le_rxbuf_adv_connect_ind_interval 
+0x1c3c 007266 lshift2 pdata ,pdata 
+0x1c3d 007267 store 2 ,mem_le_tsniff 
+0x1c3e 007268 store 4 ,mem_le_anchor 
+0x1c3f 007269 isub temp ,pdata 
+0x1c40 007270 add pdata ,-2 ,clke_bt 
+0x1c41 007271 fetch 9 ,mem_le_rxbuf_adv_connect_ind_latency 
+0x1c42 007272 store 9 ,mem_le_slave_latency 
+0x1c43 007273 fetch 1 ,mem_le_rxbuf_adv_connect_ind_hop_and_sca 
+0x1c44 007274 and pdata ,0x1f ,temp 
+0x1c45 007275 storet 1 ,mem_le_hop 
+0x1c46 007276 rshift4 pdata ,temp 
+0x1c47 007277 rshift temp ,temp 
+0x1c48 007278 storet 1 ,mem_le_peer_sca 
+0x1c49 007279 arg mem_le_state ,rega 
+0x1c4a 007280 call le_receive_window_size 
+0x1c4b 007281 arg mem_le_state ,rega 
+0x1c4c 007282 call le_calc_channel_map 
+0x1c4d 007283 call le_init_slave 
+0x1c4e 007284 call context_new 
+0x1c4f 007285 nrtn zero 
+0x1c50 007286 bpatchx patch3a_6 ,mem_patch3a 
+0x1c51 007287 call calc_clke_offset 
+0x1c52 007288 call le_l2cap_reset_signaling_identifier 
+0x1c53 007289 jam bt_evt_le_connected ,mem_fifo_temp 
+0x1c54 007290 call ui_ipc_send_event 
+0x1c55 007291 branch context_save 
+:      007294 le_next_adv_channel:
+0x1c56 007295 bpatchx patch3a_7 ,mem_patch3a 
+0x1c57 007296 fetch 1 ,mem_le_ch_mapped 
+0x1c58 007297 beq 37 ,le_next_adv_channel_curr_channel_37 
+0x1c59 007298 beq 38 ,le_next_adv_channel_curr_channel_38 
+0x1c5a 007299 beq 39 ,le_next_adv_channel_curr_channel_39 
+0x1c5b 007300 branch le_next_adv_channel_curr_channel_39 
+:      007302 le_next_adv_channel_curr_channel_37:
+0x1c5c 007303 fetcht 1 ,mem_le_adv_channel_map 
+0x1c5d 007304 isolate1 bit_adv_channel_map_38 ,temp 
+0x1c5e 007305 branch set_le_next_adv_channel_38 ,true 
+0x1c5f 007306 isolate1 bit_adv_channel_map_39 ,temp 
+0x1c60 007307 branch set_le_next_adv_channel_39 ,true 
+0x1c61 007308 branch set_le_next_adv_channel_37 
+:      007311 le_next_adv_channel_curr_channel_38:
+0x1c62 007312 fetcht 1 ,mem_le_adv_channel_map 
+0x1c63 007313 isolate1 bit_adv_channel_map_39 ,temp 
+0x1c64 007314 branch set_le_next_adv_channel_39 ,true 
+0x1c65 007315 isolate1 bit_adv_channel_map_37 ,temp 
+0x1c66 007316 branch set_le_next_adv_channel_37 ,true 
+0x1c67 007317 branch set_le_next_adv_channel_38 
+:      007320 le_next_adv_channel_curr_channel_39:
+0x1c68 007321 fetcht 1 ,mem_le_adv_channel_map 
+0x1c69 007322 isolate1 bit_adv_channel_map_37 ,temp 
+0x1c6a 007323 branch set_le_next_adv_channel_37 ,true 
+0x1c6b 007324 isolate1 bit_adv_channel_map_38 ,temp 
+0x1c6c 007325 branch set_le_next_adv_channel_38 ,true 
+0x1c6d 007326 branch set_le_next_adv_channel_39 
+:      007328 set_le_next_adv_channel_37:
+0x1c6e 007329 jam 37 ,mem_le_ch_mapped 
+0x1c6f 007330 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1c70 007331 set1 bit_adv_channel_map_37 ,pdata 
+0x1c71 007332 store 1 ,mem_le_adv_channel_map_temp 
+0x1c72 007333 rtn 
+:      007335 set_le_next_adv_channel_38:
+0x1c73 007336 jam 38 ,mem_le_ch_mapped 
+0x1c74 007337 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1c75 007338 set1 bit_adv_channel_map_38 ,pdata 
+0x1c76 007339 store 1 ,mem_le_adv_channel_map_temp 
+0x1c77 007340 rtn 
+:      007342 set_le_next_adv_channel_39:
+0x1c78 007343 jam 39 ,mem_le_ch_mapped 
+0x1c79 007344 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1c7a 007345 set1 bit_adv_channel_map_39 ,pdata 
+0x1c7b 007346 store 1 ,mem_le_adv_channel_map_temp 
+0x1c7c 007347 rtn 
+:      007352 le_parse_att:
+0x1c7d 007353 ifetch 3 ,contr 
+0x1c7e 007354 store 3 ,mem_le_att_opcode 
+0x1c7f 007355 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+0x1c80 007356 beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+0x1c81 007357 beq attop_find_information_request ,le_parse_att_find_information_request 
+0x1c82 007358 beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+0x1c83 007359 beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+0x1c84 007360 beq attop_read_request ,le_parse_att_read_request 
+0x1c85 007361 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+0x1c86 007362 beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+0x1c87 007363 beq attop_write_request ,le_parse_att_write_request 
+0x1c88 007364 beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+0x1c89 007365 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+0x1c8a 007366 beq attop_handle_value_confirmation ,le_parse_handle_value_confirmation 
+0x1c8b 007367 beq attop_write_command ,le_parse_att_write_command 
+0x1c8c 007368 rtn 
+:      007371 le_send_att_exchange_mtu_requset:
+0x1c8d 007372 force 3 ,rega 
+0x1c8e 007373 call le_fifo_malloc_tx_l2cap_gatt 
+0x1c8f 007374 setarg attop_exchange_mtu_request 
+0x1c90 007375 istore 1 ,contw 
+0x1c91 007376 fetch 2 ,mem_le_local_mtu 
+0x1c92 007377 istore 2 ,contw 
+0x1c93 007378 rtn 
+:      007381 le_parse_att_exchange_mtu_request:
+0x1c94 007382 call le_parse_att_exchange_mtu_response 
+:      007383 le_send_att_exchange_mtu_response:
+0x1c95 007384 force 3 ,rega 
+0x1c96 007385 call le_fifo_malloc_tx_l2cap_gatt 
+0x1c97 007386 setarg attop_exchange_mtu_response 
+0x1c98 007387 istore 1 ,contw 
+0x1c99 007388 fetch 2 ,mem_le_local_mtu 
+0x1c9a 007389 istore 2 ,contw 
+0x1c9b 007390 rtn 
+:      007392 le_parse_att_exchange_mtu_response:
+0x1c9c 007393 rshift8 pdata ,pdata 
+0x1c9d 007394 store 2 ,mem_le_remote_mtu 
+0x1c9e 007395 rtn 
+:      007397 le_parse_att_find_information_request:
+0x1c9f 007398 call le_get_search_handle_start_end_common 
+0x1ca0 007399 call enable_user 
+0x1ca1 007400 branch le_send_att_find_information_response 
+:      007402 le_send_att_find_information_response:
+0x1ca2 007403 arg 3 ,timeup 
+0x1ca3 007404 call le_init_attlist_search 
+:      007405 le_send_att_find_information_res_loop:
+0x1ca4 007406 call le_att_handle_inrange 
+0x1ca5 007407 branch le_send_att_find_information_res_end ,blank 
+0x1ca6 007408 nbranch le_send_att_find_information_res_next ,positive 
+0x1ca7 007409 increase -2 ,contr 
+0x1ca8 007410 call store_contr 
+0x1ca9 007411 call get_contw 
+0x1caa 007412 nbranch le_send_att_find_information_res_store_info ,user 
+0x1cab 007413 call push_stack_rega_b_c 
+0x1cac 007414 call disable_user 
+0x1cad 007415 storer timeup ,4 ,mem_timeup 
+0x1cae 007416 force 20 ,rega 
+0x1caf 007417 call le_fifo_malloc_tx_l2cap_gatt 
+0x1cb0 007418 fetchr timeup ,4 ,mem_timeup 
+0x1cb1 007419 call pop_stack_rega_b_c 
+0x1cb2 007420 setarg attop_find_information_response 
+0x1cb3 007421 istore 1 ,contw 
+0x1cb4 007422 setarg uuid_size_16bit 
+0x1cb5 007423 istore 1 ,contw 
+:      007424 le_send_att_find_information_res_store_info:
+0x1cb6 007425 call get_contr 
+0x1cb7 007426 ifetch 2 ,contr 
+0x1cb8 007427 and_into 0xff ,pdata 
+0x1cb9 007428 istore 2 ,contw 
+0x1cba 007429 ifetch 1 ,contr 
+0x1cbb 007430 copy pdata ,loopcnt 
+0x1cbc 007431 call memcpy 
+0x1cbd 007432 call store_contw 
+0x1cbe 007433 increase -1 ,timeup 
+0x1cbf 007434 branch le_send_att_find_information_res_end ,zero 
+:      007435 le_send_att_find_information_res_cont:
+0x1cc0 007436 ifetch 1 ,contr 
+0x1cc1 007437 iadd contr ,contr 
+0x1cc2 007438 branch le_send_att_find_information_res_loop 
+:      007439 le_send_att_find_information_res_next:
+0x1cc3 007440 ifetch 1 ,contr 
+0x1cc4 007441 iadd contr ,contr 
+0x1cc5 007442 branch le_send_att_find_information_res_cont 
+:      007443 le_send_att_find_information_res_end:
+0x1cc6 007444 branch le_send_att_error_response_notfound ,user 
+0x1cc7 007445 branch le_send_auto_len_by_mem 
+:      007448 le_parse_att_find_by_type_value_request:
+0x1cc8 007449 call le_get_search_handle_start_end_common 
+0x1cc9 007450 ifetch 2 ,contr 
+0x1cca 007451 store 2 ,mem_le_search_uuid 
+0x1ccb 007452 call store_contr 
+0x1ccc 007453 arg mem_le_search_att_type_length ,contw 
+0x1ccd 007454 fetch 2 ,mem_le_l2cap_size 
+0x1cce 007455 increase -7 ,pdata 
+0x1ccf 007456 call le_get_search_common2 
+0x1cd0 007457 branch le_send_att_find_by_type_value_response 
+:      007460 le_start_end_handle_check_1:
+0x1cd1 007461 disable user 
+0x1cd2 007462 fetcht 2 ,mem_le_search_handle_start 
+0x1cd3 007463 fetch 2 ,mem_le_search_handle_end 
+0x1cd4 007464 isub temp ,null 
+0x1cd5 007465 nbranch le_start_end_handle_check_1_fail ,positive 
+0x1cd6 007466 deposit temp 
+0x1cd7 007467 rtnne 0 
+:      007468 le_start_end_handle_check_1_fail:
+0x1cd8 007469 enable user 
+0x1cd9 007470 jam att_err_invalid_handle ,mem_le_err_code 
+0x1cda 007471 branch le_send_att_error_response 
+:      007474 le_send_att_find_by_type_value_response:
+0x1cdb 007475 call le_start_end_handle_check_1 
+0x1cdc 007476 rtn user 
+0x1cdd 007477 fetcht 2 ,mem_le_search_uuid 
+0x1cde 007478 setarg uuid_gatt_primary_service 
+0x1cdf 007479 isub temp ,null 
+0x1ce0 007480 branch le_send_att_find_by_type_value_res_primary ,zero 
+0x1ce1 007481 branch le_send_att_error_response_notfound 
+:      007484 le_send_att_find_by_type_value_res_primary:
+0x1ce2 007485 jam le_find_by_type_val_res_not_found ,mem_le_search_res 
+0x1ce3 007486 fetcht 2 ,mem_le_search_handle_start 
+0x1ce4 007487 storet 2 ,mem_temp 
+0x1ce5 007488 call le_att_get_handle_info 
+0x1ce6 007489 nbranch le_send_att_error_response_notfound ,blank 
+:      007490 le_send_att_find_primary_search_loop:
+0x1ce7 007491 fetcht 2 ,mem_temp 
+0x1ce8 007492 call le_att_get_handle_info 
+0x1ce9 007493 nbranch le_send_att_error_response_notfound2 ,blank 
+0x1cea 007494 copy contr ,rega 
+0x1ceb 007495 fetch 1 ,mem_le_curr_att_len 
+0x1cec 007496 copy pdata ,loopcnt 
+0x1ced 007497 fetcht 1 ,mem_le_search_att_type_length 
+0x1cee 007498 isub temp ,null 
+0x1cef 007499 nbranch le_send_att_find_primary_search_loop1 ,zero 
+0x1cf0 007500 arg mem_le_search_att_type ,regb 
+0x1cf1 007501 call string_compare 
+0x1cf2 007503 branch le_send_att_find_primary_search_end_start_handle_found ,zero 
+0x1cf3 007505 fetch 2 ,mem_le_cur_uuid 
+0x1cf4 007506 fetcht 2 ,mem_le_search_uuid 
+0x1cf5 007507 isub temp ,null 
+0x1cf6 007508 branch le_send_att_find_primary_search_end_ending_handle_found ,zero 
+:      007509 le_send_att_find_primary_search_loop1:
+0x1cf7 007510 fetch 2 ,mem_temp 
+0x1cf8 007511 increase 1 ,pdata 
+0x1cf9 007512 store 2 ,mem_temp 
+0x1cfa 007513 branch le_send_att_find_primary_search_loop 
+:      007515 le_send_att_error_response_notfound2:
+0x1cfb 007516 fetch 1 ,mem_le_search_res 
+0x1cfc 007517 beq le_find_by_type_val_res_found_starting_handle ,le_send_att_find_primary_search_end_ending_handle_found 
+0x1cfd 007518 branch le_send_att_error_response_notfound 
+:      007521 le_send_att_find_primary_search_end_start_handle_found:
+0x1cfe 007522 fetch 2 ,mem_le_cur_uuid 
+0x1cff 007523 fetcht 2 ,mem_le_search_uuid 
+0x1d00 007524 isub temp ,null 
+0x1d01 007525 nbranch le_send_att_find_primary_search_loop1 ,zero 
+0x1d02 007526 jam le_find_by_type_val_res_found_starting_handle ,mem_le_search_res 
+0x1d03 007528 fetcht 2 ,mem_temp 
+0x1d04 007529 storet 2 ,mem_le_cur_handle_start 
+0x1d05 007530 branch le_send_att_find_primary_search_loop1 
+:      007532 le_send_att_find_primary_search_end_ending_handle_found:
+0x1d06 007533 fetch 1 ,mem_le_search_res 
+0x1d07 007534 beq le_find_by_type_val_res_not_found ,le_send_att_find_primary_search_loop1 
+0x1d08 007535 jam le_find_by_type_val_res_found_ending_handle ,mem_le_search_res 
+0x1d09 007536 fetcht 2 ,mem_temp 
+0x1d0a 007537 increase -1 ,temp 
+0x1d0b 007538 storet 2 ,mem_le_cur_handle_end 
+:      007540 le_send_att_find_primary_search_end:
+0x1d0c 007541 arg 5 ,rega 
+0x1d0d 007542 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d0e 007543 setarg attop_find_by_type_value_response 
+0x1d0f 007544 istore 1 ,contw 
+0x1d10 007545 fetch 2 ,mem_le_cur_handle_start 
+0x1d11 007546 istore 2 ,contw 
+0x1d12 007547 fetch 2 ,mem_le_cur_handle_end 
+0x1d13 007548 istore 2 ,contw 
+0x1d14 007549 rtn 
+:      007553 le_parse_att_read_by_type_request:
+0x1d15 007554 call le_get_search_handle_start_end_common 
+0x1d16 007555 call le_get_search_att_type 
+0x1d17 007556 branch le_send_att_read_by_type_response 
+:      007558 le_send_att_read_by_type_response:
+0x1d18 007559 fetcht 2 ,mem_le_search_handle_start 
+0x1d19 007560 storet 2 ,mem_temp 
+0x1d1a 007561 call le_init_attlist_search 
+0x1d1b 007562 call le_att_get_handle_ptr2 
+0x1d1c 007563 increase -2 ,contr 
+0x1d1d 007564 copy contr ,pdata 
+0x1d1e 007565 store 2 ,mem_le_cur_attlist_start_ptr 
+0x1d1f 007567 fetcht 2 ,mem_le_search_att_type 
+0x1d20 007568 setarg uuid_chrctr_device_name 
+0x1d21 007569 isub temp ,null 
+0x1d22 007570 branch le_send_att_read_by_type_res_device_name ,zero 
+0x1d23 007571 setarg uuid_gatt_characteristic 
+0x1d24 007572 isub temp ,null 
+0x1d25 007573 nbranch le_send_att_read_by_type_res_not_characteristic ,zero 
+0x1d26 007574 arg 2 ,timeup 
+:      007575 le_send_att_read_by_type_response_loop:
+0x1d27 007576 call le_att_check_handle_end 
+0x1d28 007577 nbranch le_send_att_read_by_type_response_end ,positive 
+0x1d29 007578 fetcht 2 ,mem_temp 
+0x1d2a 007579 call le_att_get_handle_info_from_ptr 
+0x1d2b 007580 nbranch le_send_att_read_by_type_response_end ,blank 
+0x1d2c 007581 call le_att_same_type 
+0x1d2d 007582 nbranch le_send_att_read_by_type_response_next_handle ,zero 
+0x1d2e 007583 nbranch le_send_att_read_by_type_res_found_next ,user 
+0x1d2f 007584 disable user 
+0x1d30 007585 arg 20 ,rega 
+0x1d31 007586 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d32 007587 setarg attop_read_by_type_response 
+0x1d33 007588 istore 1 ,contw 
+0x1d34 007589 copy contw ,alarm 
+0x1d35 007590 increase 1 ,contw 
+0x1d36 007592 call le_send_att_read_by_type_write_properties 
+0x1d37 007593 call le_att_next_handle 
+0x1d38 007594 call le_att_get_handle_info_from_ptr 
+0x1d39 007595 call le_send_att_read_by_type_write_uuid 
+0x1d3a 007596 fetch 1 ,mem_le_cur_uuid_length 
+0x1d3b 007597 add pdata ,5 ,rega 
+0x1d3c 007598 istorer rega ,1 ,alarm 
+0x1d3d 007600 sub rega ,7 ,null 
+0x1d3e 007601 ncall enable_user2 ,zero 
+0x1d3f 007602 call disable_user2 ,zero 
+0x1d40 007603 call le_get_search_max_mtu_data 
+0x1d41 007604 idiv rega 
+0x1d42 007605 call wait_div_end 
+0x1d43 007606 quotient timeup 
+0x1d44 007607 increase -1 ,timeup 
+0x1d45 007608 branch le_send_att_read_by_type_response_end ,zero 
+:      007609 le_send_att_read_by_type_response_next_handle:
+0x1d46 007610 call le_att_next_handle 
+0x1d47 007611 branch le_send_att_read_by_type_response_loop 
+:      007612 le_send_att_read_by_type_response_end:
+0x1d48 007613 branch le_send_att_error_response_notfound ,user 
+0x1d49 007614 branch le_send_auto_len_by_mem 
+:      007616 le_send_att_read_by_type_res_found_next:
+0x1d4a 007617 call le_store_att_record 
+0x1d4b 007618 call le_att_next_handle 
+0x1d4c 007619 call le_att_get_handle_info_from_ptr 
+0x1d4d 007620 call le_send_att_read_by_type_res_check_pair_length_type 
+0x1d4e 007621 nbranch le_send_att_read_by_type_response_end ,blank 
+0x1d4f 007623 call get_contw 
+0x1d50 007624 fetch 2 ,mem_temp 
+0x1d51 007625 increase -1 ,pdata 
+0x1d52 007626 istore 2 ,contw 
+0x1d53 007627 call le_write_att_record_common 
+0x1d54 007628 call le_send_att_read_by_type_write_uuid 
+0x1d55 007629 increase -1 ,timeup 
+0x1d56 007630 branch le_send_att_read_by_type_response_end ,zero 
+0x1d57 007631 branch le_send_att_read_by_type_response_next_handle 
+:      007634 le_send_att_read_by_type_write_properties:
+0x1d58 007635 fetch 2 ,mem_temp 
+0x1d59 007636 istore 2 ,contw 
+0x1d5a 007638 fetch 1 ,mem_le_curr_att_len 
+0x1d5b 007639 copy pdata ,loopcnt 
+0x1d5c 007640 call get_contr 
+0x1d5d 007641 call memcpy_fast 
+0x1d5e 007642 branch store_contw 
+:      007643 le_send_att_read_by_type_write_uuid:
+0x1d5f 007644 call get_contw 
+0x1d60 007645 fetch 2 ,mem_temp 
+0x1d61 007646 istore 2 ,contw 
+0x1d62 007647 call store_contw 
+0x1d63 007648 fetch 1 ,mem_le_cur_uuid_length 
+0x1d64 007649 copy pdata ,loopcnt 
+0x1d65 007650 call get_contw 
+0x1d66 007651 call get_contr 
+0x1d67 007652 isub loopcnt ,contr 
+0x1d68 007653 increase -1 ,contr 
+0x1d69 007654 call memcpy_fast 
+0x1d6a 007655 branch store_contw 
+:      007659 le_send_att_read_by_type_res_not_characteristic:
+0x1d6b 007660 call le_att_get_short_uuid_ptr 
+0x1d6c 007661 branch le_send_att_error_response_notfound ,blank 
+0x1d6d 007662 copy contr ,regc 
+0x1d6e 007663 increase -5 ,contr 
+0x1d6f 007664 ifetch 2 ,contr 
+0x1d70 007665 store 2 ,mem_temp 
+0x1d71 007666 arg 20 ,rega 
+0x1d72 007667 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d73 007668 setarg attop_read_by_type_response 
+0x1d74 007669 istore 1 ,contw 
+0x1d75 007670 ifetch 1 ,regc 
+0x1d76 007671 copy pdata ,loopcnt 
+0x1d77 007672 increase 2 ,pdata 
+0x1d78 007673 istore 1 ,contw 
+0x1d79 007674 fetch 2 ,mem_temp 
+0x1d7a 007675 istore 2 ,contw 
+0x1d7b 007676 add regc ,1 ,contr 
+0x1d7c 007677 call memcpy_fast 
+0x1d7d 007678 call store_contw 
+0x1d7e 007679 branch le_send_auto_len_by_mem 
+:      007683 le_send_att_read_by_type_res_device_name:
+0x1d7f 007684 arg uuid_chrctr_device_name ,temp 
+0x1d80 007685 call le_att_get_short_uuid_ptr 
+0x1d81 007686 rtn blank 
+0x1d82 007687 increase -5 ,contr 
+0x1d83 007688 ifetch 2 ,contr 
+0x1d84 007689 store 2 ,mem_temp 
+0x1d85 007690 arg 20 ,rega 
+0x1d86 007691 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d87 007692 setarg attop_read_by_type_response 
+0x1d88 007693 istore 1 ,contw 
+0x1d89 007694 fetch 1 ,mem_le_name_len 
+0x1d8a 007695 copy pdata ,loopcnt 
+0x1d8b 007696 increase 2 ,pdata 
+0x1d8c 007697 istore 1 ,contw 
+0x1d8d 007698 fetch 2 ,mem_temp 
+0x1d8e 007699 istore 2 ,contw 
+0x1d8f 007700 arg mem_le_name ,contr 
+0x1d90 007701 call memcpy_fast 
+0x1d91 007702 call store_contw 
+0x1d92 007703 branch le_send_auto_len_by_mem 
+:      007707 le_parse_att_read_request:
+0x1d93 007708 call le_check_encrypt_state 
+0x1d94 007709 fetcht 2 ,mem_le_att_handle 
+0x1d95 007710 fetch 1 ,mem_le_configuration 
+0x1d96 007711 bbit1 bit_ble_read_auth ,le_send_att_read_response_check_auth 
+:      007714 le_send_att_read_response:
+0x1d97 007715 call le_att_get_handle_ptr2 
+0x1d98 007716 nbranch le_send_att_error_response_notfound ,zero 
+0x1d99 007717 call le_send_att_read_response_check_handle ,user 
+0x1d9a 007718 rtn user 
+0x1d9b 007719 call le_att_get_handle_ptr_found 
+0x1d9c 007720 increase -2 ,contr 
+0x1d9d 007721 ifetch 2 ,contr 
+0x1d9e 007722 arg uuid_chrctr_device_name ,temp 
+0x1d9f 007723 isub temp ,null 
+0x1da0 007724 branch le_send_device_name ,zero 
+0x1da1 007725 ifetch 1 ,contr 
+0x1da2 007726 sub pdata ,22 ,null 
+0x1da3 007727 branch le_send_att_read_response_less ,positive 
+0x1da4 007728 force 22 ,pdata 
+:      007729 le_send_att_read_response_less:
+0x1da5 007730 copy pdata ,regc 
+0x1da6 007731 call store_contr 
+0x1da7 007732 add regc ,1 ,rega 
+0x1da8 007733 call le_fifo_malloc_tx_l2cap_gatt 
+0x1da9 007734 setarg attop_read_response 
+0x1daa 007735 istore 1 ,contw 
+0x1dab 007736 copy regc ,loopcnt 
+0x1dac 007737 call get_contr 
+0x1dad 007738 branch memcpy 
+:      007740 le_send_device_name:
+0x1dae 007741 call store_contr 
+0x1daf 007742 fetch 1 ,mem_le_name_len 
+0x1db0 007743 add pdata ,1 ,rega 
+0x1db1 007744 call le_fifo_malloc_tx_l2cap_gatt 
+0x1db2 007745 setarg attop_read_response 
+0x1db3 007746 istore 1 ,contw 
+0x1db4 007747 fetch 1 ,mem_le_name_len 
+0x1db5 007748 copy pdata ,loopcnt 
+0x1db6 007749 arg mem_le_name ,contr 
+0x1db7 007750 branch memcpy 
+:      007753 le_send_att_read_response_check_auth:
+0x1db8 007754 fetch 2 ,mem_le_pairing_handle 
+0x1db9 007755 isub temp ,null 
+0x1dba 007756 nbranch le_send_att_read_response ,zero 
+0x1dbb 007757 nbranch le_send_att_read_response ,user 
+:      007758 le_send_att_read_response_error_insufficient_auth:
+0x1dbc 007759 jam att_err_insufficient_authentication ,mem_le_err_code 
+0x1dbd 007760 branch le_send_att_error_response 
+:      007762 le_send_att_read_response_check_handle:
+0x1dbe 007763 increase -2 ,contr 
+0x1dbf 007764 ifetch 2 ,contr 
+0x1dc0 007765 bbit1 bit_of_att_handle_read_authenticated ,le_send_att_read_response_error_insufficient_auth 
+0x1dc1 007766 branch disable_user 
+:      007768 le_parse_att_read_blob_request:
+0x1dc2 007769 ifetch 2 ,contr 
+0x1dc3 007770 store 2 ,mem_le_att_offset 
+:      007771 le_send_att_read_blob_response:
+0x1dc4 007772 arg 20 ,rega 
+0x1dc5 007773 call le_fifo_malloc_tx_l2cap_gatt 
+0x1dc6 007774 setarg attop_read_blob_response 
+0x1dc7 007775 istore 1 ,contw 
+0x1dc8 007776 fetch 2 ,mem_le_att_offset 
+0x1dc9 007777 iforce rega 
+0x1dca 007778 fetcht 2 ,mem_le_att_handle 
+0x1dcb 007779 call le_att_get_handle_ptr 
+0x1dcc 007780 branch le_send_att_error_response_notfound ,blank 
+0x1dcd 007781 ifetch 1 ,contr 
+0x1dce 007782 isub rega ,loopcnt 
+0x1dcf 007783 nbranch le_send_att_error_response_notfound ,positive 
+0x1dd0 007784 sub loopcnt ,22 ,null 
+0x1dd1 007785 branch le_send_att_read_blob_response_less ,positive 
+0x1dd2 007786 force 22 ,loopcnt 
+:      007787 le_send_att_read_blob_response_less:
+0x1dd3 007788 deposit rega 
+0x1dd4 007789 iadd contr ,contr 
+0x1dd5 007790 call memcpy_fast 
+0x1dd6 007791 call store_contw 
+0x1dd7 007792 branch le_send_auto_len_by_mem 
+:      007796 le_parse_att_read_by_group_type_request:
+0x1dd8 007797 call le_get_search_handle_start_end_common 
+0x1dd9 007798 call le_get_search_att_type 
+0x1dda 007799 branch le_send_att_read_by_group_type_response 
+:      007805 le_send_att_read_by_group_type_response:
+0x1ddb 007806 arg 2 ,timeup 
+0x1ddc 007807 fetcht 2 ,mem_le_search_handle_start 
+0x1ddd 007808 storet 2 ,mem_temp 
+0x1dde 007809 call le_att_get_handle_ptr2 
+0x1ddf 007810 increase -2 ,contr 
+0x1de0 007811 copy contr ,pdata 
+0x1de1 007812 store 2 ,mem_le_cur_attlist_start_ptr 
+:      007813 le_send_att_read_by_group_type_response_loop:
+0x1de2 007814 call le_att_check_handle_end 
+0x1de3 007815 nbranch le_send_att_read_by_group_type_end0 ,positive 
+0x1de4 007816 fetcht 2 ,mem_temp 
+0x1de5 007817 call le_att_get_handle_info_from_ptr 
+0x1de6 007818 nbranch le_send_att_read_by_group_type_end1 ,blank 
+0x1de7 007820 call le_att_same_type 
+0x1de8 007821 nbranch le_send_att_read_by_group_type_next_handle ,zero 
+0x1de9 007822 copy timeup ,pdata 
+0x1dea 007823 beq 0 ,le_send_att_read_by_group_type_end1 
+0x1deb 007824 nbranch le_send_att_read_by_group_type_store_write_record ,user 
+0x1dec 007825 disable user 
+0x1ded 007827 arg 20 ,rega 
+0x1dee 007828 call le_fifo_malloc_tx_l2cap_gatt 
+0x1def 007829 setarg attop_read_by_group_type_response 
+0x1df0 007830 istore 1 ,contw 
+0x1df1 007831 fetch 1 ,mem_le_curr_att_len 
+0x1df2 007832 add pdata ,4 ,rega 
+0x1df3 007833 istorer rega ,1 ,contw 
+0x1df4 007834 call store_contw 
+0x1df5 007835 sub rega ,6 ,null 
+0x1df6 007836 ncall enable_user2 ,zero 
+0x1df7 007837 call disable_user2 ,zero 
+0x1df8 007838 call le_get_search_max_mtu_data 
+0x1df9 007839 idiv rega 
+0x1dfa 007840 call wait_div_end 
+0x1dfb 007841 quotient timeup 
+0x1dfc 007842 branch le_send_att_read_by_group_type_store_record 
+:      007843 le_send_att_read_by_group_type_store_write_record:
+0x1dfd 007844 call le_send_att_read_by_group_type_check_pair_length_type 
+0x1dfe 007845 nbranch le_send_att_read_by_group_type_end1 ,blank 
+0x1dff 007846 fetch 2 ,mem_temp 
+0x1e00 007847 increase -1 ,pdata 
+0x1e01 007848 store 2 ,mem_le_cur_handle_end 
+0x1e02 007849 call le_write_att_record 
+:      007850 le_send_att_read_by_group_type_store_record:
+0x1e03 007851 fetch 2 ,mem_temp 
+0x1e04 007852 store 2 ,mem_le_cur_handle_start 
+0x1e05 007853 call le_store_att_record 
+0x1e06 007854 increase -1 ,timeup 
+:      007856 le_send_att_read_by_group_type_next_handle:
+0x1e07 007857 call le_att_next_handle 
+0x1e08 007858 branch le_send_att_read_by_group_type_response_loop 
+:      007860 le_send_att_read_by_type_res_check_pair_length_type:
+0x1e09 007861 fetch 1 ,mem_le_cur_uuid_length 
+0x1e0a 007862 branch le_send_att_read_by_group_type_check_pair_length_type + 1 
+:      007865 le_send_att_read_by_group_type_check_pair_length_type:
+0x1e0b 007866 fetch 1 ,mem_le_curr_att_len 
+0x1e0c 007867 branch le_send_att_read_by_group_type_check_pair_length_type_16byte ,user2 
+0x1e0d 007868 increase -2 ,pdata 
+0x1e0e 007869 rtn 
+:      007871 le_send_att_read_by_group_type_check_pair_length_type_16byte:
+0x1e0f 007872 increase -16 ,pdata 
+0x1e10 007873 rtn 
+:      007875 le_send_att_read_by_group_type_end0:
+0x1e11 007876 fetch 2 ,mem_temp 
+0x1e12 007877 store 2 ,mem_le_cur_handle_end 
+0x1e13 007878 branch le_send_att_read_by_group_type_end_common 
+:      007879 le_send_att_read_by_group_type_end1:
+0x1e14 007880 fetch 2 ,mem_temp 
+0x1e15 007881 increase -1 ,pdata 
+0x1e16 007882 store 2 ,mem_le_cur_handle_end 
+0x1e17 007883 branch le_send_att_read_by_group_type_end_common 
+:      007884 le_send_att_read_by_group_type_end_common:
+0x1e18 007885 branch le_send_att_error_response_notfound ,user 
+0x1e19 007886 call le_write_att_record 
+0x1e1a 007887 branch le_send_auto_len_by_mem 
+:      007892 le_parse_att_write_request:
+0x1e1b 007893 copy contr ,rega 
+0x1e1c 007894 fetch 2 ,mem_le_l2cap_size 
+0x1e1d 007895 add pdata ,-3 ,regb 
+0x1e1e 007896 call le_writeatt_cb 
+:      007897 le_send_att_write_response_check_auth:
+0x1e1f 007898 call le_check_encrypt_state 
+0x1e20 007899 fetcht 2 ,mem_le_att_handle 
+0x1e21 007900 call le_att_get_handle_ptr2 
+0x1e22 007901 nbranch le_send_att_write_response_error_invalid_handle ,zero 
+0x1e23 007902 call le_send_att_write_response_check_handle ,user 
+0x1e24 007903 rtn user 
+0x1e25 007905 fetch 1 ,mem_le_configuration 
+0x1e26 007906 bbit0 bit_ble_write_auth ,le_send_att_write_response 
+0x1e27 007908 fetcht 2 ,mem_le_att_handle 
+0x1e28 007909 fetch 2 ,mem_le_pairing_handle 
+0x1e29 007910 isub temp ,null 
+0x1e2a 007911 nbranch le_send_att_write_response ,zero 
+0x1e2b 007912 call le_check_encrypt_state 
+0x1e2c 007913 nbranch le_send_att_write_response ,user 
+0x1e2d 007914 branch le_send_att_read_response_error_insufficient_auth 
+:      007917 le_send_att_write_response:
+0x1e2e 007918 force 1 ,rega 
+0x1e2f 007919 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e30 007920 setarg attop_write_response 
+0x1e31 007921 istore 1 ,contw 
+0x1e32 007922 rtn 
+:      007924 le_send_att_write_response_check_handle:
+0x1e33 007925 increase -2 ,contr 
+0x1e34 007926 ifetch 2 ,contr 
+0x1e35 007927 bbit1 bit_of_att_handle_write_authenticated ,le_send_att_read_response_error_insufficient_auth 
+0x1e36 007928 branch disable_user 
+:      007930 le_send_att_write_response_error_invalid_handle:
+0x1e37 007931 jam att_err_invalid_handle ,mem_le_err_code 
+0x1e38 007932 branch le_send_att_error_response 
+:      007935 le_check_encrypt_state:
+0x1e39 007936 call disable_user 
+0x1e3a 007937 fetch 1 ,mem_le_pairing_mode 
+0x1e3b 007938 rtneq le_pairing_mode_none 
+0x1e3c 007939 fetch 1 ,mem_context 
+0x1e3d 007940 rtnbit1 lestate_encryption 
+0x1e3e 007941 branch enable_user 
+:      007944 le_parse_att_prepare_write_request:
+0x1e3f 007945 add contr ,2 ,rega 
+0x1e40 007946 fetch 2 ,mem_le_l2cap_size 
+0x1e41 007947 add pdata ,-5 ,regb 
+0x1e42 007948 call le_writeatt_cb 
+0x1e43 007949 branch le_send_att_prepare_write_response 
+:      007952 le_send_att_prepare_write_response:
+0x1e44 007953 fetch 2 ,mem_le_l2cap_size 
+0x1e45 007954 copy pdata ,rega 
+0x1e46 007955 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e47 007956 setarg attop_prepare_write_response 
+0x1e48 007957 istore 1 ,contw 
+0x1e49 007958 fetch 2 ,mem_le_att_handle 
+0x1e4a 007959 istore 2 ,contw 
+0x1e4b 007960 fetch 2 ,mem_le_l2cap_size 
+0x1e4c 007961 add pdata ,-5 ,loopcnt 
+0x1e4d 007962 fetch 2 ,mem_le_payload_ptr 
+0x1e4e 007963 add pdata ,7 ,contr 
+0x1e4f 007964 ifetch 2 ,contr 
+0x1e50 007965 istore 2 ,contw 
+0x1e51 007966 branch memcpy_fast 
+:      007970 le_parse_att_execute_write_request:
+:      007972 le_send_att_execute_write_response:
+0x1e52 007973 force 1 ,rega 
+0x1e53 007974 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e54 007975 setarg attop_execute_write_response 
+0x1e55 007976 istore 1 ,contw 
+0x1e56 007977 rtn 
+:      007979 le_parse_handle_value_confirmation:
+0x1e57 007980 fetch 1 ,mem_le_l2cap_att_states 
+0x1e58 007981 set0 ble_l2cap_recv_confirmation_packet ,pdata 
+0x1e59 007982 store 1 ,mem_le_l2cap_att_states 
+0x1e5a 007983 rtn 
+:      007985 le_parse_att_write_command:
+0x1e5b 007986 copy contr ,rega 
+0x1e5c 007987 fetch 2 ,mem_le_l2cap_size 
+0x1e5d 007988 add pdata ,-3 ,regb 
+0x1e5e 007989 branch le_writeatt_cb 
+:      007994 le_att_malloc_tx_notify:
+0x1e5f 007995 copy temp ,regc 
+0x1e60 007996 increase 3 ,rega 
+0x1e61 007997 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e62 007998 increase -3 ,rega 
+0x1e63 007999 setarg attop_handle_value_notification 
+0x1e64 008000 istore 1 ,contw 
+0x1e65 008001 copy regc ,temp 
+0x1e66 008002 istoret 2 ,contw 
+0x1e67 008003 rtn 
+:      008006 le_att_malloc_tx_indication:
+0x1e68 008007 fetch 1 ,mem_le_l2cap_att_states 
+0x1e69 008008 set1 ble_l2cap_send_indication_packet ,pdata 
+0x1e6a 008009 store 1 ,mem_le_l2cap_att_states 
+0x1e6b 008010 copy temp ,regc 
+0x1e6c 008011 increase 3 ,rega 
+0x1e6d 008012 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e6e 008013 increase -3 ,rega 
+0x1e6f 008014 setarg attop_handle_value_indication 
+0x1e70 008015 istore 1 ,contw 
+0x1e71 008016 copy regc ,temp 
+0x1e72 008017 istoret 2 ,contw 
+0x1e73 008018 rtn 
+:      008023 le_send_att_error_response_notfound:
+0x1e74 008024 jam att_err_attribute_not_found ,mem_le_err_code 
+:      008025 le_send_att_error_response:
+0x1e75 008026 force 5 ,rega 
+0x1e76 008027 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e77 008028 setarg attop_error_response 
+0x1e78 008029 istore 1 ,contw 
+0x1e79 008030 fetch 1 ,mem_le_att_opcode 
+0x1e7a 008031 istore 1 ,contw 
+0x1e7b 008032 fetch 2 ,mem_le_att_handle 
+0x1e7c 008033 istore 2 ,contw 
+0x1e7d 008034 fetch 1 ,mem_le_err_code 
+0x1e7e 008035 istore 1 ,contw 
+0x1e7f 008036 rtn 
+:      008039 le_fifo_malloc_tx_l2cap_gatt:
+0x1e80 008040 force le_l2cap_cid_att ,regb 
+0x1e81 008041 branch le_fifo_malloc_tx_l2cap 
+:      008044 le_att_next_handle:
+0x1e82 008045 fetcht 2 ,mem_temp 
+0x1e83 008046 increase 1 ,temp 
+0x1e84 008047 storet 2 ,mem_temp 
+0x1e85 008048 rtn 
+:      008050 le_att_check_handle_end:
+0x1e86 008051 fetcht 2 ,mem_temp 
+0x1e87 008052 fetch 2 ,mem_le_search_handle_end 
+0x1e88 008053 isub temp ,null 
+0x1e89 008054 rtn 
+:      008057 le_att_same_type:
+0x1e8a 008058 fetcht 1 ,mem_le_search_att_type_length 
+0x1e8b 008059 arg mem_le_search_att_type ,rega 
+:      008060 le_att_check_same_common:
+0x1e8c 008061 fetch 1 ,mem_le_cur_uuid_length 
+0x1e8d 008062 copy pdata ,loopcnt 
+0x1e8e 008063 isub temp ,null 
+0x1e8f 008064 nrtn zero 
+0x1e90 008065 arg mem_le_cur_uuid ,regb 
+0x1e91 008066 branch string_compare 
+:      008068 le_att_same_uuid:
+0x1e92 008069 fetcht 1 ,mem_le_search_uuid_length 
+0x1e93 008070 arg mem_le_search_uuid ,rega 
+0x1e94 008071 branch le_att_check_same_common 
+:      008074 le_store_att_record:
+0x1e95 008075 fetch 1 ,mem_le_curr_att_len 
+0x1e96 008076 store 1 ,mem_tmp_buffer 
+0x1e97 008077 copy pdata ,loopcnt 
+0x1e98 008078 call get_contr 
+0x1e99 008079 branch memcpy_fast 
+:      008082 le_write_att_record:
+0x1e9a 008083 call get_contw 
+0x1e9b 008084 fetch 2 ,mem_le_cur_handle_start 
+0x1e9c 008085 istore 2 ,contw 
+0x1e9d 008086 fetch 2 ,mem_le_cur_handle_end 
+0x1e9e 008087 istore 2 ,contw 
+:      008088 le_write_att_record_common:
+0x1e9f 008089 fetch 1 ,mem_tmp_buffer 
+0x1ea0 008090 copy pdata ,loopcnt 
+0x1ea1 008091 call memcpy_fast 
+0x1ea2 008092 branch store_contw 
+:      008096 le_send_auto_len_by_mem:
+0x1ea3 008097 bpatchx patch3b_0 ,mem_patch3b 
+0x1ea4 008098 call get_contw 
+0x1ea5 008099 call le_fifo_get_last_att_ptr 
+0x1ea6 008100 copy contw ,pdata 
+0x1ea7 008101 isub contr ,rega 
+0x1ea8 008102 call le_fifo_get_last_l2cap_ptr 
+0x1ea9 008103 copy rega ,pdata 
+0x1eaa 008104 istore 2 ,contr 
+0x1eab 008105 increase 4 ,rega 
+0x1eac 008106 call le_fifo_get_last_tx_ptr 
+0x1ead 008107 copy rega ,pdata 
+0x1eae 008108 istore 1 ,contr 
+0x1eaf 008109 rtn 
+:      008112 le_get_search_handle_start_end_common:
+0x1eb0 008113 rshift8 pdata ,pdata 
+0x1eb1 008114 store 2 ,mem_le_search_handle_start 
+0x1eb2 008115 ifetch 2 ,contr 
+0x1eb3 008116 store 2 ,mem_le_search_handle_end 
+0x1eb4 008117 rtn 
+:      008119 le_get_search_max_mtu_data:
+0x1eb5 008120 fetch 2 ,mem_le_remote_mtu 
+0x1eb6 008121 increase -2 ,pdata 
+0x1eb7 008125 fetcht 2 ,mem_le_local_mtu 
+0x1eb8 008126 increase -2 ,temp 
+0x1eb9 008127 call not_greater_than 
+0x1eba 008128 arg 240 ,temp 
+0x1ebb 008129 call not_greater_than 
+0x1ebc 008131 rtn 
+:      008133 le_get_search_att_type:
+0x1ebd 008134 call store_contr 
+0x1ebe 008135 arg mem_le_search_att_type_length ,contw 
+:      008136 le_get_search_common:
+0x1ebf 008137 fetch 2 ,mem_le_l2cap_size 
+0x1ec0 008138 increase -5 ,pdata 
+:      008139 le_get_search_common2:
+0x1ec1 008140 istore 1 ,contw 
+0x1ec2 008141 copy pdata ,loopcnt 
+0x1ec3 008142 call get_contr 
+0x1ec4 008143 branch memcpy_fast 
+:      008147 le_parse_writing_attribute_start:
+0x1ec5 008148 fetch 2 ,mem_le_rxbuf_data_att_cid 
+0x1ec6 008149 rtnne le_l2cap_cid_att 
+0x1ec7 008150 fetch 1 ,mem_le_l2cap_att_states 
+0x1ec8 008151 set1 ble_l2cap_deal_with_continue_packet ,pdata 
+0x1ec9 008152 store 1 ,mem_le_l2cap_att_states 
+0x1eca 008153 fetch 3 ,mem_le_rxbuf_data_att_opcode 
+0x1ecb 008154 store 3 ,mem_le_att_opcode 
+0x1ecc 008155 set1 mark_old_packet ,mark 
+0x1ecd 008156 beq attop_write_request ,le_parse_attribute_write_request 
+0x1ece 008157 beq attop_write_command ,le_parse_attribute_write_command 
+0x1ecf 008158 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+0x1ed0 008159 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+0x1ed1 008160 beq attop_handle_value_confirmation ,le_parse_handle_value_confirmation 
+0x1ed2 008161 set0 mark_old_packet ,mark 
+:      008162 le_clear_l2cap_att_states_deal_with_contiune_packet:
+0x1ed3 008163 fetch 1 ,mem_le_l2cap_att_states 
+0x1ed4 008164 set0 ble_l2cap_deal_with_continue_packet ,pdata 
+0x1ed5 008165 store 1 ,mem_le_l2cap_att_states 
+0x1ed6 008166 rtn 
+:      008168 le_parse_writing_attribute_continue:
+0x1ed7 008169 fetch 1 ,mem_le_l2cap_att_states 
+0x1ed8 008170 rtnbit0 ble_l2cap_deal_with_continue_packet 
+0x1ed9 008171 set1 mark_old_packet ,mark 
+0x1eda 008172 call le_parse_l2cap_continue_common 
+0x1edb 008173 call le_parse_attribute_check_complete_packet 
+0x1edc 008174 call le_clear_l2cap_att_states_deal_with_contiune_packet ,user 
+0x1edd 008175 fetch 1 ,mem_le_att_opcode 
+0x1ede 008176 beq attop_write_request ,le_send_att_write_response_check_auth 
+0x1edf 008177 rtn 
+:      008180 le_parse_attribute_write_request:
+0x1ee0 008181 call le_parse_attribute_write_command 
+0x1ee1 008182 branch le_send_attribute_write_response_check_auth 
+:      008184 le_send_attribute_write_response_check_auth:
+0x1ee2 008185 call le_parse_attribute_check_complete_packet 
+0x1ee3 008186 nrtn user 
+0x1ee4 008187 branch le_send_att_write_response_check_auth 
+:      008190 le_parse_attribute_write_command:
+0x1ee5 008191 call le_parse_attribute_check_complete_packet_init 
+0x1ee6 008192 arg mem_le_rxbuf_data_att_write_payload ,rega 
+0x1ee7 008193 branch le_writeatt_cb 
+:      008196 le_parse_attribute_check_complete_packet_init:
+0x1ee8 008197 fetch 1 ,mem_le_rxbuf_data_att_write_length 
+0x1ee9 008198 add pdata ,-7 ,regb 
+0x1eea 008199 increase -4 ,pdata 
+0x1eeb 008200 store 2 ,mem_le_packet_len_recved 
+0x1eec 008201 fetcht 2 ,mem_le_rxbuf_data_att_write_l2cap_length 
+0x1eed 008202 storet 2 ,mem_le_l2cap_size 
+0x1eee 008203 rtn 
+:      008206 le_parse_l2cap_continue_common:
+0x1eef 008207 fetchr regb ,1 ,mem_le_rxbuf_data_continue_length 
+0x1ef0 008208 fetch 2 ,mem_le_packet_len_recved 
+0x1ef1 008209 iadd regb ,temp 
+0x1ef2 008210 storet 2 ,mem_le_packet_len_recved 
+0x1ef3 008211 arg mem_le_rxbuf_data_continue_payload ,rega 
+0x1ef4 008212 branch le_writeatt_cb 
+:      008216 le_parse_attribute_check_complete_packet:
+0x1ef5 008217 call disable_user 
+0x1ef6 008218 fetch 2 ,mem_le_packet_len_recved 
+0x1ef7 008219 fetcht 2 ,mem_le_l2cap_size 
+0x1ef8 008220 isub temp ,null 
+0x1ef9 008221 nrtn zero 
+0x1efa 008222 branch enable_user 
+:      008228 le_parse_signaling:
+0x1efb 008229 ifetch 1 ,contr 
+0x1efc 008230 ifetcht 1 ,contr 
+0x1efd 008231 ifetcht 2 ,contr 
+0x1efe 008232 beq l2cap_connection_parameter_update_response ,le_l2cap_parse_conn_parameter_update_rsp 
+0x1eff 008233 rtn 
+:      008234 le_l2cap_parse_conn_parameter_update_rsp:
+0x1f00 008235 ifetch 2 ,contr 
+0x1f01 008236 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x1f02 008237 jam bt_evt_le_parse_conn_papa_update_rsp ,mem_fifo_temp 
+0x1f03 008238 branch ui_ipc_send_event 
+:      008244 le_l2cap_tx_update_req:
+0x1f04 008245 arg 0x0c ,rega 
+0x1f05 008246 arg l2cap_connection_parameter_update_request ,regc 
+0x1f06 008247 call le_fifo_malloc_tx_l2cap_signaling 
+0x1f07 008248 setarg 0x08 
+0x1f08 008249 istore 2 ,contw 
+0x1f09 008250 fetch 8 ,mem_le_interval_min 
+0x1f0a 008251 istore 8 ,contw 
+0x1f0b 008252 rtn 
+:      008256 le_fifo_malloc_tx_l2cap_signaling:
+0x1f0c 008257 call le_l2cap_update_signaling_identifier 
+0x1f0d 008258 arg le_l2cap_cid_signal ,regb 
+0x1f0e 008259 call le_fifo_malloc_tx_l2cap 
+0x1f0f 008260 copy regc ,pdata 
+0x1f10 008261 istore 1 ,contw 
+0x1f11 008262 fetch 1 ,mem_le_signaling_identifier 
+0x1f12 008263 istore 1 ,contw 
+0x1f13 008264 rtn 
+:      008267 le_l2cap_update_signaling_identifier:
+0x1f14 008268 fetch 1 ,mem_le_signaling_identifier 
+0x1f15 008270 pincrease 1 
+0x1f16 008271 store 1 ,mem_le_signaling_identifier 
+0x1f17 008272 rtnne 0 
+:      008274 le_l2cap_reset_signaling_identifier:
+0x1f18 008275 jam 1 ,mem_le_signaling_identifier 
+0x1f19 008276 rtn 
+:      008281 le_pairing_mode_init:
+0x1f1a 008282 fetch 1 ,mem_le_pairing_mode 
+0x1f1b 008283 beq le_pairing_mode_none ,le_set_no_pairing 
+0x1f1c 008284 beq le_pairing_mode_lagacy_justwork ,le_set_pairing_mode_lagacy_just_work 
+0x1f1d 008285 beq le_pairing_mode_lagacy_passkey ,le_set_pairing_mode_lagacy_passkey 
+0x1f1e 008286 beq le_pairing_mode_secure_connect_justwork ,le_set_pairing_mode_secure_justwork 
+0x1f1f 008287 beq le_pairing_mode_secure_connect_numeric ,le_set_pairing_mode_secure_numeric 
+0x1f20 008288 beq le_pairing_mode_secure_connect_passkey ,le_set_pairing_mode_secure_passkey 
+0x1f21 008289 rtn 
+:      008291 le_set_pairing_mode_secure_justwork:
+0x1f22 008292 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x1f23 008293 branch le_set_noinputnooutput 
+:      008294 le_set_pairing_mode_secure_numeric:
+0x1f24 008295 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x1f25 008296 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+0x1f26 008297 rtn 
+:      008298 le_set_pairing_mode_secure_passkey:
+0x1f27 008299 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x1f28 008300 branch le_set_displayonly 
+:      008301 le_set_no_pairing:
+0x1f29 008302 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+:      008303 le_set_noinputnooutput:
+0x1f2a 008304 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+0x1f2b 008305 rtn 
+:      008306 le_set_pairing_mode_lagacy_just_work:
+0x1f2c 008307 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x1f2d 008308 branch le_set_noinputnooutput 
+:      008309 le_set_pairing_mode_lagacy_passkey:
+0x1f2e 008310 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+:      008311 le_set_displayonly:
+0x1f2f 008312 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+0x1f30 008313 rtn 
+:      008316 le_secure_connection_enable:
+0x1f31 008317 fetch 1 ,mem_secure_connections_enable 
+0x1f32 008318 set1 secure_connections_le_bit ,pdata 
+0x1f33 008319 store 1 ,mem_secure_connections_enable 
+0x1f34 008320 rtn 
+:      008322 le_secure_connection_disable:
+0x1f35 008323 fetch 1 ,mem_secure_connections_enable 
+0x1f36 008324 set0 secure_connections_le_bit ,pdata 
+0x1f37 008325 store 1 ,mem_secure_connections_enable 
+0x1f38 008326 rtn 
+:      008328 le_parse_smp:
+0x1f39 008329 ifetch 1 ,contr 
+0x1f3a 008330 beq smp_pairing_request ,le_parse_smp_pairing_request 
+0x1f3b 008332 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+0x1f3c 008333 beq smp_pairing_random ,le_parse_smp_pairing_random 
+0x1f3d 008334 beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+0x1f3e 008336 beq smp_master_identification ,le_parse_smp_master_identification 
+0x1f3f 008337 beq smp_identity_information ,le_parse_smp_identity_information 
+0x1f40 008338 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+0x1f41 008339 beq smp_signing_information ,le_parse_smp_signing_information 
+0x1f42 008340 beq smp_security_request ,le_parse_smp_security_request 
+0x1f43 008341 beq smp_pairing_public_key ,le_parse_smp_public_key 
+0x1f44 008342 beq smp_pairing_dhkey_check ,le_parse_smp_dhkey_check 
+0x1f45 008343 rtn 
+:      008347 le_send_smp_security_request:
+0x1f46 008348 force 2 ,rega 
+0x1f47 008349 call le_fifo_malloc_tx_l2cap_smp 
+0x1f48 008350 setarg smp_security_request 
+0x1f49 008351 istore 1 ,contw 
+0x1f4a 008352 fetch 1 ,mem_le_pres_auth 
+0x1f4b 008353 istore 1 ,contw 
+0x1f4c 008354 rtn 
+:      008356 le_parse_smp_pairing_request:
+0x1f4d 008357 store 1 ,mem_le_preq 
+0x1f4e 008358 ifetch 6 ,contr 
+0x1f4f 008359 istore 6 ,contw 
+0x1f50 008360 fetch 1 ,mem_le_pairing_mode 
+0x1f51 008361 beq le_pairing_mode_none ,le_smp_pairing_fail_reason_not_support_pairing 
+0x1f52 008362 call le_send_smp_pairing_response 
+0x1f53 008363 fetch 1 ,mem_sc_only_mode 
+0x1f54 008364 branch le_parse_smp_pairing_request2 ,blank 
+0x1f55 008365 fetch 1 ,mem_le_preq_auth 
+0x1f56 008366 bbit0 le_auth_secure_connection_pairing_bit ,app_ble_disconnect 
+0x1f57 008367 fetch 1 ,mem_le_pairing_mode 
+0x1f58 008368 bbit0 le_pairing_mode_secure_connect_bit ,app_ble_disconnect 
+:      008369 le_parse_smp_pairing_request2:
+0x1f59 008370 jam flag_le_pairing_rcv_pairing_req ,mem_le_pairing_state 
+0x1f5a 008371 fetch 1 ,mem_le_preq_iocap 
+0x1f5b 008372 beq flag_iocap_displayonly ,le_set_tk_0 
+0x1f5c 008373 beq flag_iocap_displayyesno ,le_set_tk_0 
+0x1f5d 008374 beq flag_iocap_noinputnooutput ,le_set_tk_0 
+0x1f5e 008375 fetch 1 ,mem_le_pairing_mode 
+0x1f5f 008376 beq le_pairing_mode_lagacy_passkey ,le_parse_smp_pairing_req_passkey 
+0x1f60 008377 rtneq le_pairing_mode_secure_connect_passkey 
+:      008378 le_set_tk_0:
+0x1f61 008379 arg 0 ,pdata 
+0x1f62 008380 store 4 ,mem_le_tk 
+0x1f63 008381 rtn 
+:      008383 le_parse_smp_pairing_req_passkey:
+0x1f64 008384 fetch 1 ,mem_le_configuration 
+0x1f65 008385 bbit1 bit_ble_passkey_fixed_key ,le_parse_smp_pairing_req_fixed_passkey 
+:      008386 le_genernate_tk:
+0x1f66 008387 arg mem_le_tk ,rega 
+0x1f67 008388 copy rega ,contw 
+0x1f68 008389 arg 3 ,loopcnt 
+0x1f69 008390 call generate_random_loop 
+0x1f6a 008391 fetch 2 ,mem_le_tk + 2 
+0x1f6b 008392 and_into 0x7 ,pdata 
+0x1f6c 008393 store 2 ,mem_le_tk + 2 
+:      008394 le_parse_smp_pairing_req_fixed_passkey:
+0x1f6d 008395 jam bt_evt_le_tk_generate ,mem_fifo_temp 
+0x1f6e 008396 branch ui_ipc_send_event 
+:      008400 le_send_smp_pairing_response:
+0x1f6f 008401 force 7 ,rega 
+0x1f70 008402 call le_fifo_malloc_tx_l2cap_smp 
+0x1f71 008403 fetch 7 ,mem_le_pres 
+0x1f72 008404 istore 7 ,contw 
+0x1f73 008405 rtn 
+:      008408 le_parse_smp_pairing_confirm:
+0x1f74 008409 jam flag_le_pairing_receive_pairing_confirm ,mem_le_pairing_state 
+0x1f75 008410 arg mem_le_rconfirm ,contw 
+0x1f76 008411 call memcpy16 
+0x1f77 008412 fetch 1 ,mem_le_pairing_mode 
+0x1f78 008413 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_confirm_secure_passkey 
+0x1f79 008414 beq le_pairing_mode_lagacy_passkey_res_input ,le_parse_smp_pairing_confirm_passkey_res_input 
+0x1f7a 008415 beq le_pairing_mode_secure_connect_passkey_res_input ,le_parse_smp_pairing_confirm_sc_passkey_res_input 
+0x1f7b 008416 branch le_send_smp_pairing_confirm 
+:      008417 le_parse_smp_pairing_confirm_secure_passkey:
+0x1f7c 008418 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x1f7d 008419 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+0x1f7e 008420 rtn 
+:      008423 le_parse_smp_pairing_confirm_passkey_res_input:
+0x1f7f 008424 jam bt_evt_le_get_passkey ,mem_fifo_temp 
+0x1f80 008425 branch ui_ipc_send_event 
+:      008428 le_parse_smp_pairing_confirm_sc_passkey_res_input:
+0x1f81 008429 fetch 4 ,mem_le_tk 
+0x1f82 008430 branch le_parse_smp_pairing_confirm_passkey_res_input ,blank 
+0x1f83 008431 branch le_parse_smp_pairing_confirm_secure_passkey 
+:      008434 le_send_smp_pairing_confirm:
+0x1f84 008435 jam flag_le_pairing_send_pairing_confirm ,mem_le_pairing_state 
+0x1f85 008436 fetch 1 ,mem_le_pairing_mode 
+0x1f86 008437 bbit1 le_pairing_mode_secure_connect_bit ,le_send_smp_pairing_confirm_sc 
+0x1f87 008438 call generate_confirm 
+0x1f88 008439 force 17 ,rega 
+0x1f89 008440 call le_fifo_malloc_tx_l2cap_smp 
+0x1f8a 008441 setarg smp_pairing_confirm 
+0x1f8b 008442 istore 1 ,contw 
+0x1f8c 008443 branch store_aes_result 
+:      008446 le_send_smp_pairing_confirm_sc:
+0x1f8d 008447 arg mem_le_srand ,contw 
+0x1f8e 008448 call generate_random 
+0x1f8f 008449 call function_f4_cb 
+0x1f90 008450 force 17 ,rega 
+0x1f91 008451 call le_fifo_malloc_tx_l2cap_smp 
+0x1f92 008452 setarg smp_pairing_confirm 
+0x1f93 008453 istore 1 ,contw 
+0x1f94 008454 branch load_inverse_result 
+:      008458 le_parse_smp_pairing_random:
+0x1f95 008459 copy contr ,rega 
+0x1f96 008460 fetch 1 ,mem_le_pairing_mode 
+0x1f97 008461 bbit1 le_pairing_mode_secure_connect_bit ,le_parse_smp_pairing_random_sc 
+0x1f98 008462 copy rega ,contr 
+0x1f99 008463 call authenticate_rconfirm 
+0x1f9a 008464 branch le_parse_smp_pairing_random_success ,zero 
+:      008465 le_send_pairing_confirm_value_failed:
+0x1f9b 008466 jam pairing_failed_confirm_value_failed ,mem_le_ll_pairing_fail_reason 
+:      008467 le_send_pairing_failed:
+0x1f9c 008468 force 2 ,rega 
+0x1f9d 008469 call le_fifo_malloc_tx_l2cap_smp 
+0x1f9e 008470 setarg smp_pairing_failed 
+0x1f9f 008471 istore 1 ,contw 
+0x1fa0 008472 fetch 1 ,mem_le_ll_pairing_fail_reason 
+0x1fa1 008473 istore 1 ,contw 
+:      008474 le_parse_smp_pairing_failed:
+0x1fa2 008475 force smp_pairing_timer ,queue 
+0x1fa3 008476 call timer_stop 
+0x1fa4 008477 jam flag_le_pairing_null ,mem_le_pairing_state 
+0x1fa5 008478 jam bt_evt_le_pairing_fail ,mem_fifo_temp 
+0x1fa6 008479 branch ui_ipc_send_event 
+:      008481 le_smp_pairing_fail_reason_not_support_pairing:
+0x1fa7 008482 jam pairing_failed_pairing_not_supported ,mem_le_ll_pairing_fail_reason 
+0x1fa8 008483 branch le_send_pairing_failed 
+:      008486 le_parse_smp_pairing_random_sc:
+0x1fa9 008487 arg mem_le_mrand ,contw 
+0x1faa 008488 copy rega ,contr 
+0x1fab 008489 call memcpy16 
+0x1fac 008490 fetch 1 ,mem_le_pairing_mode 
+0x1fad 008491 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_random_sc_passkey 
+0x1fae 008492 beq le_pairing_mode_secure_connect_passkey_res_input ,le_parse_smp_pairing_random_sc_passkey 
+0x1faf 008493 call function_g2 
+0x1fb0 008494 call le_send_smp_pairing_random 
+0x1fb1 008495 fetch 1 ,mem_le_pairing_mode 
+0x1fb2 008496 rtnne le_pairing_mode_secure_connect_numeric 
+0x1fb3 008497 jam bt_evt_le_gkey_generate ,mem_fifo_temp 
+0x1fb4 008498 branch ui_ipc_send_event 
+:      008500 le_parse_smp_pairing_random_sc_passkey:
+0x1fb5 008501 call function_f4_ca 
+0x1fb6 008502 arg mem_aes_cmac_temp ,contw 
+0x1fb7 008503 call load_inverse_result 
+0x1fb8 008504 arg mem_aes_cmac_temp ,rega 
+0x1fb9 008505 arg mem_le_rconfirm ,regb 
+0x1fba 008506 arg 16 ,loopcnt 
+0x1fbb 008507 call string_compare 
+0x1fbc 008508 nbranch le_send_pairing_confirm_value_failed ,zero 
+0x1fbd 008509 branch le_send_smp_pairing_random 
+:      008511 le_parse_smp_pairing_random_success:
+0x1fbe 008512 call generate_stk 
+0x1fbf 008513 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+0x1fc0 008514 call ui_ipc_send_event 
+0x1fc1 008515 jam 1 ,mem_ltk_exists 
+0x1fc2 008516 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+:      008518 le_send_smp_pairing_random:
+0x1fc3 008519 force 17 ,rega 
+0x1fc4 008520 call le_fifo_malloc_tx_l2cap_smp 
+0x1fc5 008521 setarg smp_pairing_random 
+0x1fc6 008522 istore 1 ,contw 
+0x1fc7 008523 arg mem_le_srand ,contr 
+0x1fc8 008524 branch memcpy16 
+:      008526 le_send_smp_encryption_information:
+0x1fc9 008527 force 17 ,rega 
+0x1fca 008528 call le_fifo_malloc_tx_l2cap_smp 
+0x1fcb 008529 setarg smp_encryption_information 
+0x1fcc 008530 istore 1 ,contw 
+0x1fcd 008531 fetch 1 ,mem_le_configuration 
+0x1fce 008532 bbit1 bit_ble_pairing_fixed_ltk ,le_send_fixed_ltk 
+0x1fcf 008533 arg mem_le_ltk ,contr 
+0x1fd0 008534 branch memcpy16 
+:      008536 le_send_fixed_ltk:
+0x1fd1 008537 arg mem_le_fixed_ltk ,contr 
+0x1fd2 008538 branch memcpy16 
+:      008541 le_send_smp_master_identification:
+0x1fd3 008542 arg mem_le_ediv ,contw 
+0x1fd4 008543 force 10 ,loopcnt 
+0x1fd5 008544 call generate_random_loop 
+0x1fd6 008545 force 11 ,rega 
+0x1fd7 008546 call le_fifo_malloc_tx_l2cap_smp 
+0x1fd8 008547 setarg smp_master_identification 
+0x1fd9 008548 istore 1 ,contw 
+0x1fda 008549 fetch 2 ,mem_le_ediv 
+0x1fdb 008550 istore 2 ,contw 
+0x1fdc 008551 fetch 8 ,mem_le_rand 
+0x1fdd 008552 istore 8 ,contw 
+0x1fde 008553 rtn 
+:      008555 le_send_smp_identity_information:
+0x1fdf 008556 force 17 ,rega 
+0x1fe0 008557 call le_fifo_malloc_tx_l2cap_smp 
+0x1fe1 008558 setarg smp_identity_information 
+0x1fe2 008559 istore 1 ,contw 
+0x1fe3 008560 setarg 0 
+0x1fe4 008561 istore 8 ,contw 
+0x1fe5 008562 istore 8 ,contw 
+0x1fe6 008563 rtn 
+:      008566 le_send_smp_identity_address_information:
+0x1fe7 008567 force 8 ,rega 
+0x1fe8 008568 call le_fifo_malloc_tx_l2cap_smp 
+0x1fe9 008569 setarg smp_identity_address_information 
+0x1fea 008570 istore 1 ,contw 
+0x1feb 008571 fetch 1 ,mem_le_conn_own_addr_type 
+0x1fec 008572 istore 1 ,contw 
+0x1fed 008573 fetch 6 ,mem_le_lap 
+0x1fee 008574 istore 6 ,contw 
+0x1fef 008575 rtn 
+:      008578 le_send_pairing_fail_unspecified_reason:
+0x1ff0 008579 jam pairing_failed_unspecified_reason ,mem_le_ll_pairing_fail_reason 
+0x1ff1 008580 branch le_send_pairing_failed 
+:      008582 le_check_init_key_distribution:
+0x1ff2 008583 fetch 1 ,mem_le_pres_init_key_distribution 
+0x1ff3 008584 fetcht 1 ,mem_le_pres_init_key_distribution 
+0x1ff4 008585 iand temp ,pdata 
+0x1ff5 008586 rtn 
+:      008588 le_parse_smp_identity_information:
+0x1ff6 008589 arg mem_le_irk ,contw 
+0x1ff7 008590 call memcpy16 
+0x1ff8 008591 call le_check_init_key_distribution 
+0x1ff9 008592 isolate0 le_initator_irk_bit ,pdata 
+0x1ffa 008593 branch le_send_pairing_fail_unspecified_reason ,true 
+0x1ffb 008594 fetch 1 ,mem_device_option 
+0x1ffc 008595 rtnne dvc_op_module 
+0x1ffd 008596 call le_check_master_addr_type 
+0x1ffe 008597 nrtn user 
+0x1fff 008598 branch app_ble_store_reconn_info 
+:      008601 le_check_master_addr_type:
+0x2000 008602 call disable_user 
+0x2001 008603 fetch 1 ,mem_le_conn_peer_addr_type 
+0x2002 008604 rtneq master_public_addr 
+0x2003 008605 fetch 1 ,mem_le_preq_init_key_distribution 
+0x2004 008606 rtnbit0 le_initator_irk_bit 
+0x2005 008607 branch enable_user 
+:      008609 le_parse_smp_identity_address_information:
+0x2006 008610 call le_check_init_key_distribution 
+0x2007 008611 isolate0 le_initator_irk_bit ,pdata 
+0x2008 008612 branch le_send_pairing_fail_unspecified_reason ,true 
+0x2009 008613 rtn 
+:      008615 le_parse_smp_master_identification:
+:      008616 le_parse_smp_signing_information:
+:      008617 le_parse_smp_security_request:
+0x200a 008618 rtn 
+:      008620 le_parse_smp_public_key:
+0x200b 008621 arg mem_le_pubkey_remote_x_256 ,contw 
+0x200c 008622 call memcpy64 
+0x200d 008623 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x200e 008624 jam le_sc_stat_receive_public_key ,mem_le_secure_connect_state 
+0x200f 008625 rtn 
+:      008627 le_parse_smp_dhkey_check:
+0x2010 008628 arg mem_sp_confirm_remote ,contw 
+0x2011 008629 call memcpy16 
+0x2012 008630 jam le_sc_stat_receive_dhkey ,mem_le_secure_connect_state 
+0x2013 008631 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x2014 008632 rtn 
+:      008634 le_send_smp_pairing_public_key:
+0x2015 008635 force 65 ,rega 
+0x2016 008636 call le_fifo_malloc_tx_l2cap_smp 
+0x2017 008637 setarg smp_pairing_public_key 
+0x2018 008638 istore 1 ,contw 
+0x2019 008639 arg mem_sc_pubkey_local_x_256 ,contr 
+0x201a 008640 branch memcpy64 
+:      008642 le_send_smp_pairing_dhkey_check:
+0x201b 008643 call function_f6_eb 
+0x201c 008644 force 17 ,rega 
+0x201d 008645 call le_fifo_malloc_tx_l2cap_smp 
+0x201e 008646 setarg smp_pairing_dhkey_check 
+0x201f 008647 istore 1 ,contw 
+0x2020 008648 branch load_inverse_result 
+:      008651 le_check_paring_time:
+0x2021 008652 fetch 1 ,mem_le_pairing_state 
+0x2022 008653 rtneq flag_le_pairing_end 
+0x2023 008654 arg flag_le_pairing_rcv_pairing_req ,temp 
+0x2024 008655 isub temp ,null 
+0x2025 008656 nrtn positive 
+0x2026 008657 arg smp_pairing_timer ,queue 
+0x2027 008658 call timer_check 
+0x2028 008659 nrtn blank 
+0x2029 008660 branch le_send_pairing_fail_unspecified_reason 
+:      008662 le_pairing_sm:
+0x202a 008663 bpatchx patch3b_1 ,mem_patch3b 
+0x202b 008664 call le_fifo_check_nearly_full 
+0x202c 008665 nrtn blank 
+0x202d 008666 fetch 1 ,mem_le_pairing_state 
+0x202e 008667 beq flag_le_pairing_null ,le_pairing_sm_null 
+0x202f 008668 beq flag_le_pairing_start ,le_pairing_sm_start 
+0x2030 008669 beq flag_le_pairing_send_recurity_req ,le_pairing_sm_send_sec_req 
+0x2031 008670 beq flag_le_pairing_rcv_pairing_req ,le_pairing_sm_rcv_pairing_req 
+0x2032 008671 beq flag_le_pairing_after_auth ,le_pairing_sm_after_auth 
+0x2033 008672 beq flag_le_paring_send_enc_information ,le_pairng_sm_send_enc_information 
+0x2034 008673 beq flag_le_paring_send_master_identification ,le_pairng_sm_send_master_indentification 
+0x2035 008674 beq flag_le_paring_send_indentity_information ,le_pairng_sm_send_indentity_information 
+0x2036 008675 rtn 
+:      008677 le_pairing_sm_null:
+:      008678 le_pairing_sm_send_sec_req:
+0x2037 008679 fetch 1 ,mem_le_enc_state 
+0x2038 008680 rtnne flag_le_send_start_enc_rsp 
+0x2039 008681 jam flag_le_enc_end ,mem_le_enc_state 
+0x203a 008682 jam flag_le_pairing_end ,mem_le_pairing_state 
+0x203b 008683 jam bt_evt_le_reconnect_complete ,mem_fifo_temp 
+0x203c 008684 branch ui_ipc_send_event 
+:      008687 le_pairing_sm_start:
+0x203d 008688 jam flag_le_pairing_send_recurity_req ,mem_le_pairing_state 
+0x203e 008689 branch le_send_smp_security_request 
+:      008691 le_pairing_sm_rcv_pairing_req:
+0x203f 008692 jam flag_le_pairing_wait_stk_generation ,mem_le_pairing_state 
+0x2040 008693 setarg timer_smp_pairing_timeout 
+0x2041 008694 arg smp_pairing_timer ,queue 
+0x2042 008695 branch timer_init 
+:      008697 le_pairing_sm_after_auth:
+0x2043 008698 fetch 1 ,mem_le_enc_state 
+0x2044 008699 beq flag_le_send_start_enc_rsp ,le_pairing_sm_after_auth_start_enc 
+0x2045 008700 rtn 
+:      008702 le_pairing_sm_after_auth_start_enc:
+0x2046 008703 fetch 1 ,mem_le_pairing_mode 
+0x2047 008704 bbit1 le_pairing_mode_secure_connect_bit ,le_pairing_sm_after_auth_start_enc_sc 
+0x2048 008706 jam flag_le_paring_send_enc_information ,mem_le_pairing_state 
+0x2049 008707 call le_send_smp_encryption_information 
+:      008708 le_pairing_sm_after_auth_start_enc_common:
+0x204a 008709 jam bt_evt_le_enc_info ,mem_fifo_temp 
+0x204b 008710 call ui_ipc_send_event 
+0x204c 008711 fetch 1 ,mem_device_option 
+0x204d 008712 rtnne dvc_op_module 
+0x204e 008713 call le_check_master_addr_type 
+0x204f 008714 rtn user 
+0x2050 008715 branch app_ble_store_reconn_info 
+:      008717 le_pairing_sm_after_auth_start_enc_sc:
+0x2051 008718 jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+0x2052 008719 branch le_pairing_sm_after_auth_start_enc_common 
+:      008721 le_pairng_sm_send_enc_information:
+0x2053 008722 jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+0x2054 008723 branch le_send_smp_master_identification 
+:      008725 le_pairng_sm_send_master_indentification:
+0x2055 008726 fetch 1 ,mem_le_preq_resp_key_distribution 
+0x2056 008727 fetcht 1 ,mem_le_pres_resp_key_distribution 
+0x2057 008728 iand temp ,pdata 
+0x2058 008729 isolate0 le_initator_irk_bit ,pdata 
+0x2059 008730 branch le_parse_start_enc_rsp_after_auth_end ,true 
+0x205a 008731 jam flag_le_paring_send_indentity_information ,mem_le_pairing_state 
+0x205b 008732 branch le_send_smp_identity_information 
+:      008734 le_pairng_sm_send_indentity_information:
+0x205c 008735 call le_send_smp_identity_address_information 
+0x205d 008736 branch le_parse_start_enc_rsp_after_auth_end 
+:      008739 le_parse_start_enc_rsp_after_auth_end:
+0x205e 008740 force smp_pairing_timer ,queue 
+0x205f 008741 call timer_stop 
+0x2060 008742 jam flag_le_enc_end ,mem_le_enc_state 
+0x2061 008743 jam flag_le_pairing_end ,mem_le_pairing_state 
+0x2062 008744 jam bt_evt_le_pairing_complete ,mem_fifo_temp 
+0x2063 008745 branch ui_ipc_send_event 
+:      008749 le_secure_connect_sm:
+0x2064 008750 bpatchx patch3b_2 ,mem_patch3b 
+0x2065 008751 fetch 1 ,mem_le_pairing_mode 
+0x2066 008752 rtnbit0 le_pairing_mode_secure_connect_bit 
+0x2067 008753 fetch 1 ,mem_le_secure_connect_flag 
+0x2068 008754 rtnne le_sp_flag_commit_256 
+0x2069 008755 jam sp_flag_standby ,mem_le_secure_connect_flag 
+0x206a 008756 fetch 1 ,mem_le_secure_connect_state 
+0x206b 008757 beq le_sc_stat_receive_public_key ,le_sc_sm_receive_public_key 
+0x206c 008758 beq le_sc_stat_wait_send_public_key ,le_sc_sm_wait_send_public_key 
+0x206d 008759 beq le_sc_stat_send_public_key ,le_sc_sm_send_public_key 
+0x206e 008760 beq le_sc_stat_receive_dhkey ,le_sc_sm_receive_dhkey 
+0x206f 008761 beq le_sc_stat_wait_confirm_gkey ,le_sc_sm_wait_confirm_gkey 
+0x2070 008762 beq le_sc_stat_passkey_wait_confirm ,le_sc_sm_passkey_wait_confirm 
+0x2071 008763 rtn 
+:      008765 le_sc_state_clear:
+0x2072 008766 jam sp_flag_standby ,mem_le_secure_connect_flag 
+0x2073 008767 jam le_sc_stat_null ,mem_le_secure_connect_state 
+0x2074 008768 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+0x2075 008769 rtn 
+:      008771 le_sc_sm_passkey_wait_confirm:
+0x2076 008772 fetch 1 ,mem_authentication_passkey_times 
+0x2077 008773 copy pdata ,queue 
+0x2078 008774 increase 1 ,pdata 
+0x2079 008775 store 1 ,mem_authentication_passkey_times 
+0x207a 008776 fetch 4 ,mem_le_tk 
+0x207b 008777 qisolate1 pdata 
+0x207c 008778 setarg 0x80 
+0x207d 008779 setflag true ,0 ,pdata 
+0x207e 008780 store 1 ,mem_passkey_1bit 
+0x207f 008781 branch le_sc_sm_ready_send_pairing_confirm 
+:      008783 le_sc_sm_wait_confirm_gkey:
+0x2080 008784 fetch 1 ,mem_le_sc_confirm_gkey_flag 
+0x2081 008785 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+0x2082 008786 beq flag_le_sc_confrim_gkey_ok ,le_sc_confirm_gkey_ok 
+0x2083 008787 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x2084 008788 rtn 
+:      008790 le_sc_confirm_gkey_ok:
+0x2085 008791 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+0x2086 008792 call ui_ipc_send_event 
+0x2087 008793 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+0x2088 008794 branch le_send_smp_pairing_dhkey_check 
+:      008796 le_sc_sm_receive_dhkey:
+0x2089 008797 fetch 1 ,mem_sp_dhkey_invalid 
+0x208a 008798 beq sp_key_valid_256 ,le_dhkey_ready 
+0x208b 008799 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x208c 008800 rtn 
+:      008802 le_dhkey_ready:
+0x208d 008803 call function_f5 
+0x208e 008804 fetch 1 ,mem_le_pairing_mode 
+0x208f 008805 beq le_pairing_mode_secure_connect_passkey ,le_dhkey_ready_common 
+0x2090 008806 beq le_pairing_mode_secure_connect_passkey_res_input ,le_dhkey_ready_common 
+0x2091 008807 call le_set_tk_0 
+:      008808 le_dhkey_ready_common:
+0x2092 008809 call function_f6_ea 
+0x2093 008810 arg mem_aes_cmac_temp ,rega 
+0x2094 008811 arg mem_sp_confirm_remote ,regb 
+0x2095 008812 arg 16 ,loopcnt 
+0x2096 008813 call string_compare 
+0x2097 008814 branch le_dhkey_check_ok ,zero 
+:      008815 le_dhkey_check_fail:
+0x2098 008816 jam pairing_failed_dhkey_check_failed ,mem_le_ll_pairing_fail_reason 
+0x2099 008817 branch le_send_pairing_failed 
+:      008820 le_dhkey_check_ok:
+0x209a 008821 call sp_calc_check_publickey_256 
+0x209b 008822 nbranch le_dhkey_check_fail ,zero 
+0x209c 008823 jam 1 ,mem_ltk_exists 
+0x209d 008824 fetch 1 ,mem_le_pairing_mode 
+0x209e 008825 beq le_pairing_mode_secure_connect_justwork ,le_sc_confirm_gkey_ok 
+0x209f 008826 beq le_pairing_mode_secure_connect_passkey ,le_sc_confirm_gkey_ok 
+0x20a0 008827 beq le_pairing_mode_secure_connect_passkey_res_input ,le_sc_confirm_gkey_ok 
+0x20a1 008828 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x20a2 008829 jam le_sc_stat_wait_confirm_gkey ,mem_le_secure_connect_state 
+0x20a3 008830 rtn 
+:      008832 le_sc_sm_send_public_key:
+0x20a4 008833 fetch 1 ,mem_le_pairing_mode 
+0x20a5 008834 beq le_pairing_mode_secure_connect_passkey ,le_sc_sm_send_public_key_passkey 
+0x20a6 008835 beq le_pairing_mode_secure_connect_passkey_res_input ,le_sc_sm_send_public_key_passkey 
+0x20a7 008836 jam 0 ,mem_passkey_1bit 
+:      008837 le_sc_sm_ready_send_pairing_confirm:
+0x20a8 008838 branch le_send_smp_pairing_confirm 
+:      008840 le_sc_sm_send_public_key_passkey:
+0x20a9 008841 jam 0 ,mem_authentication_passkey_times 
+0x20aa 008842 rtneq le_pairing_mode_secure_connect_passkey_res_input 
+0x20ab 008843 branch le_parse_smp_pairing_req_passkey 
+:      008846 le_sc_sm_receive_public_key:
+0x20ac 008847 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x20ad 008848 fetch 1 ,mem_sc_local_key_invalid 
+0x20ae 008849 beq sp_key_valid_256 ,le_public_key_ready 
+0x20af 008850 rtn 
+:      008852 le_public_key_ready:
+0x20b0 008853 jam le_sc_stat_wait_send_public_key ,mem_le_secure_connect_state 
+0x20b1 008854 jam sp_key_invalid ,mem_sp_dhkey_invalid 
+0x20b2 008855 branch sp_dhkey_calc_256 
+:      008857 le_sc_sm_wait_send_public_key:
+0x20b3 008858 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x20b4 008859 jam le_sc_stat_send_public_key ,mem_le_secure_connect_state 
+0x20b5 008860 branch le_send_smp_pairing_public_key 
+:      008864 le_fifo_malloc_tx_l2cap_smp:
+0x20b6 008865 force le_l2cap_cid_smp ,regb 
+0x20b7 008866 branch le_fifo_malloc_tx_l2cap 
+:      008870 le_parse_ll:
+0x20b8 008871 fetch 1 ,mem_le_rxbuf_data_ll_opcode 
+0x20b9 008872 beq ll_connection_update_ind ,le_parse_connection_update_ind 
+0x20ba 008873 beq ll_channel_map_ind ,le_parse_channel_map_ind 
+0x20bb 008874 beq ll_terminate_ind ,le_parse_terminate_ind 
+0x20bc 008875 beq ll_enc_req ,le_parse_enc_req 
+0x20bd 008876 beq ll_enc_rsp ,le_parse_enc_rsp 
+0x20be 008877 beq ll_start_enc_req ,le_parse_start_enc_req 
+0x20bf 008878 beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+0x20c0 008879 beq ll_unknown_rsp ,le_parse_unknown_rsp 
+0x20c1 008880 beq ll_feature_req ,le_parse_feature_req 
+0x20c2 008881 beq ll_feature_rsp ,le_parse_feature_rsp 
+0x20c3 008882 beq ll_pause_enc_req ,le_parse_pause_enc_req 
+0x20c4 008883 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+0x20c5 008884 beq ll_version_ind ,le_parse_version_ind 
+0x20c6 008885 beq ll_reject_ind ,le_parse_reject_ind 
+0x20c7 008886 beq ll_ping_req ,le_parse_ping_req 
+0x20c8 008887 beq ll_ping_rsp ,le_parse_ping_rsp 
+0x20c9 008888 beq ll_length_req ,le_parse_length_req 
+0x20ca 008889 beq ll_length_rsp ,le_parse_length_rsp 
+0x20cb 008890 beq ll_phy_req ,le_parse_phy_req 
+0x20cc 008891 beq ll_phy_update_ind ,le_parse_phy_update_ind 
+0x20cd 008892 fetchr regc ,1 ,mem_le_rxbuf_data_ll_opcode 
+0x20ce 008893 branch le_send_unknown_rsp 
+:      008897 le_parse_connection_update_ind:
+0x20cf 008898 ifetch 9 ,contr 
+0x20d0 008899 store 9 ,mem_le_new_param 
+0x20d1 008900 ifetch 2 ,contr 
+0x20d2 008901 store 2 ,mem_le_instant 
+0x20d3 008902 fetch 1 ,mem_le_state 
+0x20d4 008903 set1 lestate_update_param ,pdata 
+0x20d5 008904 store 1 ,mem_le_state 
+0x20d6 008905 rtn 
+:      008909 le_parse_channel_map_ind:
+0x20d7 008910 ifetch 5 ,contr 
+0x20d8 008911 store 5 ,mem_le_new_map 
+0x20d9 008912 ifetch 2 ,contr 
+0x20da 008913 store 2 ,mem_le_instant 
+:      008914 le_update_map_enable:
+0x20db 008915 fetch 1 ,mem_le_state 
+0x20dc 008916 set1 lestate_update_map ,pdata 
+0x20dd 008917 store 1 ,mem_le_state 
+0x20de 008918 rtn 
+:      008922 le_parse_terminate_ind:
+0x20df 008923 setarg 20 
+0x20e0 008924 store 2 ,mem_le_superto 
+0x20e1 008925 store 2 ,mem_le_init_superto 
+0x20e2 008926 rtn 
+:      008930 le_parse_enc_req:
+0x20e3 008931 ifetch 8 ,contr 
+0x20e4 008932 store 8 ,mem_le_rand 
+0x20e5 008933 ifetch 2 ,contr 
+0x20e6 008934 store 2 ,mem_le_ediv 
+0x20e7 008935 ifetch 8 ,contr 
+0x20e8 008936 store 8 ,mem_le_skdm 
+0x20e9 008937 ifetch 4 ,contr 
+0x20ea 008938 store 4 ,mem_ccm_ivm 
+0x20eb 008939 call le_send_enc_rsp 
+0x20ec 008940 bpatchx patch3b_3 ,mem_patch3b 
+0x20ed 008941 fetch 1 ,mem_le_pairing_state 
+0x20ee 008942 beq flag_le_pairing_after_auth ,le_parse_enc_req_after_auth 
+0x20ef 008943 fetch 1 ,mem_le_configuration 
+0x20f0 008944 bbit1 bit_ble_pairing_fixed_ltk ,le_parse_enc_req_fixed_ltk 
+0x20f1 008945 fetch 1 ,mem_nv_data_number 
+0x20f2 008946 ncall load_device_list_mode_4 ,blank 
+0x20f3 008947 fetch 1 ,mem_ltk_exists 
+0x20f4 008948 beq 0 ,le_ltk_lost 
+:      008949 le_parse_enc_req_after_auth:
+0x20f5 008950 jam flag_le_rcv_enc_start ,mem_le_enc_state 
+0x20f6 008951 call le_send_start_enc_req 
+0x20f7 008952 branch generate_sk 
+:      008953 le_parse_enc_req_fixed_ltk:
+0x20f8 008954 jam 1 ,mem_ltk_exists 
+0x20f9 008955 arg mem_le_fixed_ltk ,contr 
+0x20fa 008956 arg mem_le_ltk ,contw 
+0x20fb 008957 call memcpy16 
+0x20fc 008958 branch le_parse_enc_req_after_auth 
+:      008959 le_ltk_lost:
+0x20fd 008960 bpatchx patch3b_4 ,mem_patch3b 
+0x20fe 008961 jam flag_le_enc_null ,mem_le_enc_state 
+0x20ff 008962 jam flag_le_enc_null ,mem_le_pairing_state 
+0x2100 008963 jam bt_evt_le_ltk_lost ,mem_fifo_temp 
+0x2101 008964 branch ui_ipc_send_event 
+:      008967 le_parse_enc_rsp:
+0x2102 008968 ifetch 8 ,contr 
+0x2103 008969 store 8 ,mem_le_skds 
+0x2104 008970 ifetch 4 ,contr 
+0x2105 008971 store 4 ,mem_ccm_ivs 
+0x2106 008972 branch generate_sk 
+:      008976 le_parse_start_enc_req:
+0x2107 008977 fetch 1 ,mem_le_state 
+0x2108 008978 set1 lestate_encryption ,pdata 
+0x2109 008979 store 1 ,mem_le_state 
+0x210a 008980 rtn 
+:      008983 le_parse_start_enc_rsp:
+0x210b 008984 rtn master 
+0x210c 008985 jam bt_evt_le_start_enc ,mem_fifo_temp 
+0x210d 008986 call ui_ipc_send_event 
+0x210e 008987 jam flag_le_send_start_enc_rsp ,mem_le_enc_state 
+0x210f 008988 branch le_send_start_enc_rsp 
+:      008992 le_parse_unknown_rsp:
+0x2110 008993 rtn 
+:      008997 le_parse_feature_req:
+0x2111 008998 branch le_send_feature_rsp 
+:      009002 le_parse_feature_rsp:
+0x2112 009003 rtn 
+:      009007 le_parse_pause_enc_req:
+0x2113 009008 jam flag_le_enc_pause ,mem_le_enc_state 
+0x2114 009009 call le_send_pause_enc_rsp 
+0x2115 009010 jam bt_evt_le_pause_enc ,mem_fifo_temp 
+0x2116 009011 branch ui_ipc_send_event 
+:      009015 le_parse_pause_enc_rsp:
+0x2117 009016 rtn 
+:      009020 le_parse_version_ind:
+0x2118 009021 rtn master 
+0x2119 009022 branch le_send_version_ind 
+:      009026 le_parse_reject_ind:
+0x211a 009027 rtn 
+:      009031 le_parse_ping_req:
+0x211b 009032 branch le_send_ping_rsp 
+:      009036 le_parse_ping_rsp:
+0x211c 009037 rtn 
+:      009040 le_parse_length_req:
+0x211d 009041 call le_parse_length_rsp 
+0x211e 009042 branch le_send_data_length_res 
+:      009044 le_parse_length_rsp:
+0x211f 009045 ifetch 8 ,contr 
+0x2120 009046 store 8 ,mem_remote_rx_max_octets 
+0x2121 009047 fetch 2 ,mem_remote_rx_max_octets 
+0x2122 009048 fetcht 2 ,mem_local_tx_max_octets 
+0x2123 009049 call not_greater_than 
+0x2124 009050 store 2 ,mem_remote_rx_max_octets 
+0x2125 009052 fetch 2 ,mem_remote_tx_max_octets 
+0x2126 009053 fetcht 2 ,mem_local_rx_max_octets 
+0x2127 009054 call not_greater_than 
+0x2128 009055 store 2 ,mem_remote_tx_max_octets 
+0x2129 009056 rtn 
+:      009060 le_parse_phy_req:
+0x212a 009061 branch le_send_phy_rsp 
+:      009065 le_parse_phy_update_ind:
+0x212b 009066 ifetch 2 ,contr 
+0x212c 009067 store 2 ,mem_le_new_m2s_phy 
+0x212d 009068 ifetch 2 ,contr 
+0x212e 009069 store 2 ,mem_le_instant 
+0x212f 009070 rtn blank 
+0x2130 009071 fetch 1 ,mem_le_state 
+0x2131 009072 set1 lestate_update_phy ,pdata 
+0x2132 009073 store 1 ,mem_le_state 
+0x2133 009074 rtn 
+:      009079 le_send_terminate_ind_user_terminated:
+0x2134 009080 arg error_remote_user_terminated_connection ,regc 
+:      009083 le_send_terminate_ind:
+0x2135 009084 arg 2 ,rega 
+0x2136 009085 arg ll_terminate_ind ,regb 
+0x2137 009086 call le_fifo_malloc_tx_ll 
+0x2138 009087 copy regc ,pdata 
+0x2139 009088 istore 1 ,contw 
+0x213a 009089 rtn 
+:      009093 le_send_enc_rsp:
+0x213b 009094 arg mem_le_skds ,contw 
+0x213c 009095 force 8 ,loopcnt 
+0x213d 009096 call generate_random_loop 
+0x213e 009097 arg mem_ccm_ivs ,contw 
+0x213f 009098 force 4 ,loopcnt 
+0x2140 009099 call generate_random_loop 
+0x2141 009100 arg 13 ,rega 
+0x2142 009101 arg ll_enc_rsp ,regb 
+0x2143 009102 call le_fifo_malloc_tx_ll 
+0x2144 009103 fetch 8 ,mem_le_skds 
+0x2145 009104 istore 8 ,contw 
+0x2146 009105 fetch 4 ,mem_ccm_ivs 
+0x2147 009106 istore 4 ,contw 
+0x2148 009107 rtn 
+:      009111 le_send_start_enc_req:
+0x2149 009112 jam flag_le_send_start_enc_req ,mem_le_enc_state 
+0x214a 009113 arg ll_start_enc_req ,regb 
+0x214b 009114 branch le_send_ll_one_lenth 
+:      009118 le_send_start_enc_rsp:
+0x214c 009119 arg ll_start_enc_rsp ,regb 
+0x214d 009120 branch le_send_ll_one_lenth 
+:      009125 le_send_unknown_rsp:
+0x214e 009126 arg 2 ,rega 
+0x214f 009127 arg ll_unknown_rsp ,regb 
+0x2150 009128 call le_fifo_malloc_tx_ll 
+0x2151 009129 istorer regc ,1 ,contw 
+0x2152 009130 rtn 
+:      009134 le_send_feature_rsp:
+0x2153 009135 arg 9 ,rega 
+0x2154 009136 arg ll_feature_rsp ,regb 
+0x2155 009137 call le_fifo_malloc_tx_ll 
+0x2156 009138 fetch 8 ,mem_le_local_feature 
+0x2157 009139 or pdata ,fun_ll_feature_le_encryption ,pdata 
+0x2158 009140 istore 8 ,contw 
+0x2159 009141 rtn 
+:      009145 le_send_pause_enc_rsp:
+0x215a 009146 arg ll_pause_enc_rsp ,regb 
+0x215b 009147 branch le_send_ll_one_lenth 
+:      009151 le_send_version_ind:
+0x215c 009152 arg 6 ,rega 
+0x215d 009153 arg ll_version_ind ,regb 
+0x215e 009154 call le_fifo_malloc_tx_ll 
+0x215f 009155 fetch 5 ,mem_lmp_version 
+0x2160 009156 istore 5 ,contw 
+0x2161 009157 rtn 
+:      009160 le_send_reject_ind:
+0x2162 009161 arg 2 ,rega 
+0x2163 009162 arg ll_reject_ind ,regb 
+0x2164 009163 call le_fifo_malloc_tx_ll 
+0x2165 009164 setarg le_err_pin_or_key_missing 
+0x2166 009165 istore 1 ,contw 
+0x2167 009166 rtn 
+:      009170 le_send_ping_rsp:
+0x2168 009171 arg ll_ping_rsp ,regb 
+0x2169 009172 branch le_send_ll_one_lenth 
+:      009174 le_send_data_length_req:
+0x216a 009175 arg ll_length_req ,regb 
+0x216b 009176 branch le_send_data_length 
+:      009178 le_send_data_length_res:
+0x216c 009179 arg ll_length_rsp ,regb 
+:      009180 le_send_data_length:
+0x216d 009181 arg 9 ,rega 
+0x216e 009182 call le_fifo_malloc_tx_ll 
+0x216f 009183 fetch 8 ,mem_local_rx_max_octets 
+0x2170 009184 istore 8 ,contw 
+0x2171 009185 rtn 
+:      009189 le_send_phy_rsp:
+0x2172 009190 arg 3 ,rega 
+0x2173 009191 arg ll_phy_rsp ,regb 
+0x2174 009192 call le_fifo_malloc_tx_ll 
+0x2175 009193 fetch 1 ,mem_le_tx_phys 
+0x2176 009194 and pdata ,0x07 ,pdata 
+0x2177 009195 istore 1 ,contw 
+0x2178 009196 fetch 1 ,mem_le_rx_phys 
+0x2179 009197 and pdata ,0x07 ,pdata 
+0x217a 009198 istore 1 ,contw 
+0x217b 009199 rtn 
+:      009203 le_send_ll_one_lenth:
+0x217c 009204 arg 1 ,rega 
+0x217d 009205 branch le_fifo_malloc_tx_ll 
+:      009210 g24_dispatch:
+0x217e 009211 bpatchx patch3b_5 ,mem_patch3b 
+0x217f 009212 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+0x2180 009213 branch g24_transmit_dispatch 
+:      009218 g24_prep:
+0x2181 009219 disable enable_crc 
+0x2182 009220 disable enable_white 
+0x2183 009221 setarg 0x555555 
+0x2184 009222 iforce crc24_init 
+0x2185 009223 fetch 1 ,mem_24g_ch 
+0x2186 009224 branch le_prep + 5 
+:      009226 g24_receive_packet:
+0x2187 009227 bpatchx patch3b_6 ,mem_patch3b 
+0x2188 009228 fetch 1 ,mem_24g_rx_phy 
+0x2189 009229 call le_enable_phy_by_pdata 
+0x218a 009230 fetch 4 ,mem_24g_addr 
+0x218b 009231 iforce access 
+0x218c 009232 call calc_mod_value_scale_le 
+0x218d 009233 call set_sync_on 
+0x218e 009234 fetcht 1 ,mem_24g_ch 
+0x218f 009235 call le_rf_rx_enable 
+:      009236 g24_receive_rxon:
+0x2190 009237 call g24_prep 
+0x2191 009238 bmark0 mark_ble_lr ,g24_receive_nolr 
+0x2192 009239 pulse dewhiten_code_calc 
+0x2193 009240 nop 30 
+0x2194 009241 call g24_prep 
+:      009242 g24_receive_nolr:
+0x2195 009243 disable user3 
+0x2196 009244 enable decode_fec0 
+0x2197 009245 enable is_rx 
+0x2198 009246 disable is_tx 
+0x2199 009247 enable swfine 
+0x219a 009248 fetch 2 ,mem_24g_rx_window 
+0x219b 009249 iforce stop_watch 
+0x219c 009250 correlate null ,timeout 
+0x219d 009251 nbranch g24_sync_timeout ,sync 
+0x219e 009252 call rf_debug_rx_sync_line 
+0x219f 009253 bmark1 mark_ble_lr ,g24_receive_skip_fec1 
+0x21a0 009254 fetch 1 ,mem_24g_disable_fec1 
+0x21a1 009255 nbranch g24_receive_skip_fec1 ,blank 
+0x21a2 009256 disable decode_fec0 
+0x21a3 009257 enable decode_fec1 
+:      009258 g24_receive_skip_fec1:
+0x21a4 009259 enable enable_white 
+0x21a5 009260 enable enable_crc 
+0x21a6 009261 call g24_receive_byte 
+0x21a7 009262 store 1 ,mem_24g_get_syncword_crc8 
+0x21a8 009263 fetcht 1 ,mem_24g_syncword_crc8 
+0x21a9 009264 isub temp ,null 
+0x21aa 009265 nbranch g24_end_of_packet ,zero 
+0x21ab 009266 bpatchx patch3b_7 ,mem_patch3b 
+0x21ac 009267 disable user7 
+0x21ad 009268 isolate1 mark_ble_lr ,mark 
+0x21ae 009269 call g24_lr_receive_pdu_len ,true 
+0x21af 009270 branch g24_end_of_packet ,user7 
+0x21b0 009271 call g24_receive_byte 
+0x21b1 009272 store 1 ,mem_24g_rxbuf 
+0x21b2 009273 bmark1 mark_24g_rxmode ,g24_receive_skip 
+0x21b3 009274 fetch 1 ,mem_24g_rxbuf 
+0x21b4 009275 fetcht 1 ,mem_24g_data_type 
+0x21b5 009276 icompare bits_data ,temp 
+0x21b6 009277 nbranch g24_end_of_packet ,true 
+:      009278 g24_receive_skip:
+0x21b7 009279 call g24_receive_byte 
+0x21b8 009280 isolate1 mark_ble_lr ,mark 
+0x21b9 009281 call g24_lr_receive_payload_len ,true 
+0x21ba 009282 istore 1 ,contw 
+0x21bb 009283 rshift3 pdata ,pdata 
+0x21bc 009284 sub pdata ,0x1f ,null 
+0x21bd 009285 nbranch g24_end_of_packet ,positive 
+0x21be 009286 copy pdata ,loopcnt 
+0x21bf 009287 branch g24rx_nopayload ,zero 
+:      009288 g24rx_loop:
+0x21c0 009289 call g24_receive_byte 
+0x21c1 009290 istore 1 ,contw 
+0x21c2 009291 loop g24rx_loop 
+:      009292 g24rx_nopayload:
+0x21c3 009293 bmark1 mark_24g_rxmode ,g24_receive_skip_rssi 
+0x21c4 009294 copy contw ,rega 
+0x21c5 009295 call g24_receive_byte 
+0x21c6 009296 store 1 ,mem_rssi_hex_received 
+0x21c7 009297 copy rega ,contw 
+:      009298 g24_receive_skip_rssi:
+0x21c8 009299 parse demod ,bucket ,24 
+0x21c9 009300 rshift32 pdata ,pdata 
+0x21ca 009301 rshift16 pdata ,pdata 
+0x21cb 009302 istore 3 ,contw 
+0x21cc 009303 fetch 1 ,mem_24g_disable_fec1 
+0x21cd 009304 nbranch g24_receive_skip_disable_fec1 ,blank 
+0x21ce 009305 disable decode_fec1 
+:      009306 g24_receive_skip_next:
+0x21cf 009307 isolate1 mark_24g_rxmode ,mark 
+0x21d0 009308 call save_rssi_dec ,true 
+0x21d1 009309 branch g24_end_of_packet ,crc_failed 
+0x21d2 009310 call rf_debug_rx_crc_line 
+0x21d3 009311 enable user3 
+0x21d4 009312 call le_match_set_txfreq 
+0x21d5 009313 bpatchx patch3c_0 ,mem_patch3c 
+0x21d6 009314 rtnmark1 mark_24g_rxmode 
+0x21d7 009315 fetch 1 ,mem_rssi_hex_received 
+0x21d8 009316 fetcht 1 ,mem_rssi_hex_received_max_value 
+0x21d9 009317 isub temp ,null 
+0x21da 009318 call copy_temp2pdata ,positive 
+0x21db 009319 branch rssi_signal 
+:      009321 g24_receive_skip_disable_fec1:
+0x21dc 009322 disable decode_fec0 
+0x21dd 009323 branch g24_receive_skip_next 
+:      009326 g24_lr_receive_pdu_len:
+0x21de 009327 call g24_receive_byte 
+0x21df 009328 sub pdata ,1 ,null 
+0x21e0 009329 branch enable_user7 ,positive 
+0x21e1 009330 increase -2 ,pdata 
+0x21e2 009331 bmark1 mark_24g_rxmode ,g24_lr_receive_pdu_norssi 
+0x21e3 009332 branch enable_user7 ,blank 
+0x21e4 009333 increase -1 ,pdata 
+:      009334 g24_lr_receive_pdu_norssi:
+0x21e5 009335 store 1 ,mem_temp 
+0x21e6 009336 rtn 
+:      009338 g24_lr_receive_payload_len:
+0x21e7 009339 and_into 0x07 ,pdata 
+0x21e8 009340 fetcht 1 ,mem_temp 
+0x21e9 009341 lshift3 temp ,temp 
+0x21ea 009342 ior temp ,pdata 
+0x21eb 009343 rtn 
+:      009345 g24_receive_byte:
+0x21ec 009346 parse demod ,bucket ,8 
+0x21ed 009347 rshift3 pwindow ,pdata 
+0x21ee 009348 rtn 
+:      009350 g24_sync_timeout:
+0x21ef 009351 isolate1 mark_24g_rxmode ,mark 
+0x21f0 009352 call rssi_noise ,true 
+:      009353 g24_end_of_packet:
+0x21f1 009354 call le_disable 
+0x21f2 009355 disable encode_fec1 
+0x21f3 009356 disable decode_fec1 
+0x21f4 009357 branch end_of_packet 
+:      009359 g24_set_freq_tx:
+0x21f5 009360 call set_sync_on 
+0x21f6 009361 fetcht 1 ,mem_24g_ch 
+0x21f7 009362 branch set_freq_tx 
+:      009364 g24_transmit:
+0x21f8 009365 bpatchx patch3c_1 ,mem_patch3c 
+0x21f9 009366 fetch 1 ,mem_24g_tx_phy 
+0x21fa 009367 call le_enable_phy_by_pdata 
+0x21fb 009368 fetch 4 ,mem_24g_addr 
+0x21fc 009369 iforce access 
+0x21fd 009370 call g24_prep 
+0x21fe 009371 call g24_set_freq_tx 
+0x21ff 009372 set1 txgfsk ,radio_ctrl 
+0x2200 009373 enable encode_fec0 
+0x2201 009374 enable is_tx 
+0x2202 009375 disable is_rx 
+0x2203 009376 call rf_debug_tx_on_line 
+0x2204 009377 disable lr_s2en 
+0x2205 009378 bmark1 mark_ble_lr ,g24_transmit_lr 
+0x2206 009379 bmark1 mark_ble_2m ,g24_transmit_2m 
+0x2207 009380 rshift16 access ,pdata 
+0x2208 009381 rshift8 pdata ,pdata 
+0x2209 009382 rshift4 pdata ,pdata 
+0x220a 009383 inject mod ,40 
+:      009384 g24_transmit_packet:
+0x220b 009385 bmark1 mark_ble_lr ,g24_transmit_nolr 
+0x220c 009386 fetch 1 ,mem_24g_disable_fec1 
+0x220d 009387 nbranch g24_transmit_nolr ,blank 
+0x220e 009388 disable encode_fec0 
+0x220f 009389 enable encode_fec1 
+:      009390 g24_transmit_nolr:
+0x2210 009391 enable enable_white 
+0x2211 009392 enable enable_crc 
+0x2212 009393 fetch 1 ,mem_24g_txlen 
+0x2213 009394 iforce loopcnt 
+0x2214 009395 arg mem_24g_txpayload ,contr 
+:      009396 g24tr_loop:
+0x2215 009397 ifetch 1 ,contr 
+0x2216 009398 inject mod ,8 
+0x2217 009399 loop g24tr_loop 
+0x2218 009400 enable enable_parity 
+0x2219 009401 inject mod ,24 
+0x221a 009402 disable enable_parity 
+0x221b 009403 bmark0 mark_ble_lr ,g24_transmit_skip 
+0x221c 009404 disable enable_white 
+0x221d 009405 setarg 0 
+0x221e 009406 inject mod ,3 
+:      009407 g24_transmit_skip:
+0x221f 009408 until null ,tx_clear 
+0x2220 009409 nop 100 
+0x2221 009410 disable lr_s2en 
+0x2222 009411 disable encode_fec0 
+0x2223 009412 fetch 1 ,mem_24g_disable_fec1 
+0x2224 009413 nbranch g24_transmit_skip_disable_fec1 ,blank 
+0x2225 009414 disable encode_fec1 
+:      009415 g24_transmit_skip_disable_fec1:
+0x2226 009416 disable encode_fec3 
+0x2227 009417 call set_sync_on 
+0x2228 009418 branch rf_debug_tx_off_line 
+:      009420 g24_transmit_lr:
+0x2229 009421 arg 10 ,loopcnt 
+:      009422 g24_transmit_lr_preamble_loop:
+0x222a 009423 setarg 0x3c 
+0x222b 009424 inject mod ,8 
+0x222c 009425 loop g24_transmit_lr_preamble_loop 
+0x222d 009426 disable encode_fec0 
+0x222e 009427 enable encode_fec3 
+0x222f 009428 rshift16 access ,pdata 
+0x2230 009429 rshift16 pdata ,pdata 
+0x2231 009430 rshift4 pdata ,pdata 
+0x2232 009431 inject mod ,32 
+0x2233 009432 bmark1 mark_ble_lr_s8 ,g24_transmit_lr_s8 
+:      009433 g24_transmit_lr_s2:
+0x2234 009434 setarg 1 
+0x2235 009435 inject mod ,5 
+0x2236 009436 enable lr_s2en 
+0x2237 009437 branch g24_transmit_packet 
+:      009439 g24_transmit_lr_s8:
+0x2238 009440 setarg 0 
+0x2239 009441 inject mod ,5 
+0x223a 009442 branch g24_transmit_packet 
+:      009444 g24_transmit_2m:
+0x223b 009445 fetch 1 ,mem_system_clk 
+0x223c 009446 rshift pdata ,loopcnt 
+:      009447 g24_transmit_2m_dealy:
+0x223d 009448 nop 2 
+0x223e 009449 loop g24_transmit_2m_dealy 
+0x223f 009451 rshift16 access ,pdata 
+0x2240 009452 rshift8 pdata ,pdata 
+0x2241 009453 rshift4 pdata ,temp 
+0x2242 009454 copy temp ,pdata 
+0x2243 009455 inject mod ,8 
+0x2244 009456 copy temp ,pdata 
+0x2245 009457 inject mod ,40 
+0x2246 009458 branch g24_transmit_packet 
+:      009466 g24_transmit_prep:
+0x2247 009467 fetch 1 ,mem_24g_tx_phy 
+0x2248 009468 bbit1 bit_le_coded_phy ,g24_lr_transmit_prep 
+0x2249 009470 fetch 1 ,mem_24g_datalen 
+0x224a 009471 increase 3 ,pdata 
+0x224b 009472 store 1 ,mem_24g_txlen 
+0x224c 009474 fetch 1 ,mem_24g_syncword_crc8 
+0x224d 009475 store 1 ,mem_24g_txpayload 
+0x224e 009477 fetch 1 ,mem_24g_data_type 
+0x224f 009478 istore 1 ,contw 
+0x2250 009480 fetch 1 ,mem_24g_datalen 
+:      009481 g24_transmit_prep_pdu:
+0x2251 009482 lshift3 pdata ,pdata 
+0x2252 009483 fetcht 1 ,mem_24g_pid 
+0x2253 009484 and temp ,0x03 ,temp 
+0x2254 009485 lshift temp ,temp 
+0x2255 009486 ior temp ,pdata 
+0x2256 009487 fetcht 1 ,mem_24g_no_ack 
+0x2257 009488 iadd temp ,pdata 
+0x2258 009489 istore 1 ,contw 
+0x2259 009491 fetch 1 ,mem_24g_datalen 
+0x225a 009492 iforce loopcnt 
+0x225b 009493 arg mem_24g_txbuf ,contr 
+0x225c 009494 call memcpy 
+0x225d 009496 rtnmark0 mark_24g_rxmode 
+0x225e 009497 fetch 1 ,mem_rssi_hex 
+0x225f 009498 istore 1 ,contw 
+0x2260 009499 fetch 1 ,mem_24g_tx_phy 
+0x2261 009500 rtnbit1 bit_le_coded_phy 
+0x2262 009501 fetch 1 ,mem_24g_txlen 
+0x2263 009502 increase 1 ,pdata 
+0x2264 009503 store 1 ,mem_24g_txlen 
+0x2265 009504 rtn 
+:      009506 g24_lr_transmit_prep:
+0x2266 009508 fetch 1 ,mem_24g_datalen 
+0x2267 009509 increase 4 ,pdata 
+0x2268 009510 bmark0 mark_24g_rxmode ,g24_lr_transmit_prep_skip 
+0x2269 009511 increase 1 ,pdata 
+:      009512 g24_lr_transmit_prep_skip:
+0x226a 009513 store 1 ,mem_24g_txlen 
+0x226b 009515 fetch 1 ,mem_24g_syncword_crc8 
+0x226c 009516 store 1 ,mem_24g_txpayload 
+0x226d 009518 fetch 1 ,mem_24g_txlen 
+0x226e 009519 increase -2 ,pdata 
+0x226f 009520 istore 1 ,contw 
+0x2270 009522 fetch 1 ,mem_24g_data_type 
+0x2271 009523 istore 1 ,contw 
+0x2272 009524 setarg 0 
+0x2273 009525 branch g24_transmit_prep_pdu 
+:      009527 g24_read_len_pid_crc:
+0x2274 009529 fetch 1 ,mem_24g_rxbuf + 1 
+0x2275 009530 rshift3 pdata ,pdata 
+0x2276 009531 store 1 ,mem_24g_rxdata_length 
+0x2277 009533 increase 1 ,pdata 
+0x2278 009534 arg mem_24g_rxbuf + 1 ,contr 
+0x2279 009535 iadd contr ,contr 
+0x227a 009536 ifetch 3 ,contr 
+0x227b 009537 store 3 ,mem_24g_sta_crc 
+0x227c 009539 fetch 1 ,mem_24g_rxbuf + 1 
+0x227d 009540 rshift pdata ,pdata 
+0x227e 009541 and pdata ,0x03 ,pdata 
+0x227f 009542 store 1 ,mem_24g_sta_pid 
+0x2280 009543 rtn 
+:      009546 g24_ch:
+0x2281 009547 fetcht 1 ,mem_24g_current_ch_number 
+0x2282 009548 call g24_ch_map_size 
+0x2283 009549 storet 1 ,mem_24g_current_ch_number 
+0x2284 009550 rtn 
+:      009552 g24_ch_map_size:
+0x2285 009553 call g24_ch_calc 
+0x2286 009554 increase 1 ,temp 
+0x2287 009555 and_into 3 ,temp 
+0x2288 009556 rtn 
+:      009558 g24_ch_calc:
+0x2289 009559 fetch 1 ,mem_24g_addr 
+0x228a 009560 and_into 0x03 ,pdata 
+0x228b 009561 mul32 pdata ,4 ,rega 
+0x228c 009562 setarg mem_24g_ch_map1 
+0x228d 009563 iadd rega ,pdata 
+0x228e 009564 iadd temp ,contr 
+0x228f 009565 ifetch 1 ,contr 
+0x2290 009566 store 1 ,mem_24g_ch 
+0x2291 009567 rtn 
+:      009570 g24_update_addr_and_synccrc8:
+0x2292 009571 store 4 ,mem_24g_addr 
+:      009573 g24_syncword_crc8:
+0x2293 009574 arg 0 ,rega 
+0x2294 009575 arg 4 ,loopcnt 
+0x2295 009576 arg mem_24g_addr ,contr 
+:      009577 g24_syncword_crc8_loop:
+0x2296 009578 ifetch 1 ,contr 
+0x2297 009579 iadd rega ,rega 
+0x2298 009580 loop g24_syncword_crc8_loop 
+0x2299 009581 copy rega ,pdata 
+0x229a 009582 store 2 ,mem_24g_syncword 
+0x229b 009583 fetch 1 ,mem_24g_syncword 
+0x229c 009584 fetcht 1 ,mem_24g_syncword + 1 
+0x229d 009585 iadd temp ,pdata 
+0x229e 009586 store 1 ,mem_24g_syncword_crc8 
+0x229f 009587 rtn 
+:      009590 g24_timer_check:
+0x22a0 009591 call disable_user 
+0x22a1 009592 fetcht 4 ,mem_24g_tx_btclk 
+0x22a2 009593 copy clkn_bt ,pdata 
+0x22a3 009594 isub temp ,null 
+0x22a4 009595 ncall g24_timer_timeout ,positive 
+0x22a5 009596 copy pdata ,regb 
+0x22a6 009597 fetch 4 ,mem_24g_tx_btclk 
+0x22a7 009598 fetcht 1 ,mem_24g_interval 
+0x22a8 009599 iadd temp ,temp 
+0x22a9 009600 copy regb ,pdata 
+0x22aa 009601 isub temp ,null 
+0x22ab 009602 nrtn positive 
+0x22ac 009603 set0 28 ,pdata 
+0x22ad 009604 store 4 ,mem_24g_tx_btclk 
+0x22ae 009605 branch enable_user 
+:      009606 g24_timer_timeout:
+0x22af 009607 rtn zero 
+0x22b0 009608 set1 28 ,pdata 
+0x22b1 009609 rtn 
+:      009610 g24_timer_init:
+0x22b2 009611 setarg 0 
+0x22b3 009612 store 4 ,mem_24g_tx_btclk 
+0x22b4 009613 rtn 
+:      009621 g24_chmap_param_init:
+0x22b5 009622 setsect 0 ,0x1300 
+0x22b6 009623 setsect 1 ,0x1908b 
+0x22b7 009624 setsect 2 ,0x36150 
+0x22b8 009625 setsect 3 ,0x3d20 
+0x22b9 009626 store 9 ,mem_24g_ch_map1 
+0x22ba 009627 setsect 0 ,0x3a1a 
+0x22bb 009628 setsect 1 ,0xc453 
+0x22bc 009629 setsect 2 ,0xd312 
+0x22bd 009630 setsect 3 ,0x1 
+0x22be 009631 istore 7 ,contw 
+0x22bf 009632 fetch 1 ,mem_24g_ch_map_update 
+0x22c0 009633 rtn blank 
+0x22c1 009634 arg mem_24g_ch_update_map1 ,contr 
+0x22c2 009635 arg mem_24g_ch_map1 ,contw 
+0x22c3 009636 branch memcpy16 
+:      009644 g24_chamap_param_update:
+0x22c4 009645 setarg 0x4e001e 
+0x22c5 009646 store 3 ,mem_24g_ch_update_map1 + 1 
+0x22c6 009647 setarg 0x032303 
+0x22c7 009648 istore 3 ,contw 
+0x22c8 009649 setarg 0x250642 
+0x22c9 009650 istore 3 ,contw 
+0x22ca 009651 setarg 0x094c06 
+0x22cb 009652 istore 3 ,contw 
+0x22cc 009653 setarg 0x3c0927 
+0x22cd 009654 istore 3 ,contw 
+0x22ce 009655 jam 1 ,mem_24g_ch_map_update 
+0x22cf 009656 rtn 
+:      009659 g24_rx_window_init:
+0x22d0 009660 arg 0x6978 ,temp 
+0x22d1 009661 bmark1 mark_24g_rxmode ,g24_rx_window_store 
+0x22d2 009662 arg 0x12c0 ,temp 
+0x22d3 009663 fetch 1 ,mem_24g_rx_phy 
+0x22d4 009664 bbit0 2 ,g24_rx_window_store 
+0x22d5 009665 arg 0x2ee0 ,temp 
+:      009666 g24_rx_window_store:
+0x22d6 009667 storet 2 ,mem_24g_rx_window 
+0x22d7 009668 rtn 
+:      009670 g24_enable_1m:
+0x22d8 009671 jam 0x01 ,mem_24g_rx_phy 
+0x22d9 009672 jam 0x01 ,mem_24g_tx_phy 
+0x22da 009673 rtn 
+:      009702 g24_pair_param_init:
+0x22db 009703 jam 0x4e ,mem_24g_pair_ch 
+0x22dc 009704 setarg 0x101520 
+0x22dd 009705 store 3 ,mem_24g_pair_addr 
+0x22de 009706 setarg 0x05 
+0x22df 009707 istore 1 ,contw 
+0x22e0 009708 rtn 
+:      009714 g24_pair_timeout_timer:
+0x22e1 009715 arg mem_24g_pair_timeout ,regc 
+0x22e2 009716 arg g24_stop_24g_mode ,regb 
+0x22e3 009717 branch timer_single_step_2b 
+:      009719 g24_pair_start:
+0x22e4 009720 set1 mark_24g ,mark 
+0x22e5 009721 fetch 1 ,mem_24g_conn_sm 
+0x22e6 009722 set0 state_24g_reconn ,pdata 
+0x22e7 009723 set1 state_24g_pair ,pdata 
+0x22e8 009724 store 1 ,mem_24g_conn_sm 
+0x22e9 009725 setarg 0 
+0x22ea 009726 store 2 ,mem_24g_reconn_timeout 
+0x22eb 009727 fetch 2 ,mem_24g_pair_timeout_init 
+0x22ec 009728 store 2 ,mem_24g_pair_timeout 
+0x22ed 009729 jam 0 ,mem_24g_pair_no_ack 
+0x22ee 009730 call g24_pair_sm_reinit 
+:      009731 g24_pair_init_param:
+0x22ef 009732 jam 0 ,mem_24g_pid 
+0x22f0 009733 fetch 1 ,mem_24g_pair_ch 
+0x22f1 009734 store 1 ,mem_24g_ch 
+0x22f2 009735 fetch 1 ,mem_24g_pair_tx_power 
+0x22f3 009736 store 1 ,mem_tx_power 
+0x22f4 009737 fetch 4 ,mem_24g_pair_addr 
+0x22f5 009738 branch g24_update_addr_and_synccrc8 
+:      009741 g24_pair_dispatch:
+0x22f6 009742 bpatchx patch3c_2 ,mem_patch3c 
+0x22f7 009743 fetch 1 ,mem_24g_pair_sm 
+0x22f8 009744 beq state_24g_pairing_success ,g24_pair_exit 
+0x22f9 009745 beq state_24g_pairing_1 ,g24_pair_sm_1 
+0x22fa 009746 beq state_24g_pairing_2 ,g24_pair_sm_2 
+0x22fb 009747 beq state_24g_pairing_3 ,g24_pair_sm_3 
+0x22fc 009748 beq state_24g_pairing_4 ,g24_pair_sm_4 
+0x22fd 009749 rtn 
+:      009751 g24_pair_sm_1:
+0x22fe 009752 jam datatype_attemp ,mem_24g_txbuf 
+0x22ff 009753 branch g24_pair_sm_prep 
+:      009755 g24_pair_sm_2:
+0x2300 009756 fetch 1 ,mem_24g_pair_switch 
+0x2301 009757 branch g24_pair_sm_2_skip ,blank 
+0x2302 009758 fetch 4 ,mem_24g_device_addr 
+0x2303 009759 call g24_update_addr_and_synccrc8 
+:      009760 g24_pair_sm_2_skip:
+0x2304 009761 jam datatype_bind ,mem_24g_txbuf 
+0x2305 009762 branch g24_pair_sm_prep 
+:      009764 g24_pair_sm_3:
+0x2306 009765 jam datatype_config ,mem_24g_txbuf 
+0x2307 009766 fetch 1 ,mem_24g_pair_switch 
+0x2308 009767 branch g24_pair_sm_prep ,blank 
+0x2309 009768 fetch 4 ,mem_24g_receiver_addr 
+0x230a 009769 store 4 ,mem_24g_txbuf + 2 
+0x230b 009770 branch g24_pair_sm_common 
+:      009772 g24_pair_sm_4:
+0x230c 009773 jam datatype_ok ,mem_24g_txbuf 
+:      009774 g24_pair_sm_prep:
+0x230d 009775 fetch 4 ,mem_24g_device_addr 
+0x230e 009776 store 4 ,mem_24g_txbuf + 2 
+:      009777 g24_pair_sm_common:
+0x230f 009778 fetch 1 ,mem_24g_data_type 
+0x2310 009779 and_into bits_data ,pdata 
+0x2311 009780 store 1 ,mem_24g_txbuf + 1 
+0x2312 009781 jam 0 ,mem_24g_txbuf + 6 
+0x2313 009782 jam 7 ,mem_24g_datalen 
+0x2314 009783 call g24_transmit_prep 
+0x2315 009784 call g24_transmit_receive_ack 
+0x2316 009785 nrtn sync 
+0x2317 009786 nrtn user3 
+0x2318 009787 call g24_txbuf_clear 
+0x2319 009788 call g24_ackpayload_parse 
+0x231a 009789 bpatchx patch3c_3 ,mem_patch3c 
+0x231b 009790 fetch 1 ,mem_24g_pair_sm 
+0x231c 009791 rtneq state_24g_pairing_success 
+0x231d 009792 beq state_24g_pairing_1 ,g24_pair_sm_1_waiting_ack 
+0x231e 009793 beq state_24g_pairing_2 ,g24_pair_sm_2_waiting_ack 
+0x231f 009794 beq state_24g_pairing_3 ,g24_pair_sm_3_waiting_ack 
+0x2320 009795 beq state_24g_pairing_4 ,g24_pair_sm_4_waiting_ack 
+0x2321 009796 rtn 
+:      009798 g24_pair_sm_reinit:
+0x2322 009799 jam state_24g_pairing_2 ,mem_24g_pair_sm 
+0x2323 009800 fetch 1 ,mem_24g_pair_switch 
+0x2324 009801 rtn blank 
+0x2325 009802 jam state_24g_pairing_1 ,mem_24g_pair_sm 
+0x2326 009803 rtn 
+:      009805 g24_pair_sm_1_waiting_ack:
+0x2327 009806 jam state_24g_pairing_2 ,mem_24g_pair_sm 
+0x2328 009807 branch g24_transmit_abandon 
+:      009809 g24_pair_sm_2_waiting_ack:
+0x2329 009810 fetch 1 ,mem_24g_pair_switch 
+0x232a 009811 branch g24_pair_sm_2_waiting_ack_skip ,blank 
+0x232b 009812 fetch 4 ,mem_24g_rxpayload + 2 
+0x232c 009813 store 4 ,mem_24g_receiver_addr 
+:      009814 g24_pair_sm_2_waiting_ack_skip:
+0x232d 009815 jam state_24g_pairing_3 ,mem_24g_pair_sm 
+0x232e 009816 branch g24_transmit_abandon 
+:      009818 g24_pair_sm_3_waiting_ack:
+0x232f 009819 fetch 1 ,mem_24g_pair_switch 
+0x2330 009820 branch g24_pair_sm_3_waiting_ack_skip ,blank 
+0x2331 009821 fetch 4 ,mem_24g_rxpayload + 2 
+0x2332 009822 fetcht 4 ,mem_24g_device_addr 
+0x2333 009823 isub temp ,null 
+0x2334 009824 nrtn zero 
+:      009825 g24_pair_sm_3_waiting_ack_skip:
+0x2335 009826 jam state_24g_pairing_4 ,mem_24g_pair_sm 
+0x2336 009827 branch g24_transmit_abandon 
+:      009829 g24_pair_sm_4_waiting_ack:
+0x2337 009830 fetch 1 ,mem_24g_pair_switch 
+0x2338 009831 branch g24_pair_sm_4_waiting_ack_skip ,blank 
+0x2339 009832 fetch 4 ,mem_24g_rxpayload + 2 
+0x233a 009833 fetcht 4 ,mem_24g_receiver_addr 
+0x233b 009834 isub temp ,null 
+0x233c 009835 nrtn zero 
+:      009836 g24_pair_sm_4_waiting_ack_skip:
+0x233d 009837 jam state_24g_pairing_success ,mem_24g_pair_sm 
+0x233e 009838 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0x233f 009839 call ui_ipc_send_event 
+0x2340 009840 setarg 0 
+0x2341 009841 store 2 ,mem_24g_pair_timeout 
+0x2342 009842 fetch 4 ,mem_24g_rxpayload + 2 
+0x2343 009843 call g24_update_addr_and_synccrc8 
+:      009844 g24_pair_exit:
+0x2344 009845 fetch 1 ,mem_24g_conn_sm 
+0x2345 009846 set0 state_24g_pair ,pdata 
+0x2346 009847 store 1 ,mem_24g_conn_sm 
+0x2347 009848 branch g24_transmit_abandon 
+:      009874 g24_bind_mode_enable:
+0x2348 009875 jam dongle_bind ,mem_24g_work_mode 
+0x2349 009876 jam clear_init ,mem_24g_mode_init 
+0x234a 009877 rtn 
+:      009879 g24_bind_init:
+0x234b 009880 fetch 1 ,mem_24g_mode_init 
+0x234c 009881 rtnbit1 dongle_bind 
+0x234d 009882 set1 dongle_bind ,pdata 
+0x234e 009883 store 1 ,mem_24g_mode_init 
+0x234f 009884 setarg 0 
+0x2350 009885 store 3 ,mem_24g_device1_bind_step 
+0x2351 009886 store 4 ,mem_24g_transmitter_addr 
+0x2352 009887 jam 1 ,mem_24g_ackpayload_enable 
+0x2353 009888 branch g24_pair_init_param 
+:      009891 g24_bind_ackpayload_prep:
+0x2354 009892 jam 1 ,mem_24g_ackpayload_enable 
+0x2355 009893 jam 0x08 ,mem_24g_datalen 
+0x2356 009894 arg mem_24g_bind_payload ,contr 
+0x2357 009895 arg mem_24g_txbuf ,contw 
+0x2358 009896 branch memcpy8 
+:      009899 g24_bind_data_process:
+0x2359 009900 call g24_rx_interrupt_clear 
+0x235a 009901 call g24_receive_packet 
+0x235b 009902 nbranch g24_rx_interrupt_clear ,user3 
+0x235c 009903 call g24_bind_data_parse 
+0x235d 009904 call g24_transmit_ack 
+0x235e 009905 call g24_bind_device_status_check 
+0x235f 009906 call dongle_kb_bind_soft_reset 
+0x2360 009907 fetch 1 ,mem_24g_pair_switch 
+0x2361 009908 rtn blank 
+0x2362 009909 fetch 4 ,mem_24g_transmitter_addr 
+0x2363 009910 rtn blank 
+0x2364 009911 branch g24_update_addr_and_synccrc8 
+:      009913 g24_bind_data_error:
+0x2365 009914 call g24_rx_interrupt_clear 
+0x2366 009915 branch g24_end_of_packet 
+:      009917 g24_bind_data_parse:
+0x2367 009918 jam bind_mode_continue ,mem_24g_bind_mode_continue 
+0x2368 009919 arg mem_24g_rxbuf ,contr 
+0x2369 009920 arg mem_24g_rxdata_temp ,contw 
+0x236a 009921 call memcpy8 
+0x236b 009922 bpatchx patch3c_4 ,mem_patch3c 
+0x236c 009923 fetch 1 ,mem_24g_rxdata_temp + 2 
+0x236d 009924 beq datatype_bind ,g24_bind_first_step 
+0x236e 009925 beq datatype_config ,g24_bind_second_step 
+0x236f 009926 beq datatype_ok ,g24_bind_third_step 
+0x2370 009927 beq datatype_attemp ,g24_data_attemp 
+0x2371 009928 rtn 
+:      009931 g24_bind_first_step:
+0x2372 009932 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x2373 009933 beq datatype_device1 ,g24_bind_first_step_device1 
+0x2374 009934 beq datatype_device2 ,g24_bind_first_step_device2 
+0x2375 009935 rtn 
+:      009937 g24_bind_first_step_device1:
+0x2376 009938 jam 1 ,mem_24g_device1_bind_step 
+:      009939 g24_bind_dvc1_payload_cfg:
+0x2377 009940 jam datatype_device1 ,mem_24g_bind_payload 
+:      009941 g24_bind_payload_cfg:
+0x2378 009942 jam 0x80 ,mem_24g_bind_payload + 1 
+0x2379 009943 fetch 6 ,mem_lap 
+0x237a 009944 store 6 ,mem_24g_bind_payload + 2 
+0x237b 009945 rtn 
+:      009947 g24_bind_first_step_device2:
+0x237c 009948 jam 1 ,mem_24g_device2_bind_step 
+:      009949 g24_bind_dvc2_payload_cfg:
+0x237d 009950 jam datatype_device2 ,mem_24g_bind_payload 
+0x237e 009951 branch g24_bind_payload_cfg 
+:      009954 g24_bind_second_step:
+0x237f 009955 fetch 1 ,mem_24g_pair_switch 
+0x2380 009956 branch g24_bind_second_step_skip ,blank 
+0x2381 009957 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x2382 009958 fetcht 4 ,mem_lap 
+0x2383 009959 isub temp ,null 
+0x2384 009960 nrtn zero 
+:      009961 g24_bind_second_step_skip:
+0x2385 009962 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x2386 009963 beq datatype_device1 ,g24_bind_second_step_device1 
+0x2387 009964 beq datatype_device2 ,g24_bind_second_step_device2 
+0x2388 009965 rtn 
+:      009967 g24_bind_second_step_device1:
+0x2389 009968 fetch 1 ,mem_24g_device1_bind_step 
+0x238a 009969 beq 1 ,g24_bind_dvc1_step_set2 
+0x238b 009970 rtn 
+:      009971 g24_bind_dvc1_step_set2:
+0x238c 009972 jam 2 ,mem_24g_device1_bind_step 
+0x238d 009973 fetch 1 ,mem_24g_pair_switch 
+0x238e 009974 branch g24_bind_dvc1_payload_cfg ,blank 
+:      009975 g24_bind_dvc1_payload_cfg_transmitter_addr:
+0x238f 009976 jam datatype_device1 ,mem_24g_bind_payload 
+:      009977 g24_bind_payload_cfg_transmitter_addr:
+0x2390 009978 jam 0x80 ,mem_24g_bind_payload + 1 
+0x2391 009979 fetch 4 ,mem_24g_transmitter_addr 
+0x2392 009980 store 4 ,mem_24g_bind_payload + 2 
+0x2393 009981 branch enable_user 
+:      009983 g24_bind_second_step_device2:
+0x2394 009984 fetch 1 ,mem_24g_device2_bind_step 
+0x2395 009985 beq 1 ,g24_bind_dvc2_step_set2 
+0x2396 009986 rtn 
+:      009987 g24_bind_dvc2_step_set2:
+0x2397 009988 jam 2 ,mem_24g_device2_bind_step 
+0x2398 009989 fetch 1 ,mem_24g_pair_switch 
+0x2399 009990 branch g24_bind_dvc2_payload_cfg ,blank 
+0x239a 009991 jam datatype_device2 ,mem_24g_bind_payload 
+0x239b 009992 branch g24_bind_payload_cfg_transmitter_addr 
+:      009995 g24_bind_third_step:
+0x239c 009996 fetch 1 ,mem_24g_pair_switch 
+0x239d 009997 branch g24_bind_third_step_skip ,blank 
+0x239e 009998 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x239f 009999 fetcht 4 ,mem_24g_transmitter_addr 
+0x23a0 010000 isub temp ,null 
+0x23a1 010001 nrtn zero 
+:      010002 g24_bind_third_step_skip:
+0x23a2 010003 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x23a3 010004 beq datatype_device1 ,g24_bind_third_step_device1 
+0x23a4 010005 beq datatype_device2 ,g24_bind_third_step_device2 
+0x23a5 010006 rtn 
+:      010008 g24_bind_third_step_device1:
+0x23a6 010009 fetch 1 ,mem_24g_device1_bind_step 
+0x23a7 010010 beq 2 ,g24_bind_dvc1_step_success 
+0x23a8 010011 rtn 
+:      010012 g24_bind_dvc1_step_success:
+0x23a9 010013 call g24_binding_dvc1_living 
+0x23aa 010014 call g24_bind_dvc1_payload_cfg 
+0x23ab 010015 fetch 1 ,mem_24g_bind_device_status 
+0x23ac 010016 or_into 0x01 ,pdata 
+0x23ad 010017 store 1 ,mem_24g_bind_device_status 
+:      010018 g24_bind_exit:
+0x23ae 010019 setarg 0 
+0x23af 010020 store 2 ,mem_24g_device1_bind_step 
+0x23b0 010021 rtn 
+:      010023 g24_bind_third_step_device2:
+0x23b1 010024 fetch 1 ,mem_24g_device2_bind_step 
+0x23b2 010025 bne 0 ,g24_bind_dvc2_step_success 
+0x23b3 010026 rtn 
+:      010027 g24_bind_dvc2_step_success:
+0x23b4 010028 call g24_binding_dvc2_living 
+0x23b5 010029 call g24_bind_dvc2_payload_cfg 
+0x23b6 010030 fetch 1 ,mem_24g_bind_device_status 
+0x23b7 010031 or_into 0x02 ,pdata 
+0x23b8 010032 store 1 ,mem_24g_bind_device_status 
+0x23b9 010033 call g24_bind_exit 
+0x23ba 010034 branch dongle_g24_store_dvc2_bind_flag 
+:      010036 g24_binding_device_check:
+0x23bb 010037 fetch 1 ,mem_24g_work_mode 
+0x23bc 010038 rtnne dongle_bind 
+0x23bd 010039 fetch 1 ,mem_24g_pair_mode 
+0x23be 010040 nrtn blank 
+0x23bf 010041 fetch 1 ,mem_24g_rxbuf + 3 
+0x23c0 010042 beq datatype_device1 ,g24_binding_dvc1_status 
+0x23c1 010043 beq datatype_device2 ,g24_binding_dvc2_status 
+0x23c2 010044 rtn 
+:      010045 g24_binding_dvc1_status:
+0x23c3 010046 fetch 1 ,mem_24g_bind_device_living 
+0x23c4 010047 rtnbit0 0 
+:      010048 disable_user3:
+0x23c5 010049 disable user3 
+0x23c6 010050 rtn 
+:      010051 g24_binding_dvc2_status:
+0x23c7 010052 fetch 1 ,mem_24g_bind_device_living 
+0x23c8 010053 rtnbit0 1 
+0x23c9 010054 branch disable_user3 
+:      010056 g24_binding_dvc1_living:
+0x23ca 010057 fetch 1 ,mem_24g_pair_mode 
+0x23cb 010058 nrtn blank 
+0x23cc 010059 fetch 1 ,mem_24g_bind_device_living 
+0x23cd 010060 or_into 0x01 ,pdata 
+0x23ce 010061 store 1 ,mem_24g_bind_device_living 
+0x23cf 010062 rtn 
+:      010064 g24_binding_dvc2_living:
+0x23d0 010065 fetch 1 ,mem_24g_pair_mode 
+0x23d1 010066 nrtn blank 
+0x23d2 010067 fetch 1 ,mem_24g_bind_device_living 
+0x23d3 010068 or_into 0x02 ,pdata 
+0x23d4 010069 store 1 ,mem_24g_bind_device_living 
+0x23d5 010070 rtn 
+:      010073 g24_bind_device_status_check:
+0x23d6 010074 fetch 1 ,mem_24g_bind_device_status 
+0x23d7 010075 rtn blank 
+:      010076 g24_bind_device_status:
+0x23d8 010077 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x23d9 010078 beq datatype_device1 ,g24_binding_dvc1_living 
+0x23da 010079 beq datatype_device2 ,g24_binding_dvc2_living 
+0x23db 010080 rtn 
+:      010099 g24_receive_init:
+0x23dc 010100 set1 mark_24g_rxmode ,mark 
+0x23dd 010101 fetch 1 ,mem_tx_power 
+0x23de 010102 store 1 ,mem_tx_power_temp 
+0x23df 010103 call g24_rx_window_init 
+0x23e0 010104 branch rssi_receiver_buff_init 
+:      010106 g24_receive_dispatch:
+0x23e1 010107 fetch 2 ,mem_cb_24g_receive_process 
+0x23e2 010108 branch callback_func 
+:      010110 g24_ackpayload_prep:
+0x23e3 010111 jam 0 ,mem_24g_datalen 
+0x23e4 010112 fetch 1 ,mem_24g_ackpayload_enable 
+0x23e5 010113 rtn blank 
+0x23e6 010114 fetch 2 ,mem_cb_24g_ackpayload 
+0x23e7 010115 branch callback_func 
+:      010118 g24_receive_packet_start:
+0x23e8 010119 call g24_receive_transmit_ack 
+0x23e9 010120 nbranch g24_rx_interrupt_clear ,user3 
+:      010121 g24_receive_packet_parse:
+0x23ea 010122 call g24_receive_packet_parse_pid_crc 
+0x23eb 010123 nbranch g24_rx_interrupt_clear ,user 
+0x23ec 010124 fetch 1 ,mem_24g_rxdata_length 
+0x23ed 010125 branch g24_rx_interrupt_clear ,blank 
+0x23ee 010126 increase 2 ,pdata 
+0x23ef 010127 iforce loopcnt 
+0x23f0 010128 arg mem_24g_rxbuf ,contr 
+0x23f1 010129 arg mem_24g_rxdata_temp ,contw 
+0x23f2 010130 call memcpy 
+0x23f3 010131 jam 0 ,mem_24g_mode_switch 
+0x23f4 010132 fetch 1 ,mem_24g_pair_mode 
+0x23f5 010133 call g24_enable_nodata_timer ,blank 
+0x23f6 010134 fetch 1 ,mem_24g_rxdata_temp + 2 
+0x23f7 010135 beq datatype_device1 ,g24_data_device1 
+0x23f8 010136 beq datatype_device2 ,g24_data_device2 
+0x23f9 010137 beq datatype_attemp ,g24_data_receive_attemp 
+:      010138 g24_rx_interrupt_clear:
+0x23fa 010139 arg mem_24g_rxbuf ,contw 
+0x23fb 010140 arg 66 ,loopcnt 
+0x23fc 010141 branch clear_mem 
+:      010143 g24_data_receive_attemp:
+0x23fd 010144 call g24_bind_device_status 
+0x23fe 010145 branch g24_data_attemp 
+:      010147 g24_data_device1:
+0x23ff 010148 call g24_binding_dvc1_living 
+0x2400 010149 call g24_ch_timer_reinit 
+0x2401 010150 fetch 1 ,mem_24g_abort_packet 
+0x2402 010151 fetcht 1 ,mem_24g_rxdata_temp 
+0x2403 010152 isolate1 bit_abort ,temp 
+0x2404 010153 setflag true ,0 ,pdata 
+0x2405 010154 store 1 ,mem_24g_abort_packet 
+0x2406 010155 beq 1 ,g24_data_attemp_device1_abort 
+0x2407 010156 fetch 1 ,mem_24g_hop_packet 
+0x2408 010157 fetcht 1 ,mem_24g_rxdata_temp 
+0x2409 010158 isolate1 bit_hop ,temp 
+0x240a 010159 setflag true ,0 ,pdata 
+0x240b 010160 store 1 ,mem_24g_hop_packet 
+0x240c 010161 fetch 2 ,mem_cb_24g_data_device1 
+0x240d 010162 branch callback_func 
+:      010164 g24_data_device2:
+0x240e 010165 call g24_binding_dvc2_living 
+0x240f 010166 fetcht 1 ,mem_24g_rxdata_temp 
+0x2410 010167 isolate1 bit_abort ,temp 
+0x2411 010168 branch g24_data_attemp_device2_abort ,true 
+0x2412 010169 fetch 2 ,mem_cb_24g_data_device2 
+0x2413 010170 branch callback_func 
+:      010172 g24_data_attemp_device1_abort:
+0x2414 010173 fetch 1 ,mem_device_option 
+0x2415 010174 sub pdata ,dvc_op_car ,null 
+0x2416 010175 call car_stop_blink ,zero 
+0x2417 010176 fetch 4 ,mem_24g_rxdata_temp + 10 
+0x2418 010177 branch g24_store_device1_addr 
+:      010178 g24_data_attemp_device2_abort:
+0x2419 010179 fetch 4 ,mem_24g_rxdata_temp + 10 
+0x241a 010180 branch g24_store_device2_addr 
+:      010183 g24_receive_packet_parse_pid_crc:
+0x241b 010184 call disable_user 
+0x241c 010185 fetch 1 ,mem_24g_sta_pid 
+0x241d 010186 fetcht 1 ,mem_24g_last_pid 
+0x241e 010187 isub temp ,null 
+0x241f 010188 ncall enable_user ,zero 
+0x2420 010189 fetch 1 ,mem_24g_sta_pid 
+0x2421 010190 store 1 ,mem_24g_last_pid 
+0x2422 010191 fetch 3 ,mem_24g_sta_crc 
+0x2423 010192 fetcht 3 ,mem_24g_last_crc 
+0x2424 010193 isub temp ,null 
+0x2425 010194 ncall enable_user ,zero 
+0x2426 010195 fetch 3 ,mem_24g_sta_crc 
+0x2427 010196 store 3 ,mem_24g_last_crc 
+0x2428 010197 rtn 
+:      010199 g24_receive_transmit_ack:
+0x2429 010200 call g24_rx_interrupt_clear 
+0x242a 010201 call g24_receive_packet 
+0x242b 010202 nrtn user3 
+:      010203 g24_transmit_ack:
+0x242c 010205 fetch 1 ,mem_24g_rxbuf 
+0x242d 010206 store 1 ,mem_24g_data_type 
+0x242e 010208 call g24_read_len_pid_crc 
+0x242f 010210 fetch 1 ,mem_24g_rxbuf + 1 
+0x2430 010211 isolate1 bit_ack_24g ,pdata 
+0x2431 010212 branch g24tx_no_ack ,true 
+:      010213 g24tx_with_ack:
+0x2432 010214 call g24_ackpayload_prep 
+0x2433 010215 call g24_transmit_prep 
+0x2434 010216 call g24_transmit 
+:      010217 g24tx_no_ack:
+0x2435 010218 branch g24_end_of_packet 
+:      010221 g24_enable_nodata_timer:
+0x2436 010222 jam 1 ,mem_24g_nodata_timer_enable 
+:      010223 g24_enable_nodata_timer_init:
+0x2437 010224 setarg timer_nodata_delay 
+0x2438 010225 arg timer_nodata ,queue 
+0x2439 010226 branch timer_init 
+:      010232 g24_mode_switch_init:
+0x243a 010233 jam 1 ,mem_24g_mode_switch 
+0x243b 010234 jam 0 ,mem_24g_time_slice 
+0x243c 010235 jam 0xff ,mem_24g_interval 
+0x243d 010236 branch g24_timer_init 
+:      010238 g24_mode_switch_bind_work:
+0x243e 010239 bpatchx patch3c_5 ,mem_patch3c 
+0x243f 010240 fetch 1 ,mem_24g_mode_switch 
+0x2440 010241 rtn blank 
+0x2441 010242 call g24_timer_check 
+0x2442 010243 nrtn user 
+0x2443 010244 call g24_bind_mode_continue 
+0x2444 010245 fetch 1 ,mem_24g_time_slice 
+0x2445 010246 increase 1 ,pdata 
+0x2446 010247 and_into 1 ,pdata 
+0x2447 010248 store 1 ,mem_24g_time_slice 
+0x2448 010249 beq 0 ,g24_work_mode_switch 
+0x2449 010250 beq 1 ,g24_bind_mode_switch 
+0x244a 010251 rtn 
+:      010253 g24_bind_mode_continue:
+0x244b 010254 fetch 1 ,mem_24g_bind_mode_continue 
+0x244c 010255 rtn blank 
+0x244d 010256 increase -1 ,pdata 
+0x244e 010257 store 1 ,mem_24g_bind_mode_continue 
+0x244f 010258 rtn 
+:      010260 g24_work_mode_switch:
+0x2450 010261 fetch 1 ,mem_24g_bind_mode_continue 
+0x2451 010262 nrtn blank 
+0x2452 010263 branch g24_switch_work_mode 
+:      010265 g24_bind_mode_switch:
+0x2453 010266 fetch 1 ,mem_24g_bind_mode_continue 
+0x2454 010267 nrtn blank 
+0x2455 010268 branch g24_bind_mode_enable 
+:      010271 g24_mode_b_s_switch_init:
+0x2456 010272 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0x2457 010273 nrtn blank 
+0x2458 010274 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0x2459 010275 call g24_mode_b_s_switch_start ,blank 
+0x245a 010276 fetch 1 ,mem_24g_mode_b_s_switch_init 
+0x245b 010277 rtnbit1 0 
+0x245c 010278 set1 0 ,pdata 
+0x245d 010279 store 1 ,mem_24g_mode_b_s_switch_init 
+0x245e 010280 jam 1 ,mem_24g_mode_b_s_switch 
+0x245f 010281 jam 0 ,mem_24g_b_s_time_slice 
+0x2460 010282 setarg 0 
+0x2461 010283 store 2 ,mem_24g_mode_b_s_switch_cnt 
+0x2462 010284 jam 0x60 ,mem_24g_interval 
+0x2463 010285 branch g24_timer_init 
+:      010287 g24_mode_switch_bind_search:
+0x2464 010288 fetch 1 ,mem_24g_work_mode 
+0x2465 010289 rtneq dongle_work 
+0x2466 010290 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0x2467 010291 nrtn blank 
+0x2468 010292 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0x2469 010293 nrtn blank 
+0x246a 010294 fetch 1 ,mem_24g_mode_b_s_switch 
+0x246b 010295 rtn blank 
+0x246c 010296 call g24_timer_check 
+0x246d 010297 nrtn user 
+0x246e 010298 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
+0x246f 010299 increase 1 ,pdata 
+0x2470 010300 store 2 ,mem_24g_mode_b_s_switch_cnt 
+0x2471 010301 arg 0x7d0 ,temp 
+0x2472 010302 isub temp ,null 
+0x2473 010303 branch g24_mode_b_s_switch_exit ,positive 
+0x2474 010304 call g24_bind_mode_continue 
+0x2475 010305 fetch 1 ,mem_24g_b_s_time_slice 
+0x2476 010306 increase 1 ,pdata 
+0x2477 010307 and_into 1 ,pdata 
+0x2478 010308 store 1 ,mem_24g_b_s_time_slice 
+0x2479 010309 beq 0 ,g24_mode_switch_search 
+0x247a 010310 beq 1 ,g24_bind_mode_enable 
+0x247b 010311 rtn 
+:      010313 g24_mode_switch_search:
+0x247c 010314 fetch 1 ,mem_24g_bind_mode_continue 
+0x247d 010315 nbranch g24_bind_mode_enable ,blank 
+0x247e 010316 branch g24_search_mode_enable 
+:      010318 g24_mode_b_s_switch_exit:
+0x247f 010319 jam 1 ,mem_24g_mode_b_s_switch_exit 
+0x2480 010320 branch g24_search_mode_enable 
+:      010322 g24_mode_b_s_switch_stop:
+0x2481 010323 jam 0 ,mem_24g_mode_b_s_switch 
+0x2482 010324 rtn 
+:      010325 g24_mode_b_s_switch_start:
+0x2483 010326 jam 1 ,mem_24g_mode_b_s_switch 
+0x2484 010327 rtn 
+:      010338 g24_work_init:
+0x2485 010339 fetch 1 ,mem_24g_mode_init 
+0x2486 010340 rtnbit1 dongle_work 
+0x2487 010341 set1 dongle_work ,pdata 
+0x2488 010342 store 1 ,mem_24g_mode_init 
+0x2489 010343 fetch 1 ,mem_tx_power_temp 
+0x248a 010344 store 1 ,mem_tx_power 
+0x248b 010345 jam 0 ,mem_24g_ackpayload_enable 
+0x248c 010346 jam 0 ,mem_usb_tx_enable 
+0x248d 010347 jam 1 ,mem_24g_abort_packet 
+0x248e 010348 jam 0 ,mem_24g_pid 
+0x248f 010349 fetch 4 ,mem_lap 
+0x2490 010350 call g24_update_addr_and_synccrc8 
+0x2491 010351 call g24_ch 
+0x2492 010352 branch g24_rx_interrupt_clear 
+:      010355 g24_switch_work_mode:
+0x2493 010356 jam 0 ,mem_24g_ackpayload_enable 
+:      010357 g24_work_mode_enable:
+0x2494 010358 jam dongle_work ,mem_24g_work_mode 
+0x2495 010359 jam clear_init ,mem_24g_mode_init 
+0x2496 010360 rtn 
+:      010363 g24_work_mode_start:
+0x2497 010364 fetch 1 ,mem_24g_work_mode 
+0x2498 010365 rtnne dongle_work 
+0x2499 010366 call g24_work_init 
+0x249a 010367 call g24_ch_process 
+0x249b 010368 branch g24_receive_packet_start 
+:      010381 g24_bind_mode_auto:
+0x249c 010382 bpatchx patch3c_6 ,mem_patch3c 
+0x249d 010383 fetch 1 ,mem_24g_work_mode 
+0x249e 010384 rtnne dongle_bind 
+0x249f 010385 call g24_bind_init 
+0x24a0 010386 call g24_bind_data_process 
+0x24a1 010387 fetch 1 ,mem_24g_pair_mode 
+0x24a2 010388 nrtn blank 
+0x24a3 010389 fetch 1 ,mem_24g_bind_device_status 
+0x24a4 010390 rtn blank 
+0x24a5 010391 jam 0 ,mem_24g_mode_switch 
+0x24a6 010392 call g24_switch_work_mode 
+0x24a7 010393 call g24_enable_nodata_timer 
+0x24a8 010394 branch g24_timer_init 
+:      010406 g24_search_mode_init:
+0x24a9 010407 fetch 1 ,mem_24g_mode_init 
+0x24aa 010408 rtnbit1 dongle_search 
+0x24ab 010409 set1 dongle_search ,pdata 
+0x24ac 010410 store 1 ,mem_24g_mode_init 
+0x24ad 010411 jam 0 ,mem_24g_time_slice 
+0x24ae 010412 jam 1 ,mem_24g_ackpayload_enable 
+0x24af 010413 setarg 0 
+0x24b0 010414 store 3 ,mem_rssi_noise_self_index 
+0x24b1 010415 store 7 ,mem_24g_self_config_ch_once 
+0x24b2 010416 call g24_receiver_addr_check 
+0x24b3 010417 nrtn zero 
+0x24b4 010418 fetch 1 ,mem_24g_current_ch_number 
+0x24b5 010419 store 1 ,mem_24g_self_ch_number 
+0x24b6 010420 fetch 1 ,mem_24g_ch 
+0x24b7 010421 store 1 ,mem_24g_self_last_ch 
+0x24b8 010422 rtn 
+:      010425 g24_search_mode_auto:
+0x24b9 010426 bpatchx patch3c_7 ,mem_patch3c 
+0x24ba 010427 fetch 1 ,mem_24g_work_mode 
+0x24bb 010428 rtnne dongle_search 
+0x24bc 010429 call g24_search_mode_init 
+0x24bd 010430 call g24_auto_addr_ch_search 
+0x24be 010431 call g24_receive_transmit_ack 
+0x24bf 010432 nbranch g24_rx_interrupt_clear ,user3 
+0x24c0 010434 call g24_receiver_addr_check 
+0x24c1 010435 call g24_receive_packet_parse ,zero 
+0x24c2 010437 fetch 1 ,mem_24g_abort_packet 
+0x24c3 010438 call g24_mode_b_s_switch_stop ,blank 
+0x24c4 010441 jam dongle_work ,mem_24g_work_mode 
+0x24c5 010442 fetch 1 ,mem_24g_mode_init 
+0x24c6 010443 set1 dongle_work ,pdata 
+0x24c7 010444 store 1 ,mem_24g_mode_init 
+0x24c8 010446 fetch 1 ,mem_24g_ackpayload_enable 
+0x24c9 010447 sub pdata ,2 ,null 
+0x24ca 010448 ncall g24_ackpayload_disable ,zero 
+0x24cb 010450 call g24_rx_interrupt_clear 
+0x24cc 010451 call g24_enable_nodata_timer 
+0x24cd 010452 call g24_receiver_addr_check 
+0x24ce 010453 branch g24_self_ch_num_reinit ,zero 
+0x24cf 010454 fetch 4 ,mem_24g_addr 
+0x24d0 010455 fetcht 4 ,mem_24g_device2_addr 
+0x24d1 010456 isub temp ,null 
+0x24d2 010457 branch g24_device2_ch_num_reinit ,zero 
+0x24d3 010458 fetch 4 ,mem_24g_addr 
+0x24d4 010459 fetcht 4 ,mem_24g_device1_addr 
+0x24d5 010460 isub temp ,null 
+0x24d6 010461 branch g24_device1_ch_num_reinit ,zero 
+0x24d7 010462 rtn 
+:      010465 g24_self_ch_num_reinit:
+0x24d8 010466 fetch 1 ,mem_24g_self_ch_number 
+:      010467 g24_current_ch_num_reinit:
+0x24d9 010468 store 1 ,mem_24g_current_ch_number 
+0x24da 010469 rtn 
+:      010471 g24_device2_ch_num_reinit:
+0x24db 010472 fetch 1 ,mem_24g_device2_ch_number 
+0x24dc 010473 branch g24_current_ch_num_reinit 
+:      010475 g24_device1_ch_num_reinit:
+0x24dd 010476 fetch 1 ,mem_24g_device1_ch_number 
+0x24de 010477 branch g24_current_ch_num_reinit 
+:      010480 g24_auto_addr_ch_search:
+0x24df 010481 fetch 1 ,mem_24g_time_slice 
+0x24e0 010482 increase 1 ,pdata 
+0x24e1 010483 and_into 3 ,pdata 
+0x24e2 010484 store 1 ,mem_24g_time_slice 
+0x24e3 010486 beq 0 ,g24_auto_bind_config_device2 
+0x24e4 010487 beq 1 ,g24_auto_bind_config_self 
+0x24e5 010488 beq 2 ,g24_auto_bind_config_device1 
+0x24e6 010489 beq 3 ,g24_auto_bind_config_self 
+0x24e7 010490 rtn 
+:      010492 g24_auto_bind_config_device1:
+0x24e8 010493 call g24_bind_dvc1_payload_cfg 
+0x24e9 010494 fetch 4 ,mem_24g_device1_addr 
+0x24ea 010495 branch g24_auto_addr_ch_search ,blank 
+0x24eb 010496 call g24_update_addr_and_synccrc8 
+0x24ec 010497 fetch 1 ,mem_24g_device1_config_ch_once 
+0x24ed 010498 call g24_device1_config_ch_once ,blank 
+0x24ee 010499 fetch 1 ,mem_24g_device1_last_ch 
+0x24ef 010500 store 1 ,mem_24g_ch 
+0x24f0 010501 fetcht 1 ,mem_rssi_noise_device1_index 
+0x24f1 010502 fetchr rega ,2 ,mem_rssi_noise_device1_buffer_ptr 
+0x24f2 010503 call rssi_store 
+0x24f3 010504 storet 1 ,mem_rssi_noise_device1_index 
+0x24f4 010505 call rssi_average 
+0x24f5 010506 storet 1 ,mem_rssi_noise_device1_avg 
+0x24f6 010507 sub temp ,rssi_thresh_noise ,null 
+0x24f7 010508 nrtn positive 
+0x24f8 010509 fetcht 1 ,mem_24g_device1_ch_number 
+0x24f9 010510 call g24_ch_map_size 
+0x24fa 010511 storet 1 ,mem_24g_device1_ch_number 
+0x24fb 010512 store 1 ,mem_24g_device1_last_ch 
+0x24fc 010513 rtn 
+:      010515 g24_device1_config_ch_once:
+0x24fd 010516 jam 1 ,mem_24g_device1_config_ch_once 
+0x24fe 010517 arg 0 ,temp 
+0x24ff 010518 call g24_ch_calc 
+0x2500 010519 store 1 ,mem_24g_device1_last_ch 
+0x2501 010520 rtn 
+:      010522 g24_auto_bind_config_device2:
+0x2502 010523 call g24_bind_dvc2_payload_cfg 
+0x2503 010524 fetch 4 ,mem_24g_device2_addr 
+0x2504 010525 branch g24_auto_addr_ch_search ,blank 
+0x2505 010526 call g24_update_addr_and_synccrc8 
+0x2506 010527 fetch 1 ,mem_24g_device2_config_ch_once 
+0x2507 010528 call g24_device2_config_ch_once ,blank 
+0x2508 010529 fetch 1 ,mem_24g_device2_last_ch 
+0x2509 010530 store 1 ,mem_24g_ch 
+0x250a 010531 fetcht 1 ,mem_rssi_noise_device2_index 
+0x250b 010532 fetchr rega ,2 ,mem_rssi_noise_device2_buffer_ptr 
+0x250c 010533 call rssi_store 
+0x250d 010534 storet 1 ,mem_rssi_noise_device2_index 
+0x250e 010535 call rssi_average 
+0x250f 010536 storet 1 ,mem_rssi_noise_device2_avg 
+0x2510 010537 sub temp ,rssi_thresh_noise ,null 
+0x2511 010538 nrtn positive 
+0x2512 010539 fetcht 1 ,mem_24g_device2_ch_number 
+0x2513 010540 call g24_ch_map_size 
+0x2514 010541 storet 1 ,mem_24g_device2_ch_number 
+0x2515 010542 store 1 ,mem_24g_device2_last_ch 
+0x2516 010543 rtn 
+:      010545 g24_device2_config_ch_once:
+0x2517 010546 jam 1 ,mem_24g_device2_config_ch_once 
+0x2518 010547 arg 0 ,temp 
+0x2519 010548 call g24_ch_calc 
+0x251a 010549 store 1 ,mem_24g_device2_last_ch 
+0x251b 010550 rtn 
+:      010552 g24_auto_bind_config_self:
+0x251c 010553 call g24_bind_dvc1_payload_cfg 
+0x251d 010554 fetch 4 ,mem_lap 
+0x251e 010555 call g24_update_addr_and_synccrc8 
+0x251f 010556 fetch 1 ,mem_24g_self_config_ch_once 
+0x2520 010557 call g24_self_config_ch_once ,blank 
+0x2521 010558 fetch 1 ,mem_24g_self_last_ch 
+0x2522 010559 store 1 ,mem_24g_ch 
+0x2523 010560 fetcht 1 ,mem_rssi_noise_self_index 
+0x2524 010561 fetchr rega ,2 ,mem_rssi_noise_self_buffer_ptr 
+0x2525 010562 call rssi_store 
+0x2526 010563 storet 1 ,mem_rssi_noise_self_index 
+0x2527 010564 call rssi_average 
+0x2528 010565 storet 1 ,mem_rssi_noise_self_avg 
+0x2529 010566 sub temp ,rssi_thresh_noise ,null 
+0x252a 010567 nrtn positive 
+0x252b 010568 fetcht 1 ,mem_24g_self_ch_number 
+0x252c 010569 call g24_ch_map_size 
+0x252d 010570 storet 1 ,mem_24g_self_ch_number 
+0x252e 010571 store 1 ,mem_24g_self_last_ch 
+0x252f 010572 rtn 
+:      010574 g24_self_config_ch_once:
+0x2530 010575 jam 1 ,mem_24g_self_config_ch_once 
+0x2531 010576 fetch 1 ,mem_24g_self_last_ch 
+0x2532 010577 store 1 ,mem_24g_ch 
+0x2533 010578 rtn 
+:      010581 g24_ackpayload_disable:
+0x2534 010582 jam 0 ,mem_24g_ackpayload_enable 
+0x2535 010583 rtn 
+:      010586 g24_receiver_addr_check:
+0x2536 010587 fetch 4 ,mem_24g_addr 
+0x2537 010588 fetcht 4 ,mem_lap 
+0x2538 010589 isub temp ,null 
+0x2539 010590 rtn 
+:      010602 g24_nodata_process:
+0x253a 010603 fetch 1 ,mem_24g_ackpayload_enable 
+0x253b 010604 rtneq 2 
+0x253c 010605 fetch 1 ,mem_24g_nodata_timer_enable 
+0x253d 010606 rtn blank 
+0x253e 010607 arg timer_nodata ,queue 
+0x253f 010608 call timer_check 
+0x2540 010609 nrtn blank 
+0x2541 010610 jam 0 ,mem_24g_nodata_timer_enable 
+0x2542 010611 jam 0 ,mem_24g_bind_mode_continue 
+0x2543 010612 call g24_mode_b_s_switch_init 
+:      010614 g24_search_mode_enable:
+0x2544 010615 jam dongle_search ,mem_24g_work_mode 
+0x2545 010616 jam clear_init ,mem_24g_mode_init 
+0x2546 010617 branch g24_rx_interrupt_clear 
+:      010623 g24_ch_process:
+0x2547 010624 fetch 1 ,mem_24g_abort_packet 
+0x2548 010625 beq 1 ,rssi_noise_monitor 
+0x2549 010626 fetch 1 ,mem_24g_hop_packet 
+0x254a 010627 beq 1 ,g24_ch_receive_hop_pac 
+0x254b 010628 fetcht 4 ,mem_24g_hop_btclk 
+0x254c 010629 copy clkn_bt ,pdata 
+0x254d 010630 isub temp ,null 
+0x254e 010631 ncall g24_timer_timeout ,positive 
+0x254f 010632 copy pdata ,regb 
+0x2550 010633 fetch 4 ,mem_24g_hop_btclk 
+0x2551 010634 fetcht 1 ,mem_24g_hop_interval 
+0x2552 010635 iadd temp ,temp 
+0x2553 010636 copy regb ,pdata 
+0x2554 010637 isub temp ,null 
+0x2555 010638 nrtn positive 
+0x2556 010639 set0 28 ,pdata 
+0x2557 010640 store 4 ,mem_24g_hop_btclk 
+0x2558 010641 jam 1 ,mem_24g_abort_packet 
+0x2559 010642 branch g24_ch 
+:      010644 g24_ch_receive_hop_pac:
+0x255a 010645 jam 0 ,mem_24g_hop_packet 
+0x255b 010646 branch g24_ch 
+:      010648 g24_ch_timer_reinit:
+0x255c 010649 copy clkn_bt ,pdata 
+0x255d 010650 store 4 ,mem_24g_hop_btclk 
+0x255e 010651 rtn 
+:      010656 g24_reconn_timeout_timer:
+0x255f 010657 arg mem_24g_reconn_timeout ,regc 
+0x2560 010658 arg g24_stop_24g_mode ,regb 
+0x2561 010659 branch timer_single_step_2b 
+:      010662 g24_reconn_start:
+0x2562 010663 bpatchx patch3d_0 ,mem_patch3d 
+0x2563 010664 set1 mark_24g ,mark 
+0x2564 010665 fetch 1 ,mem_24g_conn_sm 
+0x2565 010666 set0 state_24g_pair ,pdata 
+0x2566 010667 set1 state_24g_reconn ,pdata 
+0x2567 010668 store 1 ,mem_24g_conn_sm 
+0x2568 010669 fetch 1 ,mem_24g_fast_conn_enable 
+0x2569 010670 branch g24_reconn_receiver_addr ,blank 
+0x256a 010671 fetch 1 ,mem_24g_reconn_type 
+0x256b 010672 beq fast_conn_and_receiver ,g24_reconn_fast_conn 
+0x256c 010673 beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn 
+0x256d 010674 beq receiver_and_3_0_addr ,g24_reconn_device_3_0_addr 
+0x256e 010675 beq pair_and_3_0_addr ,g24_reconn_device_3_0_addr 
+:      010676 g24_reconn_fast_conn:
+0x256f 010677 fetch 1 ,mem_24g_pair_tx_power 
+0x2570 010678 store 1 ,mem_tx_power 
+0x2571 010679 fetcht 1 ,mem_24g_fast_conn_temp_ch 
+0x2572 010680 storet 1 ,mem_24g_current_ch_number 
+0x2573 010681 fetch 4 ,mem_24g_fast_conn_addr 
+0x2574 010682 call g24_ch_syncword_crc8_init 
+0x2575 010683 storet 1 ,mem_24g_fast_conn_temp_ch 
+0x2576 010684 rtn 
+:      010686 g24_reconn_receiver_addr:
+0x2577 010687 jam tx_power_3db ,mem_tx_power 
+0x2578 010688 fetcht 1 ,mem_24g_receiver_temp_ch 
+0x2579 010689 storet 1 ,mem_24g_current_ch_number 
+0x257a 010690 fetch 4 ,mem_24g_receiver_addr 
+0x257b 010691 call g24_ch_syncword_crc8_init 
+0x257c 010692 storet 1 ,mem_24g_receiver_temp_ch 
+0x257d 010693 rtn 
+:      010695 g24_reconn_device_3_0_addr:
+0x257e 010696 jam tx_power_3db ,mem_tx_power 
+0x257f 010697 fetcht 1 ,mem_24g_device_temp_ch 
+0x2580 010698 storet 1 ,mem_24g_current_ch_number 
+0x2581 010699 fetch 4 ,mem_24g_device_addr 
+0x2582 010700 call g24_ch_syncword_crc8_init 
+0x2583 010701 storet 1 ,mem_24g_device_temp_ch 
+0x2584 010702 rtn 
+:      010704 g24_store_receiver_addr:
+0x2585 010705 fetch 4 ,mem_24g_rxpayload + 2 
+0x2586 010706 store 4 ,mem_24g_receiver_addr 
+:      010707 g24_ch_syncword_crc8_init:
+0x2587 010708 call g24_update_addr_and_synccrc8 
+0x2588 010709 branch g24_ch 
+:      010712 g24_reconn_dispatch:
+0x2589 010713 bpatchx patch3d_1 ,mem_patch3d 
+0x258a 010714 call g24_reconn_data_prep 
+0x258b 010715 call g24_transmit_receive_ack 
+0x258c 010716 nbranch g24_reconn_device_fail ,sync 
+0x258d 010717 nbranch g24_reconn_device_fail ,user3 
+0x258e 010718 call g24_ackpayload_parse 
+:      010719 g24_reconn_receiver_succ:
+0x258f 010720 fetch 1 ,mem_24g_conn_sm 
+0x2590 010721 set0 state_24g_reconn ,pdata 
+0x2591 010722 store 1 ,mem_24g_conn_sm 
+0x2592 010723 setarg 0 
+0x2593 010724 store 2 ,mem_24g_pair_timeout 
+0x2594 010725 store 2 ,mem_24g_reconn_count 
+0x2595 010726 store 2 ,mem_24g_reconn_timeout 
+0x2596 010727 fetch 4 ,mem_24g_pair_addr 
+0x2597 010728 fetcht 4 ,mem_24g_addr 
+0x2598 010729 isub temp ,null 
+0x2599 010730 branch g24_pair_start ,zero 
+0x259a 010731 fetch 4 ,mem_24g_device_addr 
+0x259b 010732 fetcht 4 ,mem_24g_addr 
+0x259c 010733 isub temp ,null 
+0x259d 010734 call g24_store_receiver_addr ,zero 
+0x259e 010735 jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0x259f 010736 call ui_ipc_send_event 
+:      010737 g24_txbuf_clear:
+0x25a0 010738 arg 4 ,loopcnt 
+0x25a1 010739 arg mem_24g_txbuf ,contw 
+0x25a2 010740 branch memset0 
+:      010742 g24_reconn_data_prep:
+0x25a3 010743 jam datatype_attemp ,mem_24g_txbuf 
+0x25a4 010744 fetch 1 ,mem_24g_data_type 
+0x25a5 010745 store 1 ,mem_24g_txbuf + 1 
+0x25a6 010746 fetch 4 ,mem_24g_device_addr 
+0x25a7 010747 store 4 ,mem_24g_txbuf + 2 
+0x25a8 010748 jam 6 ,mem_24g_datalen 
+0x25a9 010749 branch g24_transmit_prep 
+:      010751 g24_reconn_device_fail:
+0x25aa 010752 fetch 1 ,mem_24g_fast_conn_enable 
+0x25ab 010753 branch g24_ch ,blank 
+0x25ac 010754 fetch 2 ,mem_24g_reconn_count 
+0x25ad 010755 increase 1 ,pdata 
+0x25ae 010756 store 2 ,mem_24g_reconn_count 
+0x25af 010757 isolate1 3 ,pdata 
+0x25b0 010758 fetch 1 ,mem_24g_reconn_type 
+0x25b1 010759 beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+0x25b2 010760 beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+0x25b3 010761 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+0x25b4 010762 beq pair_and_3_0_addr ,g24_reconn_pair_and_3_0 
+0x25b5 010763 branch g24_reconn_receiver_addr 
+:      010766 g24_reconn_fast_conn_and_receiver:
+0x25b6 010767 branch g24_reconn_receiver_addr ,true 
+0x25b7 010768 branch g24_reconn_fast_conn 
+:      010770 g24_reconn_fast_conn_and_3_0:
+0x25b8 010771 branch g24_reconn_device_3_0_addr ,true 
+0x25b9 010772 branch g24_reconn_fast_conn 
+:      010774 g24_reconn_receiver_and_3_0:
+0x25ba 010775 branch g24_reconn_device_3_0_addr ,true 
+0x25bb 010776 branch g24_reconn_receiver_addr 
+:      010778 g24_reconn_pair_and_3_0:
+0x25bc 010779 branch g24_pair_init_param ,true 
+0x25bd 010780 branch g24_reconn_device_3_0_addr 
+:      010791 g24_data_attemp:
+0x25be 010792 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x25bf 010793 beq datatype_device1 ,g24_data_attemp_device1 
+0x25c0 010794 beq datatype_device2 ,g24_data_attemp_device2 
+0x25c1 010795 rtn 
+:      010796 g24_data_attemp_device1:
+0x25c2 010797 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x25c3 010798 store 4 ,mem_24g_transmitter_addr 
+:      010799 g24_store_device1_addr:
+0x25c4 010800 store 4 ,mem_24g_device1_addr 
+0x25c5 010801 rtn 
+:      010802 g24_data_attemp_device2:
+0x25c6 010803 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x25c7 010804 store 4 ,mem_24g_transmitter_addr 
+:      010805 g24_store_device2_addr:
+0x25c8 010806 store 4 ,mem_24g_device2_addr 
+0x25c9 010807 rtn 
+:      010817 rssi_store:
+0x25ca 010818 copy rega ,pdata 
+0x25cb 010819 iadd temp ,contw 
+0x25cc 010820 fetch 1 ,mem_rssi 
+0x25cd 010821 istore 1 ,contw 
+0x25ce 010822 increase 1 ,temp 
+0x25cf 010823 fetch 1 ,mem_rssi_buff_index 
+0x25d0 010824 iand temp ,temp 
+0x25d1 010825 rtn 
+:      010826 rssi_average:
+0x25d2 010827 fetch 1 ,mem_rssi_buff_index 
+0x25d3 010828 increase 1 ,pdata 
+0x25d4 010829 store 2 ,mem_loopcnt 
+0x25d5 010830 copy pdata ,loopcnt 
+0x25d6 010831 copy rega ,contr 
+0x25d7 010832 arg 0 ,pdata 
+:      010833 rssi_average_loop:
+0x25d8 010834 ifetcht 1 ,contr 
+0x25d9 010835 iadd temp ,pdata 
+0x25da 010836 loop rssi_average_loop 
+0x25db 010837 fetcht 2 ,mem_loopcnt 
+0x25dc 010838 idiv temp 
+0x25dd 010839 call wait_div_end 
+0x25de 010840 quotient temp 
+0x25df 010841 rtnmark1 mark_24g_rxmode 
+0x25e0 010842 copy temp ,pdata 
+0x25e1 010843 rtnmark0 mark_24g 
+0x25e2 010844 call bcd 
+0x25e3 010845 copy pdata ,temp 
+0x25e4 010846 rtn 
+:      010848 save_rssi_dec:
+0x25e5 010849 call save_rssi 
+0x25e6 010850 branch rssi_hex2dec 
+:      010859 rssi_transmitter_buff_init:
+0x25e7 010860 fetch 2 ,mem_rssi_signal_buf_ptr 
+0x25e8 010861 branch rssi_buff_clear 
+:      010863 rssi_signal:
+0x25e9 010864 copy pdata ,rega 
+0x25ea 010865 fetcht 1 ,mem_rssi_signal_index 
+0x25eb 010866 fetch 2 ,mem_rssi_signal_buf_ptr 
+0x25ec 010867 iadd temp ,contw 
+0x25ed 010868 copy rega ,pdata 
+0x25ee 010869 istore 1 ,contw 
+0x25ef 010870 increase 1 ,temp 
+0x25f0 010871 fetch 1 ,mem_rssi_buff_index 
+0x25f1 010872 iand temp ,temp 
+0x25f2 010873 storet 1 ,mem_rssi_signal_index 
+0x25f3 010874 rtn 
+:      010884 rssi_receiver_buff_init:
+0x25f4 010885 fetch 2 ,mem_rssi_noise_buffer_ptr 
+0x25f5 010886 call rssi_buff_clear 
+0x25f6 010887 fetch 2 ,mem_rssi_noise_self_buffer_ptr 
+0x25f7 010888 call rssi_buff_clear 
+0x25f8 010889 fetch 2 ,mem_rssi_noise_device1_buffer_ptr 
+0x25f9 010890 call rssi_buff_clear 
+0x25fa 010891 fetch 2 ,mem_rssi_noise_device2_buffer_ptr 
+:      010892 rssi_buff_clear:
+0x25fb 010893 rtn blank 
+0x25fc 010894 copy pdata ,contw 
+0x25fd 010895 fetch 1 ,mem_rssi_buff_index 
+0x25fe 010896 increase 1 ,pdata 
+0x25ff 010897 copy pdata ,loopcnt 
+0x2600 010898 branch clear_mem 
+:      010901 rssi_noise:
+0x2601 010902 call save_rssi_dec 
+0x2602 010903 rtn blank 
+0x2603 010904 fetcht 1 ,mem_rssi_noise_index 
+0x2604 010905 fetchr rega ,2 ,mem_rssi_noise_buffer_ptr 
+0x2605 010906 call rssi_store 
+0x2606 010907 storet 1 ,mem_rssi_noise_index 
+0x2607 010908 rtn 
+:      010911 rssi_noise_monitor:
+0x2608 010912 fetchr rega ,2 ,mem_rssi_noise_buffer_ptr 
+0x2609 010913 call rssi_average 
+0x260a 010914 storet 1 ,mem_rssi_noise_avg 
+0x260b 010915 sub temp ,rssi_thresh_noise ,null 
+0x260c 010916 nrtn positive 
+0x260d 010917 branch g24_ch 
+:      010925 g24_transmit_init:
+0x260e 010926 fetch 4 ,mem_lap 
+0x260f 010927 store 4 ,mem_24g_device_addr 
+0x2610 010928 call g24_rx_window_init 
+0x2611 010929 branch rssi_transmitter_buff_init 
+:      010931 g24_interval_param_4ms:
+0x2612 010932 setarg g24_4ms_interval_param 
+0x2613 010933 store 3 ,mem_24g_short_sleep_set 
+0x2614 010934 setarg 0x100c0c 
+0x2615 010935 store 3 ,mem_24g_interval 
+0x2616 010936 setarg 0x00bb80 
+0x2617 010937 store 3 ,mem_24g_long_sleep_set 
+0x2618 010938 jam 5 ,mem_24g_fast_hop_count 
+0x2619 010939 rtn 
+:      010941 g24_interval_param_8ms:
+0x261a 010942 setarg g24_8ms_interval_param 
+0x261b 010943 store 3 ,mem_24g_short_sleep_set 
+0x261c 010944 setarg 0x1c1919 
+0x261d 010945 store 3 ,mem_24g_interval 
+0x261e 010946 setarg 0x017700 
+0x261f 010947 store 3 ,mem_24g_long_sleep_set 
+0x2620 010948 jam 11 ,mem_24g_fast_hop_count 
+0x2621 010949 rtn 
+:      010952 g24_transmit_dispatch:
+0x2622 010953 rtnmark0 mark_24g 
+0x2623 010954 fetch 1 ,mem_24g_conn_sm 
+0x2624 010955 bbit1 state_24g_pair ,g24_pair_dispatch 
+0x2625 010956 bbit1 state_24g_reconn ,g24_reconn_dispatch 
+0x2626 010957 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x2627 010958 beq g24_tx_timer_int_enable ,g24_transmit_by_interrupt 
+:      010959 g24_transmit_no_interrupt:
+0x2628 010960 bpatchx patch3d_2 ,mem_patch3d 
+0x2629 010961 call g24_txdata_prep 
+0x262a 010962 nbranch g24_nodata_transmit ,user 
+:      010963 g24_transmit_start:
+0x262b 010964 call g24_transmit_process 
+0x262c 010965 call power_ctrl_start 
+0x262d 010966 fetch 1 ,mem_device_option 
+0x262e 010967 beq dvc_op_mouse ,mouse_24g_transmit_start 
+:      010968 g24_transmit_start_next:
+0x262f 010969 fetch 8 ,mem_24g_long_sleep_set 
+0x2630 010970 store 8 ,mem_24g_enter_hibernate 
+0x2631 010971 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0x2632 010972 store 2 ,mem_24g_long_sleep_param_update_timer 
+:      010973 g24_short_sleep:
+0x2633 010974 call g24_lpm_wait 
+0x2634 010975 nrtn user 
+0x2635 010976 call clear_wake 
+0x2636 010977 fetch 3 ,mem_24g_short_sleep_set 
+0x2637 010978 branch g24_long_seep2 
+:      010985 g24_txdata_prep:
+0x2638 010986 call g24_package_data 
+0x2639 010987 nrtn user 
+0x263a 010988 branch g24_transmit_prep 
+:      010991 g24_package_data:
+0x263b 010992 fetch 2 ,mem_cb_24g_transmit_data 
+0x263c 010993 call callback_func 
+0x263d 010994 branch g24_accumulate_data ,user 
+0x263e 010995 fetch 7 ,mem_24g_txbuf + 1 
+0x263f 010996 rtn blank 
+0x2640 010997 branch enable_user 
+:      010999 g24_accumulate_data:
+0x2641 011000 jam 0 ,mem_24g_abort_pac 
+0x2642 011001 add rega ,1 ,pdata 
+0x2643 011002 store 1 ,mem_24g_datalen 
+0x2644 011003 call g24_transmit_rf_ctrl_clear 
+0x2645 011004 store 1 ,mem_24g_txbuf 
+0x2646 011005 copy regb ,contr 
+0x2647 011006 copy rega ,loopcnt 
+0x2648 011007 branch memcpy 
+:      011009 g24_transmit_rf_ctrl_clear:
+0x2649 011010 fetch 1 ,mem_24g_data_type 
+0x264a 011011 and_into bits_data ,pdata 
+0x264b 011012 store 1 ,mem_24g_data_type 
+0x264c 011013 rtn 
+:      011022 g24_transmit_process:
+0x264d 011023 jam 0 ,mem_24g_retry 
+:      011024 g24_transmit_loop:
+0x264e 011025 fetchr timeup ,2 ,mem_param_rx_setup 
+0x264f 011026 until clkn_rt ,meet 
+0x2650 011027 call g24_transmit_receive_ack 
+0x2651 011028 fetch 1 ,mem_24g_no_ack 
+0x2652 011029 beq no_ack_24g ,g24_transmit_no_ack 
+0x2653 011030 nbranch g24_retransmit ,sync 
+0x2654 011031 nbranch g24_retransmit ,user3 
+0x2655 011032 call g24_ackpayload_parse 
+0x2656 011033 fetch 1 ,mem_device_option 
+0x2657 011034 beq dvc_op_mouse ,mouse_wakeup_24g 
+:      011035 g24_transmit_no_ack:
+0x2658 011036 call power_ctrl_pac_succ_incrs 
+:      011037 g24_transmit_next_packet:
+0x2659 011038 call g24_txbuf_clear 
+0x265a 011039 fetch 1 ,mem_24g_pid 
+0x265b 011040 increase 1 ,pdata 
+0x265c 011041 store 1 ,mem_24g_pid 
+0x265d 011042 call g24_hop_enable_packet 
+:      011043 g24_transmit_abandon:
+0x265e 011044 setarg 0 
+0x265f 011045 store 1 ,mem_24g_ensure 
+0x2660 011046 store 2 ,mem_24g_txfail_cnt 
+0x2661 011047 rtn 
+:      011049 g24_transmit_receive_ack:
+0x2662 011050 disable user3 
+0x2663 011051 call g24_transmit 
+0x2664 011052 fetch 1 ,mem_24g_no_ack 
+0x2665 011053 beq no_ack_24g ,g24_end_of_packet 
+0x2666 011054 force 0 ,radio_ctrl 
+0x2667 011055 fetch 4 ,mem_24g_addr 
+0x2668 011056 iforce access 
+0x2669 011057 call calc_mod_value_scale_le 
+0x266a 011058 fetcht 1 ,mem_last_freq 
+0x266b 011059 call set_freq_rx 
+0x266c 011060 call rf_rx_enable 
+0x266d 011061 call g24_receive_rxon 
+0x266e 011062 call g24_end_of_packet ,user3 
+0x266f 011063 rtn 
+:      011065 g24_retransmit:
+0x2670 011066 fetch 1 ,mem_24g_abort_pac 
+0x2671 011067 nrtn blank 
+0x2672 011068 fetch 2 ,mem_24g_txfail_cnt 
+0x2673 011069 increase 1 ,pdata 
+0x2674 011070 store 2 ,mem_24g_txfail_cnt 
+0x2675 011071 fetch 1 ,mem_24g_txfail_cnt + 1 
+0x2676 011072 bbit1 4 ,g24_tx_attempt_fail 
+0x2677 011073 call g24_transmit_hop_process 
+0x2678 011074 branch g24_transmit_loop 
+:      011077 g24_ackpayload_parse:
+0x2679 011078 call g24_read_len_pid_crc 
+0x267a 011079 fetch 1 ,mem_24g_rxdata_length 
+0x267b 011080 rtn blank 
+0x267c 011081 iforce loopcnt 
+0x267d 011082 arg mem_24g_rxbuf + 2 ,contr 
+0x267e 011083 arg mem_24g_rxpayload ,contw 
+0x267f 011084 branch memcpy 
+:      011087 g24_tx_attempt_fail:
+0x2680 011088 setarg 0 
+0x2681 011089 store 2 ,mem_24g_txfail_cnt 
+0x2682 011090 jam 1 ,mem_24g_attempt_fail_flag 
+:      011091 g24_stop_24g_mode:
+0x2683 011092 jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+0x2684 011093 branch ui_ipc_send_event 
+:      011103 g24_transmit_hop_process:
+0x2685 011104 bpatchx patch3d_3 ,mem_patch3d 
+0x2686 011105 fetcht 1 ,mem_24g_retry 
+0x2687 011106 fetch 1 ,mem_24g_fast_hop_count 
+0x2688 011107 isub temp ,null 
+0x2689 011108 nbranch g24_tx_fast_hop ,positive 
+0x268a 011109 increase 1 ,temp 
+0x268b 011110 storet 1 ,mem_24g_retry 
+0x268c 011111 fetch 1 ,mem_24g_fast_hop_count 
+0x268d 011112 beq 5 ,g24_transmit_hop_process_4ms 
+0x268e 011113 fetch 1 ,mem_24g_retry 
+0x268f 011114 beq 6 ,g24_hop_ch_disable 
+0x2690 011115 beq 12 ,g24_hop_ch_disable 
+0x2691 011116 rtn 
+:      011119 g24_transmit_hop_process_4ms:
+0x2692 011120 fetch 1 ,mem_24g_retry 
+0x2693 011121 beq 3 ,g24_hop_ch_disable 
+0x2694 011122 beq 6 ,g24_hop_ch_disable 
+0x2695 011123 rtn 
+:      011127 g24_hop_ch_enable:
+:      011132 g24_txpayload_type_update:
+0x2696 011133 bmark1 mark_ble_lr ,g24_lr_type_update 
+0x2697 011134 store 1 ,mem_24g_txpayload + offset_data_type 
+0x2698 011135 rtn 
+:      011136 g24_lr_type_update:
+0x2699 011137 store 1 ,mem_24g_txpayload + offset_lr_data_type 
+0x269a 011138 rtn 
+:      011140 g24_hop_enable_packet:
+0x269b 011141 fetch 1 ,mem_24g_data_type 
+0x269c 011142 rtnbit0 bit_hop 
+:      011143 g24_hop_ch_disable:
+0x269d 011144 fetch 1 ,mem_24g_data_type 
+0x269e 011145 set0 bit_hop ,pdata 
+0x269f 011146 store 1 ,mem_24g_data_type 
+0x26a0 011147 call g24_txpayload_type_update 
+0x26a1 011148 call power_ctrl_pac_succ_decrs 
+0x26a2 011149 branch g24_ch 
+:      011151 g24_tx_fast_hop:
+0x26a3 011152 call power_ctrl_txpower_incrs 
+0x26a4 011153 call power_ctrl_pac_succ_decrs 
+0x26a5 011154 branch g24_ch 
+:      011172 g24_search_receiver:
+0x26a6 011173 fetch 2 ,mem_cb_24g_search_receiver 
+0x26a7 011174 branch callback_func 
+:      011176 g24_nodata_transmit:
+0x26a8 011177 fetch 1 ,mem_24g_abort_pac 
+0x26a9 011178 call g24_send_abort_packet ,blank 
+0x26aa 011179 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x26ab 011180 rtneq g24_tx_timer_int_enable 
+0x26ac 011181 call g24_search_receiver 
+0x26ad 011182 branch g24_long_sleep 
+:      011184 g24_send_abort_packet:
+0x26ae 011185 jam type_ms ,mem_24g_data_type 
+0x26af 011186 jam 1 ,mem_24g_abort_pac 
+0x26b0 011187 call g24_transmit_rf_ctrl_clear 
+0x26b1 011188 store 1 ,mem_24g_txbuf 
+0x26b2 011189 setarg 0 
+0x26b3 011190 store 7 ,mem_24g_txbuf + 1 
+0x26b4 011191 fetch 4 ,mem_24g_device_addr 
+0x26b5 011192 store 4 ,mem_24g_txbuf + 8 
+0x26b6 011193 jam 12 ,mem_24g_datalen 
+0x26b7 011194 fetch 1 ,mem_24g_data_type 
+0x26b8 011195 set1 bit_abort ,pdata 
+0x26b9 011196 store 1 ,mem_24g_data_type 
+0x26ba 011197 call g24_transmit_prep 
+0x26bb 011198 branch g24_transmit_start 
+:      011200 g24_long_sleep:
+0x26bc 011201 call g24_lpm_wait 
+0x26bd 011202 nrtn user 
+0x26be 011203 fetch 8 ,mem_24g_enter_hibernate 
+:      011204 g24_long_seep2:
+0x26bf 011205 call clk2lpo 
+0x26c0 011206 storet 4 ,mem_sleep_counter 
+0x26c1 011207 branch lpm_sleep 
+:      011209 g24_lpm_wait:
+0x26c2 011210 bpatchx patch3d_4 ,mem_patch3d 
+0x26c3 011211 enable user 
+0x26c4 011212 call lpo_calibration 
+0x26c5 011213 fetch 3 ,mem_clks_per_lpo 
+0x26c6 011214 branch disable_user ,blank 
+0x26c7 011215 fetch 1 ,mem_lpm_mode 
+0x26c8 011216 branch disable_user ,blank 
+0x26c9 011217 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x26ca 011218 beq g24_tx_timer_int_enable ,disable_user 
+:      011219 g24_setgpio_lpm_before:
+0x26cb 011220 fetch 2 ,mem_cb_24g_lpm_before 
+0x26cc 011221 branch callback_func 
+:      011234 g24_transmit_by_interrupt:
+0x26cd 011235 call g24_timer_check 
+0x26ce 011236 nrtn user 
+0x26cf 011237 call g24_interval_calibrate 
+0x26d0 011238 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26d1 011239 increase 1 ,pdata 
+0x26d2 011240 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26d3 011241 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0x26d4 011242 isub temp ,null 
+0x26d5 011243 call g24_transmit_by_interrupt_exit ,zero 
+0x26d6 011244 branch g24_transmit_no_interrupt 
+:      011247 g24_transmit_by_interrupt_exit:
+0x26d7 011248 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0x26d8 011249 setarg 0 
+0x26d9 011250 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26da 011251 setarg 100 
+0x26db 011252 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+:      011253 g24_interval_min:
+0x26dc 011254 jam 0 ,mem_24g_pac_index 
+0x26dd 011255 fetch 1 ,mem_24g_interval_min 
+:      011256 g24_interval_store:
+0x26de 011257 store 1 ,mem_24g_interval 
+0x26df 011258 rtn 
+:      011259 g24_interval_max:
+0x26e0 011260 fetch 1 ,mem_24g_interval_max 
+0x26e1 011261 branch g24_interval_store 
+:      011263 g24_interval_calibrate:
+0x26e2 011264 fetch 1 ,mem_24g_pac_index 
+0x26e3 011265 increase 1 ,pdata 
+0x26e4 011266 store 1 ,mem_24g_pac_index 
+0x26e5 011267 beq 4 ,g24_interval_max 
+0x26e6 011268 beq 5 ,g24_interval_min 
+0x26e7 011269 rtn 
+:      011271 g24_transmit_by_interrupt_enable:
+0x26e8 011272 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0x26e9 011273 setarg 0 
+0x26ea 011274 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26eb 011275 rtn 
+:      011285 g24_factory_check:
+0x26ec 011286 arg 2 ,loopcnt 
+0x26ed 011287 arg mem_24g_addr ,contr 
+:      011288 pdata_0xff_check:
+0x26ee 011289 call enable_user 
+0x26ef 011290 setarg 0xffff 
+:      011291 pdata_0xff_check_loop:
+0x26f0 011292 ifetcht 2 ,contr 
+0x26f1 011293 isub temp ,null 
+0x26f2 011294 ncall disable_user ,zero 
+0x26f3 011295 loop pdata_0xff_check_loop 
+0x26f4 011296 rtn 
+:      011306 power_ctrl_start:
+0x26f5 011307 bpatchx patch3d_5 ,mem_patch3d 
+0x26f6 011308 fetch 2 ,mem_ui_state_map 
+0x26f7 011309 rtnbit1 ui_state_ble_adv 
+0x26f8 011310 rtnbit1 ui_state_bt_reconnect 
+0x26f9 011311 rtnbit1 ui_state_bt_discovery 
+0x26fa 011312 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+0x26fb 011313 call rssi_average 
+0x26fc 011314 storet 1 ,mem_rssi_avg_received 
+0x26fd 011315 fetch 1 ,mem_rssi_dis_max_24g 
+0x26fe 011316 bmark1 mark_24g ,power_ctrl_start_next 
+0x26ff 011317 fetch 1 ,mem_rssi_dis_max_ble 
+:      011318 power_ctrl_start_next:
+0x2700 011319 isub temp ,null 
+0x2701 011320 nbranch power_ctrl_txpower_incrs_force ,positive 
+0x2702 011321 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2703 011322 sub pdata ,2 ,null 
+0x2704 011323 nbranch power_ctrl_txpower_decrs_check ,positive 
+0x2705 011324 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2706 011325 beq 0 ,power_ctrl_txpower_incrs 
+0x2707 011326 rtn 
+:      011328 power_ctrl_txpower_decrs_check:
+0x2708 011329 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2709 011330 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+0x270a 011331 isub temp ,null 
+0x270b 011332 nrtn zero 
+0x270c 011333 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+:      011334 power_ctrl_txpower_decrs:
+0x270d 011335 fetcht 1 ,mem_rssi_avg_received 
+0x270e 011336 fetch 1 ,mem_rssi_dis_min_24g 
+0x270f 011337 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0x2710 011338 fetch 1 ,mem_rssi_dis_min_ble 
+:      011339 power_ctrl_txpower_decrs_next:
+0x2711 011340 isub temp ,null 
+0x2712 011341 nrtn positive 
+0x2713 011342 fetch 1 ,mem_power_ctrl_level 
+0x2714 011343 beq 0 ,power_ctrl_decrs_level0 
+0x2715 011344 increase -1 ,pdata 
+0x2716 011345 store 1 ,mem_power_ctrl_level 
+0x2717 011346 beq 0 ,power_ctrl_decrs_level0 
+:      011347 power_ctrl_decrs_level1:
+:      011348 power_ctrl_incrs_level1:
+0x2718 011349 jam tx_power_0db ,mem_tx_power 
+0x2719 011350 rtn 
+:      011352 power_ctrl_txpower_incrs_force:
+0x271a 011353 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+:      011354 power_ctrl_txpower_incrs:
+0x271b 011355 fetch 1 ,mem_power_ctrl_level 
+0x271c 011356 beq 2 ,power_ctrl_incrs_level2 
+0x271d 011357 increase 1 ,pdata 
+0x271e 011358 store 1 ,mem_power_ctrl_level 
+0x271f 011359 beq 1 ,power_ctrl_incrs_level1 
+:      011360 power_ctrl_incrs_level2:
+0x2720 011361 jam tx_power_6db ,mem_tx_power 
+0x2721 011362 rtn 
+:      011364 power_ctrl_decrs_level0:
+0x2722 011365 jam tx_power_f5db ,mem_tx_power 
+0x2723 011366 rtn 
+:      011368 power_ctrl_pac_succ_cnt_init:
+0x2724 011369 jam 1 ,mem_power_ctrl_level 
+0x2725 011370 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0x2726 011371 rtn 
+:      011373 power_ctrl_pac_succ_incrs:
+0x2727 011374 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2728 011375 increase 1 ,pdata 
+0x2729 011376 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0x272a 011377 rtn 
+:      011379 power_ctrl_pac_succ_decrs:
+0x272b 011380 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x272c 011381 sub pdata ,2 ,null 
+0x272d 011382 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+0x272e 011383 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x272f 011384 rtneq 0 
+0x2730 011385 increase -1 ,pdata 
+0x2731 011386 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2732 011387 rtn 
+:      011389 power_ctrl_pac_succ_cnt_reinit:
+0x2733 011390 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0x2734 011391 rtn 
+:      011401 ali_mesh_access_layer_resolve_message:
+0x2735 011402 fetch 1 ,mem_ccm_data_len 
+0x2736 011403 store 1 ,mem_mesh_receive_model_message_payload_len 
+0x2737 011404 copy alarm ,contr 
+0x2738 011405 call memcpy24 
+0x2739 011406 call logging_tx_info_receive_access_message 
+0x273a 011407 fetch 2 ,mem_mesh_cb_receive_access_message 
+0x273b 011408 branch callback_func 
+:      011410 ali_mesh_access_layer_check_access_message_opcode:
+0x273c 011411 fetch 1 ,mem_mesh_receive_model_message_payload_opcode 
+0x273d 011412 beq mesh_message_opcode_config_appkey_add ,ali_mesh_access_layer_message_opcode_config_appkey_add 
+0x273e 011413 beq mesh_configuration_and_health_message_opcode_header ,ali_mesh_access_layer_config_or_health_message_opcode 
+0x273f 011414 beq mesh_module_message_opcode_header ,ali_mesh_model_layer_check_model_message_opcode 
+0x2740 011415 beq vendor_message_attr_set ,ali_mesh_ali_vendor_message_attribute_set 
+0x2741 011416 beq vendor_message_attr_get ,ali_mesh_ali_vendor_message_opcode_attr_get 
+0x2742 011417 beq vendor_message_attr_confirmation ,ali_mesh_ali_vendor_message_opcode_attr_confrimation 
+0x2743 011418 rtn 
+:      011421 ali_mesh_access_layer_message_opcode_config_appkey_add:
+0x2744 011422 arg mem_mesh_receive_application_key ,contr 
+0x2745 011423 arg mem_mesh_application_key ,contw 
+0x2746 011424 call memcpy16 
+0x2747 011425 jam paired_status ,mem_mesh_provisioned_flag 
+0x2748 011426 call ali_mesh_encrypt_base_function_k3 
+0x2749 011427 call ali_mesh_encrypt_base_function_k4 
+0x274a 011428 call ali_mesh_access_layer_finish_pairing_init_subscription_list 
+0x274b 011429 call ali_mesh_accesss_layer_check_message_type 
+0x274c 011430 call ali_mesh_access_layer_send_config_appkey_status 
+0x274d 011431 jam paired_status ,mem_mesh_provisioned_flag 
+0x274e 011432 fetch 2 ,mem_mesh_cb_receive_config_appkey_add 
+0x274f 011433 branch callback_func 
+:      011435 ali_mesh_accesss_layer_check_message_type:
+0x2750 011436 fetch 1 ,mem_mesh_network_packet_type 
+0x2751 011437 jam received_config_appkey_add ,mem_mesh_provisioned_flag 
+0x2752 011438 rtneq mesh_message_app 
+0x2753 011439 jam paired_status ,mem_mesh_provisioned_flag 
+0x2754 011440 rtn 
+:      011442 ali_mesh_access_layer_send_config_appkey_status:
+0x2755 011443 setarg mesh_configuration_and_health_message_opcode_header 
+0x2756 011444 store 1 ,mem_mesh_access_layer_payload 
+0x2757 011445 setarg mesh_message_opcode_config_config_model_publication_set 
+0x2758 011446 istore 1 ,contw 
+0x2759 011447 setarg status_code_success 
+0x275a 011448 istore 1 ,contw 
+0x275b 011449 fetch 3 ,mem_mesh_netkeyindex_and_appkeyindex 
+0x275c 011450 istore 3 ,contw 
+0x275d 011451 jam 6 ,mem_mesh_access_layer_payload_len 
+0x275e 011452 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011455 ali_mesh_access_layer_finish_pairing_init_subscription_list:
+0x275f 011456 fetch 2 ,mem_mesh_core_feature 
+0x2760 011457 rtnbit1 mesh_feature_disable_subscription 
+0x2761 011458 call mesh_get_element_info_config 
+:      011459 ali_mesh_access_layer_finish_pairing_init_subscription_list_loop:
+0x2762 011460 add rega ,element_device_subscription_label ,regc 
+0x2763 011461 setarg -1 
+0x2764 011462 istore subscription_max_count ,regc 
+0x2765 011463 istore subscription_max_count ,contw 
+0x2766 011464 ifetch 2 ,rega 
+0x2767 011465 istore 2 ,regc 
+0x2768 011466 copy regb ,pdata 
+0x2769 011467 iadd rega ,rega 
+0x276a 011468 loop ali_mesh_access_layer_finish_pairing_init_subscription_list_loop 
+0x276b 011469 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x276c 011470 branch callback_func 
+:      011473 ali_mesh_access_layer_send_generic_onoff_status:
+0x276d 011474 setarg mesh_module_message_opcode_header 
+0x276e 011475 store 1 ,mem_mesh_access_layer_payload 
+0x276f 011476 setarg mesh_module_message_opcode_generic_onoff_status_no_head 
+0x2770 011477 istore 1 ,contw 
+0x2771 011478 fetch 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2772 011479 istore 1 ,contw 
+0x2773 011480 jam 3 ,mem_mesh_access_layer_payload_len 
+0x2774 011481 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011484 ali_mesh_access_layer_send_light_lightness_status:
+0x2775 011485 setarg mesh_module_message_opcode_header 
+0x2776 011486 store 1 ,mem_mesh_access_layer_payload 
+0x2777 011487 setarg mesh_module_message_opcode_light_lightness_status_no_head 
+0x2778 011488 istore 1 ,contw 
+0x2779 011489 fetch 2 ,mem_mesh_light_lightness_set_payload_lightness 
+0x277a 011490 istore 2 ,contw 
+0x277b 011491 jam 4 ,mem_mesh_access_layer_payload_len 
+0x277c 011492 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011495 ali_mesh_access_layer_send_light_ctl_stauts:
+0x277d 011496 setarg mesh_module_message_opcode_header 
+0x277e 011497 store 1 ,mem_mesh_access_layer_payload 
+0x277f 011498 setarg mesh_module_message_opcode_light_ctl_status_no_head 
+0x2780 011499 istore 1 ,contw 
+0x2781 011500 fetch 4 ,mem_mesh_ctl_lightness 
+0x2782 011501 istore 4 ,contw 
+0x2783 011502 jam 6 ,mem_mesh_access_layer_payload_len 
+0x2784 011503 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011507 ali_mesh_access_layer_send_scene_status:
+0x2785 011508 setarg mesh_module_message_opcode_scene_status 
+0x2786 011509 store 1 ,mem_mesh_access_layer_payload 
+0x2787 011510 setarg mesh_success 
+0x2788 011511 istore 1 ,contw 
+0x2789 011512 fetch 2 ,mem_mesh_scene_recall_payload_scene_number 
+0x278a 011513 istore 2 ,contw 
+0x278b 011514 jam 4 ,mem_mesh_access_layer_payload_len 
+0x278c 011515 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011519 logging_tx_info_receive_access_message:
+0x278d 011520 fetchr loopcnt ,1 ,mem_ccm_data_len 
+0x278e 011521 copy alarm ,rega 
+0x278f 011522 arg mesh_access_receive_message ,regb 
+0x2790 011523 branch logging_tx_info 
+:      011528 ali_mesh_ali_vendor_message_attribute_set:
+0x2791 011529 call ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid 
+0x2792 011530 nrtn user 
+0x2793 011531 fetch 2 ,mem_mesh_vendor_message_attr_type 
+0x2794 011532 arg vendor_message_attr_type_time ,temp 
+0x2795 011533 isub temp ,null 
+0x2796 011534 branch ali_mesh_ali_vendor_message_opcode_timer_set_curr_time ,zero 
+0x2797 011535 arg vendor_message_attr_type_timing ,temp 
+0x2798 011536 isub temp ,null 
+0x2799 011537 branch ali_mesh_ali_vendor_message_opcode_timer_set_timing ,zero 
+0x279a 011538 arg vendor_message_attr_type_cycle_timing ,temp 
+0x279b 011539 isub temp ,null 
+0x279c 011540 branch ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically ,zero 
+0x279d 011541 arg vendor_message_attr_type_delete_timing ,temp 
+0x279e 011542 isub temp ,null 
+0x279f 011543 branch ali_mesh_ali_vendor_message_opcode_timer_delete_timing ,zero 
+0x27a0 011544 arg vendor_message_attr_type_main_light ,temp 
+0x27a1 011545 isub temp ,null 
+0x27a2 011546 branch ali_mesh_ali_vendor_message_attribute_set_main_light ,zero 
+0x27a3 011547 arg vendor_message_attr_type_background_light ,temp 
+0x27a4 011548 isub temp ,null 
+0x27a5 011549 branch ali_mesh_ali_vendor_message_attribute_set_background_light ,zero 
+0x27a6 011550 arg vendor_message_attr_type_color ,temp 
+0x27a7 011551 isub temp ,null 
+0x27a8 011552 branch ali_mesh_ali_vendor_message_attribute_set_color ,zero 
+0x27a9 011553 fetch 2 ,mem_mesh_cb_recv_vendor 
+0x27aa 011554 branch callback_func 
+:      011556 ali_mesh_ali_vendor_message_opcode_attr_get:
+:      011557 ali_mesh_ali_vendor_message_opcode_attr_confrimation:
+0x27ab 011558 rtn 
+:      011560 ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid:
+0x27ac 011561 call disable_user 
+0x27ad 011562 fetch 2 ,mem_mesh_vendor_message_cid 
+0x27ae 011563 arg vendor_message_opcode_company_id ,temp 
+0x27af 011564 isub temp ,null 
+0x27b0 011565 nrtn zero 
+0x27b1 011566 fetcht 1 ,mem_mesh_vendor_mesh_receive_tid 
+0x27b2 011567 fetch 1 ,mem_mesh_vendor_message_tid 
+0x27b3 011568 isub temp ,null 
+0x27b4 011569 rtn zero 
+0x27b5 011570 store 1 ,mem_mesh_vendor_mesh_receive_tid 
+0x27b6 011571 branch enable_user 
+:      011573 ali_mesh_ali_vendor_message_attribute_set_main_light:
+0x27b7 011574 call ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+0x27b8 011575 fetch 2 ,mem_mesh_cb_main_light_onoff_set 
+0x27b9 011576 branch callback_func 
+:      011579 ali_mesh_ali_vendor_message_attribute_set_background_light:
+0x27ba 011580 call ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+0x27bb 011581 fetch 2 ,mem_mesh_cb_background_onoff_set 
+0x27bc 011582 branch callback_func 
+:      011584 ali_mesh_ali_vendor_message_attribute_set_color:
+0x27bd 011585 call ali_mesh_ali_vendor_message_ack_attr_status_uint48 
+0x27be 011586 fetch 2 ,mem_mesh_cb_color_set 
+0x27bf 011587 branch callback_func 
+:      011590 ali_mesh_ali_vendor_message_opcode_timer_set_curr_time:
+0x27c0 011591 call ali_mesh_ali_vendor_message_ack_attr_status_uint32 
+0x27c1 011593 fetch 4 ,mem_mesh_vendor_message_current_time 
+0x27c2 011594 store 4 ,mem_mesh_vendor_timer_current_time 
+0x27c3 011595 branch ali_mesh_time_init_system_time 
+:      011598 ali_mesh_ali_vendor_message_opcode_timer_set_timing:
+0x27c4 011599 call ali_mesh_ali_vendor_message_ack_attr_status_uint64 
+0x27c5 011600 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27c6 011601 rtn blank 
+0x27c7 011602 fetch 1 ,mem_mesh_vendor_timer_timing_index 
+0x27c8 011603 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27c9 011604 fetcht 8 ,mem_mesh_vendor_timer_timing_index 
+0x27ca 011605 istoret 8 ,contw 
+:      011606 ali_mesh_ali_vendor_message_cb_timing_changed:
+0x27cb 011607 fetch 2 ,mem_mesh_cb_vendor_timing_changed 
+0x27cc 011608 branch callback_func 
+:      011610 ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically:
+0x27cd 011611 call ali_mesh_ali_vendor_message_ack_attr_status_uint56 
+0x27ce 011612 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27cf 011613 rtn blank 
+0x27d0 011614 jam timer_cyclical_falg ,mem_mesh_vendor_timer_timing_cyclic_flag 
+0x27d1 011615 fetch 1 ,mem_mesh_vendor_timer_timing_index_cyclic 
+0x27d2 011616 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27d3 011617 fetch 8 ,mem_mesh_vendor_timer_timing_index_cyclic 
+0x27d4 011618 istore 8 ,contw 
+0x27d5 011619 branch ali_mesh_ali_vendor_message_cb_timing_changed 
+:      011622 ali_mesh_ali_vendor_message_opcode_timer_delete_timing:
+0x27d6 011623 call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack 
+0x27d7 011624 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27d8 011625 rtn blank 
+0x27d9 011626 fetch 1 ,mem_mesh_vendor_timer_timing_index 
+0x27da 011627 rtn blank 
+0x27db 011628 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27dc 011629 arg 0 ,temp 
+0x27dd 011630 istoret 1 ,contw 
+0x27de 011631 fetch 1 ,mem_mesh_receive_model_message_payload_len 
+0x27df 011632 sub pdata ,8 ,null 
+0x27e0 011633 call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second ,zero 
+0x27e1 011634 branch ali_mesh_ali_vendor_message_cb_timing_changed 
+:      011636 ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second:
+0x27e2 011637 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27e3 011638 fetch 1 ,mem_mesh_vendor_timer_timing_index1 
+0x27e4 011639 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27e5 011640 arg 0 ,temp 
+0x27e6 011641 istoret 1 ,contw 
+0x27e7 011642 rtn 
+:      011645 ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack:
+0x27e8 011646 fetch 1 ,mem_mesh_receive_model_message_payload_len 
+0x27e9 011647 beq 7 ,ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+0x27ea 011648 branch ali_mesh_ali_vendor_message_ack_attr_status_uint16 
+:      011650 ali_mesh_vendor_timer_buffer_offset_cal:
+0x27eb 011651 pincrease -1 
+0x27ec 011652 lshift3 pdata ,pdata 
+0x27ed 011653 iadd contw ,contw 
+0x27ee 011654 rtn 
+:      011657 ali_mesh_ali_vendor_message_calc_timing_address:
+0x27ef 011658 call mesh_get_element_info_config 
+0x27f0 011659 add rega ,element_device_vendor_time_ptr ,rega 
+0x27f1 011660 fetch 1 ,mem_mesh_receive_element_number 
+0x27f2 011661 imul32 regb ,pdata 
+0x27f3 011662 iadd rega ,rega 
+0x27f4 011663 ifetch 2 ,rega 
+0x27f5 011664 copy pdata ,contw 
+0x27f6 011665 rtn 
+:      011670 ali_mesh_ali_vendor_message_status_add_head:
+0x27f7 011671 setarg vendor_message_attr_status 
+0x27f8 011672 store 1 ,mem_mesh_access_layer_payload 
+0x27f9 011673 setarg vendor_message_opcode_company_id 
+0x27fa 011674 istore 2 ,contw 
+0x27fb 011675 fetch 1 ,mem_mesh_vendor_mesh_receive_tid 
+0x27fc 011676 istore 1 ,contw 
+0x27fd 011677 istoret 2 ,contw 
+0x27fe 011678 rtn 
+:      011682 ali_mesh_ali_vendor_message_opcode_device_power_on:
+0x27ff 011683 arg 0 ,queue 
+0x2800 011684 arg vendor_message_event_device_power_on ,temp 
+0x2801 011685 arg vendor_attr_type_event_trigger ,rega 
+0x2802 011686 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011697 ali_mesh_ali_vendor_message_opcode_generic_onoff:
+0x2803 011698 arg vendor_attr_generic_onoff_server ,rega 
+0x2804 011699 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011703 ali_mesh_ali_vendor_message_opcode_scene_server_first_element:
+0x2805 011704 arg 0 ,queue 
+:      011708 ali_mesh_ali_vendor_message_opcode_scene_server:
+0x2806 011709 arg vendor_attr_scene_server ,rega 
+0x2807 011710 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011713 ali_mesh_ali_vendor_message_opcode_main_light_onoff_first_element:
+0x2808 011714 arg 0 ,queue 
+:      011720 ali_mesh_ali_vendor_message_opcode_main_light_onoff:
+0x2809 011721 arg vendor_attr_main_light_server ,rega 
+0x280a 011722 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011724 ali_mesh_ali_vendor_message_opcode_background_light_onoff_first_element:
+0x280b 011725 arg 0 ,queue 
+:      011731 ali_mesh_ali_vendor_message_opcode_background_light_onoff:
+0x280c 011732 arg vendor_attr_background_light_onoff_server ,rega 
+0x280d 011733 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011735 ali_mesh_ali_vendor_message_opcode_brightness_first_element:
+0x280e 011736 arg 0 ,queue 
+:      011739 ali_mesh_ali_vendor_message_opcode_brightness:
+0x280f 011740 call ali_mesh_model_layer_message_calc_actual_lightness 
+0x2810 011741 arg vendor_attr_lightness_level_server ,rega 
+0x2811 011742 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011744 ali_mesh_ali_vendor_message_opcode_color_temperature_first_element:
+0x2812 011745 arg 0 ,queue 
+:      011748 ali_mesh_ali_vendor_message_opcode_color_temperature:
+0x2813 011749 call ali_mesh_model_layer_message_calc_actual_temperature 
+0x2814 011750 arg vendor_attr_color_temperature_server ,rega 
+0x2815 011751 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011755 ali_mesh_ali_vendor_message_opcode_timing_finish:
+0x2816 011756 lshift temp ,temp 
+0x2817 011757 or temp ,vendor_message_event_finish_timing ,temp 
+0x2818 011758 arg vendor_attr_type_event_trigger ,rega 
+0x2819 011759 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011762 ali_mesh_ali_vendor_message_indication_info_add_head_event_trigger:
+0x281a 011763 call ali_mesh_ali_vendor_message_indication_info_add_head 
+0x281b 011764 setarg vendor_attr_type_event_trigger 
+0x281c 011765 istore 2 ,contw 
+0x281d 011766 rtn 
+:      011768 ali_mesh_ali_vendor_message_ack_attr_status_uint64:
+0x281e 011769 arg 8 ,loopcnt 
+0x281f 011770 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011772 ali_mesh_ali_vendor_message_ack_attr_status_uint56:
+0x2820 011773 arg 8 ,loopcnt 
+0x2821 011774 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011776 ali_mesh_ali_vendor_message_ack_attr_status_uint48:
+0x2822 011777 arg 6 ,loopcnt 
+0x2823 011778 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011780 ali_mesh_ali_vendor_message_ack_attr_status_uint32:
+0x2824 011781 arg 4 ,loopcnt 
+0x2825 011782 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011784 ali_mesh_ali_vendor_message_ack_attr_status_uint16:
+0x2826 011785 arg 2 ,loopcnt 
+0x2827 011786 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011788 ali_mesh_ali_vendor_message_ack_attr_status_uint8:
+0x2828 011789 arg 1 ,loopcnt 
+0x2829 011790 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011793 ali_mesh_ali_vendor_message_ack_attr_status:
+0x282a 011794 add loopcnt ,6 ,pdata 
+0x282b 011795 store 1 ,mem_mesh_access_layer_payload_len 
+0x282c 011796 call ali_mesh_ali_vendor_message_status_add_head 
+0x282d 011797 arg mem_mesh_vendor_attr_parameter ,contr 
+0x282e 011798 call memcpy 
+0x282f 011799 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011806 ali_mesh_ali_vendor_message_opcode_para_uint8:
+0x2830 011807 call ali_mesh_ali_vendor_message_indication_info_add_head 
+0x2831 011808 istorer rega ,2 ,contw 
+0x2832 011809 istoret 1 ,contw 
+0x2833 011810 jam 7 ,mem_mesh_access_layer_payload_len 
+0x2834 011811 branch ali_mesh_ali_vendor_message_send_message 
+:      011817 ali_mesh_ali_vendor_message_opcode_para_uint16:
+0x2835 011818 call ali_mesh_ali_vendor_message_indication_info_add_head 
+0x2836 011819 istorer rega ,2 ,contw 
+0x2837 011820 istoret 2 ,contw 
+0x2838 011821 jam 8 ,mem_mesh_access_layer_payload_len 
+0x2839 011822 branch ali_mesh_ali_vendor_message_send_message 
+:      011826 ali_mesh_ali_vendor_message_send_message:
+0x283a 011827 call ali_mesh_more_element_calc_queue_address 
+0x283b 011828 branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer 
+:      011831 ali_mesh_ali_vendor_message_indication_info_add_head:
+0x283c 011832 fetch 1 ,mem_mesh_transport_aid 
+0x283d 011833 store 1 ,mem_mesh_message_transport_head 
+0x283e 011834 setarg vendor_message_tmall_dst 
+0x283f 011835 store 2 ,mem_mesh_send_message_dst 
+0x2840 011836 fetch 1 ,mem_mesh_vendor_mesh_send_tid 
+0x2841 011837 pincrease 1 
+0x2842 011838 store 1 ,mem_mesh_vendor_mesh_send_tid 
+0x2843 011839 beq vendor_message_send_tid_max ,ali_mesh_ali_vendor_message_indication_info_reset_tid 
+0x2844 011840 setarg vendor_message_attr_indication 
+0x2845 011841 store 1 ,mem_mesh_access_layer_payload 
+0x2846 011842 setarg vendor_message_opcode_company_id 
+0x2847 011843 istore 2 ,contw 
+0x2848 011844 fetch 1 ,mem_mesh_vendor_mesh_send_tid 
+0x2849 011845 istore 1 ,contw 
+0x284a 011846 rtn 
+:      011848 ali_mesh_ali_vendor_message_indication_info_reset_tid:
+0x284b 011849 jam vendor_message_send_tid_min ,mem_mesh_vendor_mesh_send_tid 
+0x284c 011850 rtn 
+:      011852 ali_mesh_time_function:
+0x284d 011853 copy clkn_bt ,temp 
+0x284e 011854 fetch 4 ,mem_system_time 
+0x284f 011855 isub temp ,null 
+0x2850 011856 call ali_mesh_timer_timeout ,positive 
+0x2851 011857 call ali_mesh_clkn_bt_add_1s 
+0x2852 011858 isub temp ,null 
+0x2853 011859 rtn positive 
+0x2854 011860 call ali_mesh_time_init_system_time_without_clk 
+0x2855 011861 fetch 4 ,mem_mesh_vendor_timer_current_time 
+0x2856 011862 pincrease 1 
+0x2857 011863 store 4 ,mem_mesh_vendor_timer_current_time 
+0x2858 011864 branch ali_mesh_ali_vendor_check_time 
+:      011867 ali_mesh_time_init_system_time:
+0x2859 011868 copy clkn_bt ,pdata 
+:      011869 ali_mesh_time_init_system_time_without_clk:
+0x285a 011870 store 4 ,mem_system_time 
+0x285b 011871 fetch 1 ,mem_system_time + 3 
+0x285c 011872 and_into 0x0f ,pdata 
+0x285d 011873 store 1 ,mem_system_time + 3 
+0x285e 011874 rtn 
+:      011876 ali_mesh_timer_timeout:
+0x285f 011877 rtn zero 
+0x2860 011878 copy pdata ,regb 
+0x2861 011879 setarg 0x100000 
+0x2862 011880 lshift8 pdata ,pdata 
+0x2863 011881 iadd temp ,temp 
+0x2864 011882 copy regb ,pdata 
+0x2865 011883 rtn 
+:      011885 ali_mesh_clkn_bt_add_1s:
+0x2866 011886 arg 20 ,loopcnt 
+:      011887 ali_mesh_time_loop:
+0x2867 011888 pincrease 160 
+0x2868 011889 loop ali_mesh_time_loop 
+0x2869 011890 rtn 
+:      011892 ali_mesh_ali_vendor_check_time:
+0x286a 011893 call mesh_get_element_info_config 
+0x286b 011894 add rega ,element_device_vendor_time_ptr ,rega 
+0x286c 011895 jam 0 ,mem_mesh_receive_element_number 
+:      011897 ali_mesh_ali_vendor_check_time_loop:
+0x286d 011898 call ali_mesh_more_element_push_stack 
+0x286e 011899 ifetch 2 ,rega 
+0x286f 011900 branch ali_mesh_ali_vendor_check_time_next_element ,blank 
+0x2870 011901 copy pdata ,alarm 
+0x2871 011902 call ali_mesh_ali_vendor_check_time_one_element 
+:      011903 ali_mesh_ali_vendor_check_time_next_element:
+0x2872 011904 call ali_mesh_more_element_pop_stack 
+0x2873 011905 fetch 1 ,mem_mesh_receive_element_number 
+0x2874 011906 pincrease 1 
+0x2875 011907 store 1 ,mem_mesh_receive_element_number 
+0x2876 011908 fetcht 1 ,mem_mesh_element_number 
+0x2877 011909 isub temp ,pdata 
+0x2878 011910 rtn zero 
+0x2879 011911 copy regb ,pdata 
+0x287a 011912 iadd rega ,rega 
+0x287b 011913 branch ali_mesh_ali_vendor_check_time_loop 
+:      011915 ali_mesh_ali_vendor_check_time_one_element:
+0x287c 011916 arg 40 ,loopcnt 
+:      011920 ali_mesh_ali_vendor_check_time_one_element_loop:
+0x287d 011921 copy loopcnt ,pdata 
+0x287e 011922 store 1 ,mem_mesh_loopcnt_tmep 
+0x287f 011923 ifetch 1 ,alarm 
+0x2880 011924 ncall ali_mesh_ali_vendor_had_timing ,blank 
+0x2881 011925 increase 8 ,alarm 
+0x2882 011926 fetch 1 ,mem_mesh_loopcnt_tmep 
+0x2883 011927 copy pdata ,loopcnt 
+0x2884 011928 loop ali_mesh_ali_vendor_check_time_one_element_loop 
+0x2885 011929 rtn 
+:      011931 ali_mesh_ali_vendor_had_timing:
+0x2886 011932 ifetcht 8 ,alarm 
+0x2887 011933 storet 8 ,mem_mesh_vendor_timer_timing_index_cyclic 
+0x2888 011934 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para 
+0x2889 011935 beq timer_cyclical_falg ,ali_mesh_ali_vendor_had_timing_cyclically 
+0x288a 011936 fetcht 4 ,mem_mesh_vendor_timer_current_time 
+0x288b 011937 fetch 4 ,mem_mesh_vendor_timer_timing_time 
+0x288c 011938 isub temp ,null 
+0x288d 011939 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para 
+0x288e 011940 branch ali_mesh_ali_vendor_time_timeout ,zero 
+0x288f 011941 rtn 
+:      011943 ali_mesh_ali_vendor_time_timeout:
+0x2890 011944 store 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2891 011946 fetch 2 ,mem_mesh_cb_generic_onoff_set 
+0x2892 011947 call callback_func 
+0x2893 011949 copy alarm ,pdata 
+0x2894 011950 store 2 ,mem_mesh_alarm_temp 
+0x2895 011952 fetchr queue ,1 ,mem_mesh_receive_element_number 
+0x2896 011953 ifetcht 1 ,alarm 
+0x2897 011954 call ali_mesh_ali_vendor_message_opcode_timing_finish 
+0x2898 011956 fetcht 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2899 011957 fetchr queue ,1 ,mem_mesh_receive_element_number 
+0x289a 011958 call ali_mesh_ali_vendor_message_opcode_generic_onoff 
+0x289b 011960 fetch 2 ,mem_mesh_alarm_temp 
+0x289c 011961 copy pdata ,alarm 
+0x289d 011962 setarg 0 
+0x289e 011963 istore 1 ,alarm 
+0x289f 011964 branch ali_mesh_ali_vendor_message_cb_timing_changed 
+:      011967 ali_mesh_ali_vendor_had_timing_cyclically:
+0x28a0 011968 fetch 4 ,mem_mesh_vendor_timer_current_time 
+0x28a1 011969 arg seconds_of_min ,temp 
+0x28a2 011970 idiv temp 
+0x28a3 011971 call wait_div_end 
+0x28a4 011972 remainder pdata 
+0x28a5 011973 nrtn blank 
+0x28a6 011975 fetch 4 ,mem_mesh_vendor_timer_current_time 
+0x28a7 011976 arg seconds_of_four_days ,temp 
+0x28a8 011977 isub temp ,pdata 
+0x28a9 011979 arg seconds_of_week ,temp 
+0x28aa 011980 idiv temp 
+0x28ab 011981 call wait_div_end 
+0x28ac 011982 remainder pdata 
+0x28ad 011983 arg seconds_of_day ,temp 
+0x28ae 011984 idiv temp 
+0x28af 011985 call wait_div_end 
+0x28b0 011986 remainder rega 
+0x28b1 011987 quotient queue 
+0x28b2 011989 setarg 0 
+0x28b3 011990 qset1 pdata 
+0x28b4 011991 fetcht 1 ,mem_mesh_vendor_timer_timing_weekdays_cyclic 
+0x28b5 011992 iand temp ,pdata 
+0x28b6 011993 rtn blank 
+0x28b7 011994 deposit rega 
+0x28b8 011995 arg seconds_of_min ,temp 
+0x28b9 011996 idiv temp 
+0x28ba 011997 call wait_div_end 
+0x28bb 011998 quotient temp 
+0x28bc 011999 setarg eight_hours_time_zone_offset 
+0x28bd 012000 iadd temp ,temp 
+0x28be 012001 fetch 2 ,mem_mesh_vendor_timer_timing_time_cyclic 
+0x28bf 012002 isub temp ,null 
+0x28c0 012003 nrtn zero 
+0x28c1 012004 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para_cyclic 
+0x28c2 012005 branch ali_mesh_ali_vendor_time_timeout 
+:      012010 ali_mesh_bearer_layer_send_packet_by_network_layer:
+0x28c3 012011 bpatchx patch3d_6 ,mem_patch3d 
+0x28c4 012012 jam adv_pairing_mesh_message_duration ,mem_mesh_queue_ele_duration 
+0x28c5 012013 fetch 1 ,mem_mesh_gatt_package_send_msg_id 
+0x28c6 012014 store 1 ,mem_mesh_queue_ele_gatt_msg_id 
+0x28c7 012016 fetch 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x28c8 012017 pincrease 11 
+0x28c9 012018 add pdata ,-2 ,loopcnt 
+0x28ca 012027 store 1 ,mem_mesh_queue_ele_len 
+0x28cb 012028 pincrease -1 
+0x28cc 012031 istore 1 ,contw 
+0x28cd 012032 setarg gap_adtype_mesh_message 
+0x28ce 012033 istore 1 ,contw 
+0x28cf 012034 arg mem_mesh_send_upper_layer_ivi_and_nid ,contr 
+0x28d0 012035 call memcpy_fast 
+0x28d1 012036 fetch 2 ,mem_ui_state_map 
+0x28d2 012037 isolate1 ui_state_ble_connected ,pdata 
+0x28d3 012038 call ali_mesh_send_ble_data ,true 
+0x28d4 012039 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x28d5 012040 call ali_mesh_advertising_bearer_layer_init_queue_param 
+0x28d6 012041 branch queue_push 
+:      012043 ali_mesh_advertising_bearer_layer_init_queue_param:
+0x28d7 012044 add rega ,element_device_queue_buffer_ptr ,contr 
+0x28d8 012045 ifetch 2 ,contr 
+0x28d9 012046 store 2 ,mem_queue_ptr 
+0x28da 012047 arg mem_mesh_queue_ele_temp ,rega 
+0x28db 012048 rtn 
+:      012050 ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue:
+0x28dc 012051 arg ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal ,regc 
+0x28dd 012052 branch ali_mesh_check_all_element_info 
+:      012054 ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal:
+0x28de 012055 add rega ,element_device_upper_adv_flag ,contr 
+0x28df 012056 ifetch 1 ,contr 
+0x28e0 012057 rtnne packet_in_bearer 
+0x28e1 012058 setarg packet_in_adverting 
+0x28e2 012059 add rega ,element_device_upper_adv_flag ,contw 
+0x28e3 012060 istore 1 ,contw 
+0x28e4 012061 branch ali_mesh_control_ble_advertising_on_advertising 
+:      012064 ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer:
+0x28e5 012065 call ali_mesh_advertising_bearer_layer_generate_header 
+0x28e6 012066 add temp ,13 ,pdata 
+0x28e7 012067 store 1 ,mem_mesh_adv_data_len 
+0x28e8 012068 call ali_mesh_advertising_add_adtype_flags 
+0x28e9 012069 add temp ,9 ,pdata 
+0x28ea 012070 istore 1 ,contw 
+0x28eb 012071 setarg gap_adtype_manufacturer_specific 
+0x28ec 012072 istore 1 ,contw 
+0x28ed 012073 fetch 8 ,mem_mesh_receive_service_uuid_ios_data_company_id 
+0x28ee 012074 istore 8 ,contw 
+0x28ef 012075 copy rega ,contr 
+0x28f0 012076 copy temp ,loopcnt 
+0x28f1 012077 call memcpy 
+0x28f2 012078 branch mesh_le_send_adv 
+:      012080 ali_mesh_advertising_bearer_layer_generate_header:
+0x28f3 012081 setarg company_id_alibaba_and_vid_gatt 
+0x28f4 012082 store 3 ,mem_mesh_receive_service_uuid_ios_data_company_id 
+0x28f5 012083 setarg provisioning_send_ios_data 
+0x28f6 012084 store 1 ,mem_mesh_receive_service_uuid_ios_data_provisioning_type 
+0x28f7 012085 fetch 1 ,mem_k2_nid 
+0x28f8 012086 store 1 ,mem_mesh_receive_service_uuid_ios_data_nid 
+0x28f9 012087 fetch 1 ,mem_mesh_queue_ele_gatt_msg_id 
+0x28fa 012088 store 1 ,mem_mesh_receive_service_uuid_ios_data_msg_id 
+0x28fb 012090 fetch 1 ,mem_mesh_queue_ele_duration 
+0x28fc 012091 isolate1 bit_of_app_package_num ,pdata 
+0x28fd 012092 call ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param 
+0x28fe 012093 store 1 ,mem_mesh_receive_service_uuid_ios_data_package_num 
+0x28ff 012094 storet 1 ,mem_mesh_receive_service_uuid_ios_data_length 
+0x2900 012095 rtn 
+:      012098 ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param:
+0x2901 012099 arg mem_mesh_queue_ele_payload + 2 ,rega 
+0x2902 012100 arg max_app_mssage_payload_length ,temp 
+0x2903 012101 setarg 0x21 
+0x2904 012102 nrtn true 
+0x2905 012103 arg mem_mesh_queue_ele_payload + 20 ,rega 
+0x2906 012104 fetcht 1 ,mem_mesh_queue_ele_len 
+0x2907 012105 increase -18 ,temp 
+0x2908 012106 setarg 0x22 
+0x2909 012107 rtn 
+:      012115 ali_mesh_advertising_add_adtype_flags:
+0x290a 012116 arg mem_mesh_adv_data ,contw 
+0x290b 012117 setarg 0x02 
+0x290c 012118 istore 1 ,contw 
+0x290d 012119 setarg gap_adtype_flags 
+0x290e 012120 istore 1 ,contw 
+0x290f 012121 setarg 0x02 
+0x2910 012122 istore 1 ,contw 
+0x2911 012123 rtn 
+:      012127 ali_mesh_advertising_add_adtype_16bit_complete:
+0x2912 012128 arg mesh_provisioning_uuid ,temp 
+0x2913 012129 setarg 0x03 
+0x2914 012130 istore 1 ,contw 
+0x2915 012131 setarg gap_adtype_16bit_complete 
+0x2916 012132 istore 1 ,contw 
+0x2917 012133 istoret 2 ,contw 
+0x2918 012134 rtn 
+:      012136 mesh_receive_advertising:
+0x2919 012137 branch mesh_le_scan_adv 
+:      012139 mesh_le_scan_adv:
+0x291a 012140 call le_enable 
+0x291b 012141 call le_init_adv 
+0x291c 012142 call mesh_le_wait_adv 
+0x291d 012143 nrtn match 
+0x291e 012144 fetch 1 ,mem_le_adv_rcv 
+0x291f 012145 pincrease 1 
+0x2920 012146 store 1 ,mem_le_adv_rcv 
+0x2921 012147 fetch 2 ,mem_mesh_cb_receive_advertising 
+0x2922 012148 call callback_func 
+0x2923 012149 branch le_disable 
+:      012151 mesh_le_wait_adv:
+0x2924 012152 fetch 2 ,mem_mesh_scan_selete_next_ch 
+0x2925 012153 branch callback_func 
+:      012155 mesh_le_wait_adv_cb:
+0x2926 012156 call mesh_le_calc_next_scan_channel 
+0x2927 012157 branch le_receive_adv 
+:      012159 mesh_le_calc_next_scan_channel:
+0x2928 012160 fetch 1 ,mem_mesh_adv_scan_channel 
+0x2929 012161 pincrease 1 
+0x292a 012162 store 1 ,mem_mesh_adv_scan_channel 
+0x292b 012163 store 1 ,mem_le_ch_mapped 
+0x292c 012164 rtnne 40 
+0x292d 012165 jam 37 ,mem_mesh_adv_scan_channel 
+0x292e 012166 jam 37 ,mem_le_ch_mapped 
+0x292f 012167 rtn 
+:      012170 mesh_check_ble_rx_packet:
+0x2930 012171 fetch 1 ,mem_le_rxbuf 
+0x2931 012172 and pdata ,0x0f ,pdata 
+0x2932 012173 beq adv_ind ,ali_mesh_match_advertising_packet 
+0x2933 012174 beq adv_nonconn_ind ,ali_mesh_match_advertising_packet 
+0x2934 012175 rtn 
+:      012177 ali_mesh_match_advertising_packet:
+0x2935 012178 ifetcht 1 ,contr 
+0x2936 012179 sub temp ,adv_packet_min_length ,null 
+0x2937 012180 rtn positive 
+0x2938 012181 sub temp ,adv_packet_max_length ,null 
+0x2939 012182 nrtn positive 
+0x293a 012183 add temp ,-6 ,rega 
+0x293b 012184 add contr ,6 ,regb 
+:      012186 ali_mesh_find_adv_ind_packet:
+0x293c 012187 ifetcht 1 ,regb 
+0x293d 012188 sub temp ,ad_type_min_length ,null 
+0x293e 012189 rtn positive 
+0x293f 012190 sub temp ,ad_type_max_length ,null 
+0x2940 012191 nrtn positive 
+0x2941 012192 copy temp ,pdata 
+0x2942 012193 rtn blank 
+0x2943 012194 bpatchx patch3d_7 ,mem_patch3d 
+0x2944 012195 ifetch 1 ,contr 
+0x2945 012196 beq gap_adtype_manufacturer_specific ,ali_mesh_receive_adtype_manufacturer_specific 
+0x2946 012197 beq gap_adtype_mesh_message ,ali_mesh_receive_adtype_mesh_message 
+0x2947 012198 beq gap_adtype_128bit_complete ,ali_mesh_receive_adtype_128bit_uuid_complete 
+0x2948 012200 add temp ,1 ,pdata 
+0x2949 012201 isub rega ,null 
+0x294a 012202 rtn positive 
+0x294b 012203 iadd regb ,regb 
+0x294c 012204 sub temp ,-1 ,pdata 
+0x294d 012205 iadd rega ,rega 
+0x294e 012206 copy rega ,pdata 
+0x294f 012207 rtn blank 
+0x2950 012208 branch ali_mesh_find_adv_ind_packet 
+:      012211 mesh_le_send_adv:
+0x2951 012212 fetch 1 ,mem_le_adv_transmit 
+0x2952 012213 pincrease 1 
+0x2953 012214 store 1 ,mem_le_adv_transmit 
+0x2954 012215 bpatchx patch3e_0 ,mem_patch3e 
+0x2955 012216 call le_enable 
+0x2956 012217 arg 39 ,loopcnt 
+0x2957 012218 arg mem_le_txheader ,contr 
+0x2958 012219 arg mem_le_txheader_mesh_temp ,contw 
+0x2959 012220 call memcpy_fast 
+0x295a 012221 jam 37 ,mem_le_ch_mapped 
+0x295b 012222 arg 1800 ,stop_watch 
+0x295c 012223 disable match 
+:      012225 mesh_le_send_adv_loop:
+0x295d 012226 call le_init_adv 
+0x295e 012227 call mesh_le_send_adv_nonconn_ind 
+0x295f 012228 random pdata 
+0x2960 012229 arg 0x1ff ,temp 
+0x2961 012230 iand temp ,pdata 
+0x2962 012231 add pdata ,100 ,pdata 
+0x2963 012232 call delay 
+0x2964 012233 fetch 1 ,mem_le_ch_mapped 
+0x2965 012234 pincrease 1 
+0x2966 012235 store 1 ,mem_le_ch_mapped 
+0x2967 012236 bne 40 ,mesh_le_send_adv_loop 
+0x2968 012238 arg 39 ,loopcnt 
+0x2969 012239 arg mem_le_txheader ,contw 
+0x296a 012240 arg mem_le_txheader_mesh_temp ,contr 
+0x296b 012241 call memcpy_fast 
+0x296c 012242 branch le_disable 
+:      012244 mesh_le_send_adv_nonconn_ind:
+0x296d 012245 arg adv_nonconn_ind ,temp 
+0x296e 012246 storet 1 ,mem_le_txheader 
+0x296f 012247 fetcht 1 ,mem_mesh_adv_data_len 
+0x2970 012248 add temp ,6 ,pdata 
+0x2971 012249 store 1 ,mem_le_txlen 
+0x2972 012250 fetch 6 ,mem_le_lap 
+0x2973 012251 store 6 ,mem_le_txpayload 
+0x2974 012252 copy temp ,loopcnt 
+0x2975 012253 arg mem_mesh_adv_data ,contr 
+0x2976 012254 call memcpy_fast 
+0x2977 012255 branch le_transmit_norx 
+:      012265 ali_mesh_base_adt_cache:
+0x2978 012266 bpatchx patch3e_1 ,mem_patch3e 
+0x2979 012267 fetcht 2 ,mem_ccm_data_ptr 
+0x297a 012268 fetch 1 ,mem_ccm_data_len 
+0x297b 012269 copy temp ,contr 
+0x297c 012270 arg mem_k4_salt ,rega 
+0x297d 012271 arg mem_k4_t ,alarm 
+0x297e 012272 call ali_mesh_encrypt_base_function_aes_cmac 
+0x297f 012273 call disable_user 
+0x2980 012274 copy regc ,pdata 
+0x2981 012275 iadd alarm ,contr 
+0x2982 012276 fetcht 4 ,mem_k4_t 
+0x2983 012277 fetch 2 ,mem_mesh_mic_cache_ptr 
+0x2984 012278 copy pdata ,rega 
+0x2985 012280 arg transport_mic_cache_space_num ,loopcnt 
+:      012281 ali_mesh_base_adt_cache_loop:
+0x2986 012282 ifetch 4 ,rega 
+0x2987 012283 branch ali_mesh_base_adt_cache_empty_space ,blank 
+0x2988 012284 isub temp ,null 
+0x2989 012285 rtn zero 
+0x298a 012286 increase transport_mic_cache_space_size ,rega 
+0x298b 012287 loop ali_mesh_base_adt_cache_loop 
+0x298c 012288 fetch 2 ,mem_mesh_mic_cache_ptr 
+0x298d 012289 copy pdata ,contw 
+0x298e 012290 add pdata ,transport_mic_cache_space_size ,contr 
+0x298f 012293 arg transport_mic_cache_total_size ,loopcnt 
+0x2990 012294 call memcpy_fast 
+0x2991 012295 istoret 4 ,contw 
+0x2992 012296 branch enable_user 
+:      012297 ali_mesh_base_adt_cache_empty_space:
+0x2993 012298 istoret 4 ,rega 
+0x2994 012299 branch enable_user 
+:      012301 ali_mesh_chip_peripherals_load_data_from_eep:
+0x2995 012302 call ali_mesh_chip_peripherals_load_three_tuple_from_eep 
+0x2996 012303 call ali_mesh_chip_peripherals_load_network_key_from_eep 
+0x2997 012304 call ali_mesh_chip_peripherals_load_application_key_from_eep 
+0x2998 012305 call ali_mesh_chip_peripherals_load_device_key_from_eep 
+0x2999 012306 call ali_mesh_chip_peripherals_load_reset_count_from_eep 
+0x299a 012307 call ali_mesh_chip_peripherals_load_seq_from_eep 
+0x299b 012308 branch ali_mesh_chip_peripherals_load_subscription_from_eep 
+:      012310 ali_mesh_chip_peripherals_load_three_tuple_from_eep:
+0x299c 012311 arg mesh_eep_three_tuple_length ,temp 
+0x299d 012312 arg mem_mesh_three_tuple_productid ,rega 
+0x299e 012313 arg mesh_eep_three_tuple_offset ,regb 
+0x299f 012314 branch iicd_read_eep_data 
+:      012316 ali_mesh_chip_peripherals_load_network_key_from_eep:
+0x29a0 012317 arg mesh_eep_network_key_length ,temp 
+0x29a1 012318 arg mem_mesh_network_key ,rega 
+0x29a2 012319 arg mesh_eep_network_key_offset ,regb 
+0x29a3 012320 call iicd_read_eep_data 
+0x29a4 012321 fetch 1 ,mem_mesh_last_iv_index_byte 
+0x29a5 012322 store 1 ,mem_mesh_iv_index + 3 
+0x29a6 012323 rtn 
+:      012325 ali_mesh_chip_peripherals_load_application_key_from_eep:
+0x29a7 012326 arg mesh_eep_application_key_length ,temp 
+0x29a8 012327 arg mem_mesh_application_key ,rega 
+0x29a9 012328 arg mesh_eep_application_key_offset ,regb 
+0x29aa 012329 branch iicd_read_eep_data 
+:      012331 ali_mesh_chip_peripherals_load_device_key_from_eep:
+0x29ab 012332 arg mesh_eep_device_key_length ,temp 
+0x29ac 012333 arg mem_mesh_device_key ,rega 
+0x29ad 012334 arg mesh_eep_device_key_offset ,regb 
+0x29ae 012335 branch iicd_read_eep_data 
+:      012337 ali_mesh_chip_peripherals_load_reset_count_from_eep:
+0x29af 012338 rtn 
+:      012340 ali_mesh_chip_peripherals_load_seq_from_eep:
+0x29b0 012341 arg mesh_eep_seq_length ,temp 
+0x29b1 012342 arg mem_mesh_send_message_seq ,rega 
+0x29b2 012343 arg mesh_eep_seq_offset ,regb 
+0x29b3 012344 branch iicd_read_eep_data 
+:      012346 ali_mesh_chip_peripherals_load_subscription_from_eep:
+0x29b4 012347 fetch 2 ,mem_mesh_core_feature 
+0x29b5 012348 rtnbit1 mesh_feature_disable_subscription 
+0x29b6 012349 arg mesh_eep_subscription_total_length ,temp 
+0x29b7 012350 arg mem_mesh_subscription_eep_temp ,rega 
+0x29b8 012351 arg mesh_eep_subscription_offset ,regb 
+0x29b9 012352 call iicd_read_eep_data 
+0x29ba 012353 call mesh_get_element_info_config 
+0x29bb 012354 arg mem_mesh_subscription_eep_temp ,contr 
+0x29bc 012355 add rega ,element_device_subscription_label ,rega 
+:      012356 ali_mesh_chip_peripherals_load_subscription_from_eep_loop:
+0x29bd 012357 copy rega ,contw 
+0x29be 012358 call memcpy16 
+0x29bf 012359 copy regb ,pdata 
+0x29c0 012360 iadd rega ,rega 
+0x29c1 012361 loop ali_mesh_chip_peripherals_load_subscription_from_eep_loop 
+0x29c2 012362 rtn 
+:      012364 mesh_receive_config_appkey_add_cb:
+0x29c3 012365 call ali_mesh_chip_peripherals_save_network_key_from_eep 
+0x29c4 012366 call ali_mesh_chip_peripherals_save_application_key_from_eep 
+0x29c5 012367 branch ali_mesh_chip_peripherals_save_device_key_from_eep 
+:      012369 ali_mesh_chip_peripherals_save_network_key_from_eep:
+0x29c6 012370 arg mesh_eep_network_key_length ,temp 
+0x29c7 012371 arg mem_mesh_network_key ,rega 
+0x29c8 012372 arg mesh_eep_network_key_offset ,regb 
+0x29c9 012373 branch iicd_write_protect_eep_data 
+:      012375 ali_mesh_chip_peripherals_save_application_key_from_eep:
+0x29ca 012376 arg mesh_eep_application_key_length ,temp 
+0x29cb 012377 arg mem_mesh_application_key ,rega 
+0x29cc 012378 arg mesh_eep_application_key_offset ,regb 
+0x29cd 012379 branch iicd_write_protect_eep_data 
+:      012381 ali_mesh_chip_peripherals_save_device_key_from_eep:
+0x29ce 012382 arg mesh_eep_device_key_length ,temp 
+0x29cf 012383 arg mem_mesh_device_key ,rega 
+0x29d0 012384 arg mesh_eep_device_key_offset ,regb 
+0x29d1 012385 branch iicd_write_protect_eep_data 
+:      012387 mesh_store_new_seq_data:
+:      012388 ali_mesh_chip_peripherals_save_seq_from_eep:
+0x29d2 012389 arg mesh_eep_seq_length ,temp 
+0x29d3 012390 arg mem_mesh_send_message_seq ,rega 
+0x29d4 012391 arg mesh_eep_seq_offset ,regb 
+0x29d5 012392 branch iicd_write_protect_eep_data 
+:      012394 mesh_store_new_subscriptuion_list_data:
+0x29d6 012395 call ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep 
+0x29d7 012396 arg mesh_eep_subscription_total_length ,temp 
+0x29d8 012397 arg mem_mesh_subscription_eep_temp ,rega 
+0x29d9 012398 arg mesh_eep_subscription_offset ,regb 
+0x29da 012399 branch iicd_write_protect_eep_data 
+:      012401 ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep:
+0x29db 012402 call mesh_get_element_info_config 
+0x29dc 012403 arg mem_mesh_subscription_eep_temp ,contw 
+0x29dd 012404 add rega ,element_device_subscription_label ,rega 
+:      012405 ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop:
+0x29de 012406 copy rega ,contr 
+0x29df 012407 call memcpy16 
+0x29e0 012408 copy regb ,pdata 
+0x29e1 012409 iadd rega ,rega 
+0x29e2 012410 loop ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop 
+0x29e3 012411 rtn 
+:      012416 logging_tx_debug:
+0x29e4 012417 arg logging_debug ,temp 
+0x29e5 012418 branch logging_tx_common 
+:      012424 logging_tx_info:
+0x29e6 012425 arg logging_info ,temp 
+0x29e7 012426 branch logging_tx_common 
+:      012432 logging_tx_warning:
+0x29e8 012433 arg logging_warning ,temp 
+0x29e9 012434 branch logging_tx_common 
+:      012440 logging_tx_error:
+0x29ea 012441 arg logging_error ,temp 
+0x29eb 012442 branch logging_tx_common 
+:      012448 logging_tx_critical:
+0x29ec 012449 arg logging_critical ,temp 
+0x29ed 012450 branch logging_tx_common 
+:      012457 logging_tx_common:
+0x29ee 012458 bpatchx patch3e_2 ,mem_patch3e 
+0x29ef 012459 call push_stack 
+0x29f0 012460 fetch 1 ,mem_mesh_core_feature 
+0x29f1 012461 bbit1 mesh_feature_disable_log ,pop_stack 
+0x29f2 012462 call uartb_prepare_tx_register_push 
+0x29f3 012463 setarg lua_log_packet_header 
+0x29f4 012464 istore 1 ,contwu 
+0x29f5 012465 setarg lua_log_pakcet_type 
+0x29f6 012466 istore 1 ,contwu 
+0x29f7 012467 add loopcnt ,4 ,pdata 
+0x29f8 012468 istore 1 ,contwu 
+0x29f9 012469 istorer temp ,2 ,contwu 
+0x29fa 012470 istorer regb ,2 ,contwu 
+0x29fb 012471 copy rega ,contr 
+0x29fc 012472 call uart_copy_tx_bytes_fast 
+0x29fd 012473 setarg lua_log_packet_trail 
+0x29fe 012474 istore 1 ,contwu 
+0x29ff 012475 call uartb_send_register_pop 
+0x2a00 012476 branch pop_stack 
+:      012478 mesh_uart_init:
+0x2a01 012479 fetch 1 ,mem_mesh_core_feature 
+0x2a02 012480 rtnbit1 mesh_feature_disable_log 
+0x2a03 012481 jam gpcfg_uartb_txd ,core_gpio_conf + 11 
+0x2a04 012482 jam gpcfg_uartb_rxd | gpcfg_pullup ,core_gpio_conf + 12 
+0x2a05 012483 call mesh_uart_init_buffer 
+0x2a06 012484 arg 921600 ,temp 
+0x2a07 012485 call uartb_calc_baud_rate_config 
+0x2a08 012486 call uart_clock_select_main_freq_crystal 
+0x2a09 012487 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+0x2a0a 012488 storet 1 ,core_uartb_ctrl 
+0x2a0b 012489 rtn 
+:      012491 mesh_uart_init_buffer:
+0x2a0c 012492 setarg mem_mesh_uart_log_rx_buff 
+0x2a0d 012493 store 2 ,mem_pdatatemp 
+0x2a0e 012494 setarg mem_mesh_uart_log_rx_buff_end 
+0x2a0f 012495 istore 2 ,contw 
+0x2a10 012496 setarg mem_mesh_uart_log_tx_buff 
+0x2a11 012497 istore 2 ,contw 
+0x2a12 012498 setarg mem_mesh_uart_log_tx_buff_end 
+0x2a13 012499 istore 2 ,contw 
+0x2a14 012500 fetch 8 ,mem_pdatatemp 
+0x2a15 012501 branch uartb_init_dma_mem 
+:      012508 ali_mesh_control_ble_adv_process:
+0x2a16 012509 call ali_mesh_control_ble_adv_tmall_packet 
+0x2a17 012510 branch ali_mesh_control_ble_adv_app_packet 
+:      012513 ali_mesh_control_ble_adv_timer_process:
+0x2a18 012514 call ali_mesh_advertising_unprovisioned_timer_interval_timer 
+0x2a19 012515 branch ali_mesh_advertising_unprovisioned_timer 
+:      012518 ali_mesh_control_ble_advertising_on_advertising:
+0x2a1a 012519 jam device_beacon_on ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2a1b 012520 rtn 
+:      012523 ali_mesh_control_ble_advertising_off_advertising:
+0x2a1c 012524 jam device_beacon_off ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2a1d 012525 rtn 
+:      012530 ali_mesh_control_ble_adv_app_packet:
+0x2a1e 012531 arg ali_mesh_control_ble_adv_app_packet_paired ,regb 
+0x2a1f 012532 arg mesh_adv_app_message_interval ,rega 
+0x2a20 012533 arg mesh_ble_adv_app ,queue 
+0x2a21 012534 branch ali_mesh_chip_timer_check_with_random_timer 
+:      012536 ali_mesh_control_ble_adv_app_packet_paired:
+0x2a22 012537 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a23 012538 rtnne paired_status 
+0x2a24 012539 arg ali_mesh_control_ble_adv_app_packet_paired_deal ,regc 
+0x2a25 012540 branch ali_mesh_check_all_element_info 
+:      012543 ali_mesh_control_ble_adv_tmall_packet:
+0x2a26 012544 arg ali_mesh_control_ble_adv_tmall_packet_send_package ,regb 
+0x2a27 012545 arg mesh_adv_tmall_message_interval ,rega 
+0x2a28 012546 arg mesh_ble_adv_tmall ,queue 
+0x2a29 012547 branch ali_mesh_chip_timer_check_with_random_timer 
+:      012550 ali_mesh_control_ble_adv_app_packet_paired_deal:
+0x2a2a 012551 add rega ,element_device_tran_package_type ,contr 
+0x2a2b 012552 ifetch 1 ,contr 
+0x2a2c 012553 rtnbit0 bit_upper_tran_app_message 
+0x2a2d 012554 call ali_mesh_advertising_bearer_layer_init_queue_param 
+0x2a2e 012555 call queue_get_new_ele 
+0x2a2f 012556 nrtn user 
+0x2a30 012557 fetch 1 ,mem_mesh_queue_ele_len 
+0x2a31 012558 pincrease -2 
+0x2a32 012559 store 1 ,mem_mesh_queue_ele_len 
+0x2a33 012561 fetch 1 ,mem_mesh_queue_ele_duration 
+0x2a34 012563 setflip bit_of_app_package_num ,pdata 
+0x2a35 012564 istore 1 ,regb 
+0x2a36 012565 branch ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer 
+:      012569 ali_mesh_control_ble_adv_tmall_packet_send_package:
+0x2a37 012570 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a38 012571 beq paired_status ,ali_mesh_control_ble_advertising_send_paired_packet 
+0x2a39 012572 beq pairing_status ,ali_mesh_control_ble_advertising_send_pairing_packet 
+0x2a3a 012573 branch ali_mesh_control_ble_advertising_send_device_beacon_packet 
+:      012576 ali_mesh_control_ble_advertising_send_paired_packet:
+0x2a3b 012577 arg ali_mesh_control_ble_advertising_send_paired_packet_deal ,regc 
+0x2a3c 012578 branch ali_mesh_check_all_element_info 
+:      012580 ali_mesh_control_ble_advertising_send_paired_packet_deal:
+0x2a3d 012581 call ali_mesh_advertising_bearer_layer_init_queue_param 
+0x2a3e 012582 call queue_get_new_ele 
+0x2a3f 012583 nrtn user 
+0x2a40 012584 fetch 1 ,mem_mesh_queue_ele_duration 
+0x2a41 012585 pincrease -1 
+0x2a42 012586 istore 1 ,regb 
+0x2a43 012587 bbit1 bit_of_adv_in_off ,ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off 
+0x2a44 012588 and pdata ,0x3f ,pdata 
+0x2a45 012589 call ali_mesh_control_ble_advertising_send_paired_packet_end_duration ,blank 
+0x2a46 012590 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2a47 012591 add rega ,element_device_tran_package_type ,contr 
+0x2a48 012592 ifetch 1 ,contr 
+0x2a49 012593 bbit1 bit_uuper_tran_proxy_message ,ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy 
+0x2a4a 012594 rtnbit0 bit_upper_tran_tmall_message 
+0x2a4b 012595 arg mem_mesh_adv_data_len ,contw 
+0x2a4c 012596 arg mem_mesh_queue_ele_len ,contr 
+0x2a4d 012597 call memcpy32 
+0x2a4e 012598 branch mesh_le_send_adv 
+:      012600 ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy:
+0x2a4f 012601 arg mem_mesh_queue_ele_duration ,rega 
+0x2a50 012602 call queue_pop 
+0x2a51 012603 call queue_empty 
+0x2a52 012604 nrtn blank 
+0x2a53 012605 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2a54 012606 add rega ,element_device_upper_adv_flag ,contw 
+0x2a55 012607 setarg null_packet_advertising 
+0x2a56 012608 istore 1 ,contw 
+0x2a57 012609 branch ali_mesh_control_ble_advertising_off_advertising 
+:      012612 ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off:
+0x2a58 012613 and pdata ,0x3f ,pdata 
+0x2a59 012614 nrtn blank 
+0x2a5a 012615 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2a5b 012616 add rega ,element_device_upper_adv_flag ,contw 
+0x2a5c 012617 setarg null_packet_advertising 
+0x2a5d 012618 istore 1 ,contw 
+0x2a5e 012619 branch queue_init 
+:      012622 ali_mesh_control_ble_advertising_send_paired_packet_end_duration:
+0x2a5f 012623 arg mem_mesh_queue_ele_duration ,rega 
+0x2a60 012624 call queue_pop 
+0x2a61 012625 call queue_empty 
+0x2a62 012626 nrtn blank 
+0x2a63 012628 jam adv_pairing_mesh_message_interval ,mem_mesh_queue_ele_duration 
+0x2a64 012629 branch queue_push 
+:      012632 ali_mesh_control_ble_advertising_send_device_beacon_packet:
+0x2a65 012633 call ali_mesh_config_device_uuid_by_three_tuple 
+0x2a66 012634 call ali_mesh_send_unprovisioned_beacons_tmall 
+0x2a67 012635 call ali_mesh_advertising_send_unprovisioned_beacons_gatt 
+0x2a68 012636 call ali_mesh_control_ble_advertising_device_beacon_check_duration 
+0x2a69 012637 nrtn zero 
+0x2a6a 012638 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a6b 012639 beq silence_beacon_status ,ali_mesh_end_advertising_silence_device_beacon_packet 
+0x2a6c 012640 beq unprovisioned_beacon_status ,ali_mesh_end_advertising_unprovisioned_device_beacon_packet 
+0x2a6d 012641 rtn 
+:      012645 ali_mesh_control_ble_advertising_device_beacon_check_duration:
+0x2a6e 012646 fetch 1 ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a6f 012647 add pdata ,-1 ,pdata 
+0x2a70 012648 store 1 ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a71 012649 rtn 
+:      012652 ali_mesh_end_advertising_silence_device_beacon_packet:
+0x2a72 012653 jam adv_silence_device_beacon_interval ,mem_mesh_advertising_unprovisioned_device_beacon_interval 
+0x2a73 012654 branch ali_mesh_control_ble_advertising_off_advertising 
+:      012657 ali_mesh_end_advertising_unprovisioned_device_beacon_packet:
+0x2a74 012658 jam adv_unprovisioned_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_interval 
+0x2a75 012659 branch ali_mesh_control_ble_advertising_off_advertising 
+:      012662 ali_mesh_control_ble_advertising_send_pairing_packet:
+0x2a76 012663 call ali_mesh_advertising_timer 
+0x2a77 012664 branch mesh_le_send_adv 
+:      012667 ali_mesh_chip_timer_check_with_random_timer:
+0x2a78 012668 random pdata 
+0x2a79 012669 and pdata ,0x07 ,pdata 
+0x2a7a 012670 iadd rega ,rega 
+:      012674 ali_mesh_chip_timer_check:
+0x2a7b 012675 fetch 1 ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2a7c 012676 rtnne device_beacon_on 
+0x2a7d 012677 call timer_check 
+0x2a7e 012678 nrtn blank 
+0x2a7f 012679 copy rega ,pdata 
+0x2a80 012680 call timer_init 
+0x2a81 012681 copy regb ,pdata 
+0x2a82 012682 branch callback_func 
+:      012686 ali_mesh_advertising_unprovisioned_timer:
+0x2a83 012687 arg mem_mesh_advertising_unprovisioned_device_beacon_timer ,regc 
+0x2a84 012688 arg ali_mesh_advertising_unprovisioned_timeout ,regb 
+0x2a85 012689 branch timer_single_step_2b 
+:      012692 ali_mesh_advertising_unprovisioned_timeout:
+0x2a86 012693 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a87 012694 rtnne unprovisioned_beacon_status 
+0x2a88 012695 fetch 1 ,mem_mesh_uuid_featureflag 
+0x2a89 012696 set1 bit_silence_adv_flag ,pdata 
+0x2a8a 012697 store 1 ,mem_mesh_uuid_featureflag 
+0x2a8b 012698 jam silence_beacon_status ,mem_mesh_provisioned_flag 
+0x2a8c 012699 branch ali_mesh_send_silence_device_beacon_init_advertising 
+:      012704 ali_mesh_advertising_unprovisioned_timer_interval_timer:
+0x2a8d 012705 arg mem_mesh_advertising_unprovisioned_device_beacon_interval ,regc 
+0x2a8e 012706 arg ali_mesh_advertising_unprovisioned_timer_interval_timeout ,regb 
+0x2a8f 012707 branch timer_single_step 
+:      012712 ali_mesh_advertising_unprovisioned_timer_interval_timeout:
+0x2a90 012713 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a91 012714 beq silence_beacon_status ,ali_mesh_send_silence_device_beacon_init_advertising 
+0x2a92 012715 beq unprovisioned_beacon_status ,ali_mesh_send_unprovisioned_device_beacon_init_advertising 
+0x2a93 012717 rtn 
+:      012724 ali_mesh_send_unprovisioned_device_beacon_init_advertising:
+0x2a94 012725 jam adv_unprovisioned_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a95 012726 branch ali_mesh_control_ble_advertising_on_advertising 
+:      012729 ali_mesh_send_silence_device_beacon_init_advertising:
+0x2a96 012730 jam adv_silence_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a97 012731 branch ali_mesh_control_ble_advertising_on_advertising 
+:      012738 ali_mesh_encrypt_calc_random_data:
+0x2a98 012739 call ali_mesh_encrypt_calc_random_data_calc_confirmationkey 
+0x2a99 012740 call ali_mesh_encrypt_calc_random_data_calc_authvalueprov 
+0x2a9a 012741 call ali_mesh_encrypt_calc_random_data_calc_authvaluedevice 
+0x2a9b 012742 call ali_mesh_encrypt_calc_random_data_calc_confirmationcloud 
+0x2a9c 012743 call ali_mesh_encrypt_calc_random_data_calc_confirmationdevice 
+0x2a9d 012744 branch ali_mesh_encrypt_calc_random_data_calc_devicekey 
+:      012748 ali_mesh_encrypt_calc_random_data_calc_confirmationkey:
+0x2a9e 012749 call ali_mesh_encrypt_load_randomab_to_sha256 
+0x2a9f 012750 arg mem_mesh_sha256_confirmationkey_ascii ,contr 
+0x2aa0 012751 arg 0xf ,loopcnt 
+0x2aa1 012752 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+0x2aa2 012753 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2aa3 012754 arg memresult ,contr 
+0x2aa4 012755 arg mem_mesh_confirmationkey ,contw 
+0x2aa5 012756 branch memcpy16 
+:      012761 ali_mesh_encrypt_calc_random_data_calc_authvalueprov:
+0x2aa6 012762 call ali_mesh_encrypt_load_three_tuple_to_sha256 
+0x2aa7 012763 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2aa8 012764 arg memresult ,contr 
+0x2aa9 012765 arg mem_mesh_authvalueprov ,contw 
+0x2aaa 012766 branch memcpy16 
+:      012770 ali_mesh_encrypt_calc_random_data_calc_authvaluedevice:
+0x2aab 012771 call ali_mesh_encrypt_load_three_tuple_to_sha256 
+0x2aac 012772 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2aad 012773 arg memresult ,contr 
+0x2aae 012774 arg mem_mesh_authvaluedevice ,contw 
+0x2aaf 012775 branch memcpy16 
+:      012780 ali_mesh_encrypt_calc_random_data_calc_confirmationcloud:
+0x2ab0 012781 fetch 8 ,mem_mesh_provisioning_random_a 
+0x2ab1 012782 store 8 ,mem_mesh_confirmationcloud_randoma 
+0x2ab2 012783 fetch 8 ,mem_mesh_provisioning_random_b 
+0x2ab3 012784 store 8 ,mem_mesh_confirmationcloud_randomb 
+0x2ab4 012786 arg mem_mesh_calc_confirmationcloud_data ,contr 
+0x2ab5 012787 arg mem_mesh_confirmationkey ,rega 
+0x2ab6 012788 arg mem_mesh_confirmationcloud ,alarm 
+0x2ab7 012789 branch ali_mesh_encrypt_base_function_aes_cmac_32byte 
+:      012795 ali_mesh_encrypt_calc_random_data_calc_confirmationdevice:
+0x2ab8 012796 arg mem_mesh_calc_confirmationdevice_data ,contr 
+0x2ab9 012797 arg mem_mesh_confirmationkey ,rega 
+0x2aba 012798 arg mem_mesh_confirmationdevice ,alarm 
+0x2abb 012799 branch ali_mesh_encrypt_base_function_aes_cmac_32byte 
+:      012804 ali_mesh_encrypt_calc_random_data_calc_devicekey:
+0x2abc 012805 arg mem_mesh_confirmationcloud ,contr 
+0x2abd 012806 arg 0x10 ,loopcnt 
+0x2abe 012807 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+0x2abf 012808 arg mem_mesh_sha256_devicekey_ascii ,contr 
+0x2ac0 012809 arg 9 ,loopcnt 
+0x2ac1 012810 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+0x2ac2 012811 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2ac3 012812 arg memresult ,contr 
+0x2ac4 012813 arg mem_mesh_device_key ,contw 
+0x2ac5 012814 branch memcpy16 
+:      012817 ali_mesh_encrypt_load_randomba_to_sha256:
+0x2ac6 012818 call ali_mesh_encrypt_load_randomb_to_sha256 
+:      012819 ali_mesh_encrypt_load_randoma_to_sha256:
+0x2ac7 012820 arg mem_mesh_provisioning_random_a ,contr 
+0x2ac8 012821 branch ali_mesh_encrypt_base_function_sha256_load_data_64bit 
+:      012823 ali_mesh_encrypt_load_randomab_to_sha256:
+0x2ac9 012824 call ali_mesh_encrypt_load_randoma_to_sha256 
+:      012825 ali_mesh_encrypt_load_randomb_to_sha256:
+0x2aca 012826 arg mem_mesh_provisioning_random_b ,contr 
+0x2acb 012827 branch ali_mesh_encrypt_base_function_sha256_load_data_64bit 
+:      012830 ali_mesh_encrypt_load_three_tuple_to_sha256:
+0x2acc 012831 arg mem_mesh_three_tuple_productid ,contr 
+0x2acd 012832 arg 4 ,loopcnt 
+0x2ace 012833 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma 
+0x2acf 012834 arg mem_mesh_three_tuple_mac ,contr 
+0x2ad0 012835 arg 6 ,loopcnt 
+0x2ad1 012836 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma 
+0x2ad2 012837 arg mem_mesh_three_tuple_secret ,contr 
+0x2ad3 012838 arg 0x10 ,loopcnt 
+0x2ad4 012839 branch ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+:      012844 ali_mesh_encrypt_calc_provisioning_data:
+0x2ad5 012845 call ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey 
+:      012847 ali_mesh_encrypt_calc_provisioning_data_xor_prov_data:
+0x2ad6 012848 arg mem_mesh_encrypt_provisioning_data ,rega 
+0x2ad7 012849 arg memresult ,regb 
+0x2ad8 012850 arg 0xb ,loopcnt 
+:      012851 ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop:
+0x2ad9 012852 ifetch 2 ,rega 
+0x2ada 012853 ifetcht 2 ,regb 
+0x2adb 012854 ixor temp ,pdata 
+0x2adc 012855 istore 2 ,rega 
+0x2add 012856 increase 2 ,rega 
+0x2ade 012857 increase 2 ,regb 
+0x2adf 012858 loop ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop 
+0x2ae0 012859 rtn 
+:      012865 ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey:
+0x2ae1 012866 arg mem_mesh_confirmationcloud ,contr 
+0x2ae2 012867 arg 0x10 ,loopcnt 
+0x2ae3 012868 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+0x2ae4 012869 arg mem_mesh_sha256_sessionkey_ascii ,contr 
+0x2ae5 012870 arg 0xa ,loopcnt 
+0x2ae6 012871 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+0x2ae7 012872 branch ali_mesh_encrypt_base_function_sha256_calc 
+:      012876 ali_mesh_encrypt_calc_network_key_by_k2:
+0x2ae8 012877 arg mem_mesh_network_key ,contr 
+0x2ae9 012878 arg mem_k2_n ,contw 
+0x2aea 012879 call memcpy16 
+:      012883 ali_mesh_encrypt_base_function_k2:
+0x2aeb 012885 arg mem_k2_n ,contr 
+0x2aec 012886 arg mem_k2_salt ,rega 
+0x2aed 012887 arg mem_k2_t ,alarm 
+0x2aee 012888 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+0x2aef 012890 arg mem_k2_t1 ,alarm 
+0x2af0 012891 arg 0x01 ,regb 
+0x2af1 012892 setarg 0 
+0x2af2 012893 call ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+0x2af3 012894 fetch 1 ,mem_k2_t1 + 15 
+0x2af4 012895 and pdata ,0x7f ,pdata 
+0x2af5 012896 store 1 ,mem_k2_nid 
+0x2af6 012898 arg mem_k2_t2 ,alarm 
+0x2af7 012899 arg 0x02 ,regb 
+0x2af8 012900 setarg 0x10 
+0x2af9 012901 arg mem_k2_t1 ,rega 
+0x2afa 012902 call ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+0x2afb 012904 arg mem_k2_t3 ,alarm 
+0x2afc 012905 arg 0x03 ,regb 
+0x2afd 012906 setarg 0x10 
+0x2afe 012907 arg mem_k2_t2 ,rega 
+0x2aff 012908 branch ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+:      012910 ali_mesh_encrypt_base_function_k4:
+0x2b00 012912 arg mem_mesh_application_key ,contr 
+0x2b01 012913 arg mem_k4_salt ,rega 
+0x2b02 012914 arg mem_k4_t ,alarm 
+0x2b03 012915 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+0x2b04 012916 arg mem_k4_id6_01 ,contr 
+0x2b05 012917 arg mem_k4_t ,rega 
+0x2b06 012918 arg mem_k4_k4n ,alarm 
+0x2b07 012919 setarg 4 
+0x2b08 012920 call ali_mesh_encrypt_base_function_aes_cmac 
+0x2b09 012921 fetch 1 ,mem_k4_k4n + 15 
+0x2b0a 012922 and pdata ,0x3f ,pdata 
+0x2b0b 012923 set1 transport_head_bit_akf ,pdata 
+0x2b0c 012924 store 1 ,mem_mesh_transport_aid 
+0x2b0d 012925 rtn 
+:      012927 ali_mesh_encrypt_base_function_k3:
+0x2b0e 012929 arg mem_mesh_network_key ,contr 
+0x2b0f 012930 arg mem_k3_salt ,rega 
+0x2b10 012931 arg mem_k3_t ,alarm 
+0x2b11 012932 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+0x2b12 012933 arg mem_k3_id64_01 ,contr 
+0x2b13 012934 arg mem_k3_t ,rega 
+0x2b14 012935 arg mem_k3_k4n ,alarm 
+0x2b15 012936 setarg 5 
+0x2b16 012937 call ali_mesh_encrypt_base_function_aes_cmac 
+0x2b17 012939 call ali_mesh_proxy_init_adv 
+0x2b18 012941 fetch 2 ,mem_ui_state_map 
+0x2b19 012942 rtnbit1 ui_state_ble_connected 
+0x2b1a 012943 jam 1 ,mem_le_adv_enable 
+0x2b1b 012944 rtn 
+:      012948 ali_mesh_encrypt_obfuscation_deceypt_send_message:
+0x2b1c 012949 arg mem_mesh_send_upper_layer_ctl_and_ttl ,rega 
+0x2b1d 012950 fetch 7 ,mem_mesh_send_upper_layer_dst 
+0x2b1e 012951 branch ali_mesh_encrypt_obfuscation_deceypt 
+:      012952 ali_mesh_encrypt_obfuscation_deceypt_recevie_message:
+0x2b1f 012953 arg mem_mesh_message_ttl ,rega 
+0x2b20 012954 fetch 7 ,mem_mesh_message_dst 
+:      012955 ali_mesh_encrypt_obfuscation_deceypt:
+0x2b21 012956 store 7 ,mem_mesh_privacy_plaintext_privacy_random 
+0x2b22 012957 setarg 0 
+0x2b23 012958 store 5 ,mem_mesh_privacy_plaintext_zero_string 
+0x2b24 012959 call ali_mesh_encrypt_generate_pecb 
+0x2b25 012960 fetch 6 ,mem_mesh_pecb 
+0x2b26 012961 ifetcht 6 ,rega 
+0x2b27 012962 ixor temp ,pdata 
+0x2b28 012963 istore 6 ,rega 
+0x2b29 012964 rtn 
+:      012966 ali_mesh_encrypt_generate_pecb:
+:      012967 ali_mesh_encrypt_generate_privacy_random:
+0x2b2a 012968 fetch 4 ,mem_mesh_iv_index 
+0x2b2b 012969 store 4 ,mem_mesh_privacy_plaintext_iv_index 
+:      012971 ali_mesh_encrypt_base_function_generate_pecb:
+0x2b2c 012972 arg mem_k2_privacykey ,contr 
+0x2b2d 012973 call load_key 
+0x2b2e 012974 arg mem_mesh_privacy_plaintext ,contr 
+0x2b2f 012975 call load_data128 
+0x2b30 012976 call do_aes_ocb 
+0x2b31 012977 arg mem_mesh_pecb ,contw 
+0x2b32 012978 branch store_aes_result 
+:      012985 ali_mesh_encrypt_base_function_sha256_load_data_64bit:
+0x2b33 012986 arg 8 ,loopcnt 
+:      012991 ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii:
+0x2b34 012992 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+0x2b35 012993 call ali_mesh_encrypt_base_function_hex2ascii 
+0x2b36 012994 branch ali_mesh_encrypt_base_function_sha256_store_dataptr 
+:      012995 ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii:
+0x2b37 012996 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+0x2b38 012997 call memcpy 
+0x2b39 012998 branch ali_mesh_encrypt_base_function_sha256_store_dataptr 
+:      012999 ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma:
+0x2b3a 013000 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+0x2b3b 013001 call ali_mesh_encrypt_base_function_hex2ascii 
+0x2b3c 013002 setarg comma 
+0x2b3d 013003 istore 1 ,contw 
+:      013004 ali_mesh_encrypt_base_function_sha256_store_dataptr:
+0x2b3e 013005 copy contw ,pdata 
+0x2b3f 013006 store 2 ,mem_mesh_sha256_data_end_addr 
+0x2b40 013007 rtn 
+:      013008 ali_mesh_encrypt_base_function_sha256_check_first_load_data:
+0x2b41 013009 copy contr ,temp 
+0x2b42 013010 copy loopcnt ,rega 
+0x2b43 013011 fetch 2 ,mem_mesh_sha256_data_end_addr 
+0x2b44 013012 copy pdata ,contw 
+0x2b45 013013 fetch 1 ,mem_mesh_sha256_load_first_data_flag 
+0x2b46 013014 call ali_mesh_encrypt_base_function_sha256_first_load_data ,blank 
+0x2b47 013015 copy temp ,contr 
+0x2b48 013016 copy rega ,loopcnt 
+0x2b49 013017 rtn 
+:      013018 ali_mesh_encrypt_base_function_sha256_first_load_data:
+0x2b4a 013019 jam 1 ,mem_mesh_sha256_load_first_data_flag 
+0x2b4b 013020 call ali_mesh_encrypt_base_function_sha256_clear_data_chunk 
+0x2b4c 013021 arg mem_mesh_sha256_chunk_start ,contw 
+0x2b4d 013022 rtn 
+:      013024 ali_mesh_encrypt_base_function_sha256_clear_data_chunk:
+0x2b4e 013025 arg 0x20 ,loopcnt 
+0x2b4f 013026 arg mem_mesh_sha256_chunk_start ,contw 
+0x2b50 013027 branch memset0 
+:      013031 ali_mesh_encrypt_base_function_sha256_calc:
+0x2b51 013032 call ali_mesh_encrypt_base_function_sha256_load_data_end 
+0x2b52 013033 arg mesh_encrypt_sha256_function_input ,regb 
+0x2b53 013034 arg mem_mesh_sha256_chunk_start ,rega 
+0x2b54 013035 fetchr loopcnt ,8 ,mem_mesh_sha256_data_len_byte 
+0x2b55 013036 call logging_tx_debug 
+0x2b56 013037 call ali_mesh_encrypt_base_function_sha256_input_data_init_inverse 
+0x2b57 013039 setarg mem_mesh_sha256_chunk_start 
+0x2b58 013040 store 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b59 013041 call sha_init 
+:      013042 ali_mesh_encrypt_base_function_sha256_calc_loop:
+0x2b5a 013043 fetch 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b5b 013044 copy pdata ,contr 
+0x2b5c 013045 arg memdat ,contw 
+0x2b5d 013046 call memcpy64 
+0x2b5e 013047 call sha 
+0x2b5f 013048 fetch 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b60 013049 pincrease 64 
+0x2b61 013050 store 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b62 013051 fetch 1 ,mem_mesh_sha256_chunk_count 
+0x2b63 013052 pincrease -1 
+0x2b64 013053 store 1 ,mem_mesh_sha256_chunk_count 
+0x2b65 013054 nbranch ali_mesh_encrypt_base_function_sha256_calc_loop ,blank 
+0x2b66 013055 call sha_result 
+0x2b67 013056 arg memresult ,rega 
+0x2b68 013057 arg 0x20 ,loopcnt 
+0x2b69 013058 call inverse_data 
+0x2b6a 013059 arg mesh_encrypt_sha256_function_result ,regb 
+0x2b6b 013060 arg memresult ,rega 
+0x2b6c 013061 arg 0x20 ,loopcnt 
+0x2b6d 013062 branch logging_tx_debug 
+:      013065 ali_mesh_encrypt_base_function_sha256_load_data_end:
+0x2b6e 013066 jam 0 ,mem_mesh_sha256_load_first_data_flag 
+0x2b6f 013067 fetch 2 ,mem_mesh_sha256_data_end_addr 
+0x2b70 013068 copy pdata ,contw 
+0x2b71 013069 arg 0x80 ,temp 
+0x2b72 013070 istoret 1 ,contw 
+0x2b73 013071 arg mem_mesh_sha256_chunk_start ,temp 
+0x2b74 013072 isub temp ,pdata 
+0x2b75 013073 store 8 ,mem_mesh_sha256_data_len_byte 
+0x2b76 013075 lshift3 pdata ,temp 
+0x2b77 013076 storet 8 ,mem_mesh_sha256_data_len_bit 
+0x2b78 013077 rshift4 pdata ,regc 
+0x2b79 013078 rshift2 regc ,regc 
+0x2b7a 013079 and pdata ,0x3f ,pdata 
+0x2b7b 013080 sub pdata ,55 ,null 
+0x2b7c 013082 ncall ali_mesh_encrypt_base_function_sha256_add_chunk ,positive 
+0x2b7d 013083 add regc ,1 ,pdata 
+0x2b7e 013084 store 1 ,mem_mesh_sha256_chunk_count 
+0x2b7f 013085 mul32 pdata ,64 ,rega 
+0x2b80 013086 lshift4 pdata ,regc 
+0x2b81 013087 increase -1 ,regc 
+0x2b82 013088 setarg mem_mesh_sha256_chunk_start + decreased_four 
+0x2b83 013089 iadd rega ,rega 
+0x2b84 013090 fetch 4 ,mem_mesh_sha256_data_len_bit 
+0x2b85 013091 istore 4 ,rega 
+0x2b86 013092 rtn 
+:      013096 ali_mesh_encrypt_base_function_sha256_add_chunk:
+0x2b87 013097 increase 1 ,regc 
+0x2b88 013098 rtn 
+:      013100 ali_mesh_encrypt_base_function_sha256_input_data_init_inverse:
+0x2b89 013101 arg mem_mesh_sha256_chunk_start ,rega 
+:      013106 ali_mesh_encrypt_base_function_sha256_data_inverse_4byte:
+0x2b8a 013107 arg 4 ,loopcnt 
+0x2b8b 013108 call inverse_data 
+0x2b8c 013109 increase 2 ,rega 
+0x2b8d 013110 add regc ,-1 ,regc 
+0x2b8e 013111 nbranch ali_mesh_encrypt_base_function_sha256_data_inverse_4byte ,zero 
+0x2b8f 013112 rtn 
+:      013119 ali_mesh_encrypt_base_function_hex2ascii:
+0x2b90 013120 ifetch 1 ,contr 
+0x2b91 013121 rshift4 pdata ,temp 
+0x2b92 013122 call ali_mesh_encrypt_base_function_dialog2uchar 
+0x2b93 013123 istoret 1 ,contw 
+0x2b94 013124 and pdata ,0x0f ,temp 
+0x2b95 013125 call ali_mesh_encrypt_base_function_dialog2uchar 
+0x2b96 013126 istoret 1 ,contw 
+0x2b97 013127 loop ali_mesh_encrypt_base_function_hex2ascii 
+0x2b98 013128 rtn 
+:      013129 ali_mesh_encrypt_base_function_dialog2uchar:
+0x2b99 013130 sub temp ,9 ,null 
+0x2b9a 013131 branch ali_mesh_encrypt_base_function_dialog2uchar_num ,positive 
+0x2b9b 013132 add temp ,87 ,temp 
+0x2b9c 013133 rtn 
+:      013134 ali_mesh_encrypt_base_function_dialog2uchar_num:
+0x2b9d 013135 add temp ,48 ,temp 
+0x2b9e 013136 rtn 
+:      013139 ali_mesh_encrypt_base_function_aes_cmac_32byte:
+0x2b9f 013140 setarg 0x20 
+0x2ba0 013141 branch ali_mesh_encrypt_base_function_aes_cmac 
+:      013143 ali_mesh_encrypt_base_function_aes_cmac_16byte:
+0x2ba1 013144 setarg 0x10 
+0x2ba2 013145 branch ali_mesh_encrypt_base_function_aes_cmac 
+:      013150 ali_mesh_encrypt_base_function_k2_aes_cmac_t:
+0x2ba3 013151 fetcht 1 ,mem_k2_p_len 
+0x2ba4 013152 increase 1 ,temp 
+0x2ba5 013153 iadd temp ,temp 
+0x2ba6 013154 storet 1 ,mem_aes_cmac_data_length 
+0x2ba7 013155 copy rega ,contr 
+0x2ba8 013156 copy pdata ,loopcnt 
+0x2ba9 013157 call memcpy_fast 
+0x2baa 013158 fetcht 1 ,mem_k2_p_len 
+0x2bab 013159 copy temp ,loopcnt 
+0x2bac 013160 call memcpy 
+0x2bad 013161 copy regb ,pdata 
+0x2bae 013162 istore 1 ,contw 
+0x2baf 013163 arg mem_k2_t ,rega 
+0x2bb0 013164 branch ali_mesh_encrypt_base_function_aes_cmac + 3 
+:      013173 ali_mesh_encrypt_base_function_aes_cmac:
+0x2bb1 013174 store 1 ,mem_aes_cmac_data_length 
+0x2bb2 013175 copy pdata ,loopcnt 
+0x2bb3 013176 call memcpy_fast 
+0x2bb4 013177 copy rega ,contr 
+0x2bb5 013178 arg mem_aes_cmac_k ,contw 
+0x2bb6 013179 call memcpy16 
+0x2bb7 013180 arg mesh_encrypt_aes_cmac_function_input_m ,regb 
+0x2bb8 013181 arg memdat ,rega 
+0x2bb9 013182 fetchr loopcnt ,1 ,mem_aes_cmac_data_length 
+0x2bba 013183 call logging_tx_debug 
+0x2bbb 013184 arg mesh_encrypt_aes_cmac_function_input_k ,regb 
+0x2bbc 013185 arg mem_aes_cmac_k ,rega 
+0x2bbd 013186 arg 16 ,loopcnt 
+0x2bbe 013187 call logging_tx_debug 
+0x2bbf 013188 call function_aes_cmac 
+0x2bc0 013189 copy alarm ,contw 
+0x2bc1 013190 call store_aes_result 
+0x2bc2 013191 arg mesh_encrypt_aes_cmac_function_result ,regb 
+0x2bc3 013192 copy alarm ,rega 
+0x2bc4 013193 arg 16 ,loopcnt 
+0x2bc5 013194 branch logging_tx_debug 
+:      013198 ali_b0_block_generate:
+0x2bc6 013199 fetcht 1 ,mem_ccm_type 
+0x2bc7 013200 branch ali_block_generate 
+:      013201 ali_a_block_generate:
+0x2bc8 013202 force 0x01 ,temp 
+:      013203 ali_block_generate:
+0x2bc9 013204 force regidx_data ,regext_index 
+0x2bca 013205 fetch 2 ,mem_nonce_ptr 
+0x2bcb 013206 copy pdata ,contr 
+0x2bcc 013207 ifetch 3 ,contr 
+0x2bcd 013208 lshift8 pdata ,pdata 
+0x2bce 013209 ior temp ,regext 
+0x2bcf 013210 increase 1 ,regext_index 
+0x2bd0 013211 ifetch 4 ,contr 
+0x2bd1 013212 copy pdata ,regext 
+0x2bd2 013213 increase 1 ,regext_index 
+0x2bd3 013214 ifetch 4 ,contr 
+0x2bd4 013215 copy pdata ,regext 
+0x2bd5 013216 increase 1 ,regext_index 
+0x2bd6 013217 byteswap rega ,regext 
+0x2bd7 013218 lshift16 regext ,regext 
+0x2bd8 013219 ifetch 2 ,contr 
+0x2bd9 013220 ior regext ,regext 
+0x2bda 013221 rtn 
+:      013222 ali_generate_mic:
+0x2bdb 013223 fetch 1 ,mem_ccm_data_len 
+0x2bdc 013224 copy pdata ,rega 
+0x2bdd 013225 call ali_b0_block_generate 
+0x2bde 013226 call do_aes_ocb 
+0x2bdf 013227 force regidx_result ,regext_index 
+0x2be0 013228 deposit regext 
+0x2be1 013229 copy rega ,loopcnt 
+0x2be2 013230 fetcht 2 ,mem_ccm_data_ptr 
+0x2be3 013231 copy temp ,contr 
+0x2be4 013232 call padding_data 
+0x2be5 013233 branch generate_mic_loop 
+:      013234 ali_ccm_encrypt_64bit:
+0x2be6 013235 jam mic_size_64bit ,mem_ccm_type 
+0x2be7 013236 branch ali_ccm_encrypt_function 
+:      013237 ali_ccm_encrypt:
+0x2be8 013238 jam mic_size_32bit ,mem_ccm_type 
+0x2be9 013239 branch ali_ccm_encrypt_function 
+:      013240 ali_ccm_encrypt_function:
+0x2bea 013241 store 1 ,mem_ccm_data_len 
+0x2beb 013242 storet 2 ,mem_ccm_data_ptr 
+0x2bec 013243 bpatchx patch3e_3 ,mem_patch3e 
+0x2bed 013244 call ali_generate_mic 
+0x2bee 013245 force regidx_xor ,regext_index 
+0x2bef 013246 iforce regext 
+0x2bf0 013247 force regidx_result + 1 ,regext_index 
+0x2bf1 013248 copy regext ,pdata 
+0x2bf2 013249 force regidx_xor + 1 ,regext_index 
+0x2bf3 013250 iforce regext 
+0x2bf4 013251 force 0 ,rega 
+0x2bf5 013252 copy temp ,regc 
+0x2bf6 013253 call ali_a_block_generate 
+0x2bf7 013254 call do_aes_ctr 
+0x2bf8 013255 call ali_fetcht_ccm_mic 
+0x2bf9 013256 storet 8 ,mem_ccm_mic 
+0x2bfa 013257 fetch 1 ,mem_ccm_data_len 
+0x2bfb 013258 copy pdata ,regb 
+0x2bfc 013259 call ali_aes_crypt_data 
+0x2bfd 013260 fetcht 1 ,mem_ccm_data_len 
+0x2bfe 013261 fetch 2 ,mem_ccm_data_ptr 
+0x2bff 013262 iadd temp ,rega 
+0x2c00 013263 fetcht 8 ,mem_ccm_mic 
+0x2c01 013264 istoret 4 ,rega 
+0x2c02 013265 fetch 1 ,mem_ccm_type 
+0x2c03 013266 sub pdata ,mic_size_32bit ,pdata 
+0x2c04 013267 rtn blank 
+0x2c05 013268 istoret 8 ,rega 
+0x2c06 013269 rtn 
+:      013270 ali_ccm_decrypt_64bit:
+0x2c07 013271 jam mic_size_64bit ,mem_ccm_type 
+0x2c08 013272 branch ali_ccm_decrypt_function 
+:      013273 ali_ccm_decrypt:
+0x2c09 013274 jam mic_size_32bit ,mem_ccm_type 
+0x2c0a 013275 branch ali_ccm_decrypt_function 
+:      013276 ali_ccm_decrypt_function:
+0x2c0b 013277 store 1 ,mem_ccm_data_len 
+0x2c0c 013278 storet 2 ,mem_ccm_data_ptr 
+0x2c0d 013279 copy temp ,regc 
+0x2c0e 013280 copy pdata ,regb 
+0x2c0f 013281 iadd regc ,contr 
+0x2c10 013282 bpatchx patch3e_4 ,mem_patch3e 
+0x2c11 013283 ifetch 8 ,contr 
+0x2c12 013284 force regidx_xor ,regext_index 
+0x2c13 013285 iforce regext 
+0x2c14 013286 force regidx_xor + 1 ,regext_index 
+0x2c15 013287 rshift32 pdata ,pdata 
+0x2c16 013288 iforce regext 
+0x2c17 013289 force 0 ,rega 
+0x2c18 013290 call ali_a_block_generate 
+0x2c19 013291 call do_aes_ctr 
+0x2c1a 013292 call ali_fetcht_ccm_mic 
+0x2c1b 013293 storet 8 ,mem_ccm_mic 
+0x2c1c 013294 call ali_aes_crypt_data 
+0x2c1d 013295 call ali_generate_mic 
+0x2c1e 013296 call ali_fetcht_ccm_mic 
+0x2c1f 013297 fetch 1 ,mem_ccm_type 
+0x2c20 013298 beq mic_size_64bit ,ali_ccm_decrypt_function_check_mic64 
+0x2c21 013299 storet 4 ,mem_ccm_mic + 4 
+0x2c22 013300 fetch 4 ,mem_ccm_mic 
+0x2c23 013301 fetcht 4 ,mem_ccm_mic + 4 
+0x2c24 013302 isub temp ,pdata 
+0x2c25 013303 rtn 
+:      013305 ali_ccm_decrypt_function_check_mic64:
+0x2c26 013306 fetch 8 ,mem_ccm_mic 
+0x2c27 013307 isub temp ,pdata 
+0x2c28 013308 rtn 
+:      013310 ali_fetcht_ccm_mic:
+0x2c29 013311 force regidx_result ,regext_index 
+0x2c2a 013312 deposit regext 
+0x2c2b 013313 force regidx_result + 1 ,regext_index 
+0x2c2c 013314 copy regext ,temp 
+0x2c2d 013315 lshift16 temp ,temp 
+0x2c2e 013316 lshift16 temp ,temp 
+0x2c2f 013317 ior temp ,temp 
+0x2c30 013318 rtn 
+:      013319 ali_aes_crypt_data:
+0x2c31 013320 increase 1 ,rega 
+0x2c32 013321 call ali_a_block_generate 
+0x2c33 013322 copy regc ,contr 
+0x2c34 013323 call aes_load_xor 
+0x2c35 013324 call do_aes_ctr 
+0x2c36 013325 call store_enc_data 
+0x2c37 013326 increase 16 ,regc 
+0x2c38 013327 increase -16 ,regb 
+0x2c39 013328 branch ali_aes_crypt_data ,positive 
+0x2c3a 013329 rtn 
+:      013339 mesh_send_unprovisioned_beacons:
+0x2c3b 013340 jam unprovisioned_beacon_status ,mem_mesh_provisioned_flag 
+0x2c3c 013341 jam 0x00 ,mem_mesh_provisioning_state_flag 
+0x2c3d 013342 jam 1 ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2c3e 013343 setarg adv_unprovisioned_device_beacon_timeout 
+0x2c3f 013344 store 2 ,mem_mesh_advertising_unprovisioned_device_beacon_timer 
+0x2c40 013345 rtn 
+:      013348 ali_mesh_config_device_uuid_by_three_tuple:
+0x2c41 013349 setarg company_identifiers_alibaba 
+0x2c42 013350 store 2 ,mem_mesh_device_uuid 
+0x2c43 013351 fetch 1 ,mem_mesh_device_pid 
+0x2c44 013352 istore 1 ,contw 
+0x2c45 013353 fetch 4 ,mem_mesh_three_tuple_productid 
+0x2c46 013354 call inverse_data_4byte 
+0x2c47 013355 istore 4 ,contw 
+0x2c48 013356 fetch 6 ,mem_le_lap 
+0x2c49 013357 istore 6 ,contw 
+0x2c4a 013358 fetch 3 ,mem_mesh_uuid_featureflag 
+0x2c4b 013359 istore 3 ,contw 
+0x2c4c 013360 rtn 
+:      013362 ali_mesh_send_unprovisioned_beacons_tmall:
+0x2c4d 013363 call ali_mesh_init_adv_data_tmall_unprovisioned_beacons_package 
+0x2c4e 013364 branch mesh_le_send_adv 
+:      013366 ali_mesh_init_adv_data_tmall_unprovisioned_beacons_package:
+0x2c4f 013368 jam 0x15 ,mem_mesh_adv_data_len 
+0x2c50 013369 setarg 0x14 
+0x2c51 013370 store 1 ,mem_mesh_adv_data 
+0x2c52 013371 setarg gap_adtype_mesh_beacon 
+0x2c53 013372 istore 1 ,contw 
+0x2c54 013373 setarg unprovisioned_device_beacon 
+0x2c55 013374 istore 1 ,contw 
+:      013375 ali_mesh_advertising_send_unprovisioned_beacons_store_device_uuid:
+0x2c56 013376 arg mem_mesh_device_uuid ,contr 
+0x2c57 013377 call memcpy16 
+0x2c58 013378 fetch 2 ,mem_mesh_oob_information 
+0x2c59 013379 istore 2 ,contw 
+0x2c5a 013380 rtn 
+:      013383 ali_mesh_advertising_send_unprovisioned_beacons_gatt:
+0x2c5b 013384 fetch 1 ,mem_mesh_core_feature 
+0x2c5c 013385 rtnbit1 mesh_feature_disable_app_pairing 
+0x2c5d 013386 call ali_mesh_init_adv_data_gatt_unprovisioned_beacons_package 
+0x2c5e 013387 branch mesh_le_send_adv 
+:      013389 ali_mesh_init_adv_data_gatt_unprovisioned_beacons_package:
+0x2c5f 013390 jam 0x1d ,mem_mesh_adv_data_len 
+0x2c60 013391 call ali_mesh_advertising_add_adtype_flags 
+0x2c61 013392 call ali_mesh_advertising_add_adtype_16bit_complete 
+0x2c62 013393 call ali_mesh_advertising_add_adtype_service_data 
+0x2c63 013394 branch ali_mesh_advertising_send_unprovisioned_beacons_store_device_uuid 
+:      013397 ali_mesh_advertising_add_adtype_service_data:
+0x2c64 013398 setarg 0x15 
+0x2c65 013399 istore 1 ,contw 
+0x2c66 013400 setarg gap_adtype_service_data 
+0x2c67 013401 istore 1 ,contw 
+0x2c68 013402 istoret 2 ,contw 
+0x2c69 013403 rtn 
+:      013406 ali_mesh_receive_adtype_manufacturer_specific:
+0x2c6a 013407 add temp ,-1 ,loopcnt 
+0x2c6b 013408 call ali_mesh_receive_provisioning_package_check_header 
+0x2c6c 013409 nrtn user 
+0x2c6d 013410 ifetch 1 ,contr 
+0x2c6e 013411 beq provisioning_random ,ali_mesh_advertising_receive_privisioning_random 
+0x2c6f 013412 beq provisioning_data ,ali_mesh_advertising_receive_privisioning_data 
+0x2c70 013413 beq provisioning_ios_data ,ali_mesh_advertising_receive_privisioning_ios_data 
+0x2c71 013414 rtn 
+:      013418 ali_mesh_advertising_receive_privisioning_random:
+0x2c72 013419 call ali_mesh_advertising_receive_privisioning_random_check_states 
+0x2c73 013420 nrtn user 
+:      013421 ali_mesh_advertising_calc_encrypt_random_data:
+0x2c74 013422 call ali_mesh_encrypt_calc_random_data 
+0x2c75 013424 call ali_mesh_advertising_send_provisioning_confirmation 
+0x2c76 013425 branch loggint_tx_info_send_confirmation_packet 
+:      013427 ali_mesh_advertising_send_provisioning_confirmation:
+0x2c77 013428 arg provisioning_packet_confirmation_mac + provisioning_packet_confirmation_device ,temp 
+0x2c78 013429 call ali_mesh_advertising_send_packet_common 
+0x2c79 013430 setarg provisioning_confirmation 
+0x2c7a 013431 istore 1 ,contw 
+0x2c7b 013432 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2c7c 013433 istore 2 ,contw 
+0x2c7d 013434 arg mem_mesh_confirmationdevice ,contr 
+0x2c7e 013435 branch memcpy16 
+:      013438 ali_mesh_advertising_receive_privisioning_random_check_states:
+0x2c7f 013439 call disable_user 
+0x2c80 013440 ifetcht 2 ,contr 
+0x2c81 013441 arg mem_mesh_provisioning_random_a ,contw 
+0x2c82 013442 call memcpy16 
+0x2c83 013443 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2c84 013444 isub temp ,null 
+0x2c85 013445 nrtn zero 
+0x2c86 013451 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2c87 013452 rtnbit1 receive_provisioning_random 
+0x2c88 013453 set1 receive_provisioning_random ,pdata 
+0x2c89 013454 store 1 ,mem_mesh_provisioning_state_flag 
+0x2c8a 013456 jam pairing_status ,mem_mesh_provisioned_flag 
+0x2c8b 013458 call loggint_tx_info_receive_random_packet 
+0x2c8c 013459 branch enable_user 
+:      013462 ali_mesh_advertising_receive_privisioning_data:
+0x2c8d 013463 copy contr ,rega 
+0x2c8e 013464 fetch 1 ,mem_mesh_provisioned_flag 
+0x2c8f 013465 rtneq paired_status 
+0x2c90 013466 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2c91 013467 rtnbit0 receive_provisioning_random 
+0x2c92 013468 rtnbit1 receive_provisioning_data 
+0x2c93 013469 copy rega ,contr 
+0x2c94 013470 arg 0x16 ,loopcnt 
+0x2c95 013471 arg mem_mesh_encrypt_provisioning_data ,contw 
+0x2c96 013472 call memcpy 
+0x2c97 013474 call ali_mesh_encrypt_calc_provisioning_data 
+0x2c98 013476 fetcht 2 ,mem_mesh_provisioning_data_mac_addr 
+0x2c99 013477 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2c9a 013478 isub temp ,null 
+0x2c9b 013479 nrtn zero 
+:      013480 ali_mesh_resolve_privisioning_data_package:
+0x2c9c 013481 call loggint_tx_info_receive_data_packet 
+0x2c9d 013482 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2c9e 013483 set1 receive_provisioning_data ,pdata 
+0x2c9f 013484 store 1 ,mem_mesh_provisioning_state_flag 
+0x2ca0 013486 call ali_mesh_encrypt_calc_network_key_by_k2 
+0x2ca1 013488 fetch 1 ,mem_mesh_last_iv_index_byte 
+0x2ca2 013489 store 1 ,mem_mesh_iv_index + 3 
+0x2ca3 013490 call ali_mesh_advertising_send_provisioning_complete 
+0x2ca4 013491 branch loggint_tx_info_send_complete_packet 
+:      013495 ali_mesh_advertising_send_provisioning_complete:
+0x2ca5 013496 arg provisioning_packet_complete_mac ,temp 
+0x2ca6 013497 call ali_mesh_advertising_send_packet_common 
+0x2ca7 013498 setarg provisioning_complete 
+0x2ca8 013499 istore 1 ,contw 
+0x2ca9 013500 fetch 6 ,mem_mesh_three_tuple_mac 
+0x2caa 013501 istore 6 ,contw 
+0x2cab 013502 rtn 
+:      013504 ali_mesh_advertising_receive_privisioning_ios_data:
+0x2cac 013505 arg max_length_privisioning_control_msg_android ,regb 
+0x2cad 013506 branch ali_mesh_resolve_app_control_msg_package 
+:      013510 ali_mesh_advertising_send_packet_common:
+0x2cae 013511 bpatchx patch3e_5 ,mem_patch3e 
+0x2caf 013512 call ali_mesh_advertising_reset_adv_timer 
+0x2cb0 013513 setarg 0x8fff 
+0x2cb1 013514 store 2 ,mem_mesh_send_packet_timeout 
+0x2cb2 013515 call ali_mesh_control_ble_advertising_on_advertising 
+0x2cb3 013516 add temp ,provisioning_packet_length_ad_type_company_id_vid_provisioning_type + provisioning_packet_length_flags ,pdata 
+0x2cb4 013517 store 1 ,mem_mesh_adv_data_len 
+0x2cb5 013518 call ali_mesh_advertising_add_adtype_flags 
+0x2cb6 013519 add temp ,provisioning_packet_ad_type_company_id_vid_provisioning_type ,pdata 
+0x2cb7 013520 istore 1 ,contw 
+0x2cb8 013521 setarg gap_adtype_manufacturer_specific 
+0x2cb9 013522 istore 1 ,contw 
+0x2cba 013523 setarg company_identifiers_alibaba 
+0x2cbb 013524 byteswap pdata ,pdata 
+0x2cbc 013525 istore 2 ,contw 
+0x2cbd 013526 fetch 1 ,mem_mesh_receive_vid 
+0x2cbe 013527 istore 1 ,contw 
+0x2cbf 013528 rtn 
+:      013533 ali_mesh_advertising_timer:
+0x2cc0 013535 fetch 4 ,mem_mesh_adv_last_time 
+0x2cc1 013536 nbranch ali_mesh_advertising_check_adv_timer ,blank 
+0x2cc2 013537 branch ali_mesh_advertising_reset_adv_timer 
+:      013539 ali_mesh_advertising_check_adv_timer:
+0x2cc3 013540 deposit clkn_bt 
+0x2cc4 013541 fetcht 4 ,mem_mesh_adv_last_time 
+0x2cc5 013542 isub temp ,temp 
+0x2cc6 013543 fetch 2 ,mem_mesh_send_packet_timeout 
+0x2cc7 013544 isub temp ,null 
+0x2cc8 013545 rtn positive 
+:      013546 ali_mesh_advertising_adv_timer_timeout:
+0x2cc9 013547 call ali_mesh_control_ble_advertising_off_advertising 
+0x2cca 013548 fetch 2 ,mem_mesh_cb_pairing_fail 
+0x2ccb 013549 branch callback_func 
+:      013550 ali_mesh_advertising_reset_adv_timer:
+0x2ccc 013551 deposit clkn_bt 
+0x2ccd 013552 store 4 ,mem_mesh_adv_last_time 
+0x2cce 013553 rtn 
+:      013556 logging_tx_debug_receive_provisioning_packet:
+0x2ccf 013557 add contr ,-3 ,rega 
+0x2cd0 013558 arg mesh_receive_provisioning_packet ,regb 
+0x2cd1 013559 branch logging_tx_debug 
+:      013561 loggint_tx_info_receive_random_packet:
+0x2cd2 013562 arg 1 ,loopcnt 
+0x2cd3 013563 arg mesh_receive_provisioning_random_packet ,regb 
+0x2cd4 013564 arg mem_mesh_provisioning_state_flag ,rega 
+0x2cd5 013565 branch logging_tx_info 
+:      013567 loggint_tx_info_send_confirmation_packet:
+0x2cd6 013568 fetchr loopcnt ,1 ,mem_mesh_adv_data_len 
+0x2cd7 013569 arg mesh_send_provisioning_confirmation_packet ,regb 
+0x2cd8 013570 arg mem_mesh_adv_data ,rega 
+0x2cd9 013571 branch logging_tx_info 
+:      013573 loggint_tx_info_receive_data_packet:
+0x2cda 013574 arg 1 ,loopcnt 
+0x2cdb 013575 arg mesh_receive_provisioning_data_packet ,regb 
+0x2cdc 013576 arg mem_mesh_provisioning_state_flag ,rega 
+0x2cdd 013577 branch logging_tx_info 
+:      013580 loggint_tx_info_send_complete_packet:
+0x2cde 013581 fetchr loopcnt ,1 ,mem_mesh_adv_data_len 
+0x2cdf 013582 arg mesh_send_provisioning_complete_packet ,regb 
+0x2ce0 013583 arg mem_mesh_adv_data ,rega 
+0x2ce1 013584 branch logging_tx_info 
+:      013588 ali_mesh_receive_adtype_128bit_uuid_complete:
+0x2ce2 013589 call ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid 
+0x2ce3 013590 nrtn user 
+0x2ce4 013591 fetch 1 ,mem_mesh_receive_service_uuid_ios_data_provisioning_type 
+0x2ce5 013592 beq provisioning_ios_data ,ali_mesh_ios_gatt_packet_parse_provisioning_app_control 
+:      013593 ali_mesh_ios_gatt_packet_pairing_type:
+0x2ce6 013594 fetch 1 ,mem_mesh_provisioned_flag 
+0x2ce7 013595 rtneq paired_status 
+0x2ce8 013596 rtneq silence_beacon_status 
+0x2ce9 013597 fetch 2 ,mem_mesh_receive_service_uuid_mac 
+0x2cea 013598 fetcht 2 ,mem_mesh_three_tuple_mac + 4 
+0x2ceb 013599 isub temp ,null 
+0x2cec 013600 nrtn zero 
+0x2ced 013601 arg mem_mesh_receive_service_uuid_msg_id ,rega 
+0x2cee 013602 arg max_length_privisioning_pairing_msg_ios ,regb 
+0x2cef 013603 call ali_mesh_app_control_package_check_integrity 
+0x2cf0 013604 rtn user 
+0x2cf1 013605 bpatchx patch3e_6 ,mem_patch3e 
+0x2cf2 013606 fetch 1 ,mem_mesh_receive_service_uuid_provisioning_type 
+0x2cf3 013607 beq provisioning_random ,ali_mesh_ios_gatt_packet_parse_provisioning_random 
+0x2cf4 013608 beq provisioning_data ,ali_mesh_ios_gatt_packet_parse_provisioning_data 
+0x2cf5 013609 beq provisioning_config ,ali_mesh_ios_gatt_packet_parse_provisioning_config 
+0x2cf6 013610 rtn 
+:      013613 ali_mesh_ios_gatt_packet_parse_provisioning_random:
+0x2cf7 013614 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2cf8 013615 store 2 ,mem_mesh_gatt_package_receive_mac 
+0x2cf9 013616 arg mem_mesh_gatt_package_receive_mac ,contr 
+0x2cfa 013617 branch ali_mesh_advertising_receive_privisioning_random 
+:      013620 ali_mesh_ios_gatt_packet_parse_provisioning_data:
+0x2cfb 013622 fetch 1 ,mem_mesh_provisioned_flag 
+0x2cfc 013623 rtneq paired_status 
+0x2cfd 013624 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2cfe 013625 rtnbit0 receive_provisioning_random 
+0x2cff 013626 rtnbit1 receive_provisioning_data 
+0x2d00 013627 arg mem_mesh_gatt_package_receive_msg_payload ,contr 
+0x2d01 013628 arg 0x14 ,loopcnt 
+0x2d02 013629 arg mem_mesh_keyfresh_and_update_flag ,contw 
+0x2d03 013630 call memcpy 
+0x2d04 013631 call ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey 
+0x2d05 013632 arg mem_mesh_keyfresh_and_update_flag ,rega 
+0x2d06 013633 arg memresult ,regb 
+0x2d07 013634 arg 0x0a ,loopcnt 
+0x2d08 013635 call ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop 
+0x2d09 013636 branch ali_mesh_resolve_privisioning_data_package 
+:      013639 ali_mesh_ios_gatt_packet_parse_provisioning_config:
+0x2d0a 013640 fetch 1 ,mem_mesh_provisioned_flag 
+0x2d0b 013641 rtnne unprovisioned_beacon_status 
+0x2d0c 013642 jam pairing_status ,mem_mesh_provisioned_flag 
+:      013644 ali_mesh_ios_gatt_packet_send_provisioning_config_ack:
+0x2d0d 013645 arg provisioning_config_ack_mac + provisioning_config_ack_field ,temp 
+0x2d0e 013646 call ali_mesh_advertising_send_packet_common 
+0x2d0f 013647 setarg provisioning_config_ack 
+0x2d10 013648 istore 1 ,contw 
+0x2d11 013649 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2d12 013650 istore 2 ,contw 
+0x2d13 013651 setarg provisioning_config_ack_note 
+0x2d14 013652 istore 1 ,contw 
+0x2d15 013653 rtn 
+:      013655 ali_mesh_ios_gatt_packet_parse_provisioning_app_control:
+0x2d16 013658 arg mem_mesh_receive_service_uuid_ios_data_nid ,contr 
+0x2d17 013659 arg max_length_privisioning_control_msg_ios ,regb 
+:      013660 ali_mesh_resolve_app_control_msg_package:
+0x2d18 013661 bpatchx patch3e_7 ,mem_patch3e 
+0x2d19 013662 ifetch 1 ,contr 
+0x2d1a 013663 copy contr ,rega 
+0x2d1b 013664 fetcht 1 ,mem_k2_nid 
+0x2d1c 013665 isub temp ,null 
+0x2d1d 013666 nrtn zero 
+0x2d1e 013667 call ali_mesh_advertising_reset_adv_timer 
+0x2d1f 013668 call ali_mesh_app_control_package_check_integrity 
+0x2d20 013669 rtn user 
+0x2d21 013670 jam mesh_message_app ,mem_mesh_network_packet_type 
+0x2d22 013671 fetcht 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+0x2d23 013672 increase 1 ,temp 
+0x2d24 013673 arg mem_mesh_gatt_package_receive_msg_payload ,contr 
+0x2d25 013674 branch ali_mesh_network_layer_recevice_network_pdu 
+:      013677 ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid:
+0x2d26 013678 arg mem_mesh_receive_service_uuid_company_id ,contw 
+0x2d27 013679 call memcpy16 
+0x2d28 013680 arg mem_mesh_receive_service_uuid_company_id ,rega 
+0x2d29 013681 arg 16 ,loopcnt 
+0x2d2a 013682 call inverse_data 
+0x2d2b 013683 arg 16 ,loopcnt 
+0x2d2c 013684 arg mem_mesh_receive_service_uuid_company_id ,contr 
+0x2d2d 013685 branch ali_mesh_receive_provisioning_package_check_header 
+:      013687 ali_mesh_receive_provisioning_package_check_header:
+0x2d2e 013688 call disable_user 
+0x2d2f 013689 ifetcht 2 ,contr 
+0x2d30 013690 setarg company_identifiers_alibaba 
+0x2d31 013691 byteswap pdata ,pdata 
+0x2d32 013692 isub temp ,null 
+0x2d33 013693 nrtn zero 
+0x2d34 013694 ifetch 1 ,contr 
+0x2d35 013695 store 1 ,mem_mesh_receive_vid 
+0x2d36 013696 call enable_user 
+0x2d37 013697 branch logging_tx_debug_receive_provisioning_packet 
+:      013700 ali_mesh_app_control_package_check_integrity:
+0x2d38 013701 bpatchx patch3f_0 ,mem_patch3f 
+0x2d39 013702 call ali_mesh_app_control_package_check_msgid_legal 
+0x2d3a 013703 branch ali_mesh_app_control_package_check_rev_complete 
+:      013706 ali_mesh_app_control_package_check_rev_complete:
+0x2d3b 013707 add rega ,gatt_package_package_num ,contr 
+0x2d3c 013708 ifetcht 1 ,contr 
+0x2d3d 013709 rshift4 temp ,pdata 
+0x2d3e 013710 beq 1 ,ali_mesh_gatt_package_check_integrity_unsegment 
+:      013711 ali_mesh_gatt_package_check_integrity_segment:
+0x2d3f 013712 sub pdata ,max_gatt_package_num ,null 
+0x2d40 013713 nbranch enable_user ,positive 
+0x2d41 013714 copy pdata ,loopcnt 
+0x2d42 013715 call ali_mesh_gatt_package_check_integrity_segment_expect_package_num 
+0x2d43 013716 and temp ,0x0f ,queue 
+0x2d44 013717 isub queue ,null 
+0x2d45 013718 call ali_mesh_gatt_package_check_integrity_segment_calc_total_length ,zero 
+0x2d46 013719 increase -1 ,queue 
+0x2d47 013720 fetch 1 ,mem_mesh_gatt_package_receive_msg_num 
+0x2d48 013721 qisolate1 pdata 
+0x2d49 013722 branch enable_user ,true 
+0x2d4a 013723 qset1 pdata 
+0x2d4b 013724 store 1 ,mem_mesh_gatt_package_receive_msg_num 
+0x2d4c 013725 add rega ,gatt_package_length ,contr 
+0x2d4d 013726 ifetch 1 ,contr 
+0x2d4e 013727 copy pdata ,loopcnt 
+0x2d4f 013728 copy regb ,pdata 
+0x2d50 013729 imul32 queue ,pdata 
+0x2d51 013730 arg mem_mesh_gatt_package_receive_msg_payload ,contw 
+0x2d52 013731 iadd contw ,contw 
+0x2d53 013732 call memcpy_fast 
+0x2d54 013733 fetch 1 ,mem_mesh_gatt_package_receive_msg_num 
+0x2d55 013734 isub regc ,null 
+0x2d56 013735 ncall enable_user ,zero 
+0x2d57 013736 nbranch ali_mesh_gatt_package_store_receive_msg_buffer ,zero 
+:      013737 ali_mesh_gatt_package_check_integrity_segment_complete:
+0x2d58 013738 call ali_mesh_gatt_package_clear_receive_msg_buffer 
+0x2d59 013739 branch disable_user 
+:      013742 ali_mesh_gatt_package_check_integrity_segment_calc_total_length:
+0x2d5a 013743 pincrease -1 
+0x2d5b 013744 imul32 regb ,pdata 
+0x2d5c 013745 add rega ,gatt_package_length ,contr 
+0x2d5d 013746 ifetcht 1 ,contr 
+0x2d5e 013747 iadd temp ,pdata 
+0x2d5f 013748 store 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+0x2d60 013749 rtn 
+:      013751 ali_mesh_gatt_package_check_integrity_segment_expect_package_num:
+0x2d61 013752 arg 0 ,regc 
+:      013753 ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop:
+0x2d62 013754 add loopcnt ,-1 ,queue 
+0x2d63 013755 qset1 regc 
+0x2d64 013756 loop ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop 
+0x2d65 013757 rtn 
+:      013760 ali_mesh_gatt_package_store_receive_msg_buffer:
+0x2d66 013761 fetch 2 ,mem_mesh_gatt_package_receive_msg_buffer_ptr 
+0x2d67 013762 copy pdata ,contw 
+0x2d68 013763 arg mem_mesh_gatt_package_receive_msg_buffer_temp ,contr 
+0x2d69 013764 arg 33 ,loopcnt 
+0x2d6a 013765 branch memcpy_fast 
+:      013768 ali_mesh_gatt_package_check_integrity_unsegment:
+0x2d6b 013769 ifetch 1 ,contr 
+0x2d6c 013770 copy pdata ,loopcnt 
+0x2d6d 013771 store 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+0x2d6e 013772 arg mem_mesh_gatt_package_receive_msg_payload ,contw 
+0x2d6f 013773 call memcpy 
+0x2d70 013774 branch disable_user 
+:      013778 ali_mesh_app_control_package_check_msgid_legal:
+0x2d71 013779 jam gatt_receive_timeout ,mem_mesh_gatt_receive_msg_timer 
+0x2d72 013780 call ali_mesh_gatt_package_get_msgid 
+0x2d73 013782 fetcht 2 ,mem_mesh_gatt_packet_receive_msg_buffer1 
+0x2d74 013783 isub temp ,null 
+0x2d75 013785 branch ali_mesh_gatt_package_load_receive_msg_buffer1 ,zero 
+0x2d76 013786 sub temp ,0 ,null 
+0x2d77 013788 branch ali_mesh_gatt_package_load_receive_msg_buffer1 ,zero 
+0x2d78 013790 fetcht 2 ,mem_mesh_gatt_packet_receive_msg_buffer2 
+0x2d79 013791 isub temp ,null 
+0x2d7a 013793 branch ali_mesh_gatt_package_load_receive_msg_buffer2 ,zero 
+0x2d7b 013794 sub temp ,0 ,null 
+0x2d7c 013796 branch ali_mesh_gatt_package_load_receive_msg_buffer2 ,zero 
+0x2d7d 013798 call ali_mesh_gatt_package_clear_receive_msg_buffer 
+0x2d7e 013799 call ali_mesh_gatt_package_get_msgid 
+0x2d7f 013800 branch ali_mesh_gatt_package_load_receive_msg_buffer1 
+:      013803 ali_mesh_gatt_package_get_msgid:
+0x2d80 013804 ifetch 1 ,rega 
+0x2d81 013805 rtn blank 
+0x2d82 013806 set1 8 ,pdata 
+0x2d83 013807 rtn 
+:      013809 ali_mesh_gatt_package_load_receive_msg_buffer1:
+0x2d84 013810 store 2 ,mem_mesh_gatt_packet_receive_msg_buffer1 
+0x2d85 013811 setarg mem_mesh_gatt_packet_receive_msg_buffer1 
+0x2d86 013812 branch ali_mesh_gatt_package_load_receive_msg_buffer 
+:      013813 ali_mesh_gatt_package_load_receive_msg_buffer2:
+0x2d87 013814 store 2 ,mem_mesh_gatt_packet_receive_msg_buffer2 
+0x2d88 013815 setarg mem_mesh_gatt_packet_receive_msg_buffer2 
+0x2d89 013816 branch ali_mesh_gatt_package_load_receive_msg_buffer 
+:      013817 ali_mesh_gatt_package_load_receive_msg_buffer:
+0x2d8a 013818 store 2 ,mem_mesh_gatt_package_receive_msg_buffer_ptr 
+0x2d8b 013819 copy pdata ,contr 
+0x2d8c 013820 arg mem_mesh_gatt_package_receive_msg_buffer_temp ,contw 
+0x2d8d 013821 arg gatt_receive_msg_buffer_size ,loopcnt 
+0x2d8e 013822 branch memcpy_fast 
+:      013825 ali_mesh_gatt_package_receive_timer:
+0x2d8f 013826 arg mem_mesh_gatt_receive_msg_timer ,regc 
+0x2d90 013827 arg ali_mesh_gatt_package_clear_receive_msg_buffer ,regb 
+0x2d91 013828 branch timer_single_step 
+:      013830 ali_mesh_gatt_package_clear_receive_msg_buffer:
+0x2d92 013831 arg mem_mesh_gatt_packet_receive_msg_buffer1 ,contw 
+0x2d93 013832 arg gatt_receive_msg_buffer_size + gatt_receive_msg_buffer_size ,loopcnt 
+0x2d94 013833 branch clear_mem 
+:      013839 ali_mesh_access_layer_config_or_health_message_opcode:
+0x2d95 013840 fetch 1 ,mem_mesh_configuration_health_message_opcode 
+0x2d96 013841 beq mesh_message_opcode_config_node_reset_no_head ,ali_mesh_access_layer_config_or_health_message_opcode_node_reset 
+0x2d97 013842 beq mesh_message_opcode_config_model_subscription_add_no_head ,ali_mesh_message_config_modle_subscription_add 
+0x2d98 013843 beq mesh_message_opcode_config_model_subscription_delete_no_head ,ali_mesh_message_config_modle_subscription_delete 
+0x2d99 013844 rtn 
+:      013847 ali_mesh_access_layer_config_or_health_message_opcode_node_reset:
+0x2d9a 013848 call ali_mesh_access_layer_send_config_node_reset_status 
+0x2d9b 013849 fetch 2 ,mem_mesh_cb_receive_node_reset 
+0x2d9c 013850 branch callback_func 
+:      013851 ali_mesh_access_layer_send_config_node_reset_status:
+0x2d9d 013852 setarg mesh_configuration_and_health_message_opcode_header 
+0x2d9e 013853 store 1 ,mem_mesh_access_layer_payload 
+0x2d9f 013854 setarg mesh_message_opcode_config_node_reset_status_no_head 
+0x2da0 013855 istore 1 ,contw 
+0x2da1 013856 jam 2 ,mem_mesh_access_layer_payload_len 
+0x2da2 013857 branch ali_mesh_upper_transport_layer_send_access_message 
+:      013860 ali_mesh_message_config_modle_subscription_add:
+0x2da3 013861 call ali_mesh_message_config_modle_subscription_status 
+0x2da4 013862 fetch 2 ,mem_mesh_core_feature 
+0x2da5 013863 rtnbit1 mesh_feature_disable_subscription 
+0x2da6 013864 call ali_mesh_message_config_modle_subscription_check_element 
+0x2da7 013865 call ali_mesh_message_config_modle_subscription_add_value_address 
+0x2da8 013866 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2da9 013867 branch callback_func 
+:      013870 ali_mesh_message_config_modle_subscription_delete:
+0x2daa 013871 call ali_mesh_message_config_modle_subscription_status 
+0x2dab 013872 fetch 2 ,mem_mesh_core_feature 
+0x2dac 013873 rtnbit1 mesh_feature_disable_subscription 
+0x2dad 013874 call ali_mesh_message_config_modle_subscription_check_element 
+0x2dae 013875 fetcht 2 ,mem_mesh_subscription_value_address 
+0x2daf 013876 rshift8 temp ,pdata 
+0x2db0 013877 rshift4 pdata ,pdata 
+0x2db1 013878 beq 0x0c ,ali_mesh_message_config_modle_subscription_delete_group_addr 
+0x2db2 013879 call ali_mesh_message_config_modle_subscription_check_value_address 
+0x2db3 013880 nrtn user 
+0x2db4 013881 setarg 0 
+0x2db5 013882 istore 2 ,rega 
+0x2db6 013883 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2db7 013884 branch callback_func 
+:      013886 ali_mesh_message_config_modle_subscription_delete_group_addr:
+0x2db8 013887 setarg -1 
+0x2db9 013888 istore subscription_max_count ,rega 
+0x2dba 013889 istore subscription_max_count ,contw 
+0x2dbb 013890 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2dbc 013891 branch callback_func 
+:      013893 ali_mesh_message_config_modle_subscription_check_value_address:
+0x2dbd 013894 arg subscription_max_count ,loopcnt 
+:      013895 ali_mesh_message_config_modle_subscription_check_value_address_loop:
+0x2dbe 013896 ifetch 2 ,rega 
+0x2dbf 013897 arg 0xffff ,regb 
+0x2dc0 013898 isub regb ,null 
+0x2dc1 013899 branch enable_user ,zero 
+0x2dc2 013900 isub temp ,null 
+0x2dc3 013901 branch enable_user ,zero 
+:      013902 ali_mesh_message_config_modle_subscription_check_value_address_loop_empty:
+0x2dc4 013903 increase 2 ,rega 
+0x2dc5 013904 loop ali_mesh_message_config_modle_subscription_check_value_address_loop 
+0x2dc6 013905 call disable_user 
+0x2dc7 013906 rtn 
+:      013909 ali_mesh_message_config_modle_subscription_status:
+0x2dc8 013910 setarg mesh_configuration_and_health_message_opcode_header 
+0x2dc9 013911 store 1 ,mem_mesh_access_layer_payload 
+0x2dca 013912 setarg mesh_message_opcode_config_model_subscription_status_no_head 
+0x2dcb 013913 istore 1 ,contw 
+0x2dcc 013914 setarg mesh_success 
+0x2dcd 013915 istore 1 ,contw 
+0x2dce 013916 fetch 6 ,mem_mesh_subscription_element_address 
+0x2dcf 013917 istore 6 ,contw 
+0x2dd0 013918 jam 9 ,mem_mesh_access_layer_payload_len 
+0x2dd1 013919 branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer 
+:      013921 ali_mesh_message_config_modle_subscription_check_element:
+0x2dd2 013922 call mesh_get_element_info_config 
+0x2dd3 013923 add rega ,element_device_subscription_label ,rega 
+0x2dd4 013924 fetch 2 ,mem_mesh_subscription_element_address 
+0x2dd5 013925 fetcht 2 ,mem_mesh_unicast_address 
+0x2dd6 013926 byteswap temp ,temp 
+0x2dd7 013927 isub temp ,pdata 
+0x2dd8 013928 imul32 regb ,pdata 
+0x2dd9 013929 iadd rega ,rega 
+0x2dda 013930 rtn 
+:      013932 ali_mesh_message_config_modle_subscription_add_value_address:
+0x2ddb 013933 fetcht 2 ,mem_mesh_subscription_value_address 
+0x2ddc 013934 arg subscription_max_count ,loopcnt 
+:      013935 ali_mesh_message_config_modle_subscription_add_value_address_loop:
+0x2ddd 013936 ifetch 2 ,rega 
+0x2dde 013937 branch ali_mesh_message_config_modle_subscription_add_value_address_in ,blank 
+0x2ddf 013938 arg 0xffff ,regb 
+0x2de0 013939 isub regb ,null 
+0x2de1 013940 branch ali_mesh_message_config_modle_subscription_add_value_address_in ,zero 
+0x2de2 013941 increase 2 ,rega 
+0x2de3 013942 loop ali_mesh_message_config_modle_subscription_add_value_address_loop 
+0x2de4 013943 rtn 
+:      013945 ali_mesh_message_config_modle_subscription_add_value_address_in:
+0x2de5 013946 byteswap temp ,temp 
+0x2de6 013947 istoret 2 ,rega 
+0x2de7 013948 rtn 
+:      013953 ali_mesh_init:
+0x2de8 013954 call init_memp 
+0x2de9 013956 setarg mesh_check_ble_rx_packet 
+0x2dea 013957 store 2 ,mem_mesh_cb_receive_advertising 
+0x2deb 013959 setarg mesh_idle_process 
+0x2dec 013960 store 2 ,mem_cb_idle_process 
+0x2ded 013962 setarg ali_mesh_network_layer_relay_access_message 
+0x2dee 013963 store 2 ,mem_mesh_cb_network_relay 
+0x2def 013965 setarg mesh_receive_config_appkey_add_cb 
+0x2df0 013966 store 2 ,mem_mesh_cb_receive_config_appkey_add 
+0x2df1 013968 setarg mesh_store_new_subscriptuion_list_data 
+0x2df2 013969 store 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2df3 013971 setarg mesh_store_new_seq_data 
+0x2df4 013972 store 2 ,mem_mesh_cb_seq_changed 
+0x2df5 013974 setarg mesh_cb_event_timer 
+0x2df6 013975 store 2 ,mem_cb_event_timer 
+0x2df7 013977 setarg ali_mesh_access_layer_check_access_message_opcode 
+0x2df8 013978 store 2 ,mem_mesh_cb_receive_access_message 
+0x2df9 013980 setarg mesh_le_wait_adv_cb 
+0x2dfa 013981 store 2 ,mem_mesh_scan_selete_next_ch 
+0x2dfb 013983 setarg mesh_le_receive_data 
+0x2dfc 013984 store 2 ,mem_cb_att_write 
+0x2dfd 013986 setarg ali_mesh_proxy_process_bb_event 
+0x2dfe 013987 store 2 ,mem_cb_bb_event_process 
+0x2dff 013989 jam 36 ,mem_mesh_adv_scan_channel 
+0x2e00 013990 call ali_mesh_ali_vendor_message_indication_info_reset_tid 
+0x2e01 013992 bpatchx patch3f_1 ,mem_patch3f 
+0x2e02 013993 call mesh_uart_init 
+0x2e03 013994 call mesh_iic_init 
+0x2e04 013995 arg mem_mesh_network_key ,rega 
+0x2e05 013996 arg mesh_code_init ,regb 
+0x2e06 013997 arg 1 ,loopcnt 
+0x2e07 013998 call logging_tx_info 
+0x2e08 014000 call ali_mesh_chip_peripherals_load_data_from_eep 
+0x2e09 014001 call mesh_inverse_three_tuple_mac 
+0x2e0a 014002 fetch 1 ,mem_mesh_network_key 
+0x2e0b 014003 beq 0xff ,mesh_send_unprovisioned_beacons 
+0x2e0c 014005 call ali_mesh_encrypt_base_function_k3 
+0x2e0d 014006 call ali_mesh_encrypt_base_function_k4 
+0x2e0e 014007 call ali_mesh_encrypt_calc_network_key_by_k2 
+0x2e0f 014008 branch ali_mesh_ali_vendor_message_opcode_device_power_on 
+:      014011 mesh_inverse_three_tuple_mac:
+0x2e10 014012 fetch 6 ,mem_mesh_three_tuple_mac 
+0x2e11 014013 call inverse_data_6byte 
+0x2e12 014014 store 6 ,mem_le_lap 
+0x2e13 014015 rtn 
+:      014017 mesh_get_element_info_config:
+0x2e14 014018 fetchr loopcnt ,1 ,mem_mesh_element_number 
+0x2e15 014019 fetchr rega ,2 ,mem_mesh_element_device_ptr 
+0x2e16 014020 fetchr regb ,2 ,mem_mesh_element_device_length 
+0x2e17 014021 rtn 
+:      014024 mesh_idle_process:
+0x2e18 014025 call ali_mesh_time_function 
+0x2e19 014026 call ali_mesh_control_ble_adv_process 
+0x2e1a 014027 call ali_mesh_upper_transport_layer_control_packet 
+0x2e1b 014028 call ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue 
+0x2e1c 014029 branch mesh_receive_advertising 
+:      014032 mesh_cb_event_timer:
+0x2e1d 014033 call ali_mesh_control_ble_adv_timer_process 
+0x2e1e 014034 branch ali_mesh_gatt_package_receive_timer 
+:      014037 ali_mesh_check_all_element_info:
+0x2e1f 014038 call mesh_get_element_info_config 
+:      014039 ali_mesh_check_all_element_info_loop:
+0x2e20 014040 call ali_mesh_more_element_push_stack 
+0x2e21 014041 copy regc ,pdata 
+0x2e22 014042 call callback_func 
+0x2e23 014043 call ali_mesh_more_element_pop_stack 
+0x2e24 014044 copy regb ,pdata 
+0x2e25 014045 iadd rega ,rega 
+0x2e26 014046 loop ali_mesh_check_all_element_info_loop 
+0x2e27 014047 rtn 
+:      014050 mesh_iic_init:
+0x2e28 014052 jam gpcfg_output_high ,core_gpio_conf + 2 
+0x2e29 014053 jam gpcfg_iic_scl | gpcfg_pullup ,core_gpio_conf + 1 
+0x2e2a 014054 jam gpcfg_iic_sda | gpcfg_pullup ,core_gpio_conf + 0 
+0x2e2b 014055 branch clear_eeprom_size_2k 
+:      014058 ali_mesh_lower_transport_layer_receive_lower_transport_pdu:
+0x2e2c 014059 bpatchx patch3f_2 ,mem_patch3f 
+0x2e2d 014060 fetch 1 ,mem_mesh_message_transport_head 
+0x2e2e 014061 bbit1 transport_head_bit_seg ,ali_mesh_lower_transport_layer_receive_lower_transport_pdu_segmented_message 
+0x2e2f 014062 jam 0 ,mem_mesh_aszmic 
+0x2e30 014063 branch ali_mesh_upper_transport_layer_receive_unsegmented_access_message 
+:      014066 ali_mesh_lower_transport_layer_receive_lower_transport_pdu_segmented_message:
+0x2e31 014067 call ali_mesh_lower_transport_layer_receive_segaccmess_resolve_szmic_seqzero_segon 
+0x2e32 014068 rtn user 
+0x2e33 014069 call ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack 
+0x2e34 014070 rtn user 
+0x2e35 014071 call ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment 
+0x2e36 014072 branch ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment 
+:      014076 ali_mesh_lower_transport_layer_receive_segaccmess_resolve_szmic_seqzero_segon:
+0x2e37 014077 call disable_user 
+0x2e38 014078 arg 3 ,loopcnt 
+0x2e39 014079 arg mem_mesh_message_segment_access_szmic_seqzero_sego_segn ,rega 
+0x2e3a 014080 call inverse_data 
+0x2e3b 014081 fetchr rega ,3 ,mem_mesh_message_segment_access_szmic_seqzero_sego_segn 
+0x2e3c 014082 and rega ,0x1f ,temp 
+0x2e3d 014083 storet 1 ,mem_mesh_segmented_access_message_segn 
+0x2e3e 014084 fetch 1 ,mem_mesh_segmented_access_message_segn_upper_limit 
+0x2e3f 014085 isub temp ,null 
+0x2e40 014086 nbranch enable_user ,positive 
+0x2e41 014088 rshift4 rega ,pdata 
+0x2e42 014089 rshift pdata ,pdata 
+0x2e43 014090 and pdata ,0x1f ,temp 
+0x2e44 014091 storet 1 ,mem_mesh_segmented_access_message_sego 
+0x2e45 014092 rshift4 pdata ,pdata 
+0x2e46 014093 rshift pdata ,pdata 
+0x2e47 014094 arg 0x1fff ,rega 
+0x2e48 014095 iand rega ,temp 
+0x2e49 014096 copy pdata ,regb 
+0x2e4a 014097 fetch 2 ,mem_mesh_segmented_access_message_seqzero 
+0x2e4b 014098 isub temp ,null 
+0x2e4c 014099 ncall ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_seqzero ,zero 
+0x2e4d 014100 storet 2 ,mem_mesh_segmented_access_message_seqzero 
+0x2e4e 014101 rshift8 regb ,pdata 
+0x2e4f 014102 rshift4 pdata ,pdata 
+0x2e50 014103 rshift pdata ,pdata 
+0x2e51 014104 store 1 ,mem_mesh_segmented_access_message_szmic 
+0x2e52 014105 store 1 ,mem_mesh_aszmic 
+0x2e53 014106 rtn 
+:      014108 ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_seqzero:
+0x2e54 014109 setarg 0 
+0x2e55 014110 store 4 ,mem_mesh_segmented_access_message_blockack 
+0x2e56 014111 jam 0 ,mem_mesh_segmented_access_message_current_length 
+0x2e57 014112 rtn 
+:      014117 ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack:
+0x2e58 014118 call disable_user 
+0x2e59 014119 fetch 1 ,mem_mesh_segmented_access_message_sego 
+0x2e5a 014120 copy pdata ,queue 
+0x2e5b 014121 fetch 4 ,mem_mesh_segmented_access_message_blockack 
+0x2e5c 014122 qisolate1 pdata 
+0x2e5d 014123 branch enable_user ,true 
+0x2e5e 014124 qset1 pdata 
+0x2e5f 014125 store 4 ,mem_mesh_segmented_access_message_blockack 
+0x2e60 014126 fetcht 1 ,mem_mesh_segmented_access_message_segn 
+0x2e61 014127 add temp ,1 ,loopcnt 
+:      014128 ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack_loop:
+0x2e62 014129 add loopcnt ,-1 ,queue 
+0x2e63 014130 qisolate1 pdata 
+0x2e64 014131 nrtn true 
+0x2e65 014132 loop ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack_loop 
+0x2e66 014133 jam 1 ,mem_mesh_segmented_access_message_receive_finish 
+0x2e67 014134 rtn 
+:      014138 ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment:
+0x2e68 014139 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2e69 014140 pincrease -6 
+0x2e6a 014141 copy pdata ,loopcnt 
+0x2e6b 014142 fetcht 1 ,mem_mesh_segmented_access_message_current_length 
+0x2e6c 014143 iadd temp ,temp 
+0x2e6d 014144 storet 1 ,mem_mesh_segmented_access_message_current_length 
+0x2e6e 014145 fetch 2 ,mem_mesh_segmented_access_message_segment_ptr 
+0x2e6f 014146 iforce contw 
+0x2e70 014147 fetch 1 ,mem_mesh_segmented_access_message_sego 
+0x2e71 014148 mul32 pdata ,12 ,pdata 
+0x2e72 014149 iadd contw ,contw 
+0x2e73 014150 arg mem_mesh_message_transport_segmented_access_messagepdu_segment ,contr 
+0x2e74 014151 branch memcpy 
+:      014154 ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment:
+0x2e75 014155 fetch 1 ,mem_mesh_segmented_access_message_receive_finish 
+0x2e76 014156 rtneq 0 
+0x2e77 014157 setarg 0 
+0x2e78 014158 store 5 ,mem_mesh_segmented_access_message_blockack 
+0x2e79 014159 fetcht 2 ,mem_mesh_message_seq + 1 
+0x2e7a 014160 byteswap temp ,temp 
+0x2e7b 014161 setarg 0xe000 
+0x2e7c 014162 iand temp ,temp 
+0x2e7d 014163 fetch 2 ,mem_mesh_segmented_access_message_seqzero 
+0x2e7e 014164 ior temp ,pdata 
+0x2e7f 014165 byteswap pdata ,pdata 
+0x2e80 014166 store 2 ,mem_mesh_message_seq + 1 
+0x2e81 014167 branch ali_mesh_upper_transport_layer_receive_segmented_access_message 
+:      014171 ali_mesh_lower_transport_layer_send_unsegmented_access_message:
+0x2e82 014172 fetch 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x2e83 014173 add pdata ,1 ,temp 
+0x2e84 014174 copy pdata ,loopcnt 
+0x2e85 014175 storet 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2e86 014176 fetch 1 ,mem_mesh_message_transport_head 
+0x2e87 014177 set0 transport_head_bit_seg ,pdata 
+0x2e88 014178 store 1 ,mem_mesh_unsegmented_access_lower_transport_layer_head 
+0x2e89 014179 arg mem_mesh_access_layer_payload ,contr 
+0x2e8a 014180 call memcpy_fast 
+0x2e8b 014181 branch ali_mesh_network_layer_send_access_message 
+:      014186 ali_mesh_lower_transport_layer_send_segmented_access_message:
+0x2e8c 014187 add rega ,4 ,temp 
+0x2e8d 014188 copy rega ,loopcnt 
+0x2e8e 014189 storet 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2e8f 014190 arg mem_mesh_segmented_access_lower_transport_layer_parameters ,contw 
+0x2e90 014191 call memcpy_fast 
+0x2e91 014192 fetch 1 ,mem_mesh_message_transport_head 
+0x2e92 014193 set1 transport_head_bit_seg ,pdata 
+0x2e93 014194 store 1 ,mem_mesh_segmented_access_lower_transport_layer_head 
+0x2e94 014195 branch ali_mesh_network_layer_send_access_message 
+:      014200 ali_mesh_model_layer_check_model_message_opcode:
+0x2e95 014201 fetch 1 ,mem_mesh_module_message_opcode 
+:      014202 ali_mesh_model_layer_check_generic_onoff_message_opcde:
+0x2e96 014203 beq mesh_module_message_opcode_generic_onoff_get_no_head ,ali_mesh_model_layer_message_opcode_generic_onoff_get 
+0x2e97 014204 beq mesh_module_message_opcode_generic_onoff_set_no_head ,ali_mesh_model_layer_message_opcde_generic_onoff_set 
+0x2e98 014205 beq mesh_module_message_opcode_scene_recall_no_head ,ali_mesh_model_layer_message_opcde_scene_recall 
+0x2e99 014206 beq mesh_module_message_opcode_light_lightness_set_no_head ,ali_mesh_model_layer_message_opcde_light_lightness_set 
+0x2e9a 014207 beq mesh_module_message_opcode_light_ctl_set_no_head ,ali_mesh_model_layer_message_opcde_light_ctl_set 
+0x2e9b 014208 rtn 
+:      014211 ali_mesh_model_layer_message_opcode_generic_onoff_get:
+0x2e9c 014212 arg ali_mesh_model_layer_message_opcode_generic_onoff_get_cb ,regc 
+0x2e9d 014213 branch ali_mesh_more_element_check_element_address 
+:      014214 ali_mesh_model_layer_message_opcode_generic_onoff_get_cb:
+0x2e9e 014217 fetch 2 ,mem_mesh_cb_generic_onoff_get 
+0x2e9f 014218 call callback_func 
+0x2ea0 014219 store 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2ea1 014220 branch ali_mesh_access_layer_send_generic_onoff_status 
+:      014223 ali_mesh_model_layer_message_opcde_generic_onoff_set:
+0x2ea2 014224 arg ali_mesh_model_layer_message_opcde_generic_onoff_set_cb ,regc 
+0x2ea3 014225 branch ali_mesh_more_element_check_element_address 
+:      014226 ali_mesh_model_layer_message_opcde_generic_onoff_set_cb:
+0x2ea4 014227 call ali_mesh_access_layer_send_generic_onoff_status 
+0x2ea5 014228 fetch 2 ,mem_mesh_cb_generic_onoff_set 
+0x2ea6 014229 branch callback_func 
+:      014233 ali_mesh_model_layer_message_opcde_scene_recall:
+0x2ea7 014234 call ali_mesh_access_layer_send_scene_status 
+0x2ea8 014235 fetch 2 ,mem_mesh_cb_scene_recall 
+0x2ea9 014236 branch callback_func 
+:      014239 ali_mesh_model_layer_message_opcde_light_lightness_set:
+0x2eaa 014240 fetch 2 ,mem_mesh_light_lightness_set_payload_lightness 
+0x2eab 014241 call ali_mesh_model_layer_message_calc_lightness 
+0x2eac 014242 store 1 ,mem_mesh_light_lightness_calc_lightness 
+0x2ead 014243 call ali_mesh_access_layer_send_light_lightness_status 
+0x2eae 014244 fetch 2 ,mem_mesh_cb_light_lightness_set 
+0x2eaf 014245 branch callback_func 
+:      014248 ali_mesh_model_layer_message_opcde_light_ctl_set:
+0x2eb0 014249 fetch 2 ,mem_mesh_last_ctl_temperature 
+0x2eb1 014250 fetcht 2 ,mem_mesh_ctl_temperature 
+0x2eb2 014251 isub temp ,null 
+0x2eb3 014252 rtn zero 
+0x2eb4 014254 fetch 2 ,mem_mesh_ctl_temperature 
+0x2eb5 014255 call ali_mesh_model_layer_message_calc_temperature 
+0x2eb6 014256 store 1 ,mem_mesh_ctl_calc_temperature 
+0x2eb7 014258 fetch 2 ,mem_mesh_ctl_temperature 
+0x2eb8 014259 store 2 ,mem_mesh_last_ctl_temperature 
+0x2eb9 014260 fetch 2 ,mem_mesh_cb_light_lightness_get 
+0x2eba 014261 call callback_func 
+0x2ebb 014262 storet 2 ,mem_mesh_ctl_lightness 
+0x2ebc 014263 call ali_mesh_access_layer_send_light_ctl_stauts 
+0x2ebd 014264 fetch 2 ,mem_mesh_cb_light_ctl_set 
+0x2ebe 014265 branch callback_func 
+:      014270 ali_mesh_model_layer_message_calc_lightness:
+0x2ebf 014271 rtn blank 
+0x2ec0 014272 mul32 pdata ,ali_mesh_lightness_level ,pdata 
+0x2ec1 014273 arg ali_mesh_lightness_max ,temp 
+0x2ec2 014274 idiv temp 
+0x2ec3 014275 call wait_div_end 
+0x2ec4 014276 remainder temp 
+0x2ec5 014277 rshift8 temp ,temp 
+0x2ec6 014278 quotient pdata 
+0x2ec7 014279 sub temp ,0xff ,null 
+0x2ec8 014280 nrtn zero 
+0x2ec9 014281 pincrease 1 
+0x2eca 014282 rtn 
+:      014287 ali_mesh_model_layer_message_calc_actual_lightness:
+0x2ecb 014288 arg ali_mesh_lightness_max ,pdata 
+0x2ecc 014289 imul32 temp ,pdata 
+0x2ecd 014290 div pdata ,ali_mesh_lightness_level 
+0x2ece 014291 call wait_div_end 
+0x2ecf 014292 quotient temp 
+0x2ed0 014293 rtn 
+:      014297 ali_mesh_model_layer_message_calc_temperature:
+0x2ed1 014298 arg ali_mesh_temperature_min ,temp 
+0x2ed2 014299 isub temp ,rega 
+0x2ed3 014300 call ali_mesh_model_layer_message_calc_temperature_k 
+0x2ed4 014301 copy rega ,pdata 
+0x2ed5 014302 idiv temp 
+0x2ed6 014303 call wait_div_end 
+0x2ed7 014304 quotient pdata 
+0x2ed8 014305 rtn 
+:      014310 ali_mesh_model_layer_message_calc_actual_temperature:
+0x2ed9 014311 copy temp ,rega 
+0x2eda 014312 call ali_mesh_model_layer_message_calc_temperature_k 
+0x2edb 014313 copy rega ,pdata 
+0x2edc 014314 imul32 temp ,pdata 
+0x2edd 014315 arg ali_mesh_temperature_min ,temp 
+0x2ede 014316 iadd temp ,temp 
+0x2edf 014317 rtn 
+:      014319 ali_mesh_model_layer_message_calc_temperature_k:
+0x2ee0 014320 setarg ali_mesh_temperature_max 
+0x2ee1 014321 arg ali_mesh_temperature_min ,temp 
+0x2ee2 014322 isub temp ,pdata 
+0x2ee3 014323 div pdata ,ali_mesh_temperature_level 
+0x2ee4 014324 call wait_div_end 
+0x2ee5 014325 quotient temp 
+0x2ee6 014326 rtn 
+:      014331 ali_mesh_more_element_check_unicast_address:
+0x2ee7 014332 arg 0 ,queue 
+0x2ee8 014333 fetchr loopcnt ,1 ,mem_mesh_element_number 
+0x2ee9 014334 call disable_user 
+0x2eea 014335 fetch 2 ,mem_mesh_unicast_address 
+:      014336 ali_mesh_more_element_check_unicast_address_loop:
+0x2eeb 014337 isub temp ,null 
+0x2eec 014338 branch ali_mesh_more_element_found_unicast_address_element ,zero 
+0x2eed 014339 byteswap pdata ,pdata 
+0x2eee 014340 pincrease 1 
+0x2eef 014341 byteswap pdata ,pdata 
+0x2ef0 014342 increase 1 ,queue 
+0x2ef1 014343 loop ali_mesh_more_element_check_unicast_address_loop 
+0x2ef2 014344 rtn 
+:      014346 ali_mesh_more_element_found_unicast_address_element:
+0x2ef3 014347 jam 0 ,mem_mesh_receive_group_address 
+0x2ef4 014348 storer queue ,1 ,mem_mesh_receive_element_number 
+0x2ef5 014349 call ali_mesh_more_element_calc_queue_address 
+0x2ef6 014350 branch enable_user 
+:      014353 ali_mesh_more_element_check_group_address:
+0x2ef7 014354 arg 0 ,queue 
+0x2ef8 014355 arg 0 ,regc 
+0x2ef9 014356 call mesh_get_element_info_config 
+0x2efa 014357 call disable_user 
+:      014358 ali_mesh_more_element_check_group_address_loop:
+0x2efb 014359 fetch 2 ,mem_mesh_core_feature 
+0x2efc 014360 bbit0 mesh_feature_disable_subscription ,ali_mesh_more_element_check_subscription_address 
+0x2efd 014361 ifetch 2 ,rega 
+0x2efe 014362 isub temp ,null 
+0x2eff 014363 call ali_mesh_more_element_found_group_address_element ,zero 
+:      014364 ali_mesh_more_element_check_address_common:
+0x2f00 014365 copy regb ,pdata 
+0x2f01 014366 iadd rega ,rega 
+0x2f02 014367 increase 1 ,queue 
+0x2f03 014368 loop ali_mesh_more_element_check_group_address_loop 
+0x2f04 014369 copy regc ,pdata 
+0x2f05 014370 rtn blank 
+0x2f06 014371 store 1 ,mem_mesh_receive_group_address 
+0x2f07 014372 branch enable_user 
+:      014374 ali_mesh_more_element_found_group_address_element:
+0x2f08 014375 qset1 regc 
+0x2f09 014376 rtn 
+:      014378 ali_mesh_more_element_check_subscription_address:
+0x2f0a 014379 add rega ,element_device_subscription_label ,contr 
+0x2f0b 014380 arg subscription_max_count ,alarm 
+:      014381 ali_mesh_more_element_check_subscription_address_loop:
+0x2f0c 014382 ifetch 2 ,contr 
+0x2f0d 014383 isub temp ,null 
+0x2f0e 014384 branch ali_mesh_more_element_found_subscription_address_element ,zero 
+0x2f0f 014385 increase -1 ,alarm 
+0x2f10 014386 branch ali_mesh_more_element_check_address_common ,zero 
+0x2f11 014387 branch ali_mesh_more_element_check_subscription_address_loop 
+:      014389 ali_mesh_more_element_found_subscription_address_element:
+0x2f12 014390 call ali_mesh_more_element_found_group_address_element 
+0x2f13 014391 branch ali_mesh_more_element_check_address_common 
+:      014393 ali_mesh_more_element_check_element_address:
+0x2f14 014394 arg 0 ,queue 
+0x2f15 014395 fetch 1 ,mem_mesh_receive_group_address 
+0x2f16 014396 branch ali_mesh_more_element_check_element_address_no_group_address ,blank 
+0x2f17 014397 copy pdata ,regb 
+0x2f18 014398 fetchr loopcnt ,1 ,mem_mesh_element_number 
+:      014399 ali_mesh_more_element_check_element_address_loop:
+0x2f19 014400 storer queue ,1 ,mem_mesh_receive_element_number 
+0x2f1a 014402 qisolate1 regb 
+0x2f1b 014403 call ali_mesh_more_element_check_element_address_no_group_address ,true 
+0x2f1c 014404 fetchr queue ,1 ,mem_mesh_receive_element_number 
+0x2f1d 014405 increase 1 ,queue 
+0x2f1e 014406 loop ali_mesh_more_element_check_element_address_loop 
+0x2f1f 014407 rtn 
+:      014409 ali_mesh_more_element_check_element_address_no_group_address:
+0x2f20 014410 call ali_mesh_more_element_push_stack 
+0x2f21 014411 call ali_mesh_more_element_calc_queue_address 
+0x2f22 014412 copy regc ,pdata 
+0x2f23 014413 call callback_func 
+0x2f24 014414 branch ali_mesh_more_element_pop_stack 
+:      014416 ali_mesh_more_element_push_stack:
+0x2f25 014417 storer loopcnt ,2 ,mem_mesh_loopcnt_tmep 
+0x2f26 014418 storer rega ,2 ,mem_mesh_rega_temp 
+0x2f27 014419 storer regb ,2 ,mem_mesh_regb_temp 
+0x2f28 014420 storer regc ,2 ,mem_mesh_regc_temp 
+0x2f29 014421 rtn 
+:      014423 ali_mesh_more_element_pop_stack:
+0x2f2a 014424 fetchr loopcnt ,2 ,mem_mesh_loopcnt_tmep 
+0x2f2b 014425 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2f2c 014426 fetchr regb ,2 ,mem_mesh_regb_temp 
+0x2f2d 014427 fetchr regc ,2 ,mem_mesh_regc_temp 
+0x2f2e 014428 rtn 
+:      014431 ali_mesh_more_element_calc_queue_address:
+0x2f2f 014432 bpatchx patch3f_3 ,mem_patch3f 
+0x2f30 014433 fetch 2 ,mem_mesh_unicast_address 
+0x2f31 014434 byteswap pdata ,pdata 
+0x2f32 014435 iadd queue ,pdata 
+0x2f33 014436 byteswap pdata ,pdata 
+0x2f34 014437 store 2 ,mem_mesh_send_message_src 
+0x2f35 014438 call mesh_get_element_info_config 
+0x2f36 014439 copy queue ,pdata 
+0x2f37 014440 imul32 regb ,pdata 
+0x2f38 014441 iadd rega ,rega 
+0x2f39 014442 add rega ,element_device_upper_queue_ptr ,contr 
+0x2f3a 014443 ifetch 2 ,contr 
+0x2f3b 014444 store ,2 ,mem_queue_ptr 
+0x2f3c 014445 rtn 
+:      014450 ali_mesh_receive_adtype_mesh_message:
+0x2f3d 014451 jam mesh_message_tmall ,mem_mesh_network_packet_type 
+:      014455 ali_mesh_network_layer_recevice_network_pdu:
+0x2f3e 014456 sub temp ,mesh_network_packet_min_length ,null 
+0x2f3f 014457 rtn positive 
+0x2f40 014458 sub temp ,mesh_network_packet_max_length ,null 
+0x2f41 014459 nrtn positive 
+0x2f42 014460 bpatchx patch3f_4 ,mem_patch3f 
+0x2f43 014461 call ali_mesh_network_store_in_mem 
+:      014462 ali_mesh_network_layer_recevice_network_pdu_check_nid:
+0x2f44 014463 call ali_mesh_network_layer_check_nid_ivi 
+0x2f45 014464 nrtn user 
+:      014465 ali_mesh_network_layer_recevice_network_pdu_deceypt_obfuscation:
+0x2f46 014466 call ali_mesh_encrypt_obfuscation_deceypt_recevie_message 
+:      014471 ali_mesh_network_layer_recevice_network_pdu_decrypt_netmic32:
+0x2f47 014472 call ali_mesh_network_load_network_nonce_and_encryptionkey 
+0x2f48 014473 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2f49 014474 arg mem_mesh_message_dst ,temp 
+0x2f4a 014475 call ali_ccm_decrypt 
+0x2f4b 014476 nrtn zero 
+:      014479 ali_mesh_network_layer_recevice_network_pdu_check_dst:
+0x2f4c 014480 bpatchx patch3f_5 ,mem_patch3f 
+0x2f4d 014481 fetcht 2 ,mem_mesh_message_dst 
+0x2f4e 014482 call ali_mesh_more_element_check_unicast_address 
+0x2f4f 014483 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,user 
+0x2f50 014484 arg 29 ,loopcnt 
+0x2f51 014485 arg mem_mesh_message_nid_temp ,contw 
+0x2f52 014486 arg mem_mesh_message_nid ,contr 
+0x2f53 014487 call memcpy 
+0x2f54 014488 call ali_mesh_network_layer_recevice_network_pdu_check_dst_group_address 
+0x2f55 014489 arg 29 ,loopcnt 
+0x2f56 014490 arg mem_mesh_message_nid_temp ,contr 
+0x2f57 014491 arg mem_mesh_message_nid ,contw 
+0x2f58 014492 call memcpy 
+0x2f59 014493 fetch 2 ,mem_mesh_cb_network_relay 
+0x2f5a 014494 branch callback_func 
+:      014496 ali_mesh_network_layer_recevice_network_pdu_check_dst_group_address:
+0x2f5b 014497 call ali_mesh_more_element_check_group_address 
+0x2f5c 014498 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,user 
+0x2f5d 014499 jam 0xff ,mem_mesh_receive_group_address 
+0x2f5e 014500 setarg group_address_0xcfff_little_endian 
+0x2f5f 014501 isub temp ,null 
+0x2f60 014502 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,zero 
+0x2f61 014503 setarg group_address_0xffff_little_endian 
+0x2f62 014504 isub temp ,null 
+0x2f63 014505 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,zero 
+0x2f64 014506 rtn 
+:      014509 ali_mesh_network_layer_check_nid_ivi:
+0x2f65 014510 call disable_user 
+0x2f66 014511 fetcht 1 ,mem_mesh_message_nid 
+0x2f67 014512 rshift4 temp ,pdata 
+0x2f68 014513 rshift3 pdata ,pdata 
+0x2f69 014514 fetchr rega ,1 ,mem_mesh_iv_index + 3 
+0x2f6a 014515 and rega ,0x01 ,rega 
+0x2f6b 014516 isub rega ,null 
+0x2f6c 014517 nrtn zero 
+0x2f6d 014518 and temp ,0x7f ,temp 
+0x2f6e 014519 fetch 1 ,mem_k2_nid 
+0x2f6f 014520 isub temp ,null 
+0x2f70 014521 nrtn zero 
+0x2f71 014522 branch enable_user 
+:      014525 ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq:
+0x2f72 014526 arg mem_mesh_tmall_cache_start ,rega 
+0x2f73 014527 arg cache_space_num ,loopcnt 
+:      014528 ali_mesh_network_layer_raverse_src_seq_cache:
+0x2f74 014529 fetcht 2 ,mem_mesh_message_src 
+0x2f75 014530 ifetch 2 ,rega 
+0x2f76 014532 branch ali_mesh_network_layer_find_empty_space ,blank 
+0x2f77 014534 isub temp ,null 
+0x2f78 014536 branch ali_mesh_network_layer_find_src_space ,zero 
+0x2f79 014537 increase cache_space_size ,rega 
+0x2f7a 014538 loop ali_mesh_network_layer_raverse_src_seq_cache 
+0x2f7b 014539 arg mem_mesh_tmall_cache_start ,rega 
+:      014541 ali_mesh_network_layer_find_empty_space:
+0x2f7c 014542 istoret 2 ,rega 
+:      014543 ali_mesh_network_layer_find_src_space:
+0x2f7d 014544 storet 2 ,mem_mesh_send_message_dst 
+0x2f7e 014546 add rega ,2 ,regc 
+0x2f7f 014547 ifetch 3 ,regc 
+0x2f80 014548 store 3 ,mem_mesh_last_message_seq 
+0x2f81 014549 branch ali_mesh_network_layer_recevice_network_pdu_check_seq_legal 
+:      014553 ali_mesh_network_layer_recevice_network_pdu_check_seq_legal:
+0x2f82 014555 call ali_mesh_inverse_seq 
+0x2f83 014557 fetch 3 ,mem_mesh_last_message_seq 
+0x2f84 014558 fetcht 3 ,mem_mesh_message_seq 
+0x2f85 014559 isub temp ,null 
+0x2f86 014560 rtn positive 
+0x2f87 014561 istoret 3 ,regc 
+0x2f88 014562 call ali_mesh_inverse_seq 
+0x2f89 014563 call logging_tx_debug_network_receive_packet 
+0x2f8a 014564 branch ali_mesh_lower_transport_layer_receive_lower_transport_pdu 
+:      014566 ali_mesh_inverse_seq:
+0x2f8b 014567 arg mem_mesh_message_seq ,rega 
+0x2f8c 014568 arg 3 ,loopcnt 
+0x2f8d 014569 branch inverse_data 
+:      014573 ali_mesh_network_load_network_nonce_and_encryptionkey:
+0x2f8e 014574 call ali_mesh_network_layer_load_network_nonce 
+:      014575 ali_mesh_upper_transport_layer_load_encryptionkey:
+0x2f8f 014576 arg mem_k2_encryptionkey ,contr 
+0x2f90 014577 branch load_key 
+:      014578 ali_mesh_network_layer_load_network_nonce:
+0x2f91 014579 arg mem_mesh_network_nonce ,contw 
+0x2f92 014580 setarg network_nonce 
+0x2f93 014581 istore 1 ,contw 
+0x2f94 014582 fetch 6 ,mem_mesh_message_ttl 
+0x2f95 014583 istore 8 ,contw 
+0x2f96 014584 branch mesh_generate_nonce 
+:      014587 ali_mesh_network_store_in_mem:
+0x2f97 014588 add temp ,-12 ,pdata 
+0x2f98 014598 store 1 ,mem_mesh_message_transport_netmic_length 
+0x2f99 014599 arg 29 ,loopcnt 
+0x2f9a 014600 arg mem_mesh_message_nid ,contw 
+0x2f9b 014601 call clear_mem 
+0x2f9c 014602 add temp ,-1 ,loopcnt 
+0x2f9d 014603 arg mem_mesh_message_nid ,contw 
+0x2f9e 014604 branch memcpy_fast 
+:      014607 ali_mesh_network_layer_relay_access_message:
+0x2f9f 014608 call ali_mesh_network_layer_check_relay_states 
+0x2fa0 014609 nrtn user 
+0x2fa1 014610 call ali_mesh_network_layer_encrypt_relay_package 
+0x2fa2 014611 jam adv_relay_mesh_message_duration ,mem_mesh_queue_ele_duration 
+0x2fa3 014612 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2fa4 014613 add pdata ,13 ,temp 
+0x2fa5 014614 storet 1 ,mem_mesh_queue_ele_len 
+0x2fa6 014615 increase -1 ,temp 
+0x2fa7 014616 istoret 1 ,contw 
+0x2fa8 014617 setarg gap_adtype_mesh_message 
+0x2fa9 014618 istore 1 ,contw 
+0x2faa 014619 add temp ,-1 ,loopcnt 
+0x2fab 014620 fetch 7 ,mem_mesh_message_nid 
+0x2fac 014621 arg mem_mesh_message_nid ,contr 
+0x2fad 014622 call memcpy 
+0x2fae 014623 fetch 2 ,mem_ui_state_map 
+0x2faf 014624 isolate1 ui_state_ble_connected ,pdata 
+0x2fb0 014625 call ali_mesh_send_ble_data_relay_package ,true 
+0x2fb1 014626 arg mem_mesh_queue_ele_temp ,rega 
+0x2fb2 014627 branch queue_push 
+:      014629 ali_mesh_send_ble_data_relay_package:
+0x2fb3 014630 fetch 1 ,mem_mesh_network_packet_type 
+0x2fb4 014631 rtneq mesh_message_proxy 
+0x2fb5 014632 branch ali_mesh_send_ble_data 
+:      014635 ali_mesh_network_layer_check_relay_states:
+0x2fb6 014636 call disable_user 
+0x2fb7 014637 fetch 1 ,mem_mesh_network_packet_type 
+0x2fb8 014638 rtneq mesh_message_app 
+0x2fb9 014639 fetch 2 ,mem_mesh_core_feature 
+0x2fba 014640 rtnbit1 mesh_feature_disable_relay 
+0x2fbb 014641 fetch 1 ,mem_mesh_provisioned_flag 
+0x2fbc 014642 rtnne paired_status 
+0x2fbd 014643 fetcht 2 ,mem_mesh_message_src 
+0x2fbe 014644 call ali_mesh_more_element_check_unicast_address 
+0x2fbf 014645 nrtn user 
+0x2fc0 014646 call ali_mesh_network_layer_check_network_mic_cache 
+0x2fc1 014647 nrtn user 
+0x2fc2 014648 call ali_mesh_network_layer_logging_tx_relay_info 
+0x2fc3 014649 fetch 1 ,mem_mesh_message_ttl 
+0x2fc4 014650 rtn blank 
+0x2fc5 014651 pincrease -1 
+0x2fc6 014652 rtn blank 
+0x2fc7 014653 store 1 ,mem_mesh_message_ttl 
+0x2fc8 014654 setarg mem_mesh_network_relay_queue 
+0x2fc9 014655 store 2 ,mem_queue_ptr 
+0x2fca 014656 branch enable_user 
+:      014658 ali_mesh_network_layer_encrypt_relay_package:
+0x2fcb 014659 call ali_mesh_network_load_network_nonce_and_encryptionkey 
+0x2fcc 014660 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2fcd 014661 arg mem_mesh_message_dst ,temp 
+0x2fce 014662 call ali_ccm_encrypt 
+0x2fcf 014663 branch ali_mesh_encrypt_obfuscation_deceypt_recevie_message 
+:      014667 ali_mesh_network_layer_check_network_mic_cache:
+0x2fd0 014668 setarg mem_mesh_transport_message_mic_cache 
+0x2fd1 014669 store 2 ,mem_mesh_mic_cache_ptr 
+0x2fd2 014670 branch ali_mesh_base_adt_cache 
+:      014673 ali_mesh_network_layer_logging_tx_relay_info:
+0x2fd3 014674 arg 2 ,loopcnt 
+0x2fd4 014675 arg mem_mesh_message_dst ,rega 
+0x2fd5 014676 arg mesh_network_relay_packet ,regb 
+0x2fd6 014677 call logging_tx_info 
+0x2fd7 014678 fetchr loopcnt ,1 ,mem_ccm_data_len 
+0x2fd8 014679 fetchr rega ,2 ,mem_ccm_data_ptr 
+0x2fd9 014680 arg mesh_network_relay_packet ,regb 
+0x2fda 014681 branch logging_tx_debug 
+:      014685 ali_mesh_network_layer_send_access_message:
+0x2fdb 014686 bpatchx patch3f_6 ,mem_patch3f 
+0x2fdc 014687 call ali_mesh_network_layer_send_access_message_encrypt_netmic 
+0x2fdd 014688 call ali_mesh_network_layer_send_access_message_encrypt_obfuscation 
+0x2fde 014689 branch ali_mesh_bearer_layer_send_packet_by_network_layer 
+:      014694 ali_mesh_network_layer_send_access_message_encrypt_netmic:
+0x2fdf 014695 fetch 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2fe0 014696 add pdata ,2 ,rega 
+0x2fe1 014697 pincrease 4 
+0x2fe2 014698 store 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2fe3 014699 arg mem_mesh_send_upper_layer_dst ,temp 
+0x2fe4 014700 branch ali_mesh_network_layer_encrypt_by_network_nonce 
+:      014705 ali_mesh_network_layer_encrypt_by_network_nonce:
+0x2fe5 014706 call ali_mesh_network_load_network_nonce_and_encryptionkey 
+0x2fe6 014707 copy rega ,pdata 
+0x2fe7 014708 branch ali_ccm_encrypt 
+:      014711 ali_mesh_network_layer_send_access_message_encrypt_obfuscation:
+0x2fe8 014712 branch ali_mesh_encrypt_obfuscation_deceypt_send_message 
+:      014716 mesh_generate_nonce:
+0x2fe9 014717 fetch 4 ,mem_mesh_iv_index 
+0x2fea 014718 istore 4 ,contw 
+0x2feb 014719 add contw ,-13 ,pdata 
+0x2fec 014720 store 2 ,mem_nonce_ptr 
+0x2fed 014721 rtn 
+:      014723 logging_tx_debug_network_receive_packet:
+0x2fee 014724 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2fef 014725 add pdata ,11 ,loopcnt 
+0x2ff0 014726 arg mem_mesh_message_nid ,rega 
+0x2ff1 014727 arg mesh_network_receive_packet ,regb 
+0x2ff2 014728 branch logging_tx_debug 
+:      014732 ali_mesh_proxy_init_adv:
+0x2ff3 014733 jam 0x14 ,mem_le_adv_data_len 
+0x2ff4 014734 setarg 0x02 
+0x2ff5 014735 store 1 ,mem_le_adv_data 
+0x2ff6 014736 setarg gap_adtype_flags 
+0x2ff7 014737 istore 1 ,contw 
+0x2ff8 014738 setarg 0x06 
+0x2ff9 014739 istore 1 ,contw 
+0x2ffa 014740 setarg 0x03 
+0x2ffb 014741 istore 1 ,contw 
+0x2ffc 014742 setarg gap_adtype_16bit_complete 
+0x2ffd 014743 istore 1 ,contw 
+0x2ffe 014744 setarg mesh_proxy_service 
+0x2fff 014745 istore 2 ,contw 
+0x3000 014746 setarg 0x0c 
+0x3001 014747 istore 1 ,contw 
+0x3002 014748 setarg gap_adtype_service_data 
+0x3003 014749 istore 1 ,contw 
+0x3004 014750 setarg mesh_proxy_service 
+0x3005 014751 istore 2 ,contw 
+0x3006 014752 setarg mesh_proxy_service_data_id_type_network_id 
+0x3007 014753 istore 1 ,contw 
+0x3008 014754 fetch 8 ,mem_mesh_network_id 
+0x3009 014755 istore 8 ,contw 
+0x300a 014756 rtn 
+:      014761 mesh_le_receive_data:
+0x300b 014762 fetch 2 ,mem_le_att_handle 
+0x300c 014763 beq mesh_proxy_data_in_handle ,ali_mesh_receive_ble_data_proxy_data_in 
+0x300d 014764 rtn 
+:      014766 ali_mesh_receive_ble_data_proxy_data_in:
+0x300e 014767 copy regb ,temp 
+0x300f 014768 ifetch 1 ,rega 
+0x3010 014769 beq mesh_proxy_message_type_network_pdu ,ali_mesh_network_layer_recevice_network_pdu_proxy_control 
+0x3011 014770 rtn 
+:      014772 ali_mesh_network_layer_recevice_network_pdu_proxy_control:
+0x3012 014773 jam mesh_message_proxy ,mem_mesh_network_packet_type_temp 
+0x3013 014774 branch ali_mesh_network_layer_recevice_network_pdu 
+:      014777 ali_mesh_proxy_process_bb_event:
+0x3014 014778 copy regc ,pdata 
+0x3015 014779 beq bt_evt_le_disconnected ,app_ble_start_adv 
+0x3016 014780 rtn 
+:      014783 ali_mesh_send_ble_data:
+0x3017 014784 call le_fifo_check_nearly_full 
+0x3018 014785 nrtn blank 
+0x3019 014786 fetch 1 ,mem_mesh_queue_ele_len 
+0x301a 014787 add pdata ,-1 ,rega 
+0x301b 014788 arg mesh_proxy_data_out_handle ,temp 
+0x301c 014789 call le_att_malloc_tx_notify 
+0x301d 014790 setarg mesh_proxy_message_type_network_pdu 
+0x301e 014791 istore 1 ,contw 
+0x301f 014792 arg mem_mesh_queue_ele_payload + 2 ,contr 
+0x3020 014793 branch memcpy32 
+:      014799 ali_mesh_upper_transport_layer_receive_unsegmented_access_message:
+0x3021 014800 bbit0 transport_head_bit_akf ,ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key 
+:      014802 ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_application_key:
+0x3022 014803 call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+0x3023 014804 branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message 
+:      014806 ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key:
+0x3024 014807 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+0x3025 014808 branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message 
+:      014811 ali_mesh_upper_transport_layer_decrypt_unsegmented_message:
+0x3026 014812 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x3027 014813 pincrease -7 
+0x3028 014817 arg mem_mesh_message_transport_unsegmented_access_messagepdu ,alarm 
+0x3029 014818 call disable_user 
+0x302a 014819 branch ali_mesh_upper_transport_layer_decrypt_message 
+:      014822 ali_mesh_upper_transport_layer_receive_segmented_access_message:
+0x302b 014823 fetch 1 ,mem_mesh_message_transport_head 
+0x302c 014824 bbit0 transport_head_bit_akf ,ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key 
+:      014825 ali_mesh_uuper_transport_layer_decrypt_segment_access_by_application_key:
+0x302d 014826 call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+0x302e 014827 branch ali_mesh_upper_transport_layer_decrypt_segmented_message 
+:      014828 ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key:
+0x302f 014829 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+0x3030 014830 branch ali_mesh_upper_transport_layer_decrypt_segmented_message 
+:      014833 ali_mesh_upper_transport_layer_decrypt_segmented_message:
+0x3031 014834 fetch 1 ,mem_mesh_aszmic 
+0x3032 014835 ncall enable_user ,blank 
+0x3033 014836 call disable_user ,blank 
+0x3034 014837 fetch 1 ,mem_mesh_segmented_access_message_current_length 
+0x3035 014838 pincrease -4 
+0x3036 014839 jam 0 ,mem_mesh_segmented_access_message_current_length 
+0x3037 014840 arg mem_mesh_segmented_access_message_segment ,alarm 
+:      014844 ali_mesh_upper_transport_layer_decrypt_message:
+0x3038 014845 copy alarm ,temp 
+0x3039 014846 call ali_mesh_upper_transport_layer_decrypt_message_decrypt_transmic 
+0x303a 014847 nrtn zero 
+0x303b 014848 arg 1 ,loopcnt 
+0x303c 014849 arg mem_ccm_data_len ,rega 
+0x303d 014850 arg mesh_upper_receive_packet ,regb 
+0x303e 014851 call logging_tx_info 
+0x303f 014852 call ali_mesh_upper_transport_layer_check_transport_mic_cache 
+0x3040 014853 nrtn user 
+0x3041 014854 fetch 2 ,mem_ccm_data_ptr 
+0x3042 014855 copy pdata ,alarm 
+0x3043 014856 branch ali_mesh_access_layer_resolve_message 
+:      014858 ali_mesh_upper_transport_layer_decrypt_message_decrypt_transmic:
+0x3044 014859 nbranch ali_ccm_decrypt ,user 
+0x3045 014860 pincrease -4 
+0x3046 014861 branch ali_ccm_decrypt_64bit 
+:      014864 ali_mesh_upper_transport_layer_check_transport_mic_cache:
+0x3047 014865 setarg mem_mesh_access_message_mic_cache 
+0x3048 014866 store 2 ,mem_mesh_mic_cache_ptr 
+0x3049 014867 branch ali_mesh_base_adt_cache 
+:      014871 ali_mesh_upper_transport_layer_load_application_nonce_and_application_key:
+0x304a 014872 call ali_mesh_upper_transport_layer_load_application_nonce 
+:      014873 ali_mesh_upper_transport_layer_load_application_key:
+0x304b 014874 arg mem_mesh_application_key ,contr 
+0x304c 014875 branch load_key 
+:      014876 ali_mesh_upper_transport_layer_load_application_nonce:
+0x304d 014877 arg mem_mesh_application_nonce ,contw 
+0x304e 014878 setarg application_nonce 
+0x304f 014879 istore 1 ,contw 
+0x3050 014880 fetch 1 ,mem_mesh_aszmic 
+0x3051 014881 arg 0 ,temp 
+0x3052 014882 nsetflag blank ,7 ,temp 
+0x3053 014883 istoret 1 ,contw 
+0x3054 014884 fetch 7 ,mem_mesh_message_seq 
+0x3055 014885 istore 7 ,contw 
+0x3056 014886 branch mesh_generate_nonce 
+:      014890 ali_mesh_upper_transport_layer_load_device_nonce_and_device_key:
+0x3057 014891 call ali_mesh_upper_transport_layer_load_device_nonce 
+:      014892 ali_mesh_upper_transport_layer_load_device_key:
+0x3058 014893 arg mem_mesh_device_key ,contr 
+0x3059 014894 branch load_key 
+:      014895 ali_mesh_upper_transport_layer_load_device_nonce:
+0x305a 014896 arg mem_mesh_device_nonce ,contw 
+0x305b 014897 setarg device_nonce 
+0x305c 014898 branch ali_mesh_upper_transport_layer_load_application_nonce + 2 
+:      014904 ali_mesh_upper_transport_layer_send_access_message:
+:      014905 ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer:
+0x305d 014906 bpatchx patch3f_7 ,mem_patch3f 
+0x305e 014907 call ali_mesh_upper_transport_layer_clear_tx_buffer 
+0x305f 014908 call ali_mesh_loggint_tx_info_upper_send_packet 
+0x3060 014909 call ali_mesh_upper_transport_layer_send_access_message_add_nid_src_ttl_seq_dst 
+0x3061 014912 call ali_mesh_upper_transport_layer_store_packet_header 
+0x3062 014913 rtn user 
+0x3063 014914 call ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu 
+0x3064 014916 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+0x3065 014917 branch queue_push 
+:      014921 ali_mesh_upper_transport_layer_store_packet_header:
+0x3066 014922 call disable_user 
+0x3067 014923 arg upper_retry_count_status ,temp 
+0x3068 014924 fetch 1 ,mem_mesh_provisioned_flag 
+0x3069 014925 iadd temp ,temp 
+0x306a 014926 fetch 1 ,mem_mesh_network_packet_type 
+0x306b 014927 sub pdata ,mesh_message_proxy ,null 
+0x306c 014928 setflag zero ,bit_upper_flag_proxy_control ,temp 
+0x306d 014929 fetch 1 ,mem_mesh_network_packet_type 
+0x306e 014930 sub pdata ,mesh_message_app ,null 
+0x306f 014931 setflag zero ,bit_upper_flag_app_control ,temp 
+0x3070 014932 storet 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x3071 014933 fetch 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x3072 014934 store 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+0x3073 014935 fetch 1 ,mem_mesh_access_layer_payload_vendor_command 
+0x3074 014936 rtnne vendor_message_attr_indication 
+0x3075 014937 fetch 1 ,mem_mesh_provisioned_flag 
+0x3076 014938 bne paired_status ,enable_user 
+0x3077 014939 fetch 1 ,mem_mesh_access_layer_payload_vendor_tid 
+0x3078 014940 store 1 ,mem_mesh_upper_tran_layer_temp_packet_tid 
+0x3079 014941 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x307a 014942 pincrease upper_retry_count_indication 
+0x307b 014943 set1 bit_upper_flag_vendor_indication ,pdata 
+0x307c 014944 store 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x307d 014945 rtn 
+:      014948 ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu:
+0x307e 014949 fetch 1 ,mem_mesh_access_layer_payload_len 
+0x307f 014950 copy pdata ,loopcnt 
+0x3080 014951 store 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x3081 014952 fetch 1 ,mem_mesh_message_transport_head 
+0x3082 014953 store 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+0x3083 014954 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contw 
+0x3084 014955 arg mem_mesh_access_layer_payload ,contr 
+0x3085 014956 branch memcpy 
+:      014959 ali_mesh_upper_transport_layer_control_packet:
+0x3086 014960 arg ali_mesh_upper_transport_layer_control_packet_deal ,regc 
+0x3087 014961 branch ali_mesh_check_all_element_info 
+:      014964 ali_mesh_upper_transport_layer_control_packet_deal:
+0x3088 014965 add rega ,element_device_upper_adv_flag ,contr 
+0x3089 014966 ifetch 1 ,contr 
+0x308a 014967 nrtn blank 
+0x308b 014968 ifetch 2 ,contr 
+0x308c 014969 store 2 ,mem_queue_ptr 
+0x308d 014970 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+0x308e 014971 call queue_get_new_ele 
+0x308f 014972 nrtn user 
+0x3090 014973 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x3091 014975 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x3092 014976 and temp ,data_upper_flag_max_retry_count ,pdata 
+0x3093 014977 branch ali_mesh_upper_transport_layer_queue_pop ,blank 
+0x3094 014978 add rega ,element_device_upper_adv_flag ,contw 
+0x3095 014979 setarg packet_in_bearer 
+0x3096 014980 istore 1 ,contw 
+0x3097 014982 call ali_mesh_upper_transport_layer_control_packet_load_header 
+0x3098 014984 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x3099 014985 call ali_mesh_upper_transport_layer_control_packet_load_app_control 
+0x309a 014986 add rega ,element_device_tran_package_tid ,contw 
+0x309b 014987 istore 1 ,contw 
+0x309c 014989 add rega ,element_device_tran_package_type ,contr 
+0x309d 014990 ifetch 1 ,contr 
+0x309e 014991 isolate1 bit_upper_flag_proxy_control ,temp 
+0x309f 014992 setflag true ,bit_uuper_tran_proxy_message ,pdata 
+0x30a0 014993 add rega ,element_device_tran_package_type ,contw 
+0x30a1 014994 istore 1 ,contw 
+0x30a2 014996 set1 bit_upper_flag_retransmit ,temp 
+0x30a3 014998 increase -1 ,temp 
+0x30a4 014999 istoret 1 ,regb 
+0x30a5 015001 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x30a6 015002 isolate1 bit_upper_flag_retransmit ,temp 
+0x30a7 015003 nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access ,true 
+0x30a8 015004 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x30a9 015005 storet 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x30aa 015006 copy temp ,loopcnt 
+0x30ab 015007 arg mem_mesh_access_layer_payload ,contw 
+0x30ac 015008 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contr 
+0x30ad 015009 call memcpy 
+0x30ae 015010 sub temp ,unsegmented_access_message_max_upper_transport_access_pdu_len ,null 
+0x30af 015011 nbranch ali_mesh_upper_transport_layer_control_packet_segment_msg ,positive 
+:      015012 ali_mesh_upper_transport_layer_control_packet_unsegment_msg:
+0x30b0 015013 branch ali_mesh_lower_transport_layer_send_unsegmented_access_message 
+:      015016 ali_mesh_upper_transport_layer_control_packet_segment_msg:
+0x30b1 015017 fetch 4 ,mem_mesh_upper_tran_layer_temp_segmented_pakcet_seqzero 
+0x30b2 015018 store 4 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x30b3 015019 branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer 
+:      015022 ali_mesh_upper_transport_layer_control_packet_load_header:
+0x30b4 015023 fetch 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+0x30b5 015024 store 1 ,mem_mesh_message_transport_head 
+0x30b6 015026 fetch 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+0x30b7 015027 store 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x30b8 015028 store 9 ,mem_mesh_message_nid 
+0x30b9 015029 rtn 
+:      015032 ali_mesh_upper_transport_layer_control_packet_load_app_control:
+0x30ba 015033 setarg upper_tran_tmall_and_app 
+0x30bb 015034 call ali_mesh_store_tran_package_type 
+0x30bc 015035 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_tid 
+0x30bd 015036 isolate1 bit_upper_flag_vendor_indication ,temp 
+0x30be 015037 rtn true 
+0x30bf 015038 setarg upper_tran_tmall_message 
+0x30c0 015039 call ali_mesh_store_tran_package_type 
+0x30c1 015040 setarg 0 
+0x30c2 015041 isolate1 bit_upper_flag_app_control ,temp 
+0x30c3 015042 nrtn true 
+0x30c4 015043 setarg upper_tran_app_message 
+0x30c5 015044 call ali_mesh_store_tran_package_type 
+0x30c6 015045 branch enable_blank 
+:      015047 ali_mesh_store_tran_package_type:
+0x30c7 015048 add rega ,element_device_tran_package_type ,contw 
+0x30c8 015049 istore 1 ,contw 
+0x30c9 015050 rtn 
+:      015053 ali_mesh_upper_transport_layer_queue_pop:
+0x30ca 015054 setarg 0 
+0x30cb 015055 add rega ,element_device_tran_package_tid ,contw 
+0x30cc 015056 istore 1 ,contw 
+0x30cd 015057 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+0x30ce 015058 branch queue_pop 
+:      015060 ali_mesh_upper_transport_layer_control_packet_encrypt_access:
+0x30cf 015061 call ali_mesh_upper_transport_layer_send_access_message_calc_seq 
+0x30d0 015062 call ali_mesh_upper_transport_layer_send_access_message_add_seq 
+0x30d1 015063 fetch 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x30d2 015064 store 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+0x30d3 015065 call ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload 
+0x30d4 015066 setarg 0 
+0x30d5 015067 store 1 ,mem_mesh_aszmic 
+0x30d6 015068 call ali_mesh_upper_transport_layer_calc_transport_mic 
+0x30d7 015070 fetcht 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x30d8 015071 storet 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x30d9 015072 copy temp ,loopcnt 
+0x30da 015073 arg mem_mesh_access_layer_payload ,contr 
+0x30db 015074 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contw 
+0x30dc 015075 call memcpy 
+0x30dd 015077 sub temp ,unsegmented_access_message_max_upper_transport_access_pdu_len ,null 
+0x30de 015078 nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg ,positive 
+:      015079 ali_mesh_upper_transport_layer_control_packet_encrypt_access_unsegment_msg:
+0x30df 015081 arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay ,rega 
+0x30e0 015082 call queue_store_new_ele 
+0x30e1 015083 branch ali_mesh_lower_transport_layer_send_unsegmented_access_message 
+:      015085 ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg:
+0x30e2 015086 call ali_mesh_upper_transport_layer_send_segmented_access_message_get_seqzero_segon 
+0x30e3 015087 fetch 4 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x30e4 015088 store 4 ,mem_mesh_upper_tran_layer_temp_segmented_pakcet_seqzero 
+0x30e5 015089 arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay ,rega 
+0x30e6 015090 call queue_store_new_ele 
+0x30e7 015091 branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer 
+:      015093 ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload:
+0x30e8 015094 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x30e9 015095 copy pdata ,loopcnt 
+0x30ea 015096 store 1 ,mem_mesh_access_layer_payload_len 
+0x30eb 015097 fetch 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+0x30ec 015098 store 1 ,mem_mesh_message_transport_head 
+0x30ed 015099 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contr 
+0x30ee 015100 arg mem_mesh_access_layer_payload ,contw 
+0x30ef 015101 branch memcpy 
+:      015103 ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer:
+0x30f0 015104 call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header 
+0x30f1 015105 setarg mem_mesh_access_payload 
+0x30f2 015106 store 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+:      015107 ali_mesh_upper_transport_layer_send_segmented_access_message_loop:
+0x30f3 015108 call ali_mesh_upper_transport_layer_control_packet_load_header 
+0x30f4 015109 call ali_mesh_upper_transport_layer_send_access_message_calc_seq 
+0x30f5 015110 call ali_mesh_upper_transport_layer_send_access_message_add_seq 
+0x30f6 015112 fetcht 1 ,mem_mesh_access_layer_payload_len 
+0x30f7 015113 setarg segmented_access_message_unint_pdu_len 
+0x30f8 015114 call not_greater_than 
+0x30f9 015115 copy pdata ,rega 
+0x30fa 015116 copy temp ,pdata 
+0x30fb 015117 isub rega ,pdata 
+0x30fc 015118 store 1 ,mem_mesh_access_layer_payload_len 
+0x30fd 015119 fetch 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+0x30fe 015120 copy pdata ,contr 
+0x30ff 015121 iadd rega ,temp 
+0x3100 015122 storet 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+0x3101 015123 call ali_mesh_lower_transport_layer_send_segmented_access_message 
+0x3102 015124 fetch 1 ,mem_mesh_access_layer_payload_len 
+0x3103 015125 rtn blank 
+0x3104 015126 fetch 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3105 015127 pincrease 1 
+0x3106 015128 store 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3107 015129 call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header 
+0x3108 015130 branch ali_mesh_upper_transport_layer_send_segmented_access_message_loop 
+:      015135 ali_mesh_upper_transport_layer_calc_transport_mic:
+0x3109 015136 fetch 1 ,mem_mesh_message_transport_head 
+0x310a 015137 bbit0 transport_head_bit_akf ,ali_mesh_upper_transport_layer_calc_transport_mic_by_devicekey 
+:      015138 ali_mesh_upper_transport_layer_calc_transport_mic_by_appkey:
+0x310b 015139 call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+0x310c 015140 branch ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_aesccm 
+:      015141 ali_mesh_upper_transport_layer_calc_transport_mic_by_devicekey:
+0x310d 015142 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+:      015143 ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_aesccm:
+0x310e 015144 fetch 1 ,mem_mesh_access_layer_payload_len 
+0x310f 015145 add pdata ,4 ,temp 
+0x3110 015146 storet 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x3111 015147 arg mem_mesh_access_layer_payload ,temp 
+0x3112 015148 branch ali_ccm_encrypt 
+:      015153 ali_mesh_upper_transport_layer_send_access_message_calc_seq:
+0x3113 015154 fetch 3 ,mem_mesh_send_message_seq 
+0x3114 015155 pincrease 1 
+0x3115 015156 store 3 ,mem_mesh_send_message_seq 
+0x3116 015157 fetch 1 ,mem_mesh_gatt_package_send_msg_id 
+0x3117 015158 pincrease 1 
+0x3118 015159 store 1 ,mem_mesh_gatt_package_send_msg_id 
+0x3119 015160 fetch 2 ,mem_mesh_cb_seq_changed 
+0x311a 015161 branch callback_func 
+:      015165 ali_mesh_upper_transport_layer_send_access_message_add_nid_src_ttl_seq_dst:
+0x311b 015166 fetch 1 ,mem_mesh_iv_index + 3 
+0x311c 015167 lshift4 pdata ,pdata 
+0x311d 015168 lshift3 pdata ,pdata 
+0x311e 015169 fetcht 1 ,mem_k2_nid 
+0x311f 015170 ior temp ,pdata 
+0x3120 015171 store 1 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x3121 015172 fetch 1 ,mem_mesh_send_message_ttl 
+0x3122 015173 store 1 ,mem_mesh_send_upper_layer_ctl_and_ttl 
+0x3123 015174 fetch 2 ,mem_mesh_send_message_src 
+0x3124 015175 store 2 ,mem_mesh_send_upper_layer_src 
+0x3125 015176 fetch 2 ,mem_mesh_send_message_dst 
+0x3126 015177 store 2 ,mem_mesh_send_upper_layer_dst 
+:      015179 ali_mesh_upper_transport_layer_send_access_message_add_seq:
+0x3127 015180 fetch 3 ,mem_mesh_send_message_seq 
+0x3128 015181 store 3 ,mem_mesh_send_upper_layer_seq 
+0x3129 015182 arg mem_mesh_send_upper_layer_seq ,rega 
+0x312a 015183 arg 3 ,loopcnt 
+0x312b 015184 call inverse_data 
+0x312c 015185 fetch 8 ,mem_mesh_send_upper_layer_ctl_and_ttl 
+0x312d 015186 store 8 ,mem_mesh_message_ttl 
+0x312e 015187 rtn 
+:      015189 ali_mesh_upper_transport_layer_send_segmented_access_message_get_seqzero_segon:
+0x312f 015190 fetch 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x3130 015191 div pdata ,segmented_access_message_unint_pdu_len 
+0x3131 015192 call wait_div_end 
+0x3132 015193 quotient temp 
+0x3133 015194 remainder pdata 
+0x3134 015195 call ali_mesh_upper_transport_layer_send_segmented_access_message_sub_segn_one ,blank 
+0x3135 015196 storet 1 ,mem_mesh_segmented_lower_transport_layer_segn 
+0x3136 015197 jam 0 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3137 015198 fetch 3 ,mem_mesh_send_message_seq 
+0x3138 015199 arg 0x1fff ,temp 
+0x3139 015200 iand temp ,pdata 
+0x313a 015201 store 2 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x313b 015202 rtn 
+:      015204 ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header:
+0x313c 015205 fetch 2 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x313d 015206 lshift4 pdata ,pdata 
+0x313e 015207 lshift pdata ,pdata 
+0x313f 015208 fetcht 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3140 015209 ior temp ,pdata 
+0x3141 015210 lshift4 pdata ,pdata 
+0x3142 015211 lshift pdata ,pdata 
+0x3143 015212 fetcht 1 ,mem_mesh_segmented_lower_transport_layer_segn 
+0x3144 015213 ior temp ,pdata 
+0x3145 015214 store 3 ,mem_mesh_segmented_access_lower_transport_layer_szmic_seqzero_sego_segn 
+0x3146 015215 arg 3 ,loopcnt 
+0x3147 015216 arg mem_mesh_segmented_access_lower_transport_layer_szmic_seqzero_sego_segn ,rega 
+0x3148 015217 branch inverse_data 
+:      015220 ali_mesh_upper_transport_layer_send_segmented_access_message_sub_segn_one:
+0x3149 015221 increase -1 ,temp 
+0x314a 015222 rtn 
+:      015224 ali_mesh_upper_transport_layer_clear_tx_buffer:
+0x314b 015225 rtn 
+:      015228 ali_mesh_loggint_tx_info_upper_send_packet:
+0x314c 015229 arg mem_mesh_access_layer_payload ,rega 
+0x314d 015230 fetchr loopcnt ,1 ,mem_mesh_access_layer_payload_len 
+0x314e 015231 arg mesh_upper_send_packet ,regb 
+0x314f 015232 branch logging_tx_info 
+:      015234 app_init:
+0x3150 015235 bpatch patch15_5 ,mem_patch15 
+0x3151 015236 fetch 1 ,mem_device_option 
+0x3152 015237 branch app_init ,blank 
+0x3153 015238 beq dvc_op_dongle ,dongle_init 
+0x3154 015239 beq dvc_op_antilost ,antilost_init 
+0x3155 015240 beq dvc_op_shutter ,shutter_init 
+0x3156 015241 beq dvc_op_module ,module_init 
+0x3157 015242 beq dvc_op_car ,car_init 
+0x3158 015243 beq dvc_op_remote_car ,remote_car_init 
+0x3159 015244 beq dvc_op_hci_boot ,hci_init 
+0x315a 015245 beq dvc_op_ali_mesh ,ali_mesh_init 
+0x315b 015246 beq dvc_op_mouse ,mouse_init 
+0x315c 015247 rtn 
+:      015249 app_lpm_init:
+0x315d 015250 jam 0 ,mem_tester_emulate 
+0x315e 015251 jam 0 ,mem_debug_config 
+0x315f 015252 jam 0 ,mem_lch_code 
+0x3160 015253 setarg 0 
+0x3161 015254 store 5 ,mem_sp_state_start 
+0x3162 015255 fetch 1 ,mem_device_option 
+0x3163 015256 branch app_lpm_init ,blank 
+0x3164 015257 beq dvc_op_module ,module_lpm_init 
+:      015258 app_lpm_init0:
+0x3165 015259 rtn 
+:      015261 app_param_init:
+0x3166 015262 rtn wake 
+0x3167 015263 call app_read_efuse_sys_config 
+0x3168 015264 call app_read_efuse_dig_aon_vsel 
+0x3169 015265 call app_read_efuse_syn_afc_cfg1 
+0x316a 015266 call app_read_efuse_rf_ldo_cfg1 
+0x316b 015267 call app_read_efuse_rc_cal 
+0x316c 015268 call app_read_efuse_agc 
+0x316d 015269 call adc_init_data 
+0x316e 015270 fetch 1 ,mem_device_option 
+0x316f 015271 beq dvc_op_shutter ,shutter_default_init 
+0x3170 015272 beq dvc_op_dongle ,dongle_default_init 
+0x3171 015273 beq dvc_op_mouse ,mouse_default_init 
+0x3172 015274 beq dvc_op_remote_car ,remote_car_default_init 
+0x3173 015275 rtn 
+:      015277 app_sys_param_init:
+0x3174 015278 jam 0xff ,mem_rf_init_data 
+0x3175 015279 setarg mem_rf_init_data 
+0x3176 015280 store 2 ,mem_rf_init_ptr 
+0x3177 015282 jam 0xff ,mem_ui_button_gpio 
+0x3178 015283 jam 0x88 ,mem_lpm_xtal_ib 
+0x3179 015284 jam 0xce ,mem_lpm_padding 
+0x317a 015285 rtn 
+:      015289 app_process_idle:
+0x317b 015290 call ui_dispatch 
+0x317c 015291 call check_51cmd 
+0x317d 015292 call app_process_bb_event 
+0x317e 015293 fetch 2 ,mem_cb_idle_process 
+0x317f 015294 branch callback_func 
+:      015296 app_process_bt:
+0x3180 015297 fetch 2 ,mem_cb_bt_process 
+0x3181 015298 branch callback_func 
+:      015300 app_process_ble:
+0x3182 015301 fetch 2 ,mem_cb_le_process 
+0x3183 015302 branch callback_func 
+:      015304 app_process_bb_event:
+0x3184 015305 bpatch patch15_6 ,mem_patch15 
+0x3185 015307 arg mem_ipc_fifo_bt2c51 ,rega 
+0x3186 015308 call fifo_out 
+0x3187 015309 rtn blank 
+0x3188 015311 copy pdata ,regc 
+0x3189 015312 call app_event_normal_process 
+0x318a 015313 branch app_process_bb_event_priority 
+:      015315 app_discard_event:
+0x318b 015316 arg 0 ,regc 
+0x318c 015317 rtn 
+:      015322 app_event_normal_process:
+0x318d 015323 beq bt_evt_bb_connected ,app_evt_bt_conn 
+0x318e 015324 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+0x318f 015325 beq bt_evt_setup_complete ,app_evt_setup_complete 
+0x3190 015326 beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+0x3191 015327 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+0x3192 015328 beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+0x3193 015329 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+0x3194 015330 beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+0x3195 015331 beq bt_evt_le_connected ,app_le_event_bb_connected 
+0x3196 015332 beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+0x3197 015333 beq bt_evt_reconn_started ,app_event_reconn_start 
+0x3198 015334 beq bt_evt_enter_sniff ,app_event_enter_sniff 
+0x3199 015335 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+0x319a 015337 beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+0x319b 015338 beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+0x319c 015339 beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+0x319d 015340 beq bt_evt_switch_success_master ,app_event_switch_success 
+0x319e 015341 rtn 
+:      015344 app_evt_bt_conn:
+0x319f 015345 fetch 2 ,mem_ui_state_map 
+0x31a0 015346 set1 ui_state_bt_connected ,pdata 
+0x31a1 015347 store 2 ,mem_ui_state_map 
+0x31a2 015348 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31a3 015349 set0 app_disc_by_button ,pdata 
+0x31a4 015350 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31a5 015351 branch check_51cmd_stop_discovery 
+:      015353 app_event_switch_success:
+0x31a6 015354 jam 0 ,mem_switch_fail_master_count 
+0x31a7 015355 rtn 
+:      015357 app_event_switch_fail_master:
+0x31a8 015358 fetch 1 ,mem_switch_fail_master_count 
+0x31a9 015359 increase 1 ,pdata 
+0x31aa 015360 store 1 ,mem_switch_fail_master_count 
+0x31ab 015361 sub pdata ,1 ,null 
+0x31ac 015362 branch app_bt_role_switch ,positive 
+0x31ad 015363 jam 0 ,mem_switch_fail_master_count 
+0x31ae 015364 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31af 015365 set1 app_disc_switch_fail ,pdata 
+0x31b0 015366 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31b1 015367 branch app_bt_disconnect 
+:      015369 app_process_bb_event_priority:
+0x31b2 015370 fetch 2 ,mem_cb_bb_event_process 
+0x31b3 015371 branch callback_func 
+:      015373 app_check_wake_lock:
+0x31b4 015374 fetch 2 ,mem_cb_check_wakelock 
+0x31b5 015375 branch callback_func 
+:      015377 app_will_enter_lpm:
+0x31b6 015378 fetch 2 ,mem_cb_before_lpm 
+0x31b7 015379 branch callback_func 
+:      015381 app_event_linkkey_generate:
+0x31b8 015382 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31b9 015383 set1 app_disc_after_pairing ,pdata 
+0x31ba 015384 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31bb 015385 branch app_bt_store_reconn_info 
+:      015387 app_event_reconn_start:
+0x31bc 015388 fetch 2 ,mem_ui_state_map 
+0x31bd 015389 set1 ui_state_bt_reconnect ,pdata 
+0x31be 015390 store 2 ,mem_ui_state_map 
+0x31bf 015391 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c0 015392 set1 app_disc_after_reconn ,pdata 
+0x31c1 015393 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c2 015394 rtn 
+:      015396 app_evt_setup_complete:
+0x31c3 015397 fetch 2 ,mem_ui_state_map 
+0x31c4 015398 set1 ui_state_bt_setup_complete ,pdata 
+0x31c5 015399 store 2 ,mem_ui_state_map 
+0x31c6 015400 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c7 015401 set1 app_disc_after_setup_done ,pdata 
+0x31c8 015402 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c9 015403 rtn 
+:      015405 app_evt_hid_handshake:
+0x31ca 015406 fetch 2 ,mem_ui_state_map 
+0x31cb 015407 set1 ui_state_bt_hid_handshake ,pdata 
+0x31cc 015408 store 2 ,mem_ui_state_map 
+0x31cd 015409 rtn 
+:      015411 app_event_enter_sniff:
+0x31ce 015412 fetch 2 ,mem_ui_state_map 
+0x31cf 015413 set1 ui_state_bt_sniff ,pdata 
+0x31d0 015414 store 2 ,mem_ui_state_map 
+0x31d1 015415 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31d2 015416 set1 app_disc_after_sniff ,pdata 
+0x31d3 015417 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31d4 015418 rtn 
+:      015420 app_event_exit_sniff:
+0x31d5 015421 fetch 2 ,mem_ui_state_map 
+0x31d6 015422 set0 ui_state_bt_sniff ,pdata 
+0x31d7 015423 store 2 ,mem_ui_state_map 
+0x31d8 015424 rtn 
+:      015426 app_le_event_bb_connected:
+0x31d9 015427 fetch 2 ,mem_ui_state_map 
+0x31da 015428 set1 ui_state_ble_connected ,pdata 
+0x31db 015429 store 2 ,mem_ui_state_map 
+0x31dc 015430 rtn 
+:      015432 app_le_event_bb_disconn:
+0x31dd 015433 jam 0 ,mem_le_l2cap_att_states 
+0x31de 015434 fetch 2 ,mem_ui_state_map 
+0x31df 015435 set0 ui_state_ble_connected ,pdata 
+0x31e0 015436 store 2 ,mem_ui_state_map 
+0x31e1 015437 branch app_lpm_mult_disable 
+:      015439 app_bb_event_hid_connected:
+0x31e2 015440 fetch 2 ,mem_ui_state_map 
+0x31e3 015441 set1 ui_state_bt_hid_conn ,pdata 
+0x31e4 015442 store 2 ,mem_ui_state_map 
+0x31e5 015443 rtn 
+:      015445 app_evt_button_long_pressed:
+0x31e6 015446 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31e7 015447 set1 app_disc_by_button ,pdata 
+0x31e8 015448 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31e9 015449 rtn 
+:      015451 app_event_ml2cap_conn_refused:
+0x31ea 015452 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31eb 015453 set1 app_disc_l2cap_refused ,pdata 
+0x31ec 015454 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31ed 015455 branch app_bt_disconnect 
+:      015458 app_evt_timer:
+0x31ee 015459 store 1 ,mem_app_evt_timer_count 
+:      015460 app_evt_100ms_loop:
+0x31ef 015461 bpatch patch15_7 ,mem_patch15 
+0x31f0 015462 fetch 1 ,mem_app_evt_timer_count 
+0x31f1 015463 rtn blank 
+0x31f2 015464 increase -1 ,pdata 
+0x31f3 015465 store 1 ,mem_app_evt_timer_count 
+0x31f4 015466 call ui_button_polling 
+0x31f5 015467 call app_lpm_wake_auto_lock_timer 
+0x31f6 015468 call app_unsniff_delay_timer 
+0x31f7 015469 call app_discovery_timer 
+0x31f8 015470 call flash_write_spi_sm_timer 
+0x31f9 015471 fetch 2 ,mem_cb_event_timer 
+0x31fa 015472 call callback_func 
+0x31fb 015473 branch app_evt_100ms_loop 
+:      015478 timer_single_step:
+0x31fc 015479 ifetch 1 ,regc 
+0x31fd 015480 rtn blank 
+0x31fe 015481 pincrease -1 
+0x31ff 015482 istore 1 ,regc 
+0x3200 015483 nrtn blank 
+0x3201 015484 copy regb ,pdata 
+0x3202 015485 branch callback_func 
+:      015489 timer_single_step_2b:
+0x3203 015490 ifetch 2 ,regc 
+0x3204 015491 rtn blank 
+0x3205 015492 pincrease -1 
+0x3206 015493 istore 2 ,regc 
+0x3207 015494 nrtn blank 
+0x3208 015495 copy regb ,pdata 
+0x3209 015496 branch callback_func 
+:      015498 app_power_timer:
+0x320a 015499 fetcht 2 ,mem_power_param_ptr 
+0x320b 015500 add temp ,power_timer_offset ,regc 
+0x320c 015501 arg app_power_timer_timeout ,regb 
+0x320d 015502 branch timer_single_step 
+:      015504 app_power_timer_timeout:
+0x320e 015505 call app_got_power_state_common 
+0x320f 015506 beq power_starting ,app_enter_power_stanby_state 
+:      015507 app_enter_power_off_state:
+0x3210 015508 branch app_enter_hibernate 
+:      015509 app_enter_power_stanby_state:
+0x3211 015510 setarg power_standby 
+0x3212 015511 istore 1 ,regc 
+0x3213 015512 add temp ,power_standby_cb_offset ,regb 
+:      015513 app_power_cb_common:
+0x3214 015514 ifetch 2 ,regb 
+0x3215 015515 branch callback_func 
+:      015517 app_unsniff_delay_timer:
+0x3216 015518 arg mem_unsniff2sniff_timer_count ,regc 
+0x3217 015519 arg app_unsniff_delay_timeout ,regb 
+0x3218 015520 branch timer_single_step 
+:      015522 app_unsniff_delay_timeout:
+0x3219 015523 call context_check_idle 
+0x321a 015524 branch app_bt_enter_sniff ,zero 
+0x321b 015525 rtn 
+:      015528 app_discovery_timer:
+0x321c 015529 arg mem_discovery_timeout_timer_count ,regc 
+0x321d 015530 arg app_discovery_timeout ,regb 
+0x321e 015531 branch timer_single_step_2b 
+:      015533 app_discovery_timeout:
+0x321f 015534 call app_bt_stop_discovery 
+0x3220 015535 call app_led_off 
+0x3221 015536 fetch 2 ,mem_cb_discovry_timeout 
+0x3222 015537 branch callback_func 
+:      015540 app_bb_event_reconn_failed:
+0x3223 015541 call app_disconn_reason_flag_clear 
+:      015542 app_clear_reconnect_flag:
+0x3224 015543 fetch 2 ,mem_ui_state_map 
+0x3225 015544 set0 ui_state_bt_reconnect ,pdata 
+0x3226 015545 store 2 ,mem_ui_state_map 
+0x3227 015546 rtn 
+:      015548 app_bb_event_bb_disconn:
+0x3228 015549 jam 0 ,mem_unsniff2sniff_timer_count 
+0x3229 015550 fetch 2 ,mem_ui_state_map 
+0x322a 015551 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+0x322b 015552 isolate0 ui_state_bt_setup_complete ,pdata 
+0x322c 015553 call app_discard_event ,true 
+:      015554 app_bb_event_bb_reconn_disconn:
+0x322d 015555 bpatch patch16_0 ,mem_patch16 
+0x322e 015556 fetch 2 ,mem_ui_state_map 
+0x322f 015557 set0 ui_state_bt_connected ,pdata 
+0x3230 015558 set0 ui_state_bt_setup_complete ,pdata 
+0x3231 015559 set0 ui_state_bt_hid_conn ,pdata 
+0x3232 015560 set0 ui_state_bt_hid_handshake ,pdata 
+0x3233 015561 set0 ui_state_bt_reconnect ,pdata 
+0x3234 015562 store 2 ,mem_ui_state_map 
+0x3235 015563 branch app_lpm_mult_disable 
+:      015565 app_bb_hibernate:
+0x3236 015566 call app_disconn_reason_clear 
+0x3237 015567 branch app_enter_hibernate 
+:      015570 app_disconn_reason_clear:
+0x3238 015571 setarg 0 
+0x3239 015572 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x323a 015573 rtn 
+:      015574 app_disconn_reason_flag_clear:
+0x323b 015575 setarg 0 
+0x323c 015576 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x323d 015577 rtn 
+:      015579 app_disconn_reason_collect_bt:
+0x323e 015580 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x323f 015581 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3240 015582 setarg 0 
+0x3241 015583 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3242 015584 rtn 
+:      015586 app_disconn_reason_collect_ble:
+0x3243 015587 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3244 015588 set1 app_disc_ble ,pdata 
+0x3245 015589 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3246 015590 setarg 0 
+0x3247 015591 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3248 015592 rtn 
+:      015600 app_check_sniff:
+0x3249 015601 fetch 1 ,mem_ui_state_map 
+0x324a 015602 isolate1 ui_state_bt_sniff ,pdata 
+0x324b 015603 rtn 
+:      015608 app_start_auto_sniff:
+0x324c 015609 fetch 1 ,mem_unsniff2sniff_timer 
+0x324d 015610 store 1 ,mem_unsniff2sniff_timer_count 
+0x324e 015611 rtn 
+:      015613 app_get_lpm_wake_lock:
+0x324f 015614 arg wake_lock_app ,queue 
+0x3250 015615 branch lpm_get_wake_lock 
+:      015617 app_put_lpm_wake_lock:
+0x3251 015618 arg wake_lock_app ,queue 
+0x3252 015619 branch lpm_put_wake_lock 
+:      015621 app_lpm_wake_auto_lock:
+0x3253 015622 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+0x3254 015623 branch app_get_lpm_wake_lock 
+:      015625 app_lpm_wake_auto_lock_timer:
+0x3255 015626 arg mem_wake_up_delay_timer ,regc 
+0x3256 015627 arg app_put_lpm_wake_lock ,regb 
+0x3257 015628 branch timer_single_step 
+:      015630 app_l2cap_flow_control_enable:
+0x3258 015631 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+0x3259 015632 rtn 
+:      015634 app_l2cap_flow_control_disable:
+0x325a 015635 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+0x325b 015636 rtn 
+:      015638 app_bt_set_pincode:
+0x325c 015639 jam bt_cmd_set_pin_code ,mem_fifo_temp 
+0x325d 015640 branch ui_ipc_send_cmd 
+:      015642 app_bt_role_switch:
+0x325e 015643 jam bt_cmd_role_switch ,mem_fifo_temp 
+0x325f 015644 branch ui_ipc_send_cmd 
+:      015646 app_bt_start_reconnect:
+0x3260 015647 bpatch patch16_1 ,mem_patch16 
+0x3261 015648 fetch 1 ,mem_app_connection_options 
+0x3262 015649 store 1 ,mem_connection_options 
+0x3263 015650 jam app_flag_reconnect ,mem_reconnect_flag 
+0x3264 015651 jam bt_cmd_reconnect ,mem_fifo_temp 
+0x3265 015652 branch ui_ipc_send_cmd 
+:      015654 app_bt_reconnect_cancel:
+0x3266 015655 jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+0x3267 015656 branch ui_ipc_send_cmd 
+:      015658 app_bt_disconnect:
+0x3268 015659 jam bt_cmd_disconnect ,mem_fifo_temp 
+0x3269 015660 branch ui_ipc_send_cmd 
+:      015662 app_bt_start_discovery_short:
+0x326a 015663 fetch 2 ,mem_discovery_timeout 
+0x326b 015664 store 2 ,mem_discovery_timeout_timer_count 
+:      015665 app_bt_start_discovery_led_blink:
+0x326c 015666 call app_led_start_blink 
+:      015667 app_bt_start_discovery:
+0x326d 015668 jam bt_cmd_start_discovery ,mem_fifo_temp 
+0x326e 015669 branch ui_ipc_send_cmd 
+:      015671 app_bt_stop_discovery:
+0x326f 015672 setarg 0 
+0x3270 015673 store 2 ,mem_discovery_timeout_timer_count 
+0x3271 015674 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+0x3272 015675 branch ui_ipc_send_cmd 
+:      015677 app_ble_start_direct_adv:
+0x3273 015678 jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+0x3274 015679 branch ui_ipc_send_cmd 
+:      015681 app_ble_stop_direct_adv:
+0x3275 015682 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+0x3276 015683 branch ui_ipc_send_cmd 
+:      015685 app_ble_stop_adv:
+0x3277 015686 jam bt_cmd_stop_adv ,mem_fifo_temp 
+0x3278 015687 branch ui_ipc_send_cmd 
+:      015689 app_ble_start_adv:
+0x3279 015690 jam bt_cmd_start_adv ,mem_fifo_temp 
+0x327a 015691 branch ui_ipc_send_cmd 
+:      015693 app_ble_start_scan:
+0x327b 015694 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+0x327c 015695 branch ui_ipc_send_cmd 
+:      015697 app_ble_stop_scan:
+0x327d 015698 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+0x327e 015699 branch ui_ipc_send_cmd 
+:      015701 app_ble_start_conn:
+0x327f 015702 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+0x3280 015703 branch ui_ipc_send_cmd 
+:      015705 app_ble_disconnect:
+0x3281 015706 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+0x3282 015707 branch ui_ipc_send_cmd 
+:      015709 app_led_start_blink:
+0x3283 015710 jam bt_cmd_led_blink ,mem_fifo_temp 
+0x3284 015711 branch ui_ipc_send_cmd 
+:      015713 app_led_on:
+0x3285 015714 jam bt_cmd_led_on ,mem_fifo_temp 
+0x3286 015715 branch ui_ipc_send_cmd 
+:      015717 app_led_stop_blink:
+:      015718 app_led_off:
+0x3287 015719 jam bt_cmd_led_off ,mem_fifo_temp 
+0x3288 015720 branch ui_ipc_send_cmd 
+:      015722 app_enter_hibernate:
+0x3289 015723 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+0x328a 015724 branch ui_ipc_send_cmd 
+:      015726 app_bt_sniff_exit:
+0x328b 015727 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+0x328c 015728 branch ui_ipc_send_cmd 
+:      015730 app_bt_enter_sniff:
+0x328d 015731 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+0x328e 015732 branch ui_ipc_send_cmd 
+:      015734 app_ble_store_reconn_info:
+0x328f 015735 jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+0x3290 015736 branch ui_ipc_send_cmd 
+:      015738 app_bt_store_reconn_info:
+0x3291 015739 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+0x3292 015740 branch ui_ipc_send_cmd 
+:      015742 app_store_reconn_info:
+0x3293 015743 jam bt_cmd_store_reconn_info ,mem_fifo_temp 
+0x3294 015744 branch ui_ipc_send_cmd 
+:      015746 app_lpm_mult_enable:
+0x3295 015747 set1 mark_lpm_mult_enable ,mark 
+0x3296 015748 rtn 
+:      015750 app_lpm_mult_disable:
+0x3297 015751 set0 mark_lpm_mult_enable ,mark 
+0x3298 015752 rtn 
+:      015755 app_button_long_pressed:
+0x3299 015756 call app_got_power_state_common 
+0x329a 015757 beq power_standby ,app_power_shutting_down 
+:      015758 app_power_starting:
+0x329b 015759 setarg power_starting 
+0x329c 015760 istore 1 ,regc 
+0x329d 015761 add temp ,power_starting_timeout_offset ,rega 
+0x329e 015762 add temp ,power_starting_cb_offset ,regb 
+:      015763 app_power_common:
+0x329f 015764 ifetcht 1 ,rega 
+0x32a0 015765 increase 1 ,regc 
+0x32a1 015766 istoret 1 ,regc 
+0x32a2 015767 branch app_power_cb_common 
+:      015769 app_power_shutting_down:
+0x32a3 015770 setarg power_off 
+0x32a4 015771 istore 1 ,regc 
+0x32a5 015772 fetch 2 ,mem_ui_state_map 
+0x32a6 015773 bbit0 ui_state_ble_connected ,app_power_off_end 
+0x32a7 015774 call le_send_terminate_ind_user_terminated 
+0x32a8 015775 call app_ble_disconnect 
+:      015776 app_power_off_end:
+0x32a9 015777 fetcht 2 ,mem_power_param_ptr 
+0x32aa 015778 add temp ,power_off_timeout_offset ,rega 
+0x32ab 015779 add temp ,power_off_cb_offset ,regb 
+0x32ac 015780 branch app_power_common 
+:      015782 app_got_power_state_common:
+0x32ad 015783 fetcht 2 ,mem_power_param_ptr 
+0x32ae 015784 add temp ,power_state_offset ,regc 
+0x32af 015785 ifetch 1 ,regc 
+0x32b0 015786 rtn 
+:      015788 app_event_button_up:
+0x32b1 015789 call app_got_power_state_common 
+0x32b2 015790 bne power_off ,app_power_release 
+0x32b3 015791 branch app_enter_hibernate 
+:      015792 app_power_release:
+0x32b4 015793 add temp ,ui_butten_up_cb_offset ,regb 
+0x32b5 015794 branch app_power_cb_common 
+:      015797 app_hid_connected:
+0x32b6 015798 setarg hid_handshake_timeout 
+0x32b7 015799 store 1 ,mem_hid_handshake_timer_count 
+0x32b8 015800 rtn 
+:      015803 antilost_init:
+0x32b9 015804 rtn wake 
+0x32ba 015805 setarg antilost_le_before_hibernate 
+0x32bb 015806 store 2 ,mem_cb_before_hibernate 
+0x32bc 015807 setarg keyscan_process_lpm_before 
+0x32bd 015808 store 2 ,mem_cb_before_lpm 
+0x32be 015809 setarg antilost_idle_process 
+0x32bf 015810 store 2 ,mem_cb_idle_process 
+0x32c0 015811 setarg antilost_le_conn_process 
+0x32c1 015812 store 2 ,mem_cb_le_process 
+0x32c2 015813 setarg antilost_bb_event_process 
+0x32c3 015814 store 2 ,mem_cb_bb_event_process 
+0x32c4 015815 setarg antilost_le_bb_event_timer 
+0x32c5 015816 store 2 ,mem_cb_event_timer 
+0x32c6 015817 setarg antilost_le_notification 
+0x32c7 015818 store 2 ,mem_cb_ble_transmit 
+0x32c8 015819 setarg antilost_lpm_lock_process 
+0x32c9 015820 store 2 ,mem_cb_check_wakelock 
+0x32ca 015821 setarg antilost_le_receive_data_process 
+0x32cb 015822 store 2 ,mem_cb_att_write 
+0x32cc 015823 bpatch patch16_2 ,mem_patch16 
+0x32cd 015825 call antilost_buzzer_pwm_init 
+0x32ce 015826 call antilost_set_ble_version 
+0x32cf 015827 call keyscan_key_init 
+0x32d0 015828 call antilost_adc_init 
+0x32d1 015829 call ui_led_init_global 
+0x32d2 015830 call ui_button_init 
+0x32d3 015831 setarg antilost_key_up_down 
+0x32d4 015832 store 2 ,mem_cb_antl_key 
+0x32d5 015833 setarg antilost_power_off_cb 
+0x32d6 015834 store 2 ,mem_antl_power_off_cb 
+0x32d7 015835 setarg antilost_power_starting_cb 
+0x32d8 015836 store 2 ,mem_antl_power_starting_cb 
+0x32d9 015837 setarg antilost_power_standby_cb 
+0x32da 015838 store 2 ,mem_antl_power_standby_cb 
+0x32db 015839 setarg antilost_led_on_cb 
+0x32dc 015840 store 2 ,mem_antl_led_cb_on 
+0x32dd 015841 setarg antilost_led_off_cb 
+0x32de 015842 store 2 ,mem_antl_led_cb_off 
+0x32df 015843 setarg antilost_buzzer_on 
+0x32e0 015844 store 2 ,mem_antl_buzzer_cb_on 
+0x32e1 015845 setarg antilost_buzzer_off 
+0x32e2 015846 store 2 ,mem_antl_buzzer_cb_off 
+0x32e3 015847 fetch 2 ,mem_ui_state_map 
+0x32e4 015848 rtnbit1 ui_state_btn_down 
+0x32e5 015849 branch app_enter_hibernate 
+:      015851 antilost_set_ble_version:
+0x32e6 015853 jam 7 ,mem_lmp_version 
+0x32e7 015854 rtn 
+:      015857 antilost_le_before_hibernate:
+0x32e8 015858 call antilost_led_buzzer_stop_blink 
+0x32e9 015859 branch app_enter_hibernate 
+:      015861 antilost_le_notification:
+0x32ea 015862 call le_fifo_check_nearly_full 
+0x32eb 015863 nrtn blank 
+0x32ec 015864 arg mem_temp_block5 ,rega 
+0x32ed 015865 call queue_pop 
+0x32ee 015866 nrtn user 
+0x32ef 015867 arg mem_temp_block5 ,contr 
+0x32f0 015868 branch le_send_notify_from_list 
+:      015870 antilost_power_standby_cb:
+0x32f1 015871 fetch 2 ,mem_antl_le_sleep_timeout 
+0x32f2 015872 store 2 ,mem_antl_le_sleep_timer 
+0x32f3 015873 jam 1 ,mem_antl_key_scan_enable 
+0x32f4 015874 branch antilost_fast_adv_start 
+:      015876 antilost_lpm_lock_process:
+0x32f5 015877 fetch 1 ,mem_antl_key_state 
+0x32f6 015878 beq 1 ,antilost_lpm_ctrl_for_led_buzzer 
+0x32f7 015879 fetch 2 ,mem_ui_state_map 
+0x32f8 015880 bbit0 ui_state_ble_connected ,antilost_lpm_ctrl_for_led_buzzer 
+0x32f9 015881 fetch 1 ,mem_antl_lost_mode 
+0x32fa 015882 beq 1 ,app_get_lpm_wake_lock 
+0x32fb 015883 fetch 1 ,mem_antl_queue_curr_num 
+0x32fc 015884 nbranch app_get_lpm_wake_lock ,blank 
+0x32fd 015885 branch app_put_lpm_wake_lock 
+:      015887 antilost_lpm_ctrl_for_led_buzzer:
+0x32fe 015888 fetch 1 ,mem_antl_led_state 
+0x32ff 015889 fetcht 1 ,mem_antl_buzzer_state 
+0x3300 015890 ior temp ,pdata 
+0x3301 015891 beq 1 ,app_get_lpm_wake_lock 
+0x3302 015892 branch app_put_lpm_wake_lock 
+:      015894 antilost_bb_event_process:
+0x3303 015895 copy regc ,pdata 
+0x3304 015896 beq bt_evt_button_up ,app_event_button_up 
+0x3305 015897 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x3306 015898 beq bt_evt_le_connected ,antilost_le_process_conn 
+0x3307 015899 beq bt_evt_le_disconnected ,antilost_le_process_discon 
+0x3308 015900 beq bt_evt_le_parse_conn_papa_update_rsp ,antilost_le_conn_param_update_rsp_recieved 
+0x3309 015901 beq bt_evt_le_parse_conn_param_accepted ,antilost_le_conn_param_accepted 
+0x330a 015902 rtn 
+:      015903 antilost_le_conn_param_update_rsp_recieved:
+0x330b 015904 call antilost_le_conn_param_updata_judge 
+0x330c 015905 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x330d 015906 beq ble_signaling_connect_parameter_update_rejected ,antilost_le_conn_param_rejected 
+:      015907 antilost_le_conn_param_updata_procedure_sucsess:
+0x330e 015908 jam conn_param_updata_procedure_complete ,mem_antl_conn_updata_procedure_state 
+0x330f 015909 jam 60 ,mem_antl_conn_update_timer 
+0x3310 015910 rtn 
+:      015911 antilost_le_conn_param_updata_judge:
+0x3311 015912 fetch 1 ,mem_le_state 
+0x3312 015913 rtnbit1 lestate_update_param 
+0x3313 015914 jam 1 ,mem_lestate_update_param_flag 
+0x3314 015915 rtn 
+:      015918 antilost_le_conn_param_accepted:
+0x3315 015919 fetch 1 ,mem_lestate_update_param_flag 
+0x3316 015920 rtn blank 
+0x3317 015921 jam 0 ,mem_lestate_update_param_flag 
+0x3318 015922 fetch 2 ,mem_le_new_connslavelatency 
+0x3319 015923 branch antilost_master_nonsupport_latency ,blank 
+0x331a 015924 rtn 
+:      015926 antilost_le_conn_param_rejected:
+0x331b 015927 fetch 2 ,mem_le_latency 
+0x331c 015928 branch antilost_conn_param_updata_procedure_faild ,blank 
+:      015929 antilost_conn_param_retransimiting:
+0x331d 015930 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+0x331e 015931 fetcht 2 ,mem_interval_increment 
+0x331f 015932 fetch 2 ,mem_le_interval_min 
+0x3320 015933 iadd temp ,pdata 
+0x3321 015934 store 2 ,mem_le_interval_min 
+0x3322 015935 copy pdata ,rega 
+0x3323 015936 fetch 2 ,mem_le_interval_max 
+0x3324 015937 iadd temp ,pdata 
+0x3325 015938 store 2 ,mem_le_interval_max 
+0x3326 015939 iadd rega ,pdata 
+0x3327 015940 rshift pdata ,temp 
+0x3328 015941 fetch 2 ,mem_antl_le_unnormal_interval_max 
+0x3329 015942 idiv temp 
+0x332a 015943 call get_div_result 
+0x332b 015944 store 2 ,mem_le_latency 
+0x332c 015945 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x332d 015946 rtn 
+:      015947 antilost_conn_param_updata_procedure_faild:
+0x332e 015948 jam conn_param_updata_procedure_faild ,mem_antl_conn_updata_procedure_state 
+0x332f 015949 rtn 
+:      015951 antilost_master_nonsupport_latency:
+0x3330 015952 jam 0 ,mem_lpm_mult 
+0x3331 015953 jam 0 ,mem_antl_send_updata_le_param_timer 
+0x3332 015954 fetch 2 ,mem_le_new_conninterval 
+0x3333 015955 fetcht 2 ,mem_antl_le_unnormal_interval_min 
+0x3334 015956 isub temp ,null 
+0x3335 015957 setflag positive ,0 ,rega 
+0x3336 015958 fetch 2 ,mem_antl_le_unnormal_interval_max 
+0x3337 015959 fetcht 2 ,mem_le_new_conninterval 
+0x3338 015960 isub temp ,pdata 
+0x3339 015961 setflag positive ,1 ,rega 
+0x333a 015962 compare 0x03 ,rega ,0x03 
+0x333b 015963 rtn true 
+0x333c 015964 fetch 8 ,mem_antl_le_unnormal_interval_min 
+0x333d 015965 store 8 ,mem_le_interval_min 
+0x333e 015966 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x333f 015967 rtn 
+:      015970 antilost_le_bb_event_timer:
+0x3340 015971 call app_power_timer 
+0x3341 015972 call antilost_double_click_timer 
+0x3342 015973 call antilost_le_fast_adv_timer 
+0x3343 015974 call antilost_le_sleep_timer 
+0x3344 015975 call antilost_app_updata_le_param_timer 
+0x3345 015976 call antilost_conn_update_timer 
+0x3346 015977 call antilost_conn_battery_send_timer 
+0x3347 015978 call antilost_disconn_buzzer_on_timer 
+0x3348 015979 branch antilost_adc_check_timer 
+:      015981 antilost_disconn_buzzer_on_timer:
+0x3349 015982 arg mem_antl_disconn_buzzer_on_timer ,regc 
+0x334a 015983 arg antilost_disconn_buzzer_off ,regb 
+0x334b 015984 branch timer_single_step_2b 
+:      015986 antilost_disconn_buzzer_off:
+0x334c 015987 arg 1 ,rega 
+0x334d 015988 call ui_led_blink_stop_global 
+0x334e 015989 fetch 2 ,mem_buzzer_pwm_conf 
+0x334f 015990 branch pwm_disable 
+:      015993 antilost_conn_battery_send_timer:
+0x3350 015994 arg mem_antilost_conn_battery_send_timer ,regc 
+0x3351 015995 arg antilost_conn_battery_send ,regb 
+0x3352 015996 branch timer_single_step 
+:      015997 antilost_conn_battery_send:
+0x3353 015998 call antilost_battery_process 
+0x3354 015999 call antilost_battery_process 
+0x3355 016000 call antilost_battery_process 
+0x3356 016001 branch antilost_battery_calculate_end 
+:      016004 antilost_double_click_timer:
+0x3357 016005 arg mem_double_click_timer ,regc 
+0x3358 016006 arg antilost_double_click_timeout ,regb 
+0x3359 016007 branch timer_single_step 
+:      016008 antilost_double_click_timeout:
+0x335a 016009 jam 0 ,mem_butten_click_cnt 
+0x335b 016010 rtn 
+:      016011 antilost_le_fast_adv_timer:
+0x335c 016012 arg mem_antl_fast_adv_timer ,regc 
+0x335d 016013 arg antilost_le_fast_adv_timeout ,regb 
+0x335e 016014 branch timer_single_step_2b 
+:      016015 antilost_le_fast_adv_timeout:
+0x335f 016016 arg mem_antl_slow_adv_led_style ,regc 
+0x3360 016017 arg mem_antl_slow_adv_lpm_interval ,regb 
+0x3361 016018 branch antilost_adv_start_common 
+:      016021 antilost_conn_update_timer:
+0x3362 016022 arg mem_antl_conn_update_timer ,regc 
+0x3363 016023 arg antilost_conn_update_timer_time_out ,regb 
+0x3364 016024 branch timer_single_step 
+:      016026 antilost_conn_update_timer_time_out:
+0x3365 016027 fetch 2 ,mem_le_latency 
+0x3366 016028 store 1 ,mem_lpm_mult 
+0x3367 016029 rtn 
+:      016030 antilost_app_updata_le_param_timer:
+0x3368 016031 arg mem_antl_send_updata_le_param_timer ,regc 
+0x3369 016032 arg antilost_app_updata_le_param_timeout ,regb 
+0x336a 016033 branch timer_single_step 
+:      016034 antilost_app_updata_le_param_timeout:
+0x336b 016035 fetch 1 ,mem_le_state 
+0x336c 016036 compare 0 ,pdata ,0x60 
+0x336d 016037 nbranch antilost_wait_for_updata_param_instant_expire ,true 
+0x336e 016038 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+0x336f 016039 call app_lpm_mult_enable 
+0x3370 016040 branch le_l2cap_tx_update_req 
+:      016041 antilost_wait_for_updata_param_instant_expire:
+0x3371 016042 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x3372 016043 rtn 
+:      016045 antilost_le_sleep_timer:
+0x3373 016046 arg mem_antl_le_sleep_timer ,regc 
+0x3374 016047 arg antilost_le_sleep_timer_timeout ,regb 
+0x3375 016048 branch timer_single_step_2b 
+:      016051 antilost_le_sleep_timer_timeout:
+0x3376 016052 branch app_button_long_pressed 
+:      016054 antilost_adc_check_timer:
+0x3377 016055 arg mem_adc_timer ,regc 
+0x3378 016056 arg antilost_adc_check_timer_timeout ,regb 
+0x3379 016057 branch timer_single_step_2b 
+:      016058 antilost_adc_check_timer_timeout:
+0x337a 016059 fetch 2 ,mem_adc_timeout 
+0x337b 016060 store 2 ,mem_adc_timer 
+0x337c 016061 branch antilost_battery_process 
+:      016064 antilost_le_process_conn:
+0x337d 016065 fetch 2 ,mem_adc_timeout 
+0x337e 016066 store 2 ,mem_adc_timer 
+0x337f 016067 setarg 0 
+0x3380 016068 store 2 ,mem_antl_fast_adv_timer 
+0x3381 016069 store 2 ,mem_antl_le_sleep_timer 
+0x3382 016070 call antilost_alert_off 
+0x3383 016071 call antilost_led_buzzer_stop_blink 
+0x3384 016072 jam 0 ,mem_lpm_mult 
+0x3385 016073 branch app_ble_stop_adv 
+:      016076 antilost_le_process_discon:
+0x3386 016077 setarg 0 
+0x3387 016078 store 4 ,mem_adc_timer 
+0x3388 016079 store 3 ,mem_antl_conn_updata_procedure_state 
+0x3389 016080 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x338a 016082 jam 1 ,mem_alarm_config_notfy_cnt 
+0x338b 016083 fetch 2 ,mem_antl_le_sleep_timeout 
+0x338c 016084 store 2 ,mem_antl_le_sleep_timer 
+0x338d 016086 fetch 2 ,mem_antl_disconn_buzzer_on_timeout 
+0x338e 016087 store 2 ,mem_antl_disconn_buzzer_on_timer 
+0x338f 016089 call queue_init 
+0x3390 016090 fetch 1 ,mem_antl_power_state 
+0x3391 016091 rtneq power_off 
+0x3392 016092 call antilost_fast_adv_start 
+0x3393 016093 branch antilost_on_off_alarm_after_disconn 
+:      016096 antilost_le_conn_process:
+0x3394 016098 branch antilost_key_process 
+:      016100 antilost_idle_process:
+0x3395 016102 fetch 1 ,mem_antl_power_state 
+0x3396 016103 rtnne power_standby 
+0x3397 016104 branch antilost_key_process 
+:      016109 antilost_power_starting_cb:
+0x3398 016110 arg mem_antl_power_starting_buzzer_style ,regc 
+0x3399 016111 call antilost_buzzer_configuration 
+0x339a 016112 arg mem_antl_power_starting_led_style ,regc 
+:      016113 antilost_power_common:
+0x339b 016114 branch antilost_led_configuration 
+:      016116 antilost_power_off_cb:
+0x339c 016117 jam off ,mem_le_adv_enable 
+0x339d 016118 arg mem_antl_power_off_buzzer_style ,regc 
+0x339e 016119 call antilost_buzzer_configuration 
+0x339f 016120 arg mem_antl_power_off_led_style ,regc 
+0x33a0 016121 branch antilost_power_common 
+:      016123 antilost_le_receive_data_process:
+0x33a1 016124 fetch 1 ,mem_le_att_opcode 
+0x33a2 016125 beq attop_write_request ,antilost_le_parse_att_write_request 
+0x33a3 016126 rtn 
+:      016127 antilost_le_parse_att_write_request:
+0x33a4 016128 fetch 2 ,mem_le_att_handle 
+0x33a5 016130 beq new_spec_write_handle ,antilost_cmd_parse_for_application 
+0x33a6 016131 beq new_spec_notification_enable_handle ,antilost_notify_alarm_config_first_time 
+0x33a7 016132 rtn 
+:      016137 antilost_key_process:
+0x33a8 016138 fetch 1 ,mem_antl_key_scan_enable 
+0x33a9 016139 rtn blank 
+0x33aa 016140 branch keyscan_key_process 
+:      016144 antilost_key_up_down:
+0x33ab 016145 copy rega ,pdata 
+0x33ac 016146 branch antilost_key_is_up ,blank 
+:      016147 antilost_key_is_down:
+0x33ad 016148 copy queue ,pdata 
+0x33ae 016149 beq 0 ,antilost_key0_down 
+0x33af 016150 rtn 
+:      016151 antilost_key_is_up:
+0x33b0 016152 copy queue ,pdata 
+0x33b1 016153 beq 0 ,antilost_key0_up 
+0x33b2 016154 rtn 
+:      016156 antilost_key0_down:
+0x33b3 016157 jam 1 ,mem_antl_key_state 
+0x33b4 016158 arg mem_antl_key_buzzer_style ,regc 
+0x33b5 016159 call antilost_buzzer_configuration 
+0x33b6 016160 arg mem_antl_key_led_style ,regc 
+0x33b7 016161 call antilost_led_configuration 
+0x33b8 016162 fetch 2 ,mem_ui_state_map 
+0x33b9 016163 bbit0 ui_state_ble_connected ,antilost_butten_down_while_disconn 
+0x33ba 016164 branch antilost_butten_down_after_conn 
+:      016166 antilost_key0_up:
+0x33bb 016167 jam 0 ,mem_antl_key_state 
+0x33bc 016168 branch antilost_double_click_timer_init 
+:      016172 antilost_double_click_timer_init:
+0x33bd 016173 fetch 1 ,mem_butten_click_cnt 
+0x33be 016174 rtnne 1 
+0x33bf 016175 jam 5 ,mem_double_click_timer 
+0x33c0 016176 rtn 
+:      016178 antilost_butten_down_after_conn:
+0x33c1 016179 fetch 1 ,mem_butten_click_cnt 
+0x33c2 016180 pincrease 1 
+0x33c3 016181 store 1 ,mem_butten_click_cnt 
+0x33c4 016182 beq 1 ,antilost_click_once 
+0x33c5 016183 beq 2 ,antilost_click_twice 
+0x33c6 016184 rtn 
+:      016185 antilost_click_once:
+0x33c7 016186 call antilost_alert_off 
+0x33c8 016187 jam opcode1_butten_click_once ,mem_antl_key0_press + 5 
+0x33c9 016188 arg mem_antl_key0_press ,regc 
+0x33ca 016189 branch antilost_prepare_data_and_send 
+:      016190 antilost_click_twice:
+0x33cb 016191 jam 0 ,mem_butten_click_cnt 
+0x33cc 016192 jam opcode2_butten_double_click ,mem_antl_key0_press + 5 
+0x33cd 016193 arg mem_antl_key0_press ,regc 
+0x33ce 016194 call antilost_prepare_data_and_send 
+0x33cf 016195 fetch 1 ,mem_antl_lost_mode 
+0x33d0 016196 beq 1 ,antilost_alert_on 
+0x33d1 016197 rtn 
+:      016199 antilost_butten_down_while_disconn:
+0x33d2 016200 fetch 2 ,mem_antl_le_sleep_timeout 
+0x33d3 016201 store 2 ,mem_antl_le_sleep_timer 
+0x33d4 016202 call antilost_alert_off 
+0x33d5 016203 branch antilost_fast_adv_start 
+:      016206 antilost_cmd_parse_for_application:
+0x33d6 016207 bpatch patch16_3 ,mem_patch16 
+0x33d7 016208 call le_app_receive_data 
+0x33d8 016209 ifetch 1 ,rega 
+0x33d9 016210 beq opcode3_antl_start_alram ,antilost_on_of_alram 
+0x33da 016211 beq opcode7_antl_config_alram ,antilost_configuration_for_alram 
+0x33db 016212 rtn 
+:      016214 antilost_on_of_alram:
+0x33dc 016215 fetch 1 ,mem_antl_lost_mode 
+0x33dd 016216 beq anti_le_alarm_off ,antilost_alert_on 
+0x33de 016217 beq anti_le_alarm_on ,antilost_alert_off 
+0x33df 016218 rtn 
+:      016220 antilost_configuration_for_alram:
+0x33e0 016221 ifetch 1 ,regb 
+0x33e1 016222 beq 1 ,antilost_set_start_alarm_after_disconn 
+0x33e2 016223 beq 0 ,antilost_set_no_alarm_after_disconn 
+0x33e3 016224 rtn 
+:      016228 antilost_prepare_data_and_send:
+0x33e4 016229 bpatch patch16_4 ,mem_patch16 
+0x33e5 016230 fetch 1 ,mem_client_characteristic_configuration_descriptor 
+0x33e6 016231 isolate1 notification_enable_bit ,pdata 
+0x33e7 016232 nrtn true 
+0x33e8 016233 add regc ,6 ,contr 
+0x33e9 016234 ifetch 2 ,contr 
+0x33ea 016235 byteswap pdata ,pdata 
+0x33eb 016236 add pdata ,5 ,loopcnt 
+0x33ec 016237 add regc ,3 ,contr 
+0x33ed 016238 call calc_check_sum_start 
+0x33ee 016239 istore 1 ,contr 
+0x33ef 016240 copy regc ,rega 
+0x33f0 016241 branch queue_push 
+:      016247 antilost_alert_on:
+0x33f1 016248 fetch 1 ,mem_antl_power_state 
+0x33f2 016249 rtn blank 
+0x33f3 016250 jam 1 ,mem_antl_lost_mode 
+0x33f4 016251 arg mem_antl_alert_buzzer_stlye ,regc 
+0x33f5 016252 call antilost_buzzer_configuration 
+0x33f6 016253 arg mem_antl_alert_led_stlye ,regc 
+0x33f7 016254 call antilost_led_configuration 
+0x33f8 016255 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+0x33f9 016256 jam 1 ,mem_antl_key0_release + 8 
+0x33fa 016257 arg mem_antl_key0_release ,regc 
+0x33fb 016258 branch antilost_prepare_data_and_send 
+:      016259 antilost_alert_off:
+0x33fc 016260 fetch 1 ,mem_antl_lost_mode 
+0x33fd 016261 rtn blank 
+0x33fe 016262 jam 0 ,mem_antl_lost_mode 
+0x33ff 016263 call antilost_led_buzzer_stop_blink 
+0x3400 016264 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+0x3401 016265 jam 0 ,mem_antl_key0_release + 8 
+0x3402 016266 arg mem_antl_key0_release ,regc 
+0x3403 016267 branch antilost_prepare_data_and_send 
+:      016269 antilost_set_start_alarm_after_disconn:
+0x3404 016270 jam 1 ,mem_alarm_config 
+0x3405 016271 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x3406 016272 jam 1 ,mem_antl_key0_release + 8 
+0x3407 016273 arg mem_antl_key0_release ,regc 
+0x3408 016274 branch antilost_prepare_data_and_send 
+:      016275 antilost_set_no_alarm_after_disconn:
+0x3409 016276 jam 0 ,mem_alarm_config 
+0x340a 016277 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x340b 016278 jam 0 ,mem_antl_key0_release + 8 
+0x340c 016279 arg mem_antl_key0_release ,regc 
+0x340d 016280 branch antilost_prepare_data_and_send 
+:      016281 antilost_on_off_alarm_after_disconn:
+0x340e 016282 fetch 1 ,mem_alarm_config 
+0x340f 016283 rtn blank 
+0x3410 016284 branch antilost_alert_on 
+:      016286 antilost_notify_alarm_config_first_time:
+0x3411 016287 ifetch 2 ,rega 
+0x3412 016288 store 2 ,mem_client_characteristic_configuration_descriptor 
+0x3413 016289 isolate1 notification_enable_bit ,pdata 
+0x3414 016290 nrtn true 
+0x3415 016291 fetch 1 ,mem_alarm_config_notfy_cnt 
+0x3416 016292 rtn blank 
+0x3417 016293 jam 0 ,mem_alarm_config_notfy_cnt 
+0x3418 016294 fetch 8 ,mem_antl_le_interval_min 
+0x3419 016295 store 8 ,mem_le_interval_min 
+0x341a 016296 jam 3 ,mem_antilost_conn_battery_send_timer 
+0x341b 016297 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x341c 016298 jam 30 ,mem_antl_send_updata_le_param_timer 
+0x341d 016299 fetch 1 ,mem_alarm_config 
+0x341e 016300 store 1 ,mem_antl_key0_release + 8 
+0x341f 016301 arg mem_antl_key0_release ,regc 
+0x3420 016302 branch antilost_prepare_data_and_send 
+:      016306 antilost_buzzer_configuration:
+0x3421 016307 arg 1 ,rega 
+0x3422 016308 branch antilost_configuration_common 
+:      016309 antilost_led_configuration:
+0x3423 016310 arg 0 ,rega 
+:      016311 antilost_configuration_common:
+0x3424 016312 branch antilost_led_buzzer_style_configuration 
+:      016314 antilost_led_buzzer_stop_blink:
+0x3425 016315 arg 0 ,rega 
+0x3426 016316 call ui_led_blink_stop_global 
+0x3427 016317 arg 1 ,rega 
+0x3428 016318 call ui_led_blink_stop_global 
+0x3429 016319 fetch 2 ,mem_buzzer_pwm_conf 
+0x342a 016320 branch pwm_disable 
+:      016322 antilost_led_buzzer_style_configuration:
+0x342b 016323 call calc_curr_struct_prt 
+0x342c 016324 arg 7 ,loopcnt 
+0x342d 016325 branch ui_led_set_style_global + 2 
+:      016329 antilost_fast_adv_start:
+0x342e 016330 arg mem_antl_fast_adv_led_style ,regc 
+0x342f 016331 arg mem_antl_lpm_interval ,regb 
+:      016332 antilost_adv_start_common:
+0x3430 016333 call antilost_adv_interval_lpm_interval_set 
+0x3431 016334 call antilost_led_configuration 
+0x3432 016335 fetch 2 ,mem_antl_fast_adv_timeout 
+0x3433 016336 store 2 ,mem_antl_fast_adv_timer 
+0x3434 016337 branch app_ble_start_adv 
+:      016339 antilost_adv_interval_lpm_interval_set:
+0x3435 016340 ifetch 2 ,regb 
+0x3436 016341 store 2 ,mem_lpm_interval 
+0x3437 016342 ifetch 2 ,contr 
+0x3438 016343 store 2 ,mem_le_adv_interval 
+0x3439 016344 rtn 
+:      016346 antilost_buzzer_pwm_init:
+0x343a 016347 arg 0 ,rega 
+0x343b 016348 call pwm_init 
+0x343c 016349 fetch 6 ,mem_buzzer_pwm_conf 
+0x343d 016350 store 6 ,mem_pdatatemp 
+0x343e 016351 call pwm_out_set 
+0x343f 016352 fetch 2 ,mem_buzzer_pwm_conf 
+0x3440 016353 branch pwm_disable 
+:      016355 antilost_led_on_cb:
+0x3441 016356 jam 1 ,mem_antl_led_state 
+0x3442 016357 rtn 
+:      016358 antilost_led_off_cb:
+0x3443 016359 jam 0 ,mem_antl_led_state 
+0x3444 016360 rtn 
+:      016364 antilost_buzzer_off:
+0x3445 016365 jam 0 ,mem_antl_buzzer_state 
+0x3446 016366 fetch 2 ,mem_buzzer_pwm_conf 
+0x3447 016367 branch pwm_disable 
+:      016369 antilost_buzzer_on:
+0x3448 016370 jam 1 ,mem_antl_buzzer_state 
+0x3449 016371 fetch 6 ,mem_buzzer_pwm_conf 
+0x344a 016372 store 6 ,mem_pdatatemp 
+0x344b 016373 branch pwm_out_set 
+:      016377 antilost_adc_init:
+0x344c 016378 jam 0 ,mem_adc_config_flag 
+0x344d 016379 rtn 
+:      016381 antilost_battery_process:
+0x344e 016382 call vdd_calculate_by_mode 
+0x344f 016383 store 2 ,mem_battery_current_voltage 
+0x3450 016384 arg mem_battery_calculate_set ,rega 
+0x3451 016385 call adc_bat_percent_lowpower_out 
+0x3452 016386 store 1 ,mem_voltage_remain_percent 
+0x3453 016387 setarg 0x65 
+0x3454 016388 beq 0 ,antilost_low_battery 
+0x3455 016389 sub pdata ,0x64 ,null 
+0x3456 016390 nbranch antilost_full_battery ,positive 
+0x3457 016391 store 1 ,mem_antl_key0_release + 8 
+:      016392 antilost_battery_calculate_end:
+0x3458 016393 jam opcode5_batter_information ,mem_antl_key0_release + 5 
+0x3459 016394 arg mem_antl_key0_release ,regc 
+0x345a 016395 branch antilost_prepare_data_and_send 
+:      016396 antilost_full_battery:
+0x345b 016397 jam 100 ,mem_antl_key0_release + 8 
+0x345c 016398 branch antilost_battery_calculate_end 
+:      016400 antilost_low_battery:
+0x345d 016401 branch app_button_long_pressed 
+:      016405 car_init:
+0x345e 016406 call enable_authrom 
+0x345f 016407 rtn wake 
+0x3460 016408 setarg car_g24_receive_process 
+0x3461 016409 store 2 ,mem_cb_24g_receive_process 
+0x3462 016411 setarg g24_bind_ackpayload_prep 
+0x3463 016412 store 2 ,mem_cb_24g_ackpayload 
+0x3464 016414 setarg car_g24_cb_data_device1 
+0x3465 016415 store 2 ,mem_cb_24g_data_device1 
+0x3466 016417 setarg car_le_before_hibernate 
+0x3467 016418 store 2 ,mem_cb_before_hibernate 
+0x3468 016420 setarg car_le_process_lpm_before 
+0x3469 016421 store 2 ,mem_cb_before_lpm 
+0x346a 016423 setarg app_enter_hibernate 
+0x346b 016424 store 2 ,mem_cb_discovry_timeout 
+0x346c 016426 setarg car_scale_process_idle 
+0x346d 016427 store 2 ,mem_cb_idle_process 
+0x346e 016429 setarg car_scale_process_bb_event 
+0x346f 016430 store 2 ,mem_cb_bb_event_process 
+0x3470 016432 setarg app_get_lpm_wake_lock 
+0x3471 016433 store 2 ,mem_cb_check_wakelock 
+0x3472 016435 setarg car_le_receive_data 
+0x3473 016436 store 2 ,mem_cb_att_write 
+0x3474 016438 setarg car_le_bb_event_timer 
+0x3475 016439 store 2 ,mem_cb_event_timer 
+0x3476 016441 bpatch patch16_5 ,mem_patch16 
+0x3477 016442 call car_init_environment 
+0x3478 016443 call car_lpm_timer_enable 
+0x3479 016444 call queue_init 
+0x347a 016445 jam 2 ,mem_lpm_mult 
+0x347b 016446 jam power_on ,mem_car_24g_received_pac 
+0x347c 016447 fetch 1 ,mem_car_config_soft_switch_enable 
+0x347d 016448 store 1 ,mem_car_hard_soft_switch 
+0x347e 016449 beq hard_switch ,car_hard_switch_power_on_signal 
+0x347f 016450 fetch 1 ,mem_car_config_soft_switch_gpio 
+0x3480 016451 store 1 ,mem_ui_button_gpio 
+0x3481 016452 jam off ,mem_le_adv_enable 
+:      016453 car_soft_switch_power_on_init:
+0x3482 016454 call ui_button_init 
+0x3483 016455 call ui_button_polling 
+0x3484 016456 jam power_starting ,mem_car_power_state 
+0x3485 016457 fetch 2 ,mem_ui_state_map 
+0x3486 016458 rtnbit1 ui_state_btn_down 
+0x3487 016459 branch app_enter_hibernate 
+:      016461 car_power_off_signal:
+0x3488 016462 branch car_ui_led_init 
+:      016464 car_hard_switch_power_on_signal:
+0x3489 016465 jam power_standby ,mem_car_power_state 
+:      016466 car_soft_switch_power_on_signal:
+0x348a 016467 jam on ,mem_le_adv_enable 
+0x348b 016468 setarg fast_adv_interval_value_car 
+0x348c 016469 call shutter_ble_adv_interval_set 
+:      016470 car_le_modified_name_adv:
+0x348d 016471 arg mem_le_name + 7 ,contw 
+0x348e 016472 fetch 1 ,mem_le_lap 
+:      016473 car_name_loop:
+0x348f 016474 and pdata ,0xF0 ,temp 
+0x3490 016475 rshift4 temp ,temp 
+0x3491 016476 call car_hex_to_ascii 
+0x3492 016477 istoret 1 ,contw 
+0x3493 016478 and pdata ,0x0F ,temp 
+0x3494 016479 call car_hex_to_ascii 
+0x3495 016480 istoret 1 ,contw 
+0x3496 016481 call le_modified_name_att_list 
+0x3497 016482 fetcht 1 ,mem_le_name_len 
+0x3498 016483 copy temp ,loopcnt 
+0x3499 016484 arg mem_le_adv_data + 2 ,contw 
+0x349a 016485 arg mem_le_name ,contr 
+0x349b 016486 call memcpy 
+:      016487 car_le_modified_name_scan:
+0x349c 016488 fetcht 1 ,mem_le_name_len 
+0x349d 016489 copy temp ,loopcnt 
+0x349e 016490 arg mem_le_scan_data + 2 ,contw 
+0x349f 016491 arg mem_le_name ,contr 
+0x34a0 016492 branch memcpy 
+:      016493 car_hex_to_ascii:
+0x34a1 016494 sub temp ,9 ,null 
+0x34a2 016495 branch car_hex_num ,positive 
+0x34a3 016496 add temp ,55 ,temp 
+0x34a4 016497 rtn 
+:      016498 car_hex_num:
+0x34a5 016499 add temp ,48 ,temp 
+0x34a6 016500 rtn 
+:      016502 car_ui_led_init:
+0x34a7 016503 fetch 1 ,mem_car_config_blood_led1_gpio 
+0x34a8 016504 bne invalid_pin_num ,car_blood_led_gpio_set 
+:      016505 car_ui_led_init_1:
+0x34a9 016506 fetch 1 ,mem_car_config_pairing_led_gpio 
+0x34aa 016507 bne invalid_pin_num ,car_pairing_led_gpio_set 
+:      016508 car_ui_led_init_2:
+0x34ab 016509 fetch 1 ,mem_car_config_low_voltage_led_gpio 
+0x34ac 016510 bne invalid_pin_num ,car_low_voltage_led_gpio_set 
+:      016511 car_ui_led_init_3:
+0x34ad 016512 fetch 1 ,mem_car_led_num 
+0x34ae 016513 copy pdata ,loopcnt 
+0x34af 016514 setarg mem_car_led_map 
+0x34b0 016515 copy pdata ,rega 
+:      016516 car_in_lp1:
+0x34b1 016517 copy rega ,contr 
+0x34b2 016518 ifetch 1 ,contr 
+0x34b3 016519 copy contr ,rega 
+0x34b4 016520 beq invalid_pin_num ,car_in_lp1_end 
+0x34b5 016521 copy pdata ,temp 
+0x34b6 016522 call gpio_config_output 
+:      016523 car_in_lp1_end:
+0x34b7 016524 loop car_in_lp1 
+:      016525 car_ui_led_init_end:
+0x34b8 016526 rtn 
+:      016527 car_blood_led_gpio_set:
+0x34b9 016528 fetch 8 ,mem_car_config_blood_led1_gpio 
+0x34ba 016529 store 8 ,mem_car_led_map + 2 
+0x34bb 016530 branch car_ui_led_init_1 
+:      016531 car_pairing_led_gpio_set:
+0x34bc 016532 store 1 ,mem_car_led_map 
+0x34bd 016533 branch car_ui_led_init_2 
+:      016534 car_low_voltage_led_gpio_set:
+0x34be 016535 store 1 ,mem_car_led_map + 1 
+0x34bf 016536 branch car_ui_led_init_3 
+:      016538 car_init_environment:
+0x34c0 016540 call car_g24_init 
+0x34c1 016541 arg 0 ,rega 
+0x34c2 016542 call pwm_init 
+0x34c3 016543 call car_ui_led_init 
+0x34c4 016544 call car_start_blink 
+0x34c5 016545 call car_init_adc_hvin 
+0x34c6 016546 branch car_motor_init 
+:      016548 car_motor_init:
+0x34c7 016549 fetch 1 ,mem_car_motor_gpio_num 
+0x34c8 016550 copy pdata ,loopcnt 
+0x34c9 016551 setarg mem_car_motor_gpio_map 
+0x34ca 016552 copy pdata ,rega 
+:      016553 p_in_lp1:
+0x34cb 016554 copy rega ,contr 
+0x34cc 016555 ifetch 1 ,contr 
+0x34cd 016556 copy contr ,rega 
+0x34ce 016557 beq invalid_pin_num ,p_in_lp1_end 
+0x34cf 016558 copy pdata ,temp 
+0x34d0 016559 store 1 ,mem_car_gpio 
+0x34d1 016560 call car_ui_gpio_init 
+:      016561 p_in_lp1_end:
+0x34d2 016562 loop p_in_lp1 
+:      016563 p_car_ui_led_init_end:
+0x34d3 016564 rtn 
+:      016566 car_ui_gpio_init:
+0x34d4 016567 fetch 1 ,mem_car_gpio 
+0x34d5 016568 rtneq ui_button_gpio_disable 
+0x34d6 016569 iforce temp 
+0x34d7 016570 branch gpio_config_output 
+:      016573 car_init_adc_hvin:
+0x34d8 016574 jam 100 ,mem_car_notify_vdd_value_last 
+0x34d9 016575 rtn 
+:      016577 car_le_before_hibernate:
+:      016578 car_le_process_lpm_before:
+0x34da 016579 branch keyscan_process_lpm_before 
+:      016581 car_key_scan_process:
+0x34db 016582 branch keyscan_key_process 
+:      016584 car_scale_process_idle:
+0x34dc 016585 call car_le_send_packet 
+0x34dd 016586 call car_g24_status_process 
+0x34de 016587 branch car_key_scan_process 
+:      016589 car_g24_status_process:
+0x34df 016590 fetch 2 ,mem_ui_state_map 
+0x34e0 016591 rtnbit1 ui_state_ble_connected 
+0x34e1 016592 fetch 1 ,mem_car_24g_received_pac 
+0x34e2 016593 beq work_paired ,car_g24_connected_event 
+0x34e3 016594 rtn 
+:      016595 car_g24_connected_event:
+0x34e4 016596 fetch 1 ,mem_car_24g_status 
+0x34e5 016597 rtneq work_paired 
+0x34e6 016598 jam work_paired ,mem_car_24g_status 
+0x34e7 016599 call car_lpm_timer_disable 
+0x34e8 016600 call car_stop_blink 
+0x34e9 016601 branch car_g24_connected 
+:      016603 car_lpm_timer_enable:
+0x34ea 016604 fetch 2 ,mem_car_enter_lpm_timer_count 
+0x34eb 016605 store 2 ,mem_car_enter_lpm_timer 
+0x34ec 016606 jam 0 ,mem_car_enter_lpm_flag 
+0x34ed 016607 rtn 
+:      016610 car_lpm_timer_disable:
+0x34ee 016611 setarg 0 
+0x34ef 016612 branch car_lpm_timer_enable + 1 
+:      016615 car_stop_blink:
+0x34f0 016616 arg 0 ,rega 
+0x34f1 016617 branch ui_led_blink_stop_global 
+:      016620 car_start_blink:
+0x34f2 016621 arg 0 ,rega 
+0x34f3 016622 branch ui_led_blink_start_global 
+:      016628 car_le_send_packet:
+0x34f4 016629 fetch 2 ,mem_ui_state_map 
+0x34f5 016630 rtnbit0 ui_state_ble_connected 
+0x34f6 016631 call le_fifo_check_nearly_full 
+0x34f7 016632 nrtn blank 
+0x34f8 016633 arg mem_car_pop_queue_buff ,rega 
+0x34f9 016634 call queue_pop 
+0x34fa 016635 nrtn user 
+0x34fb 016636 arg mem_car_pop_queue_buff ,contr 
+0x34fc 016637 branch le_send_notify_from_list 
+:      016639 car_scale_process_bb_event:
+0x34fd 016640 copy regc ,pdata 
+0x34fe 016641 beq bt_evt_button_up ,app_event_button_up 
+0x34ff 016642 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x3500 016643 beq bt_evt_le_connected ,car_scale_event_le_conn 
+0x3501 016644 beq bt_evt_le_disconnected ,car_scale_event_le_discon 
+0x3502 016645 rtn 
+:      016647 car_scale_event_le_conn:
+0x3503 016648 call car_lpm_timer_disable 
+0x3504 016649 call car_stop_blink 
+0x3505 016650 set0 mark_24g_rxmode ,mark 
+0x3506 016651 branch car_scale_process_conn 
+:      016652 car_g24_connected:
+0x3507 016653 fetch 2 ,mem_car_24g_no_data_timeout_count 
+0x3508 016654 store 2 ,mem_car_24g_no_data_timeout_timer 
+:      016655 car_scale_process_conn:
+0x3509 016656 jam 0x14 ,mem_car_notify_vdd_timer 
+0x350a 016657 jam 0 ,mem_lpm_mode 
+0x350b 016658 call app_ble_stop_adv 
+0x350c 016659 branch app_lpm_mult_enable 
+:      016662 car_scale_event_le_discon:
+0x350d 016663 set1 mark_24g_rxmode ,mark 
+0x350e 016664 call car_lpm_timer_enable 
+0x350f 016665 call car_fb_motor_stop 
+0x3510 016666 call car_lr_motor_stop 
+:      016667 car_g24_disconnect:
+0x3511 016668 setarg 0 
+0x3512 016669 store 5 ,mem_car_led_control 
+0x3513 016670 setarg 4 
+0x3514 016671 call pwm_disable 
+0x3515 016672 setarg 5 
+0x3516 016673 call pwm_disable 
+0x3517 016674 setarg 20 
+0x3518 016675 call pwm_disable 
+0x3519 016676 setarg 21 
+0x351a 016677 call pwm_disable 
+0x351b 016678 setarg 22 
+0x351c 016679 call pwm_disable 
+0x351d 016680 setarg 7 
+0x351e 016681 call pwm_disable 
+0x351f 016682 call queue_init 
+0x3520 016683 jam 10 ,mem_motor1_speed 
+0x3521 016684 jam 10 ,mem_motor2_speed 
+0x3522 016685 jam 10 ,mem_motor3_speed 
+0x3523 016687 jam 2 ,mem_lpm_mult 
+0x3524 016688 setarg fast_adv_interval_value_car 
+0x3525 016689 call shutter_ble_adv_interval_set 
+0x3526 016690 branch app_ble_start_adv 
+:      016692 car_le_bb_event_timer:
+0x3527 016693 call car_moto1_blank_data_timer 
+0x3528 016694 call car_moto2_blank_data_timer 
+0x3529 016695 call car_moto3_blank_data_timer 
+0x352a 016696 call app_power_timer 
+0x352b 016697 call car_notify_vdd_timer 
+0x352c 016698 call car_24g_no_data_timeout_timer 
+0x352d 016699 call car_24g_bind_enable_timer 
+0x352e 016700 branch car_enter_lpm_timer 
+:      016702 car_24g_bind_enable_timer:
+0x352f 016703 arg mem_car_24g_bind_enable_delay_count ,regc 
+0x3530 016704 arg 0 ,regb 
+0x3531 016705 branch timer_single_step 
+:      016707 car_enter_lpm_timer:
+0x3532 016708 arg mem_car_enter_lpm_timer ,regc 
+0x3533 016709 arg car_enter_lpm_enable ,regb 
+0x3534 016710 branch timer_single_step_2b 
+:      016711 car_enter_lpm_enable:
+0x3535 016712 jam 1 ,mem_car_enter_lpm_flag 
+0x3536 016713 rtn 
+:      016715 car_24g_no_data_timeout_timer:
+0x3537 016716 arg mem_car_24g_no_data_timeout_timer ,regc 
+0x3538 016717 arg car_24g_no_data_timer_timeout ,regb 
+0x3539 016718 branch timer_single_step_2b 
+:      016719 car_24g_no_data_timer_timeout:
+0x353a 016720 jam work_search ,mem_car_24g_status 
+0x353b 016721 jam power_on ,mem_car_24g_received_pac 
+0x353c 016722 branch car_g24_disconnect 
+:      016724 car_notify_vdd_timer:
+0x353d 016725 fetch 1 ,mem_car_config_bat_notify_enable 
+0x353e 016726 rtn blank 
+0x353f 016727 arg mem_car_notify_vdd_timer ,regc 
+0x3540 016728 arg car_notify_vdd ,regb 
+0x3541 016729 branch timer_single_step 
+:      016730 car_notify_vdd:
+0x3542 016731 fetch 1 ,mem_car_notify_vdd_count 
+0x3543 016732 store 1 ,mem_car_notify_vdd_timer 
+0x3544 016733 fetch 1 ,mem_car_working_flag 
+0x3545 016734 nrtn blank 
+:      016735 car_read_hvin:
+0x3546 016736 call vdd_calculate_by_mode 
+0x3547 016737 store 2 ,mem_vdd_now_vol 
+0x3548 016738 arg mem_vdd_calculate_set ,rega 
+0x3549 016739 call adc_bat_percent_lowpower_out 
+0x354a 016740 fetcht 1 ,mem_car_notify_vdd_value_last 
+0x354b 016741 isub temp ,null 
+0x354c 016742 branch car_notify_vdd_next2 ,positive 
+0x354d 016743 store 1 ,mem_car_notify_vdd_value_last 
+0x354e 016744 copy pdata ,temp 
+:      016745 car_notify_vdd_next2:
+0x354f 016746 storet 1 ,mem_car_notify_vdd_percent 
+0x3550 016747 fetch 1 ,mem_car_config_low_voltage_percent 
+0x3551 016748 isub temp ,null 
+0x3552 016749 call car_enter_low_bat ,positive 
+0x3553 016750 storet 1 ,mem_notify_bat_payload 
+0x3554 016751 arg 6 ,loopcnt 
+0x3555 016752 arg mem_notify_bat_head ,contr 
+0x3556 016753 call calc_check_sum_start 
+0x3557 016754 store 1 ,mem_notify_bat_check_sum 
+0x3558 016755 arg mem_notify_bat_packet ,rega 
+0x3559 016756 branch queue_push 
+:      016757 car_enter_low_bat:
+0x355a 016758 fetch 1 ,mem_low_bat_flag 
+0x355b 016759 nrtn blank 
+0x355c 016760 jam 1 ,mem_low_bat_flag 
+0x355d 016761 arg 1 ,rega 
+0x355e 016762 branch ui_led_blink_start_global 
+:      016763 car_low_bat_led_off:
+0x355f 016764 arg 1 ,rega 
+0x3560 016765 branch ui_led_blink_stop_global 
+:      016769 calc_check_sum_start:
+0x3561 016770 arg 0 ,rega 
+:      016771 calc_check_sum_loop:
+0x3562 016772 ifetch 1 ,contr 
+0x3563 016773 iadd rega ,rega 
+0x3564 016774 loop calc_check_sum_loop 
+:      016775 calc_check_sum_and:
+0x3565 016776 and rega ,0xff ,pdata 
+0x3566 016777 rtn 
+:      016779 car_le_receive_data:
+0x3567 016780 fetch 1 ,mem_le_att_opcode 
+0x3568 016781 beq attop_write_request ,car_le_parse_att_write_request 
+0x3569 016782 rtn 
+:      016783 car_le_parse_att_write_request:
+0x356a 016784 fetch 2 ,mem_le_att_handle 
+0x356b 016785 beq att_car_control_handle ,car_control_le_receive 
+0x356c 016786 rtn 
+:      016788 le_app_receive_data:
+0x356d 016789 bpatch patch16_6 ,mem_patch16 
+0x356e 016790 ifetch 5 ,rega 
+0x356f 016791 store 5 ,mem_app_receive_temp 
+0x3570 016792 fetch 2 ,mem_app_receive_temp 
+0x3571 016793 arg le_receive_packet_head ,temp 
+0x3572 016794 isub temp ,null 
+0x3573 016795 nrtn zero 
+0x3574 016796 fetch 2 ,mem_app_receive_temp + 3 
+0x3575 016797 byteswap pdata ,pdata 
+0x3576 016798 store 2 ,mem_app_receive_temp + 3 
+0x3577 016799 copy pdata ,loopcnt 
+0x3578 016800 increase 5 ,rega 
+0x3579 016801 copy rega ,contr 
+0x357a 016802 arg mem_app_receive_temp + 5 ,contw 
+0x357b 016803 call memcpy 
+0x357c 016804 ifetch 1 ,contr 
+0x357d 016805 store 1 ,mem_app_receive_temp + 15 
+0x357e 016806 arg mem_app_receive_temp + 2 ,rega 
+0x357f 016807 arg mem_app_receive_temp + 5 ,regb 
+0x3580 016808 rtn 
+:      016810 car_control_le_receive:
+0x3581 016811 setarg 0 
+0x3582 016812 store 5 ,mem_le_receive_payload 
+0x3583 016813 store 5 ,mem_le_receive_payload + 5 
+0x3584 016814 call le_app_receive_data 
+0x3585 016815 copy regb ,contr 
+0x3586 016816 arg mem_le_receive_payload ,contw 
+0x3587 016817 arg 10 ,loopcnt 
+0x3588 016818 call memcpy 
+:      016819 car_receive_cmd_select:
+0x3589 016820 bpatch patch16_7 ,mem_patch16 
+0x358a 016821 ifetch 1 ,rega 
+0x358b 016822 beq car_cmd_old_car_control ,car_drive_old 
+0x358c 016823 beq car_cmd_old_speed_control ,car_speed_set_old 
+0x358d 016824 beq car_cmd_l_r_motor_control ,car_motor_control 
+0x358e 016825 beq car_cmd_f_b_motor_control ,car_motor_control 
+0x358f 016826 beq car_cmd_ir_control ,car_ir_data_rx_from_app 
+0x3590 016827 beq car_cmd_led_control ,car_led_control_receive 
+0x3591 016828 beq car_cmd_device_info ,car_info_request 
+0x3592 016829 rtn 
+:      016831 car_24g_receive_data:
+0x3593 016832 call car_control_le_receive 
+0x3594 016833 fetch 1 ,mem_app_receive_temp + 2 
+0x3595 016834 beq car_cmd_l_r_motor_control ,car_24g_receive_data_next 
+0x3596 016835 beq car_cmd_f_b_motor_control ,car_24g_receive_data_next 
+0x3597 016836 rtn 
+:      016837 car_24g_receive_data_next:
+0x3598 016838 fetch 1 ,mem_le_receive_payload 
+0x3599 016839 ncall car_moto1_enable_blank_data_timer ,blank 
+0x359a 016840 fetch 1 ,mem_le_receive_payload + 2 
+0x359b 016841 ncall car_moto2_enable_blank_data_timer ,blank 
+0x359c 016842 fetch 1 ,mem_le_receive_payload + 4 
+0x359d 016843 ncall car_moto3_enable_blank_data_timer ,blank 
+0x359e 016844 rtn 
+:      016846 car_moto1_enable_blank_data_timer:
+0x359f 016847 jam 5 ,mem_car_moto1_blank_timer 
+0x35a0 016848 rtn 
+:      016849 car_moto2_enable_blank_data_timer:
+0x35a1 016850 jam 5 ,mem_car_moto2_blank_timer 
+0x35a2 016851 rtn 
+:      016852 car_moto3_enable_blank_data_timer:
+0x35a3 016853 jam 5 ,mem_car_moto3_blank_timer 
+0x35a4 016854 rtn 
+:      016856 car_moto1_blank_data_timer:
+0x35a5 016857 arg mem_car_moto1_blank_timer ,regc 
+0x35a6 016858 arg car_moto1_blank_data ,regb 
+0x35a7 016859 branch timer_single_step 
+:      016860 car_moto2_blank_data_timer:
+0x35a8 016861 arg mem_car_moto2_blank_timer ,regc 
+0x35a9 016862 arg car_moto2_blank_data ,regb 
+0x35aa 016863 branch timer_single_step 
+:      016864 car_moto3_blank_data_timer:
+0x35ab 016865 arg mem_car_moto3_blank_timer ,regc 
+0x35ac 016866 arg car_moto3_blank_data ,regb 
+0x35ad 016867 branch timer_single_step 
+:      016869 car_moto1_blank_data:
+0x35ae 016870 jam 0 ,mem_le_receive_payload 
+0x35af 016871 branch car_motor_control 
+:      016872 car_moto2_blank_data:
+0x35b0 016873 jam 0 ,mem_le_receive_payload + 2 
+0x35b1 016874 branch car_motor_control 
+:      016875 car_moto3_blank_data:
+0x35b2 016876 jam 0 ,mem_le_receive_payload + 4 
+0x35b3 016877 branch car_motor_control 
+:      016882 car_drive_old:
+0x35b4 016883 fetch 1 ,mem_le_receive_payload 
+0x35b5 016884 store 1 ,mem_motor1_status 
+0x35b6 016885 fetch 1 ,mem_le_receive_payload + 1 
+0x35b7 016886 store 1 ,mem_motor2_status 
+0x35b8 016887 branch car_motor_control_common 
+:      016891 car_left_right_control_old:
+0x35b9 016892 fetch 1 ,mem_le_receive_payload 
+0x35ba 016893 store 1 ,mem_motor2_status 
+0x35bb 016894 branch car_motor2_control 
+:      016895 car_front_back_control_old:
+0x35bc 016896 fetch 1 ,mem_motor1_speed 
+0x35bd 016897 call car_reset_old_speed 
+0x35be 016898 fetch 1 ,mem_le_receive_payload + 1 
+0x35bf 016899 store 1 ,mem_motor1_status 
+0x35c0 016900 branch car_motor1_control 
+:      016901 car_reset_old_speed:
+0x35c1 016902 beq speed_level_2 ,car_reset_old_speed2 
+0x35c2 016903 beq speed_level_3 ,car_reset_old_speed3 
+0x35c3 016904 store 1 ,mem_motor1_speed 
+0x35c4 016905 rtn 
+:      016906 car_reset_old_speed2:
+0x35c5 016907 jam speed_level_5 ,mem_motor1_speed 
+0x35c6 016908 rtn 
+:      016909 car_reset_old_speed3:
+0x35c7 016910 jam speed_level_10 ,mem_motor1_speed 
+0x35c8 016911 rtn 
+:      016912 car_speed_set_old:
+0x35c9 016913 fetch 1 ,mem_le_receive_payload 
+0x35ca 016914 call car_reset_old_speed 
+0x35cb 016915 fetch 1 ,mem_motor1_speed 
+0x35cc 016916 call car_motor_speed_duty_setting 
+0x35cd 016917 call car_motor_speed_duty_transform 
+0x35ce 016918 jam 0x00 ,mem_pdatatemp + 1 
+0x35cf 016919 branch pwm_duty_cycle_set 
+:      016921 car_motor_control:
+0x35d0 016922 fetch 1 ,mem_car_24g_go_die_flag 
+0x35d1 016923 nrtn blank 
+0x35d2 016924 fetch 6 ,mem_le_receive_payload 
+0x35d3 016925 store 6 ,mem_motor1_status 
+0x35d4 016926 fetch 1 ,mem_motor1_speed 
+0x35d5 016927 fetcht 1 ,mem_motor2_speed 
+0x35d6 016928 iand temp ,pdata 
+0x35d7 016929 fetcht 1 ,mem_motor3_speed 
+0x35d8 016930 iand temp ,pdata 
+0x35d9 016931 call car_motor_working_flag ,blank 
+:      016932 car_motor_control_common:
+0x35da 016933 bpatch patch17_0 ,mem_patch17 
+0x35db 016934 fetch 2 ,mem_ui_state_map 
+0x35dc 016935 isolate1 ui_state_ble_connected ,pdata 
+0x35dd 016936 ncall car_lpm_timer_enable ,true 
+0x35de 016937 call car_motor1_control 
+0x35df 016938 call car_motor2_control 
+0x35e0 016939 branch car_conn_led_state 
+:      016941 car_conn_led_state:
+0x35e1 016942 fetch 1 ,mem_motor1_status 
+0x35e2 016943 fetcht 1 ,mem_motor2_status 
+0x35e3 016944 iadd temp ,pdata 
+0x35e4 016945 nbranch check_51cmd_led_on ,blank 
+0x35e5 016946 branch check_51cmd_led_off 
+:      016948 car_motor1_control:
+0x35e6 016949 arg mem_motor1_status ,contr 
+0x35e7 016950 branch car_motor1_status_select 
+:      016951 car_motor2_control:
+0x35e8 016952 arg mem_motor2_status ,contr 
+0x35e9 016953 branch car_motor2_status_select 
+:      016954 car_motor3_control:
+0x35ea 016955 arg mem_motor3_status ,contr 
+0x35eb 016956 branch car_motor_status_select 
+:      016957 car_motor_working_flag:
+0x35ec 016958 jam 0 ,mem_car_working_flag 
+0x35ed 016959 rtn 
+:      016961 car_motor1_status_select:
+0x35ee 016962 ifetch 1 ,contr 
+0x35ef 016963 beq turn_front ,car_lr_motor_stop 
+0x35f0 016964 beq turn_left ,car_lr_motor_left 
+0x35f1 016965 beq turn_right ,car_lr_motor_right 
+0x35f2 016966 rtn 
+:      016967 car_motor2_status_select:
+0x35f3 016968 ifetch 1 ,contr 
+0x35f4 016969 beq motor_stop ,car_fb_motor_stop 
+0x35f5 016970 beq go_back ,car_fb_motor_front 
+0x35f6 016971 beq go_front ,car_fb_motor_back 
+0x35f7 016972 rtn 
+:      016974 car_lr_motor_stop:
+0x35f8 016975 fetcht 1 ,mem_car_motor_left_gpio 
+0x35f9 016976 call gpio_out_inactive 
+0x35fa 016977 fetcht 1 ,mem_car_motor_right_gpio 
+0x35fb 016978 branch gpio_out_inactive 
+:      016979 car_lr_motor_left:
+0x35fc 016980 fetcht 1 ,mem_car_motor_left_gpio 
+0x35fd 016981 call gpio_out_active 
+0x35fe 016982 fetcht 1 ,mem_car_motor_right_gpio 
+0x35ff 016983 branch gpio_out_inactive 
+:      016984 car_lr_motor_right:
+0x3600 016985 fetcht 1 ,mem_car_motor_left_gpio 
+0x3601 016986 call gpio_out_inactive 
+0x3602 016987 fetcht 1 ,mem_car_motor_right_gpio 
+0x3603 016988 branch gpio_out_active 
+:      016989 car_fb_motor_stop:
+0x3604 016990 fetcht 1 ,mem_car_motor_front_gpio 
+0x3605 016991 call gpio_out_inactive 
+0x3606 016992 fetcht 1 ,mem_car_motor_back_gpio 
+0x3607 016993 branch gpio_out_inactive 
+:      016994 car_fb_motor_front:
+0x3608 016995 fetcht 1 ,mem_car_motor_front_gpio 
+0x3609 016996 call gpio_out_active 
+0x360a 016997 fetcht 1 ,mem_car_motor_back_gpio 
+0x360b 016998 branch gpio_out_inactive 
+:      016999 car_fb_motor_back:
+0x360c 017000 fetcht 1 ,mem_car_motor_front_gpio 
+0x360d 017001 call gpio_out_inactive 
+0x360e 017002 fetcht 1 ,mem_car_motor_back_gpio 
+0x360f 017003 branch gpio_out_active 
+:      017008 car_motor_status_select:
+0x3610 017009 bpatch patch17_1 ,mem_patch17 
+0x3611 017010 ifetch 1 ,contr 
+0x3612 017011 beq motor_stop ,car_motor_stop 
+0x3613 017012 beq go_front ,car_motor_positive 
+0x3614 017013 beq go_back ,car_motor_negative 
+0x3615 017014 rtn 
+:      017015 car_motor_positive:
+0x3616 017016 jam 0 ,mem_motor_select_p_n 
+0x3617 017017 branch car_motor_negative + 1 
+:      017018 car_motor_negative:
+0x3618 017019 jam 1 ,mem_motor_select_p_n 
+0x3619 017020 ifetch 1 ,contr 
+0x361a 017021 store 1 ,mem_car_motor_speed 
+0x361b 017022 ifetch 8 ,regb 
+0x361c 017023 branch car_motor_work 
+:      017025 car_motor_stop:
+0x361d 017026 ifetch 1 ,regb 
+0x361e 017027 call pwm_disable 
+0x361f 017028 increase 1 ,regb 
+0x3620 017029 ifetch 1 ,regb 
+0x3621 017030 branch pwm_disable 
+:      017031 car_motor_work:
+0x3622 017032 store 8 ,mem_motor_pwm_pin1_set 
+0x3623 017033 jam 1 ,mem_car_working_flag 
+0x3624 017034 fetch 1 ,mem_motor_select_p_n 
+0x3625 017035 beq 0 ,car_motor_select_positive 
+:      017036 car_motor_select_negative:
+0x3626 017037 fetch 1 ,mem_motor_pwm_pin2_set 
+0x3627 017038 store 1 ,mem_motor_pwm_pin_set 
+0x3628 017039 fetch 1 ,mem_motor_pwm_pin1_set 
+:      017040 car_motor_work_next:
+0x3629 017041 call pwm_disable 
+0x362a 017042 fetch 1 ,mem_car_motor_speed 
+0x362b 017043 call car_motor_speed_duty_setting 
+0x362c 017044 store 1 ,mem_motor_pwm_dute_set 
+0x362d 017045 fetch 6 ,mem_motor_pwm_pin_set 
+0x362e 017046 store 6 ,mem_pdatatemp 
+0x362f 017047 branch pwm_out_set 
+:      017048 car_motor_select_positive:
+0x3630 017049 fetch 1 ,mem_motor_pwm_pin1_set 
+0x3631 017050 store 1 ,mem_motor_pwm_pin_set 
+0x3632 017051 fetch 1 ,mem_motor_pwm_pin2_set 
+0x3633 017052 branch car_motor_work_next 
+:      017054 car_motor_speed_duty_setting:
+0x3634 017055 mul32 pdata ,5 ,pdata 
+0x3635 017056 add pdata ,50 ,pdata 
+0x3636 017057 rtn 
+:      017058 car_motor_speed_duty_transform:
+0x3637 017059 arg 12000 ,temp 
+0x3638 017060 imul32 temp ,pdata 
+0x3639 017061 div pdata ,100 
+0x363a 017062 call wait_div_end 
+0x363b 017063 quotient temp 
+0x363c 017064 copy temp ,rega 
+0x363d 017065 setarg 12000 
+0x363e 017066 isub temp ,regb 
+0x363f 017067 rtn 
+:      017069 car_ir_data_rx_from_app:
+0x3640 017070 rtn 
+:      017072 car_led_control_receive:
+0x3641 017073 fetch 8 ,mem_le_receive_payload 
+0x3642 017074 store 8 ,mem_car_led_control 
+0x3643 017075 rtn 
+:      017077 car_info_request:
+0x3644 017078 fetch 1 ,mem_car_config_device_select 
+0x3645 017079 store 1 ,mem_car_info_request_payload 
+0x3646 017080 fetch 1 ,mem_car_config_motor_layout 
+0x3647 017081 store 1 ,mem_car_info_request_payload + 1 
+0x3648 017082 fetch 1 ,mem_car_config_ir_enable 
+0x3649 017083 store 1 ,mem_car_info_request_payload + 2 
+0x364a 017084 arg 13 ,loopcnt 
+0x364b 017085 arg mem_car_info_request_head ,contr 
+0x364c 017086 call calc_check_sum_start 
+0x364d 017087 store 1 ,mem_car_info_request_checksum 
+0x364e 017088 arg mem_car_info_request ,rega 
+0x364f 017089 branch queue_push 
+:      017093 car_g24_init:
+0x3650 017094 setarg 0 
+0x3651 017095 store 8 ,mem_24g_bind_payload 
+0x3652 017096 call g24_receive_init 
+0x3653 017097 branch g24_mode_switch_init 
+:      017099 car_g24_receive_process:
+0x3654 017100 call car_g24_mode_switch 
+0x3655 017101 call car_g24_work_mode 
+0x3656 017102 call car_g24_bind_mode 
+0x3657 017103 branch car_g24_lpm_dipatch 
+:      017105 car_g24_mode_switch:
+0x3658 017106 call g24_mode_switch_bind_work 
+:      017107 car_g24_bind_mode_enable:
+0x3659 017108 fetch 1 ,mem_24g_work_mode 
+0x365a 017109 rtnne dongle_bind 
+0x365b 017110 fetch 1 ,mem_car_24g_bind_enable_delay_count 
+0x365c 017111 nbranch g24_switch_work_mode ,blank 
+0x365d 017112 fetch 1 ,mem_car_24g_status 
+0x365e 017113 beq work_search ,g24_switch_work_mode 
+0x365f 017114 rtn 
+:      017116 car_g24_work_mode:
+0x3660 017117 fetch 1 ,mem_24g_work_mode 
+0x3661 017118 rtnne dongle_work 
+0x3662 017119 call g24_work_mode_start 
+0x3663 017120 branch car_g24_ch_polling_clear ,user3 
+:      017121 car_g24_receive_ch_polling:
+0x3664 017122 fetch 1 ,mem_car_enter_lpm_flag 
+0x3665 017123 rtn blank 
+0x3666 017124 fetch 1 ,mem_car_24g_ch_polling 
+0x3667 017125 increase 1 ,pdata 
+0x3668 017126 store 1 ,mem_car_24g_ch_polling 
+0x3669 017127 beq 4 ,car_g24_ch_polling_clear 
+0x366a 017128 call g24_ch 
+0x366b 017129 call g24_receive_packet_start 
+0x366c 017130 nbranch car_g24_receive_ch_polling ,user3 
+:      017131 car_g24_ch_polling_clear:
+0x366d 017132 jam 0 ,mem_car_24g_ch_polling 
+0x366e 017133 rtn 
+:      017135 car_g24_bind_mode:
+0x366f 017136 fetch 1 ,mem_24g_work_mode 
+0x3670 017137 rtnne dongle_bind 
+0x3671 017138 call g24_bind_init 
+0x3672 017139 call car_g24_bind_device_addr 
+0x3673 017140 call g24_bind_data_process 
+0x3674 017141 fetch 1 ,mem_24g_bind_device_status 
+0x3675 017142 nbranch car_g24_bind_mode_exit ,blank 
+0x3676 017143 call g24_nodata_process 
+0x3677 017144 fetch 1 ,mem_24g_nodata_timer_enable 
+0x3678 017145 rtn blank 
+0x3679 017146 setarg 0 
+0x367a 017147 store 4 ,mem_24g_device1_addr 
+0x367b 017148 rtn 
+:      017150 car_g24_bind_mode_exit:
+0x367c 017151 jam 0 ,mem_24g_mode_switch 
+0x367d 017152 arg 0 ,rega 
+0x367e 017153 call ui_led_off_global 
+0x367f 017154 call g24_switch_work_mode 
+0x3680 017155 call g24_timer_init 
+0x3681 017156 fetch 4 ,mem_lap 
+0x3682 017157 branch g24_update_addr_and_synccrc8 
+:      017159 car_g24_bind_device_addr:
+0x3683 017160 fetch 4 ,mem_24g_device1_addr 
+0x3684 017161 rtn blank 
+0x3685 017162 branch g24_update_addr_and_synccrc8 
+:      017164 car_g24_cb_data_device1:
+0x3686 017165 fetch 2 ,mem_ui_state_map 
+0x3687 017166 rtnbit1 ui_state_ble_connected 
+0x3688 017167 fetch 2 ,mem_car_24g_no_data_timeout_count 
+0x3689 017168 store 2 ,mem_car_24g_no_data_timeout_timer 
+0x368a 017169 jam work_paired ,mem_car_24g_received_pac 
+0x368b 017170 arg mem_24g_rxdata_temp + 3 ,rega 
+0x368c 017171 branch car_24g_receive_data 
+:      017173 car_g24_lpm_dipatch:
+0x368d 017174 fetch 1 ,mem_car_enter_lpm_flag 
+0x368e 017175 rtn blank 
+0x368f 017176 call car_g24_lpm_wait 
+0x3690 017177 nrtn user 
+0x3691 017178 fetch 3 ,mem_24g_enter_hibernate 
+0x3692 017179 call clk2lpo 
+0x3693 017180 storet 4 ,mem_sleep_counter 
+0x3694 017181 branch lpm_sleep 
+:      017182 car_g24_lpm_wait:
+0x3695 017183 enable user 
+0x3696 017184 call lpo_calibration 
+0x3697 017185 fetch 3 ,mem_clks_per_lpo 
+0x3698 017186 branch disable_user ,blank 
+0x3699 017187 branch car_le_process_lpm_before 
+:      017193 dongle_init:
+0x369a 017194 setarg dongle_dispatch 
+0x369b 017195 store 2 ,mem_cb_24g_receive_process 
+0x369c 017196 setarg dongle_g24_mouse 
+0x369d 017197 store 2 ,mem_cb_24g_data_device1 
+0x369e 017198 setarg dongle_g24_kb 
+0x369f 017199 store 2 ,mem_cb_24g_data_device2 
+0x36a0 017200 setarg dongle_ackpayload_prep 
+0x36a1 017201 store 2 ,mem_cb_24g_ackpayload 
+0x36a2 017202 setarg dongle_usb_config 
+0x36a3 017203 store 2 ,mem_cb_usb_config 
+0x36a4 017204 branch usb_init 
+:      017207 dongle_default_init:
+0x36a5 017209 fetch 1 ,mem_tmp_buffer + dongle_kb_bind_efuse_offect 
+0x36a6 017210 store 1 ,mem_dg_kb_bind_flag 
+0x36a7 017211 call dongle_xtal_select 
+0x36a8 017212 fetch 1 ,mem_dg_sys_config 
+0x36a9 017213 isolate1 dg_enable_eeprom ,pdata 
+0x36aa 017214 branch dongle_default_no_eeprom ,true 
+0x36ab 017215 fetch 1 ,mem_dg_sys_config 
+0x36ac 017216 isolate1 dg_enable_new_chmap ,pdata 
+0x36ad 017217 call g24_chamap_param_update ,true 
+:      017218 dongle_default_no_eeprom:
+0x36ae 017219 fetch 1 ,mem_dg_sys_config 
+0x36af 017220 and_into 0x0f ,pdata 
+0x36b0 017221 store 1 ,mem_tx_power 
+0x36b1 017222 call app_sys_param_init 
+0x36b2 017224 jam 0xff ,mem_rssi_buff_index 
+0x36b3 017225 setarg mem_dg_rssi_noise_buffer 
+0x36b4 017226 store 2 ,mem_rssi_noise_buffer_ptr 
+0x36b5 017227 setarg mem_dg_rssi_noise_dg_buffer 
+0x36b6 017228 store 2 ,mem_rssi_noise_self_buffer_ptr 
+0x36b7 017229 setarg mem_dg_rssi_noise_ms_buffer 
+0x36b8 017230 store 2 ,mem_rssi_noise_device1_buffer_ptr 
+0x36b9 017231 setarg mem_dg_rssi_noise_kb_buffer 
+0x36ba 017232 store 2 ,mem_rssi_noise_device2_buffer_ptr 
+0x36bb 017233 jam tx_power_f5db ,mem_24g_pair_tx_power 
+0x36bc 017234 jam 0 ,mem_dg_kb_bind_success 
+0x36bd 017235 jam 0 ,mem_24g_bind_device_living 
+0x36be 017236 call g24_enable_1m 
+0x36bf 017237 call g24_receive_init 
+0x36c0 017238 call g24_pair_param_init 
+0x36c1 017239 call g24_chmap_param_init 
+0x36c2 017241 fetch 1 ,mem_dg_usb_tx_interval 
+0x36c3 017242 store 1 ,mem_usb_tx_interval 
+0x36c4 017243 fetch 9 ,mem_dg_usb_vid_pid 
+0x36c5 017244 store 9 ,mem_usb_vid_pid 
+0x36c6 017245 rtn 
+:      017247 dongle_xtal_select:
+0x36c7 017248 jam xtal_24m ,mem_fcomp_div 
+0x36c8 017249 fetch 1 ,mem_dg_sys_config 
+0x36c9 017250 rtnbit0 dg_enable_xtal_24m 
+0x36ca 017251 jam xtal_16m ,mem_fcomp_div 
+0x36cb 017252 rtn 
+:      017254 dongle_dispatch:
+0x36cc 017255 fetch 1 ,mem_24g_pair_mode 
+0x36cd 017256 beq 0x00 ,dongle_auto_bind 
+0x36ce 017257 beq 0x01 ,dongle_pc_bind 
+0x36cf 017259 rtn 
+:      017262 dongle_read_kb_bind_status:
+0x36d0 017263 arg 1 ,temp 
+0x36d1 017264 arg mem_dg_kb_bind_flag ,rega 
+0x36d2 017265 setarg dongle_kb_bind_efuse_offect 
+0x36d3 017266 branch efuse_read_data 
+:      017268 dongle_write_kb_bind_status:
+0x36d4 017269 arg 1 ,loopcnt 
+0x36d5 017270 arg mem_dg_kb_bind_flag ,rega 
+0x36d6 017271 arg dongle_kb_bind_efuse_offect ,temp 
+0x36d7 017272 branch efuse_program 
+:      017274 dongle_usb_config:
+0x36d8 017275 fetch 1 ,mem_dg_sys_config 
+0x36d9 017276 bbit1 dg_enable_kb_icon ,dongle_usb_config_kb 
+0x36da 017277 fetch 1 ,mem_dg_kb_bind_flag 
+0x36db 017278 bne dongle_kb_bind_success ,dongle_usb_config_param 
+:      017279 dongle_usb_config_kb:
+0x36dc 017280 jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+0x36dd 017281 fetch 4 ,usb_devicedata_addr + 9 
+0x36de 017282 set1 29 ,pdata 
+0x36df 017283 store 4 ,mem_devicedesc + 9 
+:      017284 dongle_usb_config_param:
+0x36e0 017285 call dongle_usb_device_name 
+0x36e1 017286 call usb_tx_interval_config 
+0x36e2 017287 call dongle_usb_vid_pid_config 
+0x36e3 017288 branch dongle_usb_hid_icon_config 
+:      017290 dongle_usb_vid_pid_config:
+0x36e4 017291 fetch 1 ,mem_usb_vid_pid 
+0x36e5 017292 rtn blank 
+0x36e6 017293 fetch 1 ,mem_dg_kb_bind_flag 
+0x36e7 017294 beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+:      017295 dongle_usb_vid_pid_for_mouse_only_auto_pair:
+0x36e8 017296 fetch 4 ,mem_usb_vid_pid + 1 
+:      017297 dongle_usb_vid_pid_store:
+0x36e9 017298 store 4 ,mem_devicedesc + 9 
+0x36ea 017299 rtn 
+:      017300 dongle_usb_vid_pid_for_suit:
+0x36eb 017301 fetch 4 ,mem_usb_vid_pid + 5 
+0x36ec 017302 branch dongle_usb_vid_pid_store 
+:      017304 dongle_usb_hid_icon_config:
+0x36ed 017305 fetch 1 ,mem_dg_kb_bind_flag 
+0x36ee 017306 beq dongle_kb_bind_success ,dongle_usb_kb_hidreportdesc 
+0x36ef 017307 setarg usb_kbdata_vendor_define_addr 
+0x36f0 017308 store 2 ,mem_hidreportdesc_kb 
+0x36f1 017309 jam 0x1a ,mem_confdesc + 26 
+0x36f2 017310 rtn 
+:      017311 dongle_usb_kb_hidreportdesc:
+0x36f3 017312 setarg usb_kbdata_addr 
+0x36f4 017313 store 2 ,mem_hidreportdesc_kb 
+0x36f5 017314 jam 0x3f ,mem_confdesc + 26 
+0x36f6 017315 rtn 
+:      017317 dongle_usb_device_name:
+0x36f7 017318 fetch 1 ,mem_dg_usb_device_name 
+0x36f8 017319 rtn blank 
+0x36f9 017320 arg mem_dg_usb_device_name ,contr 
+0x36fa 017321 arg mem_string2 ,contw 
+0x36fb 017322 arg 30 ,loopcnt 
+0x36fc 017323 branch memcpy 
+:      017333 dongle_pc_bind:
+0x36fd 017334 call g24_switch_work_mode 
+:      017335 dongle_pc_bind_loop:
+0x36fe 017336 call dongle_work_mode_auto 
+0x36ff 017337 call g24_bind_mode_auto 
+0x3700 017338 call dongle_usb_dispatch 
+0x3701 017339 branch dongle_pc_bind_loop 
+:      017341 dongle_g24_blank_data_process:
+0x3702 017342 call dongle_g24_ms_blank_data 
+0x3703 017343 call dongle_g24_kb_blank_data 
+0x3704 017344 branch dongle_g24_kb_mul_blank_data 
+:      017346 dongle_g24_ms_blank_data:
+0x3705 017347 fetch 1 ,mem_dg_ms_blank_data_enable 
+0x3706 017348 rtn blank 
+0x3707 017349 arg timer_ms_blank ,queue 
+0x3708 017350 call timer_check 
+0x3709 017351 nrtn blank 
+0x370a 017352 jam 0 ,mem_dg_ms_blank_data_enable 
+0x370b 017353 setarg ms_report_id 
+0x370c 017354 store 1 ,mem_usb_mouse_data 
+0x370d 017355 setarg 0 
+0x370e 017356 istore 7 ,contw 
+:      017357 dongle_usb_tx_ms_data:
+0x370f 017358 jam usb_ep2_ms ,mem_usb_ep2_data 
+:      017359 dongle_usb_tx_enable_ep2:
+0x3710 017360 fetch 1 ,mem_usb_tx_enable 
+0x3711 017361 set1 2 ,pdata 
+0x3712 017362 store 1 ,mem_usb_tx_enable 
+0x3713 017363 rtn 
+:      017365 dongle_g24_kb_blank_data:
+0x3714 017366 fetch 1 ,mem_dg_kb_blank_data_enable 
+0x3715 017367 rtn blank 
+0x3716 017368 arg timer_kb_blank ,queue 
+0x3717 017369 call timer_check 
+0x3718 017370 nrtn blank 
+0x3719 017371 jam 0 ,mem_dg_kb_blank_data_enable 
+0x371a 017372 arg mem_usb_kb_data ,contw 
+0x371b 017373 arg 2 ,loopcnt 
+0x371c 017374 call memset0 
+:      017375 dongle_usb_tx_kb_data:
+0x371d 017376 jam kb_normal_report_id ,mem_usb_kb_data 
+:      017377 dongle_usb_tx_enable_ep1:
+0x371e 017378 jam usb_ep1_kb ,mem_usb_ep1_data 
+0x371f 017379 fetch 1 ,mem_usb_tx_enable 
+0x3720 017380 set1 1 ,pdata 
+0x3721 017381 store 1 ,mem_usb_tx_enable 
+0x3722 017382 rtn 
+:      017384 dongle_g24_kb_mul_blank_data:
+0x3723 017385 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
+0x3724 017386 rtn blank 
+0x3725 017387 arg timer_kb_mul_blank ,queue 
+0x3726 017388 call timer_check 
+0x3727 017389 nrtn blank 
+0x3728 017390 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+0x3729 017391 arg mem_usb_kb_multikey ,contw 
+0x372a 017392 arg 2 ,loopcnt 
+0x372b 017393 call memset0 
+0x372c 017394 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+:      017395 dongle_usb_tx_multikey_data:
+0x372d 017396 jam usb_ep2_multikey ,mem_usb_ep2_data 
+0x372e 017397 branch dongle_usb_tx_enable_ep2 
+:      017399 dongle_usb_dispatch:
+0x372f 017400 bpatch patch17_2 ,mem_patch17 
+0x3730 017401 fetch 1 ,mem_usb_remote_wakeup 
+0x3731 017402 call dongle_clear_pc_sleep_flag ,blank 
+0x3732 017403 call usb_isr 
+0x3733 017404 fetch 1 ,mem_usb0_get_set_report 
+0x3734 017405 rtn blank 
+0x3735 017406 jam 0 ,mem_usb0_get_set_report 
+0x3736 017407 fetch 2 ,mem_usb_setup_bvalue_temp 
+0x3737 017408 arg pc_set_report ,temp 
+0x3738 017409 isub temp ,null 
+0x3739 017410 nrtn zero 
+0x373a 017412 fetch 1 ,mem_usb0_set_report_data 
+0x373b 017413 rtnne pc_report_id 
+0x373c 017414 fetch 1 ,mem_usb0_set_report_data + 1 
+0x373d 017415 beq command_mode ,dongle_dispose_cmd_mode 
+0x373e 017416 beq command_bind ,dongle_dispose_cmd_bind 
+0x373f 017417 beq command_current_project ,dongle_dispose_cmd_current_project 
+0x3740 017418 beq command_current_mode ,dongle_dispose_cmd_current_mode 
+0x3741 017419 beq command_current_fw_version ,dongle_dispose_cmd_current_fw_version 
+:      017421 dongle_usb0_data_ready_report_set0:
+0x3742 017422 jam 0 ,mem_usb0_data_ready_report 
+0x3743 017423 rtn 
+:      017425 dongle_dispose_cmd_mode:
+0x3744 017426 fetch 1 ,mem_usb0_set_report_data + 2 
+0x3745 017427 beq com_mode_bind ,dongle_enter_bind_mode 
+0x3746 017428 branch dongle_usb0_data_ready_report_set0 
+:      017429 dongle_enter_bind_mode:
+0x3747 017430 call g24_bind_mode_enable 
+:      017431 dongle_usb0_data_ready_report_set1:
+0x3748 017432 jam 1 ,mem_usb0_data_ready_report 
+0x3749 017433 rtn 
+:      017435 dongle_dispose_cmd_bind:
+0x374a 017436 fetch 1 ,mem_usb0_set_report_data + 2 
+0x374b 017437 beq com_bind_get ,dongle_dispose_cmd_get_bind 
+0x374c 017438 beq com_bind_exit ,dongle_dispose_cmd_exit_bind 
+0x374d 017439 beq com_read_mode ,dongle_dispose_cmd_read_mode 
+0x374e 017440 branch dongle_usb0_data_ready_report_set0 
+:      017441 dongle_dispose_cmd_get_bind:
+0x374f 017442 fetch 1 ,mem_24g_bind_device_status 
+0x3750 017443 store 1 ,mem_usb0_get_report_data + 1 
+0x3751 017444 branch dongle_usb0_data_ready_report_set1 
+:      017445 dongle_dispose_cmd_exit_bind:
+0x3752 017446 call g24_work_mode_enable 
+0x3753 017447 branch dongle_dispose_cmd_get_bind 
+:      017448 dongle_dispose_cmd_read_mode:
+:      017449 dongle_dispose_in_bind_mode:
+0x3754 017450 jam command_bind ,mem_usb0_get_report_data + 1 
+0x3755 017451 branch dongle_usb0_data_ready_report_set1 
+:      017453 dongle_dispose_cmd_current_project:
+0x3756 017454 jam product_id ,mem_usb0_get_report_data + 1 
+0x3757 017455 branch dongle_usb0_data_ready_report_set1 
+:      017457 dongle_dispose_cmd_current_mode:
+0x3758 017458 fetch 1 ,mem_24g_work_mode 
+0x3759 017459 beq dongle_work ,dongle_dispose_in_work_mode 
+0x375a 017460 beq dongle_bind ,dongle_dispose_in_bind_mode 
+0x375b 017461 rtn 
+:      017462 dongle_dispose_in_work_mode:
+0x375c 017463 jam command_mode ,mem_usb0_get_report_data + 1 
+0x375d 017464 branch dongle_usb0_data_ready_report_set1 
+:      017466 dongle_dispose_cmd_current_fw_version:
+0x375e 017467 jam fw_version0 ,mem_usb0_get_report_data + 1 
+0x375f 017468 jam fw_version1 ,mem_usb0_get_report_data + 2 
+0x3760 017469 jam fw_version2 ,mem_usb0_get_report_data + 3 
+0x3761 017470 jam fw_version3 ,mem_usb0_get_report_data + 4 
+0x3762 017471 branch dongle_usb0_data_ready_report_set1 
+:      017479 dongle_auto_bind:
+0x3763 017480 call g24_mode_switch_init 
+:      017481 dongle_auto_bind_loop:
+0x3764 017482 call g24_mode_switch_bind_work 
+0x3765 017483 call g24_mode_switch_bind_search 
+0x3766 017484 call dongle_work_mode_auto 
+0x3767 017485 call g24_bind_mode_auto 
+0x3768 017486 call g24_search_mode_auto 
+0x3769 017487 call dongle_usb_dispatch 
+0x376a 017488 branch dongle_auto_bind_loop 
+:      017490 dongle_work_mode_auto:
+0x376b 017491 bpatch patch17_3 ,mem_patch17 
+0x376c 017492 fetch 1 ,mem_24g_work_mode 
+0x376d 017493 rtnne dongle_work 
+0x376e 017494 call g24_work_mode_start 
+0x376f 017495 call dongle_g24_blank_data_process 
+0x3770 017496 fetch 1 ,mem_24g_pair_mode 
+0x3771 017497 nrtn blank 
+0x3772 017498 branch g24_nodata_process 
+:      017500 dongle_ackpayload_prep:
+0x3773 017501 fetch 1 ,mem_24g_data_type 
+0x3774 017502 beq datatype_device1 ,dongle_ackpayload_prep_mouse 
+0x3775 017503 beq datatype_device2 ,dongle_ackpayload_prep_keyboard 
+:      017504 dongle_ackpayload_prep_mouse:
+0x3776 017505 fetch 1 ,mem_dg_pc_sleep_flag 
+0x3777 017506 bbit1 0 ,dongle_pc_sleep_ackpayload_prep_mouse 
+0x3778 017507 branch dongle_ackpayload_prep_end 
+:      017509 dongle_set_pc_sleep_flag:
+0x3779 017510 fetch 1 ,mem_device_option 
+0x377a 017511 rtnne dvc_op_dongle 
+0x377b 017512 jam 3 ,mem_dg_pc_sleep_flag 
+0x377c 017513 rtn 
+:      017514 dongle_clear_pc_sleep_flag:
+0x377d 017515 jam 0 ,mem_dg_pc_sleep_flag 
+0x377e 017516 rtn 
+:      017518 dongle_ackpayload_prep_keyboard:
+0x377f 017519 fetch 1 ,mem_dg_pc_sleep_flag 
+0x3780 017520 bbit1 1 ,dongle_pc_sleep_ackpayload_prep_keyboard 
+:      017521 dongle_ackpayload_prep_end:
+0x3781 017522 fetch 1 ,mem_24g_ackpayload_enable 
+0x3782 017523 beq bind_ackpayload ,dongle_g24_bind_ackpayload_prep 
+0x3783 017524 beq kb_led_ackpayload ,dongle_g24_kb_led_ackpayload_prep 
+0x3784 017525 rtn 
+:      017527 dongle_pc_sleep_ackpayload_prep_mouse:
+0x3785 017528 fetch 1 ,mem_dg_pc_sleep_flag 
+0x3786 017529 set0 0 ,pdata 
+0x3787 017530 store 1 ,mem_dg_pc_sleep_flag 
+0x3788 017531 branch dongle_pc_sleep_ackpayload_prep 
+:      017533 dongle_pc_sleep_ackpayload_prep_keyboard:
+0x3789 017534 fetch 1 ,mem_dg_pc_sleep_flag 
+0x378a 017535 set0 1 ,pdata 
+0x378b 017536 store 1 ,mem_dg_pc_sleep_flag 
+:      017537 dongle_pc_sleep_ackpayload_prep:
+0x378c 017538 jam 0x01 ,mem_24g_datalen 
+0x378d 017539 setarg 0xff 
+0x378e 017540 store 1 ,mem_24g_txbuf 
+0x378f 017541 rtn 
+:      017544 dongle_g24_bind_ackpayload_prep:
+0x3790 017545 jam 1 ,mem_24g_ackpayload_enable 
+0x3791 017546 call g24_binding_device_check 
+0x3792 017547 nrtn user3 
+0x3793 017548 branch g24_bind_ackpayload_prep 
+:      017550 dongle_g24_kb_led_ackpayload_prep:
+0x3794 017551 fetch 1 ,mem_24g_rxbuf + 2 
+0x3795 017552 beq datatype_device1 ,dongle_g24_bind_ackpayload_prep 
+0x3796 017553 beq datatype_attemp ,dongle_g24_bind_ackpayload_prep 
+0x3797 017554 jam 0 ,mem_usb_tx_win_enable 
+0x3798 017555 jam 0x01 ,mem_24g_datalen 
+0x3799 017556 fetch 1 ,mem_24g_led_status 
+0x379a 017557 store 1 ,mem_24g_txbuf 
+0x379b 017558 rtn 
+:      017560 dongle_g24_mouse:
+0x379c 017561 setarg ms_report_id 
+0x379d 017562 store 1 ,mem_usb_mouse_data 
+0x379e 017563 fetch 7 ,mem_24g_rxdata_temp + 3 
+0x379f 017564 istore 7 ,contw 
+0x37a0 017565 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x37a1 017566 ncall dongle_g24_ms_enable_blank_data_forcibly ,blank 
+0x37a2 017567 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x37a3 017568 call dongle_g24_ms_disable_blank_data_forcibly ,blank 
+0x37a4 017569 branch dongle_usb_tx_ms_data 
+:      017571 dongle_g24_ms_enable_blank_data_forcibly:
+0x37a5 017572 jam 1 ,mem_dg_ms_blank_data_enable 
+0x37a6 017573 setarg timer_ms_blank_delay 
+0x37a7 017574 arg timer_ms_blank ,queue 
+0x37a8 017575 branch timer_init 
+:      017577 dongle_g24_ms_disable_blank_data_forcibly:
+0x37a9 017578 jam 0 ,mem_dg_ms_blank_data_enable 
+0x37aa 017579 setarg 0 
+0x37ab 017580 arg timer_ms_blank ,queue 
+0x37ac 017581 branch timer_init 
+:      017583 dongle_g24_kb:
+0x37ad 017584 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x37ae 017585 beq 0 ,dongle_g24_kb_type0 
+0x37af 017586 beq 2 ,dongle_g24_kb_type2 
+0x37b0 017587 beq 3 ,dongle_g24_kb_type3 
+0x37b1 017588 branch g24_rx_interrupt_clear 
+:      017590 dongle_g24_kb_type0:
+0x37b2 017591 fetch 1 ,mem_24g_rxdata_temp + 5 
+0x37b3 017592 store 1 ,mem_24g_ackpayload_enable 
+0x37b4 017593 jam 0 ,mem_24g_rxdata_temp + 5 
+0x37b5 017594 arg mem_usb_kb_data ,contw 
+0x37b6 017595 arg mem_24g_rxdata_temp + 4 ,contr 
+0x37b7 017596 arg 8 ,loopcnt 
+0x37b8 017597 call memcpy 
+0x37b9 017598 fetch 8 ,mem_usb_kb_data 
+0x37ba 017599 ncall dongle_g24_kb_enable_blank_data_forcibly ,blank 
+0x37bb 017600 fetch 8 ,mem_usb_kb_data 
+0x37bc 017601 call dongle_g24_kb_disable_blank_data_forcibly ,blank 
+0x37bd 017602 fetch 8 ,mem_usb_kb_data 
+0x37be 017603 store 8 ,mem_dg_kb_data_sta_data 
+0x37bf 017604 fetcht 8 ,mem_dg_kb_data_last_data 
+0x37c0 017605 isub temp ,null 
+0x37c1 017606 ncall dongle_usb_tx_enable_ep1 ,zero 
+0x37c2 017607 fetch 8 ,mem_dg_kb_data_sta_data 
+0x37c3 017608 store 8 ,mem_dg_kb_data_last_data 
+0x37c4 017609 branch g24_rx_interrupt_clear 
+:      017611 dongle_g24_kb_enable_blank_data_forcibly:
+0x37c5 017612 jam 1 ,mem_dg_kb_blank_data_enable 
+0x37c6 017613 setarg timer_kb_blank_delay 
+0x37c7 017614 arg timer_kb_blank ,queue 
+0x37c8 017615 branch timer_init 
+:      017617 dongle_g24_kb_disable_blank_data_forcibly:
+0x37c9 017618 jam 0 ,mem_dg_kb_blank_data_enable 
+0x37ca 017619 setarg 0 
+0x37cb 017620 arg timer_kb_blank ,queue 
+0x37cc 017621 branch timer_init 
+:      017623 dongle_g24_kb_type3:
+0x37cd 017624 arg mem_usb_kb_multikey ,contw 
+0x37ce 017625 arg mem_24g_rxdata_temp + 3 ,contr 
+0x37cf 017626 arg 3 ,loopcnt 
+0x37d0 017627 call memcpy 
+0x37d1 017628 fetch 2 ,mem_usb_kb_multikey + 1 
+0x37d2 017629 ncall dongle_g24_kb_mul_enable_blank_data_forcibly ,blank 
+0x37d3 017630 fetch 2 ,mem_usb_kb_multikey + 1 
+0x37d4 017631 call dongle_g24_kb_mul_disable_blank_data_forcibly ,blank 
+0x37d5 017632 fetch 3 ,mem_usb_kb_multikey 
+0x37d6 017633 store 3 ,mem_dg_kb_multikey_sta_data 
+0x37d7 017634 fetcht 3 ,mem_dg_kb_multikey_last_data 
+0x37d8 017635 isub temp ,null 
+0x37d9 017636 ncall dongle_usb_tx_multikey_data ,zero 
+0x37da 017637 fetch 3 ,mem_dg_kb_multikey_sta_data 
+0x37db 017638 store 3 ,mem_dg_kb_multikey_last_data 
+0x37dc 017639 branch g24_rx_interrupt_clear 
+:      017641 dongle_g24_kb_mul_enable_blank_data_forcibly:
+0x37dd 017642 jam 1 ,mem_dg_kb_mul_blank_data_enable 
+0x37de 017643 setarg timer_kb_mul_blank_delay 
+0x37df 017644 arg timer_kb_mul_blank ,queue 
+0x37e0 017645 branch timer_init 
+:      017647 dongle_g24_kb_mul_disable_blank_data_forcibly:
+0x37e1 017648 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+0x37e2 017649 setarg 0 
+0x37e3 017650 arg timer_kb_mul_blank ,queue 
+0x37e4 017651 branch timer_init 
+:      017653 dongle_g24_kb_type2:
+0x37e5 017654 arg mem_usb_kb_system ,contw 
+0x37e6 017655 arg mem_24g_rxdata_temp + 3 ,contr 
+0x37e7 017656 arg 2 ,loopcnt 
+0x37e8 017657 call memcpy 
+0x37e9 017658 fetch 2 ,mem_usb_kb_system 
+0x37ea 017659 ncall dongle_g24_kb_sys_enable_blank_data_forcibly ,blank 
+0x37eb 017660 fetch 2 ,mem_usb_kb_system 
+0x37ec 017661 call dongle_g24_kb_sys_disable_blank_data_forcibly ,blank 
+0x37ed 017662 fetch 2 ,mem_usb_kb_system 
+0x37ee 017663 store 2 ,mem_dg_kb_system_sta_data 
+0x37ef 017664 fetcht 2 ,mem_dg_kb_system_last_data 
+0x37f0 017665 isub temp ,null 
+0x37f1 017666 ncall dongle_usb_tx_sys_data ,zero 
+0x37f2 017667 fetch 2 ,mem_dg_kb_system_sta_data 
+0x37f3 017668 store 2 ,mem_dg_kb_system_last_data 
+0x37f4 017669 branch g24_rx_interrupt_clear 
+:      017671 dongle_g24_kb_sys_enable_blank_data_forcibly:
+0x37f5 017672 jam 1 ,mem_dg_kb_mul_blank_data_enable 
+0x37f6 017673 setarg timer_kb_mul_blank_delay 
+0x37f7 017674 arg timer_kb_mul_blank ,queue 
+0x37f8 017675 branch timer_init 
+:      017676 dongle_g24_kb_sys_disable_blank_data_forcibly:
+0x37f9 017677 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+0x37fa 017678 setarg 0 
+0x37fb 017679 arg timer_kb_mul_blank ,queue 
+0x37fc 017680 branch timer_init 
+:      017682 dongle_usb_tx_sys_data:
+0x37fd 017683 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+0x37fe 017684 branch dongle_usb_tx_enable_ep2 
+:      017687 dongle_g24_store_dvc2_bind_flag:
+0x37ff 017688 fetch 1 ,mem_device_option 
+0x3800 017689 rtnne dvc_op_dongle 
+0x3801 017690 fetch 1 ,mem_dg_kb_bind_flag 
+0x3802 017691 rtneq dongle_kb_bind_success 
+:      017692 dongle_prep_soft_reset:
+0x3803 017693 jam 1 ,mem_dg_kb_bind_success 
+0x3804 017694 rtn 
+:      017697 dongle_kb_bind_soft_reset:
+0x3805 017698 fetch 1 ,mem_device_option 
+0x3806 017699 rtnne dvc_op_dongle 
+0x3807 017700 fetch 1 ,mem_dg_kb_bind_success 
+0x3808 017701 rtn blank 
+0x3809 017702 jam 0 ,mem_temp 
+:      017703 dongle_wirte_efuse_bind_status:
+0x380a 017704 jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+0x380b 017705 call dongle_write_kb_bind_status 
+0x380c 017706 call dongle_read_kb_bind_status 
+0x380d 017707 fetch 1 ,mem_temp 
+0x380e 017708 increase 1 ,pdata 
+0x380f 017709 store 1 ,mem_temp 
+0x3810 017710 beq 0xff ,soft_reset_chip 
+0x3811 017711 fetch 1 ,mem_dg_kb_bind_flag 
+0x3812 017712 bne dongle_kb_bind_success ,dongle_wirte_efuse_bind_status 
+0x3813 017713 branch soft_reset_chip 
+:      017722 module_init:
+0x3814 017723 rtn wake 
+0x3815 017724 call le_modified_name 
+0x3816 017725 setarg module_process_idle 
+0x3817 017726 store 2 ,mem_cb_idle_process 
+0x3818 017727 setarg module_bt_conn_process 
+0x3819 017728 store 2 ,mem_cb_bt_process 
+0x381a 017729 setarg module_process_bb_event 
+0x381b 017730 store 2 ,mem_cb_bb_event_process 
+0x381c 017731 setarg module_lpm_lock 
+0x381d 017732 store 2 ,mem_cb_check_wakelock 
+0x381e 017733 setarg module_hci_cmd_transmit_le_notify 
+0x381f 017734 store 2 ,mem_cb_ble_transmit 
+0x3820 017735 setarg module_hci_event_receive_spp_data 
+0x3821 017736 store 2 ,mem_cb_receive_spp_data 
+0x3822 017737 setarg module_le_receive_data 
+0x3823 017738 store 2 ,mem_cb_att_write 
+0x3824 017739 setarg module_bb_event_timer 
+0x3825 017740 store 2 ,mem_cb_event_timer 
+0x3826 017742 call module_spp_clear_last_transmite_clock 
+0x3827 017743 bpatch patch17_4 ,mem_patch17 
+0x3828 017744 call module_lpm_uart_init 
+0x3829 017745 call module_gpio_init 
+0x382a 017746 branch module_hci_event_enter_standby_mode 
+:      017748 module_lpm_uart_init:
+0x382b 017749 fetch 1 ,core_uart_ctrl 
+0x382c 017750 set0 bit_uart_control_enable ,pdata 
+0x382d 017751 store 1 ,core_uart_ctrl 
+0x382e 017752 fetch 8 ,mem_module_uart_rx_buffer 
+0x382f 017753 call uarta_init_dma_mem 
+0x3830 017754 fetch uart_baud_len ,mem_module_uarta_baud_rate 
+0x3831 017755 call uarta_init_baud_rate 
+0x3832 017756 call uart_clock_select_main_freq_crystal 
+0x3833 017757 jam gpcfg_uart_txd ,core_gpio_conf + hci_uart_tx_gpio_num 
+0x3834 017758 jam gpcfg_uart_rxd | gpcfg_pullup ,core_gpio_conf + hci_uart_rx_gpio_num 
+0x3835 017759 jam gpcfg_uart_rts ,core_gpio_conf + hci_uart_rts_gpio_num 
+0x3836 017760 jam gpcfg_uart_cts ,core_gpio_conf + hci_uart_cts_gpio_num 
+0x3837 017762 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+0x3838 017763 fetch 2 ,mem_module_flag 
+0x3839 017764 isolate1 module_flag_uart_flow_control ,pdata 
+0x383a 017765 setflag true ,bit_uart_control_flow_control ,temp 
+0x383b 017766 storet 1 ,core_uart_ctrl 
+0x383c 017767 rtn 
+:      017769 module_lpm_init:
+0x383d 017770 call module_spp_clear_last_transmite_clock 
+0x383e 017771 branch module_lpm_uart_init 
+:      017775 module_gpio_init:
+0x383f 017776 fetcht 1 ,mem_module_connect_state_gpio 
+0x3840 017777 call gpio_config_output 
+0x3841 017778 call module_set_conn_pin_low 
+0x3842 017779 fetcht 1 ,mem_module_wake_up_gpio 
+0x3843 017780 branch gpio_config_input 
+:      017782 module_lpm_lock:
+0x3844 017783 fetcht 1 ,mem_module_wake_up_gpio 
+0x3845 017784 call gpio_get_bit 
+0x3846 017785 nbranch app_put_lpm_wake_lock ,true 
+0x3847 017786 branch app_get_lpm_wake_lock 
+:      017789 module_bt_conn_process:
+0x3848 017790 call module_spp_enter_sniff 
+0x3849 017791 branch module_control_air_flow 
+:      017793 module_spp_enter_sniff:
+0x384a 017794 fetch 1 ,mem_ui_state_map 
+0x384b 017795 bbit0 ui_state_bt_spp_conn ,module_spp_clear_last_transmite_clock 
+0x384c 017796 setarg 0x3eff 
+0x384d 017797 fetcht 4 ,mem_last_transmite_clock 
+0x384e 017798 iadd temp ,temp 
+0x384f 017799 copy clkn_bt ,pdata 
+0x3850 017800 isub temp ,null 
+0x3851 017801 nrtn positive 
+0x3852 017802 fetch 2 ,mem_ui_state_map 
+0x3853 017803 bbit1 ui_state_bt_sniff ,module_spp_clear_last_transmite_clock 
+0x3854 017804 fetch 2 ,mem_module_flag 
+0x3855 017805 rtnbit1 moudle_task_sniff 
+0x3856 017806 call module_set_sniff_task_flag 
+0x3857 017807 call app_bt_enter_sniff 
+:      017808 module_spp_clear_last_transmite_clock:
+0x3858 017809 copy clkn_bt ,pdata 
+0x3859 017810 store 4 ,mem_last_transmite_clock 
+0x385a 017811 rtn 
+:      017813 module_process_idle:
+0x385b 017814 call module_control_air_flow 
+0x385c 017815 call l2cap_malloc_is_fifo_full 
+0x385d 017816 nrtn blank 
+0x385e 017817 branch module_process_check_hci_command_complete 
+:      017820 module_process_bb_event:
+0x385f 017821 copy regc ,pdata 
+0x3860 017822 beq bt_evt_bb_connected ,module_process_bb_conn 
+0x3861 017823 beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+0x3862 017824 beq bt_evt_reconn_failed ,module_process_reconn_fail 
+0x3863 017825 beq bt_evt_setup_complete ,module_process_setup_complete 
+0x3864 017826 beq bt_evt_spp_connected ,module_process_spp_connected 
+0x3865 017827 beq bt_evt_spp_disconnected ,module_process_spp_disconnected 
+0x3866 017828 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+0x3867 017829 beq bt_evt_enter_sniff ,module_process_enter_sniff 
+0x3868 017830 beq bt_evt_exit_sniff ,module_process_exit_sniff 
+0x3869 017831 beq bt_evt_reconn_page_timeout ,module_process_page_time_out 
+0x386a 017832 beq bt_evt_le_connected ,module_process_le_conn 
+0x386b 017833 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+0x386c 017834 beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+0x386d 017835 beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+0x386e 017836 beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+0x386f 017837 beq bt_evt_le_pairing_fail ,module_hci_event_le_pairing_fail 
+0x3870 017838 beq bt_evt_le_pairing_success ,module_hci_event_le_pairing_success 
+0x3871 017839 beq bt_evt_le_start_enc ,module_hci_event_start_enc 
+0x3872 017840 beq bt_evt_le_pause_enc ,module_hci_event_pause_enc 
+0x3873 017841 beq bt_evt_le_tk_generate ,module_hci_event_le_tk 
+0x3874 017842 beq bt_evt_bt_gkey_generate ,module_hci_event_gkey_generate 
+0x3875 017843 beq bt_evt_bt_get_passkey ,module_hci_event_passkey_entry_mode 
+0x3876 017844 beq bt_evt_bt_pairing_fail ,module_hci_event_bt_pairing_fail 
+0x3877 017845 beq bt_evt_bt_pairing_success ,module_hci_event_bt_pairing_success 
+0x3878 017846 beq bt_evt_le_gkey_generate ,module_hci_event_gkey_generate 
+0x3879 017847 beq bt_evt_store_nvram ,module_hci_event_store_device 
+0x387a 017848 beq bt_evt_le_ltk_lost ,module_process_ble_ltk_lost 
+0x387b 017849 beq bt_evt_le_update_phy ,module_process_ble_update_phy 
+0x387c 017850 beq bt_evt_le_get_passkey ,module_hci_event_passkey_entry_mode 
+0x387d 017851 rtn 
+:      017854 module_process_bb_event_disconned:
+0x387e 017855 call module_spp_clear_last_transmite_clock 
+0x387f 017856 fetch 1 ,mem_flag_pairing_state 
+0x3880 017857 ncall module_hci_event_bt_pairing_fail ,blank 
+0x3881 017858 call module_disconn_start 
+0x3882 017859 fetch 2 ,mem_ui_state_map 
+0x3883 017860 rtnbit0 ui_state_bt_spp_conn 
+0x3884 017861 branch module_spp_disconnected 
+:      017863 module_process_spp_connected:
+0x3885 017864 fetch 2 ,mem_ui_state_map 
+0x3886 017865 set1 ui_state_bt_spp_conn ,pdata 
+0x3887 017866 store 2 ,mem_ui_state_map 
+0x3888 017867 fetch 1 ,mem_module_spp_lpm_mult 
+0x3889 017868 store 1 ,mem_lpm_mult 
+0x388a 017869 call module_set_conn_pin_low 
+0x388b 017870 branch module_hci_event_spp_connect 
+:      017872 module_process_spp_disconnected:
+:      017874 module_spp_disconnected:
+0x388c 017875 fetch 2 ,mem_ui_state_map 
+0x388d 017876 rtnbit0 ui_state_bt_spp_conn 
+0x388e 017877 set0 ui_state_bt_spp_conn ,pdata 
+0x388f 017878 store 2 ,mem_ui_state_map 
+0x3890 017879 branch module_hci_event_spp_disconnect 
+:      017882 module_process_enter_sniff:
+:      017884 module_sniff_param_check:
+0x3891 017885 call module_spp_clear_last_transmite_clock 
+0x3892 017888 fetch 2 ,mem_context + coffset_tsniff 
+0x3893 017889 rshift pdata ,pdata 
+0x3894 017890 fetcht 2 ,mem_sniff_param_interval 
+0x3895 017891 isub temp ,null 
+0x3896 017892 nbranch module_sniff_param_check_unsniff ,zero 
+0x3897 017893 branch app_lpm_mult_enable 
+:      017894 module_sniff_param_check_unsniff:
+0x3898 017895 fetch 2 ,mem_module_flag 
+0x3899 017896 rtnbit1 moudle_task_unsniff 
+0x389a 017897 fetch 2 ,core_uart_rxitems 
+0x389b 017898 ncall module_set_unsniff_task_flag ,blank 
+0x389c 017899 branch app_bt_sniff_exit 
+:      017901 module_process_exit_sniff:
+0x389d 017902 call module_clear_sniff_task_flag 
+0x389e 017903 branch app_lpm_mult_disable 
+:      017905 module_process_setup_complete:
+0x389f 017906 call module_spp_clear_last_transmite_clock 
+0x38a0 017907 branch module_conn_start 
+:      017909 module_process_bb_even_le_disconn:
+0x38a1 017910 call le_clr_config_more_data 
+0x38a2 017911 jam 0 ,mem_module_hci_notify_len 
+0x38a3 017912 call module_disconn_start 
+0x38a4 017913 branch module_hci_event_le_disconnect 
+:      017915 module_process_evt_pincode_req:
+0x38a5 017916 branch app_bt_set_pincode 
+:      017919 module_process_sniff_not_accept:
+0x38a6 017920 branch module_clear_sniff_task_flag 
+:      017923 module_process_unsniff_accept:
+0x38a7 017924 fetch 2 ,mem_module_flag 
+0x38a8 017925 bbit0 moudle_task_unsniff ,app_bt_enter_sniff 
+0x38a9 017926 branch module_clear_unsniff_task_flag 
+:      017929 module_process_unsniff_not_accept:
+0x38aa 017930 branch module_clear_unsniff_task_flag 
+:      017933 module_process_le_conn:
+0x38ab 017935 call module_conn_start 
+0x38ac 017936 fetch 1 ,mem_module_le_lpm_mult 
+0x38ad 017937 store 1 ,mem_lpm_mult 
+0x38ae 017938 branch module_hci_event_le_connect 
+:      017941 module_process_bb_conn:
+0x38af 017942 jam 0 ,mem_flag_mode_ssp_pin 
+0x38b0 017943 call module_clear_sniff_task_flag 
+0x38b1 017944 branch module_clear_unsniff_task_flag 
+:      017946 module_process_page_time_out:
+:      017947 module_process_reconn_fail:
+:      017948 module_disconn_start:
+0x38b2 017949 call module_start_adv_discovery_by_command 
+0x38b3 017950 branch module_set_conn_pin_high 
+:      017953 module_process_ble_ltk_lost:
+0x38b4 017954 call le_send_reject_ind 
+0x38b5 017955 branch le_send_smp_security_request 
+:      017957 module_process_ble_update_phy:
+0x38b6 017958 branch module_hci_event_le_update_phy 
+:      017961 module_set_conn_pin_high:
+0x38b7 017962 fetcht 1 ,mem_module_connect_state_gpio 
+0x38b8 017963 branch gpio_out_active 
+:      017965 module_conn_start:
+0x38b9 017966 call module_stop_adv_discovery 
+0x38ba 017967 branch module_set_conn_pin_low 
+:      017969 module_stop_adv_discovery:
+0x38bb 017970 fetch 1 ,mem_module_state 
+0x38bc 017971 isolate1 moudle_state_bt_bit ,pdata 
+0x38bd 017972 call app_bt_stop_discovery ,true 
+0x38be 017973 fetch 1 ,mem_module_state 
+0x38bf 017974 isolate1 moudle_state_ble_bit ,pdata 
+0x38c0 017975 call app_ble_stop_adv ,true 
+0x38c1 017976 rtn 
+:      017977 module_set_conn_pin_low:
+0x38c2 017978 fetcht 1 ,mem_module_connect_state_gpio 
+0x38c3 017979 branch gpio_out_inactive 
+:      017981 module_process_with_credit:
+0x38c4 017982 fetch 1 ,mem_rfcomm_credit_flag 
+0x38c5 017983 rtneq credit_disable 
+0x38c6 017984 branch rfcomm_send_uih_without_payload 
+:      017986 module_process_check_hci_command_complete:
+0x38c7 017987 fetch 1 ,core_uart_status 
+0x38c8 017988 bbit1 uart_status_rx_fifo_empty ,module_process_with_credit 
+0x38c9 017989 call uarta_prepare_rx 
+0x38ca 017990 ifetch 1 ,contru 
+0x38cb 017991 bne 0x01 ,module_hci_in_excp 
+0x38cc 017992 fetch 2 ,core_uart_rxitems 
+0x38cd 017993 sub pdata ,2 ,null 
+0x38ce 017994 rtn positive 
+0x38cf 017995 ifetch 1 ,contru 
+0x38d0 017996 store 1 ,mem_module_uart_opcode 
+0x38d1 017997 ifetcht 1 ,contru 
+0x38d2 017998 copy contru ,rega 
+0x38d3 017999 storet 1 ,mem_module_uart_len 
+0x38d4 018000 add temp ,3 ,temp 
+0x38d5 018001 fetch 2 ,core_uart_rxitems 
+0x38d6 018002 isub temp ,temp 
+0x38d7 018003 nrtn positive 
+0x38d8 018004 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x38d9 018005 call module_hci_cmd_control 
+0x38da 018006 fetch 1 ,mem_module_temp_nl_discard_packet 
+0x38db 018007 rtneq hci_not_discard_packet 
+0x38dc 018008 branch module_hci_dicard_packet 
+:      018010 module_hci_in_excp:
+0x38dd 018011 call delay_10ms 
+0x38de 018012 call module_hci_event_invalid_packet 
+0x38df 018013 branch module_hci_release_except 
+:      018016 module_hci_release_except:
+0x38e0 018017 bpatch patch17_5 ,mem_patch17 
+0x38e1 018018 call uarta_prepare_rx 
+0x38e2 018019 fetch 2 ,core_uart_rxitems 
+0x38e3 018020 rtn blank 
+0x38e4 018021 iadd contru ,contru 
+0x38e5 018022 branch module_hci_dicard_bytes 
+:      018024 module_hci_dicard_packet:
+0x38e6 018025 call uarta_prepare_rx 
+0x38e7 018026 increase 2 ,contu 
+0x38e8 018027 ifetch 1 ,contu 
+0x38e9 018028 iadd contu ,contu 
+:      018029 module_hci_dicard_bytes:
+0x38ea 018030 branch uarta_rxdone 
+:      018033 module_hci_cmd_control:
+0x38eb 018034 bpatch patch17_6 ,mem_patch17 
+0x38ec 018035 fetch 1 ,mem_module_uart_opcode 
+0x38ed 018036 beq hci_cmd_set_bt_addr_req ,module_hci_cmd_set_bt_addr 
+0x38ee 018037 beq hci_cmd_set_le_addr_req ,module_hci_cmd_set_le_addr 
+0x38ef 018038 beq hci_cmd_set_visibility_req ,module_hci_cmd_set_visibility 
+0x38f0 018039 beq hci_cmd_set_bt_name_req ,module_hci_cmd_set_bt_name 
+0x38f1 018040 beq hci_cmd_set_le_name_req ,module_hci_cmd_set_le_name 
+0x38f2 018041 beq hci_cmd_spp_data_req ,module_hci_cmd_receive_spp_data 
+0x38f3 018042 beq hci_cmd_le_data_req ,module_hci_cmd_receive_le_data 
+0x38f4 018043 beq hci_cmd_status_irq ,module_hci_cmd_inquire_status 
+0x38f5 018044 beq hci_cmd_set_pairing_req ,module_hci_cmd_set_pairing_mode 
+0x38f6 018045 beq hci_cmd_set_pincode_req ,module_hci_cmd_set_pincode 
+0x38f7 018046 beq hci_cmd_set_uartcontrol_req ,module_hci_cmd_set_uart_control_mode 
+0x38f8 018047 beq hci_cmd_set_uart_baud_req ,module_hci_cmd_set_uart_baud 
+0x38f9 018048 beq hci_cmd_version_req ,module_hci_cmd_version_request 
+0x38fa 018049 beq hci_cmd_bt_disconnect ,module_hci_cmd_bt_disconnect 
+0x38fb 018050 beq hci_cmd_ble_disconnect ,module_hci_cmd_ble_disconnect 
+0x38fc 018051 beq hci_cmd_set_cod ,module_hci_cmd_set_cod 
+0x38fd 018052 beq hci_cmd_set_nvram_req ,module_hci_cmd_set_nvram 
+0x38fe 018053 beq hci_cmd_confirm_gkey ,module_hci_cmd_confirm_gkey 
+0x38ff 018054 beq hci_cmd_set_credit_given ,module_hci_cmd_set_credit_given 
+0x3900 018055 beq hci_cmd_auto_adv_scan ,module_hci_cmd_auto_adv 
+0x3901 018056 beq hci_cmd_power_req ,module_hci_cmd_power_request 
+0x3902 018057 beq hci_cmd_power_set ,module_hci_cmd_power_set 
+0x3903 018058 beq hci_cmd_passkey_entry ,module_hci_cmd_passkey_entry 
+0x3904 018059 beq hci_cmd_set_gpio ,module_hci_cmd_set_gpio 
+0x3905 018060 beq hci_cmd_read_gpio ,module_hci_cmd_read_gpio 
+0x3906 018061 beq hci_cmd_le_set_pairing ,module_hci_cmd_le_set_pairing_mode 
+0x3907 018062 beq hci_cmd_le_set_adv_data ,module_hci_cmd_le_set_adv_data 
+0x3908 018063 beq hci_cmd_le_set_scan_data ,module_hci_cmd_le_set_scan_data 
+0x3909 018064 beq hci_cmd_le_send_conn_update_req ,module_hci_cmd_le_send_conn_update_req 
+0x390a 018065 beq hci_cmd_le_set_adv_parm ,module_hci_cmd_set_le_adv_parameter 
+0x390b 018066 beq hci_cmd_le_start_pairing ,module_hci_cmd_le_start_pairing 
+0x390c 018067 beq hci_cmd_set_wake_gpio ,module_hci_cmd_set_wake_gpio 
+0x390d 018068 beq hci_cmd_set_tx_power ,module_hci_cmd_set_tx_power 
+0x390e 018069 beq hci_cmd_le_confirm_gkey ,module_hci_cmd_le_confirm_gkey 
+0x390f 018070 beq hci_cmd_reject_justwork ,module_hci_cmd_set_reject_justwork_flag 
+0x3910 018071 beq hci_cmd_reset_chip_req ,module_hci_cmd_reset_chip 
+0x3911 018072 beq hci_cmd_le_set_fixed_passkey ,module_hci_cmd_le_set_fixed_passkey 
+0x3912 018073 beq hci_cmd_delete_customize_service ,module_hci_cmd_delete_customize_service 
+0x3913 018074 beq hci_cmd_add_service_uuid ,module_hci_cmd_add_service_uuid 
+0x3914 018075 beq hci_cmd_add_characteristic_uuid ,module_hci_cmd_add_characteristic_uuid 
+0x3915 018076 beq hci_cmd_passkey_entry_input ,module_hci_cmd_le_passkey_entry_input 
+0x3916 018077 beq hci_cmd_ble_set_phy ,module_hci_cmd_ble_set_phy 
+0x3917 018078 beq hci_cmd_ble_read_current_phy ,module_hci_cmd_ble_read_current_phy 
+0x3918 018079 beq hci_cmd_ble_set_dle ,module_hci_cmd_ble_set_dle 
+0x3919 018080 beq hci_cmd_read_chip_data ,module_hci_cmd_read_chip_data 
+0x391a 018081 beq hci_cmd_write_chip_data ,module_hci_cmd_write_chip_data 
+0x391b 018082 beq hci_cmd_close_lpm ,module_hci_cmd_close_lpm 
+0x391c 018083 branch module_hci_event_receive_invalid_cmd 
+:      018088 module_hci_cmd_set_bt_addr:
+0x391d 018089 fetch 1 ,mem_module_uart_len 
+0x391e 018090 bne 6 ,module_hci_event_receive_invalid_cmd 
+0x391f 018091 ifetch 6 ,contru 
+0x3920 018092 store 6 ,mem_lap 
+0x3921 018093 branch module_hci_event_receive_valid_cmd 
+:      018096 module_hci_cmd_set_le_addr:
+0x3922 018097 fetch 1 ,mem_module_uart_len 
+0x3923 018098 bne 6 ,module_hci_event_receive_invalid_cmd 
+0x3924 018099 ifetch 6 ,contru 
+0x3925 018100 store 6 ,mem_le_lap 
+0x3926 018101 branch module_hci_event_receive_valid_cmd 
+:      018105 module_hci_cmd_set_visibility:
+0x3927 018106 fetch 1 ,mem_module_uart_len 
+0x3928 018107 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3929 018108 ifetcht 1 ,contru 
+0x392a 018109 storet 1 ,mem_module_bluetooth_stauts_by_command 
+0x392b 018110 call module_hci_event_receive_valid_cmd 
+0x392c 018111 fetch 2 ,mem_ui_state_map 
+0x392d 018112 rtnbit1 ui_state_ble_connected 
+0x392e 018113 rtnbit1 ui_state_bt_connected 
+:      018114 module_start_adv_discovery_by_command:
+0x392f 018115 fetch 1 ,mem_module_state 
+0x3930 018116 isolate1 moudle_state_bt_bit ,pdata 
+0x3931 018117 nbranch moudle_start_adv_by_command ,true 
+0x3932 018118 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+0x3933 018119 and temp ,0x03 ,pdata 
+0x3934 018120 store 1 ,mem_scan_mode 
+:      018121 moudle_start_adv_by_command:
+0x3935 018122 fetch 1 ,mem_module_state 
+0x3936 018123 isolate1 moudle_state_ble_bit ,pdata 
+0x3937 018124 nrtn true 
+0x3938 018125 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+0x3939 018126 isolate1 2 ,temp 
+0x393a 018127 branch app_ble_start_adv ,true 
+0x393b 018128 branch app_ble_stop_adv 
+:      018132 module_hci_cmd_set_bt_name:
+0x393c 018133 fetch 1 ,mem_module_uart_len 
+0x393d 018134 sub pdata ,67 ,null 
+0x393e 018135 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x393f 018136 store 1 ,mem_local_name_length 
+0x3940 018137 arg 8 ,loopcnt 
+0x3941 018138 call memset0 
+0x3942 018139 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3943 018140 arg mem_local_name ,contw 
+0x3944 018141 call uart_copy_rx_bytes_fast 
+0x3945 018142 branch module_hci_event_receive_valid_cmd 
+:      018146 module_hci_cmd_set_le_name:
+0x3946 018147 arg 29 ,pdata 
+0x3947 018148 arg mem_le_name_len ,contw 
+0x3948 018149 call module_hci_cmd_receive_store_mem 
+0x3949 018150 branch le_modified_name 
+:      018154 module_hci_cmd_receive_spp_data:
+0x394a 018155 fetch 1 ,mem_ui_state_map 
+0x394b 018156 bbit0 ui_state_bt_spp_conn ,module_hci_event_receive_invalid_cmd 
+0x394c 018157 call app_check_sniff 
+0x394d 018158 branch module_hci_cmd_spp_exit_sniff ,true 
+0x394e 018159 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x394f 018160 call module_spp_clear_last_transmite_clock 
+0x3950 018161 fetch 1 ,mem_remote_credits 
+0x3951 018162 rtn blank 
+0x3952 018163 fetch 2 ,mem_nl_rx_len_all 
+0x3953 018164 nbranch module_hci_cmd_pass_init_ng_rx_len_all ,blank 
+0x3954 018165 fetch 1 ,mem_module_uart_len 
+0x3955 018166 store 2 ,mem_nl_rx_len_all 
+0x3956 018168 store 2 ,mem_nl_rx_data_src 
+0x3957 018169 storer contru ,2 ,mem_nl_rx_data_src 
+:      018170 module_hci_cmd_pass_init_ng_rx_len_all:
+0x3958 018171 call module_hci_cmd_get_current_packet_len_and_remain_len 
+0x3959 018172 branch spp_tx_rfcomm_packet 
+:      018174 module_hci_cmd_spp_exit_sniff:
+0x395a 018175 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x395b 018176 branch module_exit_sniff 
+:      018178 module_hci_cmd_get_current_packet_len_and_remain_len:
+0x395c 018179 call module_hci_cmd_get_current_patcket_len 
+0x395d 018180 fetch 2 ,mem_nl_rx_len_all 
+0x395e 018181 fetcht 2 ,mem_current_packet_length 
+0x395f 018182 isub temp ,pdata 
+0x3960 018183 store 2 ,mem_nl_rx_len_all 
+0x3961 018184 rtn 
+:      018186 module_hci_cmd_get_current_patcket_len:
+0x3962 018187 fetch 2 ,mem_nl_rx_len_all 
+0x3963 018188 fetcht 2 ,mem_rfcomm_max_frame_size 
+0x3964 018189 call not_greater_than 
+0x3965 018190 fetcht 2 ,mem_pn_max_frame_size 
+0x3966 018191 call not_greater_than 
+0x3967 018192 store 2 ,mem_current_packet_length 
+0x3968 018193 rtn 
+:      018195 module_hci_command_tx_spp_tx_complete:
+0x3969 018196 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x396a 018197 jam hci_cmd_spp_data_req ,mem_module_uart_opcode 
+0x396b 018198 branch module_hci_event_receive_valid_cmd 
+:      018202 module_hci_cmd_receive_le_data:
+0x396c 018203 fetch 2 ,mem_ui_state_map 
+0x396d 018204 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+0x396e 018205 call module_check_ble_encrypt_state 
+0x396f 018206 branch module_hci_event_receive_invalid_cmd ,user 
+0x3970 018207 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3971 018208 fetch 2 ,mem_module_flag 
+0x3972 018209 bbit1 module_flag_ble_data_finish ,module_hci_cmd_receive_le_data_finish 
+0x3973 018210 fetch 1 ,mem_module_hci_notify_len 
+0x3974 018211 nrtn blank 
+0x3975 018212 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3976 018213 ifetch 2 ,contru 
+0x3977 018214 store 2 ,mem_module_hci_notify_handle 
+0x3978 018215 storer contru ,2 ,mem_module_hci_nofiy_addr 
+0x3979 018216 fetch 1 ,mem_module_uart_len 
+0x397a 018217 pincrease -2 
+0x397b 018218 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x397c 018219 branch module_hci_event_receive_invalid_cmd ,zero 
+0x397d 018220 store 1 ,mem_module_hci_notify_len 
+0x397e 018221 fetcht 2 ,mem_module_hci_notify_handle 
+0x397f 018222 increase -1 ,temp 
+0x3980 018223 call le_att_get_handle_ptr2 
+0x3981 018224 branch module_hci_cmd_transmit_handle_error ,blank 
+0x3982 018225 ifetcht 4 ,contr 
+0x3983 018226 setarg 0x01280302 
+0x3984 018227 isub temp ,null 
+0x3985 018228 nbranch module_hci_cmd_transmit_handle_error ,zero 
+0x3986 018229 ifetch 1 ,contr 
+0x3987 018230 store 1 ,mem_module_hci_notify_type 
+0x3988 018231 and_into 0x30 ,pdata 
+0x3989 018232 branch module_hci_cmd_transmit_handle_error ,blank 
+0x398a 018233 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x398b 018234 call le_set_config_more_data 
+0x398c 018235 call module_hci_cmd_transmit_le_notify 
+0x398d 018236 call module_hci_cmd_transmit_le_notify 
+0x398e 018237 call module_hci_cmd_transmit_le_notify 
+0x398f 018238 fetch 2 ,mem_module_flag 
+0x3990 018239 rtnbit0 module_flag_ble_data_finish 
+:      018240 module_hci_cmd_receive_le_data_finish:
+0x3991 018241 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3992 018242 call module_clear_le_tx_data_flag 
+0x3993 018243 branch module_hci_event_receive_valid_cmd 
+:      018245 module_hci_cmd_transmit_handle_error:
+0x3994 018246 jam 0 ,mem_module_hci_notify_len 
+0x3995 018247 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3996 018248 call module_clear_le_tx_data_flag 
+0x3997 018249 branch module_hci_event_receive_invalid_cmd 
+:      018251 module_hci_cmd_transmit_le_notify:
+0x3998 018252 fetch 1 ,mem_module_hci_notify_len 
+0x3999 018253 rtn blank 
+0x399a 018254 call le_fifo_check_nearly_full 
+0x399b 018255 nrtn blank 
+0x399c 018256 call module_get_le_remote_mtu 
+0x399d 018257 bpatch patch17_7 ,mem_patch17 
+0x399e 018258 fetch 2 ,mem_le_local_mtu 
+0x399f 018259 call not_greater_than 
+0x39a0 018260 copy pdata ,temp 
+0x39a1 018261 fetch 1 ,mem_le_l2cap_att_states 
+0x39a2 018262 rtnbit1 ble_l2cap_recv_confirmation_packet 
+0x39a3 018263 add temp ,-3 ,pdata 
+0x39a4 018264 arg 251 ,temp 
+0x39a5 018265 call not_greater_than 
+0x39a6 018266 fetcht 1 ,mem_module_hci_notify_len 
+0x39a7 018267 call not_greater_than 
+0x39a8 018268 copy pdata ,rega 
+0x39a9 018269 copy temp ,pdata 
+0x39aa 018270 isub rega ,pdata 
+0x39ab 018271 store 1 ,mem_module_hci_notify_len 
+0x39ac 018272 call module_hci_cmd_transmit_le_notify_malloc_l2cap 
+0x39ad 018273 fetch 2 ,mem_module_hci_nofiy_addr 
+0x39ae 018274 copy pdata ,contru 
+0x39af 018275 copy rega ,loopcnt 
+0x39b0 018276 call uart_copy_rx_bytes_fast 
+0x39b1 018277 copy contru ,pdata 
+0x39b2 018278 store 2 ,mem_module_hci_nofiy_addr 
+0x39b3 018279 fetch 1 ,mem_module_hci_notify_len 
+0x39b4 018280 nrtn blank 
+0x39b5 018281 branch module_set_le_tx_data_flag 
+:      018283 module_hci_cmd_transmit_le_notify_malloc_l2cap:
+0x39b6 018284 fetcht 2 ,mem_module_hci_notify_handle 
+0x39b7 018285 fetch 1 ,mem_module_hci_notify_type 
+0x39b8 018286 bbit1 bit_characteristic_indicate ,le_att_malloc_tx_indication 
+0x39b9 018287 bbit1 bit_characteristic_notify ,le_att_malloc_tx_notify 
+0x39ba 018288 rtn 
+:      018292 module_get_le_remote_mtu:
+0x39bb 018293 arg 0x17 ,temp 
+0x39bc 018294 fetch 2 ,mem_module_flag 
+0x39bd 018295 rtnbit1 module_flag_ble_send_mtu23 
+0x39be 018296 fetcht 2 ,mem_le_remote_mtu 
+0x39bf 018297 rtn 
+:      018299 module_check_ble_encrypt_state:
+0x39c0 018300 fetch 2 ,mem_module_flag 
+0x39c1 018301 bbit1 module_flag_ble_data_encrypt ,le_check_encrypt_state 
+0x39c2 018302 branch disable_user 
+:      018306 module_hci_cmd_inquire_status:
+0x39c3 018307 branch module_hci_event_status_res 
+:      018311 module_hci_cmd_set_pairing_mode:
+0x39c4 018312 ifetch 1 ,contru 
+0x39c5 018313 beq br_pairing_mode_secure_connect_justwork ,module_hci_pairing_just_work_sc 
+0x39c6 018314 beq br_pairing_mode_secure_connect_passkey ,module_hci_pairing_passkey_sc 
+0x39c7 018315 beq br_pairing_mode_secure_connect_numeric ,module_hci_pairing_numeric_comparison_sc 
+0x39c8 018317 copy pdata ,rega 
+0x39c9 018318 call sp_br_secure_connection_disable 
+0x39ca 018319 call sc_reset 
+0x39cb 018320 copy rega ,pdata 
+0x39cc 018321 beq br_pairing_mode_pincode ,module_hci_pairing_pincode_mode 
+0x39cd 018322 beq br_pairing_mode_justwork ,module_hci_pairing_just_work_mode 
+0x39ce 018323 beq br_pairing_mode_passkey ,module_hci_pairing_passkey 
+0x39cf 018324 beq br_pairing_mode_numeric ,module_hci_pairing_numeric_comparison 
+0x39d0 018325 branch module_hci_event_receive_invalid_cmd 
+:      018327 module_hci_pairing_just_work_sc:
+0x39d1 018328 call sp_br_secure_connection_enable 
+0x39d2 018329 branch module_hci_pairing_just_work_mode 
+:      018331 module_hci_pairing_passkey_sc:
+0x39d3 018332 call sp_br_secure_connection_enable 
+0x39d4 018333 branch module_hci_pairing_passkey 
+:      018335 module_hci_pairing_numeric_comparison_sc:
+0x39d5 018336 call sp_br_secure_connection_enable 
+0x39d6 018337 branch module_hci_pairing_numeric_comparison 
+:      018339 module_hci_pairing_pincode_mode:
+0x39d7 018340 call sp_reset 
+0x39d8 018341 jam 0 ,mem_ssp_enable 
+0x39d9 018342 branch module_hci_event_receive_valid_cmd 
+:      018344 module_hci_pairing_just_work_mode:
+0x39da 018345 setarg io_capability_no_input_no_output 
+:      018346 module_hci_sspairing_mode:
+0x39db 018347 store 1 ,mem_ssp_mode_flag 
+0x39dc 018348 store 1 ,mem_lmp_io_cap_payload_iocap 
+0x39dd 018349 setarg oob_data_present_not_present 
+0x39de 018350 store 1 ,mem_lmp_io_cap_payload_oob_auth_data 
+0x39df 018351 setarg auth_req_mitm_protection_not_required_general_bonding 
+0x39e0 018352 store 1 ,mem_lmp_io_cap_payload_auth_req 
+0x39e1 018353 call ssp_enable 
+0x39e2 018354 jam 1 ,mem_ssp_enable 
+0x39e3 018355 branch module_hci_event_receive_valid_cmd 
+:      018356 module_hci_pairing_passkey:
+0x39e4 018357 setarg io_capability_keyboard_only 
+0x39e5 018358 branch module_hci_sspairing_mode 
+:      018360 module_hci_pairing_numeric_comparison:
+0x39e6 018361 setarg io_capability_display_yesno 
+0x39e7 018362 branch module_hci_sspairing_mode 
+:      018366 module_hci_cmd_set_pincode:
+0x39e8 018367 arg 16 ,pdata 
+0x39e9 018368 arg mem_pin_length ,contw 
+0x39ea 018369 branch module_hci_cmd_receive_store_mem 
+:      018373 module_hci_cmd_set_uart_control_mode:
+0x39eb 018374 ifetch 1 ,contru 
+0x39ec 018375 fetcht 1 ,mem_module_flag 
+0x39ed 018376 nsetflag blank ,module_flag_uart_flow_control ,temp 
+0x39ee 018377 storet 1 ,mem_module_flag 
+0x39ef 018378 fetcht 1 ,core_uart_ctrl 
+0x39f0 018379 nsetflag blank ,bit_uart_control_flow_control ,temp 
+0x39f1 018380 storet 1 ,core_uart_ctrl 
+0x39f2 018381 branch module_hci_event_receive_valid_cmd 
+:      018385 module_hci_cmd_set_uart_baud:
+0x39f3 018386 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x39f4 018387 call string2dec_from_uart 
+0x39f5 018388 call uart_calc_baud_rate_config 
+0x39f6 018389 store uart_baud_len ,mem_module_uarta_baud_rate 
+0x39f7 018390 call module_hci_event_receive_valid_cmd 
+0x39f8 018391 call wait_uarttx 
+0x39f9 018392 fetch uart_baud_len ,mem_module_uarta_baud_rate 
+0x39fa 018393 branch uarta_init_baud_rate 
+:      018397 module_hci_cmd_version_request:
+0x39fb 018398 arg 2 ,rega 
+0x39fc 018399 arg mem_soft_version_num ,regb 
+0x39fd 018400 arg 0 ,temp 
+0x39fe 018401 branch module_hci_event_set_cmd 
+:      018405 module_hci_cmd_bt_disconnect:
+0x39ff 018406 fetch 2 ,mem_ui_state_map 
+0x3a00 018407 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+:      018408 module_hci_cmd_bt_disconnect_doing:
+0x3a01 018409 call module_hci_event_receive_valid_cmd 
+0x3a02 018410 branch app_bt_disconnect 
+:      018414 module_hci_cmd_ble_disconnect:
+0x3a03 018415 fetch 2 ,mem_ui_state_map 
+0x3a04 018416 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+:      018417 module_hci_cmd_ble_disconnect_doing:
+0x3a05 018418 call module_hci_event_receive_valid_cmd 
+0x3a06 018419 branch app_ble_disconnect 
+:      018423 module_hci_cmd_set_cod:
+0x3a07 018424 fetch 1 ,mem_module_uart_len 
+0x3a08 018425 bne 3 ,module_hci_event_receive_invalid_cmd 
+0x3a09 018426 ifetch 3 ,contru 
+0x3a0a 018427 store 3 ,mem_class 
+0x3a0b 018428 branch module_hci_event_receive_valid_cmd 
+:      018432 module_hci_cmd_set_nvram:
+0x3a0c 018433 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3a0d 018434 fetch 2 ,mem_nv_data_ptr 
+0x3a0e 018435 icopy contw 
+0x3a0f 018436 call uart_copy_rx_bytes_fast 
+0x3a10 018437 branch module_hci_event_receive_valid_cmd 
+:      018441 module_hci_cmd_confirm_gkey:
+0x3a11 018442 fetch 2 ,mem_ui_state_map 
+0x3a12 018443 bbit1 ui_state_ble_connected ,module_hci_cmd_le_confirm_gkey 
+0x3a13 018444 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+0x3a14 018445 ifetch 1 ,contru 
+0x3a15 018446 fetcht 1 ,mem_flag_mode_ssp_pin 
+0x3a16 018447 setflag blank ,flag_mode_ssp_pin_comparison_result_bit ,temp 
+0x3a17 018448 set1 flag_mode_ssp_pin_reviceve_comparison_bit ,temp 
+0x3a18 018449 storet 1 ,mem_flag_mode_ssp_pin 
+0x3a19 018451 call module_hci_event_receive_valid_cmd 
+0x3a1a 018453 fetch 1 ,mem_flag_mode_ssp_pin 
+0x3a1b 018454 bbit1 flag_mode_ssp_pin_recieve_dhkey_bit ,module_hci_cmd_spp_number_comparison_result_is1 
+0x3a1c 018455 rtn 
+:      018457 module_hci_cmd_spp_number_comparison_result_is1:
+0x3a1d 018458 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+0x3a1e 018459 jam 0 ,mem_flag_mode_ssp_pin 
+0x3a1f 018460 jam bt_cmd_dhkey_not_accept ,mem_fifo_temp 
+0x3a20 018461 branch ui_ipc_send_cmd 
+:      018465 module_hci_cmd_set_credit_given:
+0x3a21 018466 fetch 1 ,mem_ui_state_map 
+0x3a22 018467 rtnbit0 ui_state_bt_spp_conn 
+0x3a23 018468 fetch 1 ,mem_rfcomm_credit_flag 
+0x3a24 018469 rtneq credit_disable 
+0x3a25 018470 ifetch 1 ,contru 
+0x3a26 018471 fetcht 1 ,mem_credit_given 
+0x3a27 018472 iadd temp ,temp 
+0x3a28 018473 storet 1 ,mem_credit_given 
+0x3a29 018474 rtn 
+:      018478 module_hci_cmd_auto_adv:
+0x3a2a 018479 arg 0x40 ,loopcnt 
+0x3a2b 018480 arg mem_le_adv_data_len ,contw 
+0x3a2c 018481 call clear_mem 
+0x3a2d 018482 setarg 0 
+0x3a2e 018483 store 1 ,mem_regb 
+0x3a2f 018484 copy rega ,contru 
+:      018485 module_hci_cmd_auto_adv_loop:
+0x3a30 018486 copy contru ,pdata 
+0x3a31 018487 store 2 ,mem_regc 
+0x3a32 018488 call module_hci_cmd_auto_adv_adv_analys 
+0x3a33 018490 fetch 1 ,mem_regb 
+0x3a34 018491 fetcht 1 ,mem_temp 
+0x3a35 018492 increase 1 ,temp 
+0x3a36 018493 iadd temp ,pdata 
+0x3a37 018494 store 1 ,mem_regb 
+0x3a38 018496 sub pdata ,31 ,null 
+0x3a39 018497 nbranch module_hci_cmd_auto_adv_store_scan ,positive 
+:      018498 module_hci_cmd_auto_adv_store_adv:
+0x3a3a 018499 fetcht 1 ,mem_le_adv_data_len 
+0x3a3b 018500 setarg mem_le_adv_data 
+0x3a3c 018501 iadd temp ,pdata 
+0x3a3d 018502 store 2 ,mem_contw 
+0x3a3e 018503 fetcht 1 ,mem_temp 
+0x3a3f 018504 increase 1 ,temp 
+0x3a40 018505 fetch 1 ,mem_le_adv_data_len 
+0x3a41 018506 iadd temp ,pdata 
+0x3a42 018507 store 1 ,mem_le_adv_data_len 
+0x3a43 018508 branch module_hci_cmd_auto_adv_store_common 
+:      018509 module_hci_cmd_auto_adv_store_scan:
+0x3a44 018510 fetcht 1 ,mem_le_scan_data_len 
+0x3a45 018511 setarg mem_le_scan_data 
+0x3a46 018512 iadd temp ,pdata 
+0x3a47 018513 store 2 ,mem_contw 
+0x3a48 018514 fetcht 1 ,mem_temp 
+0x3a49 018515 increase 1 ,temp 
+0x3a4a 018516 fetch 1 ,mem_le_scan_data_len 
+0x3a4b 018517 iadd temp ,pdata 
+0x3a4c 018518 store 1 ,mem_le_scan_data_len 
+:      018519 module_hci_cmd_auto_adv_store_common:
+0x3a4d 018520 fetch 2 ,mem_contw 
+0x3a4e 018521 copy pdata ,contw 
+0x3a4f 018522 fetch 2 ,mem_regc 
+0x3a50 018523 copy pdata ,contru 
+0x3a51 018525 copy temp ,loopcnt 
+0x3a52 018526 call uart_copy_rx_bytes_fast 
+0x3a53 018528 fetch 1 ,mem_module_uart_len 
+0x3a54 018529 fetcht 1 ,mem_regb 
+0x3a55 018530 isub temp ,null 
+0x3a56 018531 nbranch module_hci_cmd_auto_adv_loop ,zero 
+0x3a57 018532 branch module_hci_event_receive_valid_cmd 
+:      018535 module_hci_cmd_auto_adv_adv_analys:
+0x3a58 018536 ifetch 1 ,contru 
+0x3a59 018537 store 1 ,mem_temp 
+0x3a5a 018538 ifetch 1 ,contru 
+0x3a5b 018539 store 1 ,mem_rega 
+0x3a5c 018540 rtn 
+:      018544 module_hci_cmd_power_request:
+0x3a5d 018545 arg 0 ,temp 
+0x3a5e 018546 arg 2 ,rega 
+0x3a5f 018547 fetch 2 ,mem_module_vdd_quotient 
+0x3a60 018548 store 2 ,mem_event_cmd_response_content 
+0x3a61 018549 arg mem_event_cmd_response_content ,regb 
+0x3a62 018550 branch module_hci_event_set_cmd 
+:      018554 module_hci_cmd_power_set:
+0x3a63 018555 fetch 1 ,mem_module_uart_len 
+0x3a64 018556 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3a65 018557 ifetch 1 ,contru 
+0x3a66 018558 store 1 ,mem_module_read_vdd_flag 
+0x3a67 018559 setarg 0x00 
+0x3a68 018560 store 2 ,mem_module_vdd_quotient 
+0x3a69 018561 branch module_hci_event_receive_valid_cmd 
+:      018565 module_hci_cmd_passkey_entry:
+0x3a6a 018566 fetch 1 ,mem_module_uart_len 
+0x3a6b 018567 bne 4 ,module_hci_event_receive_invalid_cmd 
+0x3a6c 018568 fetch 2 ,mem_ui_state_map 
+0x3a6d 018569 bbit1 ui_state_ble_connected ,module_hci_cmd_le_passkey_entry_input 
+0x3a6e 018570 ifetch 4 ,contru 
+0x3a6f 018571 store 4 ,mem_pin 
+0x3a70 018572 jam 4 ,mem_pin_length 
+0x3a71 018573 jam 0 ,mem_authentication_passkey_times 
+0x3a72 018574 call module_hci_event_receive_valid_cmd 
+0x3a73 018575 branch authentication_passkey 
+:      018579 module_hci_cmd_set_gpio:
+0x3a74 018580 fetch 1 ,mem_module_uart_len 
+0x3a75 018581 bne 3 ,module_hci_event_receive_invalid_cmd 
+0x3a76 018582 ifetch 1 ,contru 
+0x3a77 018583 beq hci_cmd_config_gpio_input ,module_set_gpio_input 
+0x3a78 018584 beq hci_cmd_config_gpio_output ,module_set_gpio_output 
+0x3a79 018585 branch module_hci_event_receive_invalid_cmd 
+:      018587 module_set_gpio_input:
+0x3a7a 018588 call module_hci_event_receive_valid_cmd 
+0x3a7b 018589 ifetcht 1 ,contru 
+0x3a7c 018590 ifetch 1 ,contru 
+0x3a7d 018591 beq gpio_input_high_impedance ,gpio_set_high_impedance 
+0x3a7e 018592 nsetflag blank ,7 ,temp 
+0x3a7f 018593 branch gpio_config_input 
+:      018595 module_set_gpio_output:
+0x3a80 018596 call module_hci_event_receive_valid_cmd 
+0x3a81 018597 ifetcht 1 ,contru 
+0x3a82 018598 ifetch 1 ,contru 
+0x3a83 018599 branch gpio_out_active ,blank 
+0x3a84 018600 branch gpio_out_inactive 
+:      018604 module_hci_cmd_read_gpio:
+0x3a85 018605 fetch 1 ,mem_module_uart_len 
+0x3a86 018606 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3a87 018607 ifetcht 1 ,contru 
+0x3a88 018608 call gpio_get_bit 
+0x3a89 018609 setarg 0x0 
+0x3a8a 018610 nsetflag true ,0 ,pdata 
+0x3a8b 018611 arg 1 ,rega 
+0x3a8c 018612 store 2 ,mem_event_cmd_response_content 
+0x3a8d 018613 arg mem_event_cmd_response_content ,regb 
+0x3a8e 018614 arg 0 ,temp 
+0x3a8f 018615 branch module_hci_event_set_cmd 
+:      018619 module_hci_cmd_le_set_pairing_mode:
+0x3a90 018620 ifetch 1 ,contru 
+0x3a91 018621 copy pdata ,temp 
+0x3a92 018622 beq le_pairing_mode_secure_connect_justwork ,module_le_set_pairing_mode_secure_justwork 
+0x3a93 018623 beq le_pairing_mode_secure_connect_numeric ,module_le_set_pairing_mode_secure_numeric 
+0x3a94 018624 beq le_pairing_mode_secure_connect_passkey ,module_le_set_pairing_mode_secure_passkey 
+0x3a95 018625 beq le_pairing_mode_secure_connect_passkey_res_input ,module_le_set_pairing_mode_secure_passkey_res_input 
+0x3a96 018626 store 1 ,mem_le_pairing_mode 
+0x3a97 018627 call sc_reset 
+0x3a98 018628 call le_secure_connection_disable 
+0x3a99 018629 fetch 1 ,mem_le_pairing_mode 
+0x3a9a 018630 beq le_pairing_mode_none ,module_le_set_no_pairing 
+0x3a9b 018631 beq le_pairing_mode_lagacy_justwork ,module_le_set_pairing_mode_lagacy_just_work 
+0x3a9c 018632 beq le_pairing_mode_lagacy_passkey ,module_le_set_pairing_mode_lagacy_passkey 
+0x3a9d 018633 beq le_pairing_mode_lagacy_passkey_res_input ,module_le_set_pairing_mode_lagacy_passkey_res_input 
+0x3a9e 018634 branch module_hci_event_receive_invalid_cmd 
+:      018636 module_le_set_pairing_mode_secure_justwork:
+0x3a9f 018637 storet 1 ,mem_le_pairing_mode 
+0x3aa0 018638 call le_secure_connection_enable 
+0x3aa1 018639 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aa2 018640 branch module_le_set_noinputnooutput 
+:      018641 module_le_set_pairing_mode_secure_numeric:
+0x3aa3 018642 storet 1 ,mem_le_pairing_mode 
+0x3aa4 018643 call le_secure_connection_enable 
+0x3aa5 018644 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aa6 018645 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+0x3aa7 018646 branch module_hci_event_receive_valid_cmd 
+:      018647 module_le_set_pairing_mode_secure_passkey:
+0x3aa8 018648 storet 1 ,mem_le_pairing_mode 
+0x3aa9 018649 call le_secure_connection_enable 
+0x3aaa 018650 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aab 018651 branch module_le_set_displayonly 
+:      018652 module_le_set_pairing_mode_secure_passkey_res_input:
+0x3aac 018653 storet 1 ,mem_le_pairing_mode 
+0x3aad 018654 call le_secure_connection_enable 
+0x3aae 018655 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aaf 018656 branch module_le_set_keboadonly 
+:      018659 module_le_set_no_pairing:
+0x3ab0 018660 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+:      018661 module_le_set_noinputnooutput:
+0x3ab1 018662 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+0x3ab2 018663 branch module_hci_event_receive_valid_cmd 
+:      018664 module_le_set_pairing_mode_lagacy_just_work:
+0x3ab3 018665 jam flag_le_bonding_no_mitm ,mem_le_pres_auth 
+0x3ab4 018666 branch module_le_set_noinputnooutput 
+:      018667 module_le_set_pairing_mode_lagacy_passkey:
+0x3ab5 018668 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x3ab6 018669 branch module_le_set_displayonly 
+:      018670 module_le_set_pairing_mode_lagacy_passkey_res_input:
+0x3ab7 018671 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x3ab8 018672 branch module_le_set_keboadonly 
+:      018673 module_le_set_keboadonly:
+0x3ab9 018674 jam flag_iocap_keyboardonly ,mem_le_pres_iocap 
+0x3aba 018675 branch module_hci_event_receive_valid_cmd 
+:      018676 module_le_set_displayonly:
+0x3abb 018677 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+0x3abc 018678 branch module_hci_event_receive_valid_cmd 
+:      018682 module_hci_cmd_le_set_adv_data:
+0x3abd 018683 arg 31 ,pdata 
+0x3abe 018684 arg mem_le_adv_data_len ,contw 
+0x3abf 018685 branch module_hci_cmd_receive_store_mem 
+:      018689 module_hci_cmd_le_set_scan_data:
+0x3ac0 018690 arg 31 ,pdata 
+0x3ac1 018691 arg mem_le_scan_data_len ,contw 
+0x3ac2 018692 branch module_hci_cmd_receive_store_mem 
+:      018694 module_hci_cmd_receive_store_mem:
+0x3ac3 018695 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3ac4 018696 isub loopcnt ,null 
+0x3ac5 018697 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3ac6 018698 istorer loopcnt ,1 ,contw 
+0x3ac7 018699 call uart_copy_rx_bytes_fast 
+0x3ac8 018700 branch module_hci_event_receive_valid_cmd 
+:      018704 module_hci_cmd_le_send_conn_update_req:
+0x3ac9 018705 fetch 2 ,mem_ui_state_map 
+0x3aca 018706 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+0x3acb 018707 fetch 1 ,mem_module_uart_len 
+0x3acc 018708 bne 0x08 ,module_hci_event_receive_invalid_cmd 
+0x3acd 018709 ifetch 8 ,contru 
+0x3ace 018710 store 8 ,mem_le_interval_min 
+0x3acf 018711 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x3ad0 018712 call ui_ipc_send_cmd 
+0x3ad1 018713 branch module_hci_event_receive_valid_cmd 
+:      018717 module_hci_cmd_set_le_adv_parameter:
+0x3ad2 018718 ifetch 2 ,contru 
+0x3ad3 018719 store 2 ,mem_le_adv_interval 
+0x3ad4 018720 branch module_hci_event_receive_valid_cmd 
+:      018724 module_hci_cmd_le_start_pairing:
+0x3ad5 018725 fetch 1 ,mem_le_pairing_mode 
+0x3ad6 018726 branch module_hci_event_receive_invalid_cmd ,blank 
+0x3ad7 018727 fetch 1 ,mem_le_pairing_state 
+0x3ad8 018728 bne flag_le_pairing_null ,module_hci_event_receive_invalid_cmd 
+0x3ad9 018729 fetch 1 ,mem_le_enc_state 
+0x3ada 018730 bne flag_le_enc_null ,module_hci_event_receive_invalid_cmd 
+0x3adb 018731 call check_51cmd_le_smp_sec_req 
+0x3adc 018732 branch module_hci_event_receive_valid_cmd 
+:      018736 module_hci_cmd_set_wake_gpio:
+0x3add 018737 fetch 1 ,mem_module_uart_len 
+0x3ade 018738 bne 5 ,module_hci_event_receive_invalid_cmd 
+0x3adf 018739 ifetch 1 ,contru 
+0x3ae0 018740 store 1 ,mem_module_mcu_wake_pin 
+0x3ae1 018741 ifetch 4 ,contru 
+0x3ae2 018742 store 4 ,mem_module_mcu_wake_delay_us 
+0x3ae3 018743 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3ae4 018744 call gpio_config_output 
+0x3ae5 018745 call module_set_mcu_wake_pin_low 
+0x3ae6 018746 branch module_hci_event_receive_valid_cmd 
+:      018750 module_hci_cmd_set_tx_power:
+0x3ae7 018751 fetch 1 ,mem_module_uart_len 
+0x3ae8 018752 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+0x3ae9 018753 ifetch 1 ,contru 
+0x3aea 018754 store 1 ,mem_tx_power 
+0x3aeb 018755 branch module_hci_event_receive_valid_cmd 
+:      018759 module_hci_cmd_le_confirm_gkey:
+0x3aec 018760 ifetch 1 ,contru 
+0x3aed 018761 beq 0x01 ,module_hci_cmd_le_confirm_gkey_fail 
+0x3aee 018762 fetch 1 ,mem_le_secure_connect_state 
+0x3aef 018763 beq le_sc_stat_send_public_key ,module_hci_cmd_le_confirm_gkey_ok 
+0x3af0 018764 beq le_sc_stat_receive_dhkey ,module_hci_cmd_le_confirm_gkey_ok 
+0x3af1 018765 beq le_sc_stat_wait_confirm_gkey ,module_hci_cmd_le_confirm_gkey_ok 
+0x3af2 018766 branch module_hci_event_receive_invalid_cmd 
+:      018767 module_hci_cmd_le_confirm_gkey_ok:
+0x3af3 018768 jam flag_le_sc_confrim_gkey_ok ,mem_le_sc_confirm_gkey_flag 
+0x3af4 018769 branch module_hci_event_receive_valid_cmd 
+:      018771 module_hci_cmd_le_confirm_gkey_fail:
+0x3af5 018772 call le_send_pairing_confirm_value_failed 
+0x3af6 018773 branch module_hci_event_receive_valid_cmd 
+:      018777 module_hci_cmd_set_reject_justwork_flag:
+0x3af7 018778 fetch 1 ,mem_module_uart_len 
+0x3af8 018779 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+0x3af9 018780 call module_hci_event_receive_valid_cmd 
+0x3afa 018781 ifetch 1 ,contru 
+0x3afb 018782 branch classic_bt_clr_reject_justwork_flag ,blank 
+0x3afc 018783 branch classic_bt_set_reject_justwork_flag 
+:      018787 module_hci_cmd_reset_chip:
+0x3afd 018788 call module_hci_event_receive_valid_cmd 
+0x3afe 018789 call wait_uarttx 
+0x3aff 018790 jam 0x01 ,core_reset 
+0x3b00 018791 branch loop 
+:      018795 module_hci_cmd_le_set_fixed_passkey:
+0x3b01 018796 fetch 1 ,mem_module_uart_len 
+0x3b02 018797 beq 0 ,module_hci_event_receive_invalid_cmd 
+0x3b03 018798 ifetch 1 ,contru 
+0x3b04 018799 branch module_hci_cmd_le_set_random_passkey ,blank 
+0x3b05 018800 fetch 1 ,mem_module_uart_len 
+0x3b06 018801 bne 5 ,module_hci_event_receive_invalid_cmd 
+0x3b07 018802 ifetch 4 ,contru 
+0x3b08 018803 arg 1000000 ,temp 
+0x3b09 018804 isub temp ,null 
+0x3b0a 018805 branch module_hci_event_receive_invalid_cmd ,positive 
+0x3b0b 018806 store 4 ,mem_le_tk 
+0x3b0c 018807 call le_set_config_fixed_tk 
+0x3b0d 018808 branch module_hci_event_receive_valid_cmd 
+:      018810 module_hci_cmd_le_set_random_passkey:
+0x3b0e 018811 call le_clr_config_fixed_tk 
+0x3b0f 018812 branch module_hci_event_receive_valid_cmd 
+:      018816 module_hci_cmd_delete_customize_service:
+0x3b10 018817 ifetcht 2 ,contru 
+0x3b11 018818 call le_att_get_handle_ptr2 
+0x3b12 018819 add contr ,-2 ,contw 
+0x3b13 018820 setarg 0x0000 
+0x3b14 018821 istore 2 ,contw 
+0x3b15 018822 branch module_hci_event_receive_valid_cmd 
+:      018826 module_hci_cmd_add_service_uuid:
+0x3b16 018827 call module_hci_cmd_add_service_uuid_set_uuid 
+0x3b17 018828 call uart_copy_rx_bytes_len_data 
+0x3b18 018829 setarg 0x0000 
+0x3b19 018830 istore 2 ,contw 
+0x3b1a 018831 branch module_hci_event_uuid_handle 
+:      018836 module_hci_cmd_add_characteristic_uuid:
+0x3b1b 018837 ifetch 1 ,contru 
+0x3b1c 018838 call module_hci_cmd_add_characteristic_uuid_set_handle 
+0x3b1d 018839 call module_hci_cmd_add_characteristic_uuid_set_uuid 
+0x3b1e 018840 branch module_hci_event_uuid_handle 
+:      018843 module_hci_cmd_add_service_uuid_set_uuid:
+0x3b1f 018844 call le_att_creat_new_handle 
+0x3b20 018845 setarg 0x280002 
+0x3b21 018846 istore 3 ,contw 
+0x3b22 018847 rtn 
+:      018850 module_hci_cmd_add_characteristic_uuid_set_handle:
+0x3b23 018851 store 1 ,mem_pdatatemp 
+0x3b24 018852 call le_att_creat_new_handle 
+0x3b25 018853 setarg 0x01280302 
+0x3b26 018854 istore 4 ,contw 
+0x3b27 018855 fetch 1 ,mem_pdatatemp 
+0x3b28 018856 istore 3 ,contw 
+0x3b29 018857 rtn 
+:      018860 module_hci_cmd_add_characteristic_uuid_set_uuid:
+0x3b2a 018861 call le_att_get_last_handle 
+0x3b2b 018862 ifetch 1 ,contru 
+0x3b2c 018863 and pdata ,0x1f ,loopcnt 
+0x3b2d 018864 copy pdata ,rega 
+0x3b2e 018865 isolate1 bit_of_write_authenticated ,rega 
+0x3b2f 018866 setflag true ,bit_of_att_handle_write_authenticated ,temp 
+0x3b30 018867 isolate1 bit_of_read_authenticated ,rega 
+0x3b31 018868 setflag true ,bit_of_att_handle_read_authenticated ,temp 
+0x3b32 018869 istoret 2 ,contw 
+0x3b33 018870 copy loopcnt ,pdata 
+0x3b34 018871 istore 1 ,contw 
+0x3b35 018872 call uart_copy_rx_bytes 
+0x3b36 018873 call uart_copy_rx_bytes_len_data 
+0x3b37 018874 setarg 0 
+0x3b38 018875 istore 2 ,contw 
+0x3b39 018876 and temp ,0xff ,temp 
+0x3b3a 018877 increase -1 ,temp 
+0x3b3b 018878 call le_att_get_handle_ptr2 
+0x3b3c 018879 add contr ,4 ,contr 
+0x3b3d 018880 ifetch 1 ,contr 
+0x3b3e 018881 bbit1 bit_characteristic_notify ,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid 
+0x3b3f 018882 bbit1 bit_characteristic_indicate ,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid 
+0x3b40 018883 increase 1 ,temp 
+0x3b41 018884 rtn 
+:      018887 module_hci_cmd_add_characteristic_uuid_set_ccc_uuid:
+0x3b42 018888 call le_att_get_last_handle 
+0x3b43 018889 isolate1 bit_of_notify_authenticated ,rega 
+0x3b44 018890 setflag true ,bit_of_att_handle_write_authenticated ,temp 
+0x3b45 018891 istoret 2 ,contw 
+0x3b46 018892 setarg 0x02290202 
+0x3b47 018893 istore 8 ,contw 
+0x3b48 018894 increase -1 ,temp 
+0x3b49 018895 rtn 
+:      018898 le_att_creat_new_handle:
+0x3b4a 018899 call le_att_get_last_handle 
+0x3b4b 018900 istoret 2 ,contw 
+0x3b4c 018901 rtn 
+:      018904 uart_copy_rx_bytes_len_data:
+0x3b4d 018905 ifetch 1 ,contru 
+0x3b4e 018906 copy pdata ,loopcnt 
+0x3b4f 018907 istore 1 ,contw 
+0x3b50 018908 branch uart_copy_rx_bytes 
+:      018912 module_hci_cmd_le_passkey_entry_input:
+0x3b51 018913 fetch 1 ,mem_le_pairing_state 
+0x3b52 018914 bne flag_le_pairing_receive_pairing_confirm ,module_hci_event_receive_invalid_cmd 
+0x3b53 018915 fetch 1 ,mem_le_pairing_mode 
+0x3b54 018916 beq le_pairing_mode_lagacy_passkey_res_input ,module_hci_cmd_passkey_entry_res_input 
+0x3b55 018917 beq le_pairing_mode_secure_connect_passkey_res_input ,module_hci_cmd_passkey_entry_sc_res_input 
+0x3b56 018918 branch module_hci_event_receive_invalid_cmd 
+:      018920 module_hci_cmd_passkey_entry_sc_res_input:
+0x3b57 018921 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x3b58 018922 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+0x3b59 018923 branch module_hci_cmd_receive_ble_passkey 
+:      018925 module_hci_cmd_receive_ble_passkey:
+0x3b5a 018926 ifetch 4 ,contru 
+0x3b5b 018927 store 4 ,mem_le_tk 
+0x3b5c 018928 branch module_hci_event_receive_valid_cmd 
+:      018930 module_hci_cmd_passkey_entry_res_input:
+0x3b5d 018931 call module_hci_cmd_receive_ble_passkey 
+0x3b5e 018932 branch le_send_smp_pairing_confirm 
+:      018937 module_hci_cmd_ble_set_phy:
+0x3b5f 018938 fetch 1 ,mem_module_uart_len 
+0x3b60 018939 bne 2 ,module_hci_event_receive_invalid_cmd 
+0x3b61 018940 ifetcht 2 ,contru 
+0x3b62 018941 call le_set_phys 
+0x3b63 018942 branch module_hci_event_receive_valid_cmd 
+:      018946 module_hci_cmd_ble_read_current_phy:
+0x3b64 018947 arg 0 ,temp 
+0x3b65 018948 arg 2 ,rega 
+0x3b66 018949 arg mem_context + coffset_le_rx_phy ,regb 
+0x3b67 018950 branch module_hci_event_set_cmd 
+:      018954 module_hci_cmd_ble_set_dle:
+0x3b68 018955 fetch 1 ,mem_module_uart_len 
+0x3b69 018956 bne 8 ,module_hci_event_receive_invalid_cmd 
+0x3b6a 018957 ifetch 8 ,contru 
+0x3b6b 018958 call le_set_dle 
+0x3b6c 018959 branch module_hci_event_receive_valid_cmd 
+:      018963 module_hci_cmd_read_chip_data:
+0x3b6d 018964 ifetchr rega ,1 ,contru 
+0x3b6e 018965 ifetchr regb ,2 ,contru 
+0x3b6f 018966 arg 0 ,temp 
+0x3b70 018967 branch module_hci_event_set_cmd 
+:      018971 module_hci_cmd_write_chip_data:
+0x3b71 018972 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3b72 018973 increase -2 ,loopcnt 
+0x3b73 018974 ifetch 2 ,contru 
+0x3b74 018975 copy pdata ,contw 
+0x3b75 018976 call uart_copy_rx_bytes_fast 
+0x3b76 018977 branch module_hci_event_receive_valid_cmd 
+:      018982 module_hci_cmd_close_lpm:
+0x3b77 018983 jam 0 ,mem_lpm_mode 
+0x3b78 018984 branch module_hci_event_receive_valid_cmd 
+:      018989 module_hci_event_receive_invalid_cmd:
+0x3b79 018990 arg 1 ,temp 
+0x3b7a 018991 arg 0 ,rega 
+0x3b7b 018992 branch module_hci_event_set_cmd 
+:      018995 module_hci_event_receive_valid_cmd:
+0x3b7c 018996 arg 0 ,temp 
+0x3b7d 018997 arg 0 ,rega 
+0x3b7e 018998 branch module_hci_event_set_cmd 
+:      019002 module_hci_event_spp_connect:
+0x3b7f 019003 jam hci_event_spp_conn_rep ,mem_module_uart_opcode 
+0x3b80 019004 branch module_hci_event_enter_standby_mode_len0 
+:      019008 module_hci_event_le_connect:
+0x3b81 019009 jam hci_event_le_conn_rep ,mem_module_uart_opcode 
+0x3b82 019010 branch module_hci_event_enter_standby_mode_len0 
+:      019014 module_hci_event_spp_disconnect:
+0x3b83 019015 jam hci_event_spp_dis_rep ,mem_module_uart_opcode 
+0x3b84 019016 branch module_hci_event_enter_standby_mode_len0 
+:      019020 module_hci_event_le_disconnect:
+0x3b85 019021 jam hci_event_le_dis_rep ,mem_module_uart_opcode 
+0x3b86 019022 branch module_hci_event_enter_standby_mode_len0 
+:      019030 module_hci_event_set_cmd:
+0x3b87 019031 fetch 1 ,mem_module_uart_opcode 
+0x3b88 019032 copy pdata ,regc 
+0x3b89 019033 jam hci_event_cmd_res ,mem_module_uart_opcode 
+0x3b8a 019034 setarg 2 
+0x3b8b 019035 iadd rega ,pdata 
+0x3b8c 019036 call module_hci_prepare_tx 
+0x3b8d 019037 copy regc ,pdata 
+0x3b8e 019038 istore 1 ,contwu 
+0x3b8f 019039 istoret 1 ,contwu 
+0x3b90 019040 copy rega ,loopcnt 
+0x3b91 019041 copy regb ,contr 
+0x3b92 019042 call uart_copy_tx_bytes 
+0x3b93 019043 branch module_hci_transmit_tx 
+:      019047 module_hci_event_receive_spp_data:
+0x3b94 019049 call module_spp_clear_last_transmite_clock 
+0x3b95 019050 jam hci_event_spp_data_rep ,mem_module_uart_opcode 
+0x3b96 019051 fetch 1 ,mem_current_length 
+0x3b97 019052 rtn blank 
+0x3b98 019053 call module_hci_prepare_tx 
+0x3b99 019054 fetch 1 ,mem_current_length 
+0x3b9a 019055 copy pdata ,loopcnt 
+0x3b9b 019056 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x3b9c 019057 copy pdata ,contr 
+0x3b9d 019058 call uart_copy_tx_bytes_fast 
+0x3b9e 019059 branch module_hci_transmit_tx 
+:      019064 module_hci_event_receive_le_data:
+0x3b9f 019065 jam hci_event_le_data_rep ,mem_module_uart_opcode 
+0x3ba0 019066 add loopcnt ,2 ,pdata 
+0x3ba1 019067 call module_hci_prepare_tx 
+0x3ba2 019068 fetch 2 ,mem_module_le_rx_data_handle 
+0x3ba3 019069 istore 2 ,contwu 
+0x3ba4 019070 fetch 2 ,mem_module_le_rx_data_address 
+0x3ba5 019071 icopy contr 
+0x3ba6 019072 call uart_copy_tx_bytes_fast 
+0x3ba7 019073 copy contr ,pdata 
+0x3ba8 019074 store 2 ,mem_module_le_rx_data_address 
+0x3ba9 019075 branch module_hci_transmit_tx 
+:      019079 module_hci_event_enter_standby_mode:
+0x3baa 019080 jam hci_event_standby_rep ,mem_module_uart_opcode 
+:      019081 module_hci_event_enter_standby_mode_len0:
+0x3bab 019082 setarg 0 
+0x3bac 019083 call module_hci_prepare_tx 
+0x3bad 019084 branch module_hci_transmit_tx 
+:      019088 module_hci_event_status_res:
+0x3bae 019089 jam hci_event_status_res ,mem_module_uart_opcode 
+0x3baf 019090 setarg 1 
+0x3bb0 019091 call module_hci_prepare_tx 
+0x3bb1 019093 call module_hci_read_bt_status 
+0x3bb2 019095 fetch 2 ,mem_ui_state_map 
+0x3bb3 019096 arg ui_state_bt_hid_conn ,queue 
+0x3bb4 019097 qisolate1 pdata 
+0x3bb5 019098 setflag true ,3 ,temp 
+0x3bb6 019100 arg ui_state_ble_connected ,queue 
+0x3bb7 019101 qisolate1 pdata 
+0x3bb8 019102 setflag true ,5 ,temp 
+0x3bb9 019104 fetch 1 ,mem_ui_state_map 
+0x3bba 019105 arg ui_state_bt_spp_conn ,queue 
+0x3bbb 019106 qisolate1 pdata 
+0x3bbc 019107 setflag true ,4 ,temp 
+0x3bbd 019109 istoret 1 ,contwu 
+0x3bbe 019110 branch module_hci_transmit_tx 
+:      019114 module_hci_read_bt_status:
+0x3bbf 019115 arg 0 ,temp 
+0x3bc0 019116 fetch 1 ,mem_scan_mode 
+0x3bc1 019117 arg inq_scan_mode ,queue 
+0x3bc2 019118 qisolate1 pdata 
+0x3bc3 019119 setflag true ,0 ,temp 
+0x3bc4 019120 arg page_scan_mode ,queue 
+0x3bc5 019121 qisolate1 pdata 
+0x3bc6 019122 setflag true ,1 ,temp 
+0x3bc7 019124 fetch 1 ,mem_le_adv_enable 
+0x3bc8 019125 arg 0 ,queue 
+0x3bc9 019126 qisolate1 pdata 
+0x3bca 019127 setflag true ,2 ,temp 
+0x3bcb 019128 rtn 
+:      019132 module_hci_event_store_device:
+0x3bcc 019133 jam hci_event_nvram_rep ,mem_module_uart_opcode 
+0x3bcd 019134 fetch 1 ,mem_nv_data_number 
+0x3bce 019135 mul32 pdata ,34 ,pdata 
+0x3bcf 019136 icopy loopcnt 
+0x3bd0 019137 call module_hci_prepare_tx 
+0x3bd1 019138 fetch 2 ,mem_nv_data_ptr 
+0x3bd2 019139 icopy contr 
+0x3bd3 019140 call uart_copy_tx_bytes_fast 
+0x3bd4 019141 branch module_hci_transmit_tx 
+:      019145 module_hci_event_gkey_generate:
+0x3bd5 019146 jam hci_event_gkey ,mem_module_uart_opcode 
+0x3bd6 019147 setarg 4 
+0x3bd7 019148 call module_hci_prepare_tx 
+0x3bd8 019149 fetch 4 ,mem_gkey 
+0x3bd9 019150 istore 4 ,contwu 
+0x3bda 019151 branch module_hci_transmit_tx 
+:      019155 module_hci_event_invalid_packet:
+0x3bdb 019156 jam hci_event_invalid_packet ,mem_module_uart_opcode 
+0x3bdc 019157 fetch 2 ,core_uart_rxitems 
+0x3bdd 019158 arg 0x40 ,temp 
+0x3bde 019159 call not_greater_than 
+0x3bdf 019160 copy pdata ,rega 
+0x3be0 019161 copy pdata ,loopcnt 
+0x3be1 019162 call uarta_prepare_rx 
+0x3be2 019163 arg mem_module_rx_error_data_buffer ,contw 
+0x3be3 019164 call uart_copy_rx_bytes_fast 
+0x3be4 019165 copy rega ,pdata 
+0x3be5 019166 copy rega ,loopcnt 
+0x3be6 019167 call module_hci_prepare_tx 
+0x3be7 019168 arg mem_module_rx_error_data_buffer ,contr 
+0x3be8 019169 call uart_copy_tx_bytes_fast 
+0x3be9 019170 branch module_hci_transmit_tx 
+:      019174 module_hci_event_passkey_entry_mode:
+0x3bea 019175 jam hci_event_get_passkey ,mem_module_uart_opcode 
+0x3beb 019176 branch module_hci_event_enter_standby_mode_len0 
+:      019180 module_hci_event_le_tk:
+0x3bec 019181 jam hci_event_le_tk ,mem_module_uart_opcode 
+0x3bed 019182 setarg 4 
+0x3bee 019183 call module_hci_prepare_tx 
+0x3bef 019184 fetch 4 ,mem_le_tk 
+0x3bf0 019185 istore 4 ,contwu 
+0x3bf1 019186 branch module_hci_transmit_tx 
+:      019190 module_hci_event_le_pairing_fail:
+0x3bf2 019191 arg flag_ble_pairing_fail ,rega 
+0x3bf3 019192 branch module_hci_event_pairing_completed 
+:      019194 module_hci_event_le_pairing_success:
+0x3bf4 019195 arg flag_ble_pairing_success ,rega 
+0x3bf5 019196 branch module_hci_event_pairing_completed 
+:      019198 module_hci_event_bt_pairing_fail:
+0x3bf6 019199 arg flag_bt_pairing_fail ,rega 
+0x3bf7 019200 branch module_hci_event_pairing_completed 
+:      019202 module_hci_event_bt_pairing_success:
+0x3bf8 019203 arg flag_bt_pairing_success ,rega 
+:      019205 module_hci_event_pairing_completed:
+0x3bf9 019206 jam 0 ,mem_flag_mode_ssp_pin 
+0x3bfa 019207 jam hci_event_le_pairing_state ,mem_module_uart_opcode 
+0x3bfb 019208 setarg 2 
+0x3bfc 019209 call module_hci_prepare_tx 
+0x3bfd 019210 copy rega ,pdata 
+0x3bfe 019211 istore 2 ,contwu 
+0x3bff 019212 branch module_hci_transmit_tx 
+:      019216 module_hci_event_pause_enc:
+0x3c00 019217 arg flag_event_pause_enc ,regc 
+0x3c01 019218 branch module_hci_event_enc 
+:      019220 module_hci_event_start_enc:
+0x3c02 019221 arg flag_event_start_enc ,regc 
+:      019223 module_hci_event_enc:
+0x3c03 019224 jam hci_event_le_encryption_state ,mem_module_uart_opcode 
+0x3c04 019225 setarg 1 
+0x3c05 019226 call module_hci_prepare_tx 
+0x3c06 019227 copy regc ,pdata 
+0x3c07 019228 istore 1 ,contwu 
+0x3c08 019229 branch module_hci_transmit_tx 
+:      019233 module_hci_event_le_gkey:
+0x3c09 019234 jam hci_event_le_gkey ,mem_module_uart_opcode 
+0x3c0a 019235 setarg 4 
+0x3c0b 019236 call module_hci_prepare_tx 
+0x3c0c 019237 fetch 4 ,mem_gkey 
+0x3c0d 019238 istore 4 ,contwu 
+0x3c0e 019239 branch module_hci_transmit_tx 
+:      019244 module_hci_event_uuid_handle:
+0x3c0f 019245 storet 2 ,mem_temp 
+0x3c10 019246 jam hci_event_uuid_handle ,mem_module_uart_opcode 
+0x3c11 019247 setarg 2 
+0x3c12 019248 call module_hci_prepare_tx 
+0x3c13 019249 fetcht 2 ,mem_temp 
+0x3c14 019250 istoret 2 ,contwu 
+0x3c15 019251 branch module_hci_transmit_tx 
+:      019255 module_hci_event_le_input_passkey:
+0x3c16 019256 jam hci_event_le_input_gkey ,mem_module_uart_opcode 
+0x3c17 019257 branch module_hci_event_enter_standby_mode_len0 
+:      019261 module_hci_event_le_update_phy:
+0x3c18 019262 jam hci_ble_update_phy_event ,mem_module_uart_opcode 
+0x3c19 019263 setarg 2 
+0x3c1a 019264 call module_hci_prepare_tx 
+0x3c1b 019265 fetch 2 ,mem_context + coffset_le_rx_phy 
+0x3c1c 019266 istore 2 ,contwu 
+0x3c1d 019267 branch module_hci_transmit_tx 
+:      019279 module_hci_prepare_tx:
+0x3c1e 019280 jam 0x02 ,mem_module_uart_cmd 
+0x3c1f 019281 store 1 ,mem_module_uart_len 
+0x3c20 019282 storet 8 ,mem_temp 
+0x3c21 019283 bpatch patch18_0 ,mem_patch18 
+0x3c22 019284 call module_set_mcu_wake_pin_high_delay 
+0x3c23 019285 fetcht 8 ,mem_temp 
+0x3c24 019286 call uarta_prepare_tx_register_push 
+0x3c25 019287 fetch 3 ,mem_module_uart_cmd 
+0x3c26 019288 istore 3 ,contwu 
+0x3c27 019289 rtn 
+:      019291 module_hci_transmit_tx:
+0x3c28 019292 bpatch patch18_1 ,mem_patch18 
+0x3c29 019293 branch uarta_send_register_pop 
+:      019295 module_set_mcu_wake_pin_high_delay:
+0x3c2a 019296 call module_check_mcu_wake_pin_high 
+0x3c2b 019297 rtn true 
+:      019298 module_set_mcu_wake_pin_h_delay:
+0x3c2c 019299 call module_set_mcu_wake_pin_high 
+0x3c2d 019300 fetch 4 ,mem_module_mcu_wake_delay_us 
+0x3c2e 019301 rshift2 pdata ,pdata 
+0x3c2f 019302 rtn blank 
+0x3c30 019303 branch delay 
+:      019305 module_set_mcu_wake_pin_high:
+0x3c31 019306 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3c32 019307 branch gpio_out_active 
+:      019309 module_check_mcu_wake_pin_high:
+0x3c33 019310 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3c34 019311 branch gpio_check_active 
+:      019313 module_set_mcu_wake_pin_low:
+0x3c35 019314 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3c36 019315 branch gpio_out_inactive 
+:      019326 module_le_receive_data:
+0x3c37 019327 storer rega ,2 ,mem_module_le_rx_data_address 
+0x3c38 019328 storer regb ,2 ,mem_module_le_rx_data_len 
+0x3c39 019329 fetch 2 ,mem_le_att_handle 
+0x3c3a 019330 store 2 ,mem_module_le_rx_data_handle 
+0x3c3b 019331 call module_check_ble_encrypt_state 
+0x3c3c 019332 rtn user 
+:      019334 module_le_receive_data_ok:
+0x3c3d 019335 fetcht 2 ,mem_module_le_rx_data_len 
+0x3c3e 019336 fetch 1 ,mem_module_ble_data_uart_max_length 
+0x3c3f 019337 call not_greater_than 
+0x3c40 019338 copy pdata ,loopcnt 
+0x3c41 019339 copy temp ,pdata 
+0x3c42 019340 isub loopcnt ,pdata 
+0x3c43 019341 store 2 ,mem_module_le_rx_data_len 
+0x3c44 019342 call module_hci_event_receive_le_data 
+0x3c45 019343 fetch 2 ,mem_module_le_rx_data_len 
+0x3c46 019344 rtn blank 
+0x3c47 019345 branch module_le_receive_data_ok 
+:      019349 module_exit_sniff:
+0x3c48 019350 fetch 2 ,mem_module_flag 
+0x3c49 019351 rtnbit1 moudle_task_unsniff 
+0x3c4a 019352 call module_set_unsniff_task_flag 
+0x3c4b 019353 branch app_bt_sniff_exit 
+:      019356 module_set_lpm_mult_2:
+0x3c4c 019357 jam 2 ,mem_lpm_mult 
+0x3c4d 019358 rtn 
+:      019362 module_bb_event_timer:
+:      019365 module_read_vdd_timer:
+0x3c4e 019366 fetch 1 ,mem_module_read_vdd_flag 
+0x3c4f 019367 rtn blank 
+0x3c50 019368 fetch 1 ,mem_module_read_vdd_count 
+0x3c51 019369 rtn blank 
+0x3c52 019370 increase -1 ,pdata 
+0x3c53 019371 store 1 ,mem_module_read_vdd_count 
+0x3c54 019372 nrtn blank 
+0x3c55 019373 jam flag_module_read_vdd_count ,mem_module_read_vdd_count 
+0x3c56 019374 call enable_adc 
+0x3c57 019375 call vdd_calculate_by_mode 
+0x3c58 019376 div pdata ,0x64 
+0x3c59 019377 call get_div_result 
+0x3c5a 019378 remainder temp 
+0x3c5b 019379 store 1 ,mem_module_vdd_quotient 
+0x3c5c 019380 storet 1 ,mem_module_vdd_remainder 
+0x3c5d 019381 rtn 
+:      019384 module_control_air_flow:
+0x3c5e 019385 call check_uart_tx_buff 
+0x3c5f 019386 branch app_l2cap_flow_control_enable ,positive 
+0x3c60 019387 branch app_l2cap_flow_control_disable 
+:      019391 module_set_sniff_task_flag:
+0x3c61 019392 arg moudle_task_sniff ,queue 
+0x3c62 019393 branch module_set_state 
+:      019395 module_clear_sniff_task_flag:
+0x3c63 019396 arg moudle_task_sniff ,queue 
+0x3c64 019397 branch module_clr_state 
+:      019399 module_set_unsniff_task_flag:
+0x3c65 019400 arg moudle_task_unsniff ,queue 
+0x3c66 019401 branch module_set_state 
+:      019403 module_clear_unsniff_task_flag:
+0x3c67 019404 arg moudle_task_unsniff ,queue 
+0x3c68 019405 branch module_clr_state 
+:      019407 module_set_le_tx_data_flag:
+0x3c69 019408 arg module_flag_ble_data_finish ,queue 
+0x3c6a 019409 branch module_set_state 
+:      019411 module_clear_le_tx_data_flag:
+0x3c6b 019412 arg module_flag_ble_data_finish ,queue 
+0x3c6c 019413 branch module_clr_state 
+:      019415 module_clr_state:
+0x3c6d 019416 fetch 2 ,mem_module_flag 
+0x3c6e 019417 qset0 pdata 
+0x3c6f 019418 store 2 ,mem_module_flag 
+0x3c70 019419 rtn 
+:      019421 module_set_state:
+0x3c71 019422 fetch 2 ,mem_module_flag 
+0x3c72 019423 qset1 pdata 
+0x3c73 019424 store 2 ,mem_module_flag 
+0x3c74 019425 rtn 
+:      019430 mouse_init:
+0x3c75 019431 call enable_authrom 
+0x3c76 019432 call mouse_setting_config 
+0x3c77 019433 call mouse_init_sunt 
+0x3c78 019434 call mouse_dpi_config 
+0x3c79 019435 rtn wake 
+0x3c7a 019436 call mouse_drawing_optima_init 
+0x3c7b 019437 call mouse_cb_fuction 
+0x3c7c 019438 call mouse_sensor_powerdown 
+0x3c7d 019439 fetch 1 ,mem_usb_addr 
+0x3c7e 019440 rtnbit1 7 
+:      019441 mouse_init_wireless:
+0x3c7f 019442 fetch 2 ,mem_ui_state_map 
+0x3c80 019443 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x3c81 019444 call mouse_check_select_device_by_switch 
+0x3c82 019445 branch mouse_start_work 
+:      019448 mouse_cb_fuction:
+0x3c83 019449 setarg mouse_24g_before_lpm_sleep 
+0x3c84 019450 store 2 ,mem_cb_before_lpm_sleep 
+0x3c85 019451 setarg mouse_24g_package_data 
+0x3c86 019452 store 2 ,mem_cb_24g_transmit_data 
+0x3c87 019453 setarg mouse_24g_search_dongle 
+0x3c88 019454 store 2 ,mem_cb_24g_search_receiver 
+0x3c89 019455 setarg mouse_lpm_before_common 
+0x3c8a 019456 store 2 ,mem_cb_24g_lpm_before 
+0x3c8b 019457 setarg mouse_le 
+0x3c8c 019458 store 2 ,mem_cb_le_process 
+0x3c8d 019459 setarg mouse_bt 
+0x3c8e 019460 store 2 ,mem_cb_bt_process 
+0x3c8f 019461 setarg mouse_process_lpm_before 
+0x3c90 019462 store 2 ,mem_cb_before_lpm 
+0x3c91 019463 setarg mouse_priority_bb_event 
+0x3c92 019464 store 2 ,mem_cb_bb_event_process 
+0x3c93 019465 setarg mouse_idle 
+0x3c94 019466 store 2 ,mem_cb_idle_process 
+0x3c95 019467 setarg mouse_before_hibernate 
+0x3c96 019468 store 2 ,mem_cb_before_hibernate 
+0x3c97 019469 setarg mouse_le_bb_event_connect_complete 
+0x3c98 019470 store 2 ,mem_cb_att_write 
+0x3c99 019471 setarg mouse_bb_event_timer 
+0x3c9a 019472 store 2 ,mem_cb_event_timer 
+0x3c9b 019473 setarg mouse_spi_write_flash_cb 
+0x3c9c 019474 store 2 ,mem_cb_spi_flash_write_complate 
+0x3c9d 019475 setarg mouse_lpm_check_wake_lock 
+0x3c9e 019476 store 2 ,mem_cb_check_wakelock 
+0x3c9f 019477 setarg mouse_le_transmit 
+0x3ca0 019478 store 2 ,mem_cb_ble_transmit 
+0x3ca1 019479 setarg mouse_bt_slave_match 
+0x3ca2 019480 store 2 ,mem_cb_bt_slave_match 
+0x3ca3 019481 setarg mouse_set_lpm_mult 
+0x3ca4 019482 store 2 ,mem_cb_bt_set_mult 
+0x3ca5 019483 rtn 
+:      019486 mouse_setting_config:
+0x3ca6 019487 rtn wake 
+0x3ca7 019488 call g24_transmit_init 
+0x3ca8 019489 call g24_chmap_param_init 
+0x3ca9 019490 call mouse_gpio_init 
+0x3caa 019491 call mouse_param_init 
+0x3cab 019492 call le_set_config_fixed_ltk 
+0x3cac 019493 call le_set_justwork 
+0x3cad 019494 call le_set_fixed_ltk 
+0x3cae 019495 call le_set_config_read_authentication 
+0x3caf 019496 fetch mouse_flag_len ,mem_mouse_flag 
+0x3cb0 019497 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
+0x3cb1 019498 bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
+0x3cb2 019499 rtn 
+:      019501 mouse_xtal_init:
+0x3cb3 019502 jam 0x08 ,mem_fcomp_div 
+0x3cb4 019503 fetch mouse_flag_len ,mem_mouse_flag 
+0x3cb5 019504 rtnbit1 mouse_enable_16m 
+0x3cb6 019505 jam 0x18 ,mem_fcomp_div 
+0x3cb7 019506 rtn 
+:      019508 mouse_default_init:
+0x3cb8 019509 jam 0xff ,mem_usb_offline_check_gpio 
+0x3cb9 019510 jam 0xff ,mem_ui_button_gpio 
+0x3cba 019511 jam 0x1e ,mem_ui_button_timeout 
+0x3cbb 019512 jam 5 ,mem_store_information_delay_timer_init 
+0x3cbc 019514 setarg mem_mouse_led_type 
+0x3cbd 019515 store 2 ,mem_ui_led_struct_ptr 
+0x3cbe 019516 jam 1 ,mem_ui_led_struct_num 
+0x3cbf 019518 setarg mem_mouse_rssi_signal_buf 
+0x3cc0 019519 store 2 ,mem_rssi_signal_buf_ptr 
+0x3cc1 019521 jam 1 ,mem_24g_data_type 
+0x3cc2 019523 fetch 2 ,mem_mouse_discovery_timeout 
+0x3cc3 019524 store 2 ,mem_discovery_timeout 
+0x3cc4 019526 fetch 2 ,mem_mouse_24g_pair_timeout_init 
+0x3cc5 019527 store 2 ,mem_24g_pair_timeout_init 
+0x3cc6 019529 fetch 1 ,mem_mouse_24g_reconn_timeout_init 
+0x3cc7 019530 store 2 ,mem_24g_reconn_timeout_init 
+0x3cc8 019532 fetch 5 ,mem_rssi_dis_min_24g_init 
+0x3cc9 019533 store 5 ,mem_rssi_dis_min_24g 
+0x3cca 019535 fetch 1 ,mem_mouse_24g_pair_tx_power 
+0x3ccb 019536 store 1 ,mem_24g_pair_tx_power 
+0x3ccc 019539 fetch mouse_flag_len ,mem_mouse_flag 
+0x3ccd 019540 nrtn blank 
+0x3cce 019544 setarg 0x020800 
+0x3ccf 019545 store 3 ,mem_mouse_flag 
+0x3cd0 019546 setarg 0x800700 
+0x3cd1 019547 istore 3 ,contw 
+0x3cd2 019548 setarg 0x0300 
+0x3cd3 019549 istore 2 ,contw 
+0x3cd4 019551 jam 1 ,mem_lpm_mode 
+0x3cd5 019552 fetch 1 ,mem_mouse_enable_flag 
+0x3cd6 019553 isolate1 mouse_adc_enable ,pdata 
+0x3cd7 019554 call mouse_adc_read_enable ,true 
+0x3cd8 019556 fetch 1 ,mem_mouse_enable_flag 
+0x3cd9 019557 isolate1 mouse_24g_250hz_enable ,pdata 
+0x3cda 019558 call mouse_24g_set_250hz ,true 
+0x3cdb 019559 fetch 1 ,mem_mouse_enable_flag 
+0x3cdc 019560 isolate1 mouse_search_dongle_enable ,pdata 
+0x3cdd 019561 call mouse_24g_search_dongle_enable ,true 
+0x3cde 019562 fetch 1 ,mem_mouse_enable_flag 
+0x3cdf 019563 isolate1 mouse_clk_16m_enable ,pdata 
+0x3ce0 019564 call mouse_16m_enable ,true 
+0x3ce1 019565 fetch 1 ,mem_mouse_enable_flag 
+0x3ce2 019566 isolate1 mouse_dpi_4_level_enable ,pdata 
+0x3ce3 019567 call mouse_dpi_4level_enable ,true 
+0x3ce4 019568 fetch 1 ,mem_mouse_enable_flag 
+0x3ce5 019569 isolate1 mouse_keyboard_enable ,pdata 
+0x3ce6 019570 call mouse_customer_key_enable ,true 
+0x3ce7 019572 fetch 1 ,mem_24g_ch_map_update 
+0x3ce8 019573 ncall g24_chamap_param_update ,blank 
+0x3ce9 019575 call mouse_xtal_init 
+0x3cea 019577 fetch 1 ,mem_mouse_global_setup 
+0x3ceb 019578 and pdata ,0x07 ,temp 
+0x3cec 019579 storet 1 ,mem_adc_channel 
+0x3ced 019580 rshift3 pdata ,pdata 
+0x3cee 019581 and pdata ,0x01 ,temp 
+0x3cef 019582 storet 1 ,mem_24g_ch_map_update 
+0x3cf0 019583 rshift pdata ,pdata 
+0x3cf1 019584 and pdata ,0x03 ,temp 
+0x3cf2 019585 storet 1 ,mem_adc_config_flag_init 
+0x3cf3 019586 rshift2 pdata ,pdata 
+0x3cf4 019587 and pdata ,0x03 ,pdata 
+0x3cf5 019588 call mouse_24g_long_sleep_set 
+0x3cf6 019590 fetch 1 ,mem_mouse_global_setup1 
+0x3cf7 019591 and pdata ,0x03 ,temp 
+0x3cf8 019592 storet 1 ,mem_sensor_angle_default 
+0x3cf9 019593 rshift2 pdata ,pdata 
+0x3cfa 019594 and pdata ,0x03 ,temp 
+0x3cfb 019595 storet 1 ,mem_sensor_angle_switch 
+0x3cfc 019596 rshift2 pdata ,pdata 
+0x3cfd 019597 and pdata ,0x01 ,temp 
+0x3cfe 019598 storet 1 ,mem_config_sensor_dpi 
+0x3cff 019599 storet 1 ,mem_mouse_dpi 
+0x3d00 019600 rshift pdata ,pdata 
+0x3d01 019601 and pdata ,0x01 ,temp 
+0x3d02 019602 storet 1 ,mem_24g_disable_fec1 
+0x3d03 019603 rshift pdata ,pdata 
+0x3d04 019604 and pdata ,0x03 ,pdata 
+0x3d05 019605 store 1 ,mem_device_number 
+0x3d06 019607 bpatch patch18_2 ,mem_patch18 
+0x3d07 019608 setarg 0x0b0c0a 
+0x3d08 019609 store 3 ,mem_lbutton_gpio 
+0x3d09 019610 setarg 0xffffff 
+0x3d0a 019611 istore 3 ,contw 
+0x3d0b 019612 setarg 0x0607ff 
+0x3d0c 019613 istore 3 ,contw 
+0x3d0d 019614 setarg 0xffffff 
+0x3d0e 019615 istore 3 ,contw 
+0x3d0f 019619 jam 0x0a ,mem_adc_read_time_init 
+0x3d10 019620 setarg 0x0064 
+0x3d11 019621 store 2 ,mem_adc_low_volatage_led_blink_timer 
+0x3d12 019622 call mouse_adc_vol_init 
+0x3d13 019624 setarg 0x1770 
+0x3d14 019625 store 2 ,mem_mouse_no_data_timeout 
+0x3d15 019626 jam 0x14 ,mem_mouse_device_poweron_timer_count_init 
+0x3d16 019627 setarg 0x0190 
+0x3d17 019628 store 2 ,mem_mouse_low_v_led_blink_time 
+0x3d18 019629 store 2 ,mem_mouse_dpi_led_blink_time 
+0x3d19 019630 setarg 0x03e8 
+0x3d1a 019631 store 2 ,mem_mouse_disconvey_led_blink_time 
+0x3d1b 019632 jam 0x07 ,mem_rssi_buff_index 
+0x3d1c 019633 jam 125 ,mem_power_ctrl_pac_succ_cnt_init 
+0x3d1d 019634 jam tx_power_0db ,mem_tx_power 
+0x3d1e 019636 jam 0x01 ,mem_24g_fast_conn_enable 
+0x3d1f 019637 setarg 0x0f0f 
+0x3d20 019638 store 2 ,mem_24g_fast_conn_addr 
+0x3d21 019639 store 2 ,mem_24g_fast_conn_addr + 2 
+0x3d22 019642 fetch 2 ,mem_lap 
+0x3d23 019643 store 2 ,mem_lap + 4 
+0x3d24 019645 arg mem_le_lap ,contw 
+0x3d25 019646 arg mem_lap ,contr 
+0x3d26 019647 arg 0x06 ,loopcnt 
+0x3d27 019648 call reverse_byte 
+0x3d28 019650 jam 0x20 ,mem_lpm_mult_init 
+0x3d29 019651 jam 0x34 ,mem_device1_type 
+0x3d2a 019652 fetch 6 ,mem_le_lap 
+0x3d2b 019653 store 6 ,mem_device1_locall_addr 
+0x3d2c 019654 jam 0x02 ,mem_mouse_bluetooth_type 
+0x3d2d 019656 jam 0x1f ,mem_le_adv_data_len 
+0x3d2e 019658 setarg 0x050102 
+0x3d2f 019659 store 3 ,mem_le_adv_data 
+0x3d30 019660 setarg 0x120303 
+0x3d31 019661 istore 3 ,contw 
+0x3d32 019662 setarg 0x190318 
+0x3d33 019663 istore 3 ,contw 
+0x3d34 019664 setarg 0x03c2 
+0x3d35 019665 istore 2 ,contw 
+0x3d36 019667 setarg 0x06ff06 
+0x3d37 019668 store 3 ,mem_le_adv_swift_pair 
+0x3d38 019669 setarg 0x000300 
+0x3d39 019670 istore 3 ,contw 
+0x3d3a 019671 setarg 0x090c80 
+0x3d3b 019672 istore 3 ,contw 
+0x3d3c 019674 setarg 0x355442 
+0x3d3d 019675 istore 3 ,contw 
+0x3d3e 019676 setarg 0x20322e 
+0x3d3f 019677 istore 3 ,contw 
+0x3d40 019678 setarg 0x756f4d 
+0x3d41 019679 istore 3 ,contw 
+0x3d42 019680 setarg 0x6573 
+0x3d43 019681 istore 2 ,contw 
+0x3d44 019683 jam 0x1f ,mem_le_scan_data_len 
+0x3d45 019684 arg mem_le_adv_swift_pair + 7 ,contr 
+0x3d46 019685 arg mem_le_scan_data ,contw 
+0x3d47 019686 arg 13 ,loopcnt 
+0x3d48 019687 call memcpy 
+0x3d49 019689 fetch 1 ,mem_le_scan_data 
+0x3d4a 019690 increase -1 ,pdata 
+0x3d4b 019691 store 1 ,mem_le_name_len 
+0x3d4c 019693 arg mem_le_scan_data + 2 ,contr 
+0x3d4d 019694 arg mem_le_name_len + 1 ,contw 
+0x3d4e 019695 arg 11 ,loopcnt 
+0x3d4f 019696 call memcpy 
+0x3d50 019698 setarg 0x070007 
+0x3d51 019699 store 3 ,mem_le_interval_min 
+0x3d52 019700 setarg 0x002000 
+0x3d53 019701 istore 3 ,contw 
+0x3d54 019702 setarg 0x012c 
+0x3d55 019703 istore 2 ,contw 
+0x3d56 019705 setarg 0x181203 
+0x3d57 019706 store 3 ,mem_le_adv_ind 
+0x3d58 019708 setarg 0x0000ff 
+0x3d59 019709 store 3 ,mem_le_adv_direct_ind 
+0x3d5a 019711 setsect 0 ,0xfb 
+0x3d5b 019712 setsect 1 ,0x2c212 
+0x3d5c 019713 setsect 2 ,0x800f 
+0x3d5d 019714 setsect 3 ,0x21 
+0x3d5e 019715 store 8 ,mem_local_rx_max_octets 
+0x3d5f 019717 jam 0x07 ,mem_le_adv_channel_map 
+0x3d60 019719 setarg 0x0015 
+0x3d61 019720 store 2 ,mem_le_keyboard_handle 
+0x3d62 019721 setarg 0x0019 
+0x3d63 019722 store 2 ,mem_le_notify_handle 
+0x3d64 019723 setarg 0x001d 
+0x3d65 019724 store 2 ,mem_le_multimedia_handle 
+0x3d66 019725 setarg 0x0021 
+0x3d67 019726 store 2 ,mem_le_systemctrl_handle 
+0x3d68 019727 setarg 0x0030 
+0x3d69 019728 store 2 ,mem_le_battery_level_handle 
+0x3d6a 019729 setarg 0x0022 
+0x3d6b 019730 store 2 ,mem_le_pairing_handle 
+0x3d6c 019732 jam 0x96 ,mem_le_battery_level_updata_timer_init 
+0x3d6d 019735 jam mode_24g_device ,mem_device_flag 
+0x3d6e 019736 call g24_enable_1m 
+0x3d6f 019737 call g24_pair_param_init 
+0x3d70 019739 setarg 0x604800 
+0x3d71 019740 store 3 ,mem_24g_enter_hibernate 
+0x3d72 019741 setarg 0x012c 
+0x3d73 019742 store 2 ,mem_24g_long_sleep_param_update_timer_init 
+0x3d74 019743 setarg 0x0050 
+0x3d75 019744 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0x3d76 019745 setarg 0x05 
+0x3d77 019746 store 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0x3d78 019747 setarg 0x0708 
+0x3d79 019748 store 2 ,mem_mouse_24g_search_dongle_time_init 
+0x3d7a 019752 setarg 0x010403 
+0x3d7b 019753 store 3 ,mem_mouse_dpi_seting 
+0x3d7c 019754 setarg 0x2a2002 
+0x3d7d 019755 istore 3 ,contw 
+0x3d7e 019756 setarg 0x22153f 
+0x3d7f 019757 istore 3 ,contw 
+0x3d80 019758 setarg 0x114433 
+0x3d81 019759 istore 3 ,contw 
+0x3d82 019761 setarg 0x265a09 
+0x3d83 019762 store 3 ,mem_sensor_3212_init 
+0x3d84 019763 setarg 0x041934 
+0x3d85 019764 istore 3 ,contw 
+0x3d86 019765 setarg 0x0009 
+0x3d87 019766 istore 2 ,contw 
+0x3d88 019767 setarg 0xffff 
+0x3d89 019768 istore 2 ,contw 
+0x3d8a 019770 setarg 0x0d5a09 
+0x3d8b 019771 store 3 ,mem_sensor_3205_init 
+0x3d8c 019772 setarg 0xed1d10 
+0x3d8d 019773 istore 3 ,contw 
+0x3d8e 019774 setarg 0x807d 
+0x3d8f 019775 istore 2 ,contw 
+0x3d90 019776 setarg 0xffff 
+0x3d91 019777 istore 2 ,contw 
+0x3d92 019779 setarg 0xff5a09 
+0x3d93 019780 store 3 ,mem_sensor_8650_init 
+0x3d94 019781 setarg 0x40ab27 
+0x3d95 019782 istore 3 ,contw 
+0x3d96 019783 setarg 0x9b56b3 
+0x3d97 019784 istore 3 ,contw 
+0x3d98 019785 setarg 0x12a8e6 
+0x3d99 019786 istore 3 ,contw 
+0x3d9a 019787 setarg 0xbec0a9 
+0x3d9b 019788 istore 3 ,contw 
+0x3d9c 019789 setarg 0xafa5e6 
+0x3d9d 019790 istore 3 ,contw 
+0x3d9e 019791 setarg 0xa121a0 
+0x3d9f 019792 istore 3 ,contw 
+0x3da0 019793 setarg 0x10b802 
+0x3da1 019794 istore 3 ,contw 
+0x3da2 019795 setarg 0xa70bb9 
+0x3da3 019796 istore 3 ,contw 
+0x3da4 019797 setarg 0xd0b5ff 
+0x3da5 019798 istore 3 ,contw 
+0x3da6 019799 setarg 0xff00b6 
+0x3da7 019800 istore 3 ,contw 
+0x3da8 019801 setarg 0x000900 
+0x3da9 019802 istore 3 ,contw 
+0x3daa 019803 setarg 0xffff 
+0x3dab 019804 istore 2 ,contw 
+0x3dac 019806 setarg 0x0d5a09 
+0x3dad 019807 store 3 ,mem_sensor_ka8ul_init 
+0x3dae 019808 setarg 0xc50e10 
+0x3daf 019809 istore 3 ,contw 
+0x3db0 019810 setarg 0x109a5b 
+0x3db1 019811 istore 3 ,contw 
+0x3db2 019812 setarg 0x421138 
+0x3db3 019813 istore 3 ,contw 
+0x3db4 019814 setarg 0x412828 
+0x3db5 019815 istore 3 ,contw 
+0x3db6 019816 setarg 0x394923 
+0x3db7 019817 istore 3 ,contw 
+0x3db8 019818 setarg 0x4bb04a 
+0x3db9 019819 istore 3 ,contw 
+0x3dba 019820 setarg 0x904ca0 
+0x3dbb 019821 istore 3 ,contw 
+0x3dbc 019822 setarg 0x09704d 
+0x3dbd 019823 istore 3 ,contw 
+0x3dbe 019824 setarg 0xffff00 
+0x3dbf 019825 istore 3 ,contw 
+0x3dc0 019827 setarg 0x46a509 
+0x3dc1 019828 store 3 ,mem_sensor_ka8g2_init 
+0x3dc2 019829 setarg 0x101934 
+0x3dc3 019830 istore 3 ,contw 
+0x3dc4 019831 setarg 0x690760 
+0x3dc5 019832 istore 3 ,contw 
+0x3dc6 019833 setarg 0x207d04 
+0x3dc7 019834 istore 3 ,contw 
+0x3dc8 019835 setarg 0x09007e 
+0x3dc9 019836 istore 3 ,contw 
+0x3dca 019837 setarg 0x220d00 
+0x3dcb 019838 istore 3 ,contw 
+0x3dcc 019839 setarg 0xff220e 
+0x3dcd 019840 istore 3 ,contw 
+0x3dce 019841 jam 0xff ,mem_sensor_ka8g2_init + 21 
+0x3dcf 019843 setarg 0x0b5a09 
+0x3dd0 019844 store 3 ,mem_sensor_poweron_init 
+0x3dd1 019845 setarg 0x0009f3 
+0x3dd2 019846 istore 3 ,contw 
+0x3dd3 019847 setarg 0xffff 
+0x3dd4 019848 istore 2 ,contw 
+0x3dd5 019851 branch app_sys_param_init 
+:      019854 mouse_param_init:
+0x3dd6 019855 setarg mouse_bt_sdp_addr 
+0x3dd7 019856 store 2 ,mem_ui_uuid_table 
+0x3dd8 019857 setarg mouse_ble_att_list_addr 
+0x3dd9 019858 store 2 ,mem_ui_le_uuid_table 
+0x3dda 019859 setarg 0x2580 
+0x3ddb 019860 store 3 ,mem_class 
+0x3ddc 019861 jam 3 ,mem_lpm_mult_timeout 
+0x3ddd 019862 jam 8 ,mem_lpm_overhead 
+0x3dde 019863 jam dpi_button_state_up ,mem_select_device_button_statue 
+0x3ddf 019864 jam pb_button_state_up ,mem_select_device_button_statue 
+0x3de0 019865 jam commbination_key_state_up ,mem_commbination_key_statue 
+0x3de1 019866 setarg 0x0200 
+0x3de2 019867 store 2 ,mem_lpm_interval 
+0x3de3 019868 jam 0x17 ,mem_le_local_mtu 
+0x3de4 019869 jam 0x17 ,mem_le_remote_mtu 
+0x3de5 019871 setarg 0x0a77 
+0x3de6 019872 store 2 ,mem_spi_init_clk 
+0x3de7 019874 setsect 0 ,0x306 
+0x3de8 019875 setsect 1 ,0x4440 
+0x3de9 019876 setsect 2 ,0x10000 
+0x3dea 019877 setsect 3 ,0x4408 
+0x3deb 019878 store 9 ,mem_all_uuid_16bits 
+0x3dec 019879 setsect 0 ,0x1224 
+0x3ded 019880 setsect 1 ,0x4000 
+0x3dee 019881 setsect 2 ,0x0 
+0x3def 019882 istore 5 ,contw 
+0x3df0 019884 setsect 0 ,0x3ffff 
+0x3df1 019885 setsect 1 ,0x2fe23 
+0x3df2 019886 setsect 2 ,0x199d9 
+0x3df3 019887 setsect 3 ,0x20d 
+0x3df4 019888 store 8 ,mem_features 
+0x3df5 019890 setarg mem_le_tx_buffer0_omemalloc 
+0x3df6 019891 store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+0x3df7 019892 setarg mouse_ble_l2cap_txbuff_size 
+0x3df8 019893 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0x3df9 019895 call mouse_device_led_all_off 
+0x3dfa 019896 call mouse_device_poweron_timer_init 
+0x3dfb 019897 call mouse_adc_gpio_mux_init 
+0x3dfc 019899 fetch mouse_flag_len ,mem_mouse_flag 
+0x3dfd 019900 bbit0 mouse_enable_bt_125hz ,mouse_param_init_intervl_end 
+0x3dfe 019901 jam classic_interval_7_5ms ,mem_sniff_param_interval 
+0x3dff 019902 setarg le_interval_7_5ms 
+0x3e00 019903 store 2 ,mem_le_interval_min 
+0x3e01 019904 store 2 ,mem_le_interval_min + 2 
+:      019905 mouse_param_init_intervl_end:
+0x3e02 019906 call g24_interval_param_8ms 
+0x3e03 019907 fetch mouse_flag_len ,mem_mouse_flag 
+0x3e04 019908 bbit0 mouse_enable_24g_250hz ,mouse_24g_short_sleep_set_end 
+0x3e05 019909 call g24_interval_param_4ms 
+:      019910 mouse_24g_short_sleep_set_end:
+0x3e06 019911 fetch 1 ,mem_device_flag 
+0x3e07 019912 store 1 ,mem_device_flag_temp 
+0x3e08 019913 fetch 3 ,mem_le_lap + 3 
+0x3e09 019914 store 3 ,mem_mouse_le_lap_temp 
+0x3e0a 019915 fetch 1 ,mem_adc_config_flag_init 
+0x3e0b 019916 and pdata ,0xfe ,pdata 
+0x3e0c 019917 store 1 ,mem_adc_config_flag_init 
+0x3e0d 019918 store 1 ,mem_adc_config_flag 
+0x3e0e 019919 setarg 0 
+0x3e0f 019920 store 7 ,mem_mouse_key 
+0x3e10 019921 fetch 1 ,mem_ui_button_timeout 
+0x3e11 019922 store 1 ,mem_bt_discovery_count 
+0x3e12 019923 store 1 ,mem_select_device_count 
+0x3e13 019924 call le_modified_name 
+0x3e14 019925 branch mouse_sensor_set_angle 
+:      019928 mouse_start_work:
+0x3e15 019929 bpatch patch18_3 ,mem_patch18 
+0x3e16 019930 fetch mouse_flag_len ,mem_mouse_flag 
+0x3e17 019931 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+0x3e18 019932 fetch 1 ,mem_device_flag 
+0x3e19 019933 beq mode_24g_device ,mouse_24g_start_mode 
+0x3e1a 019934 call mouse_wakeup_from_power_check 
+0x3e1b 019935 nbranch mouse_buletooth_fast_conn_init ,user 
+:      019936 mouse_start_reconnect_device:
+0x3e1c 019937 bpatch patch18_4 ,mem_patch18 
+0x3e1d 019938 arg mem_device1_type ,rega 
+0x3e1e 019939 fetch 1 ,mem_device_flag 
+0x3e1f 019940 increase -1 ,pdata 
+0x3e20 019941 mul32 pdata ,29 ,pdata 
+0x3e21 019942 iadd rega ,rega 
+0x3e22 019943 ifetch 1 ,rega 
+0x3e23 019944 store 1 ,mem_xrecord_mode 
+:      019945 mouse_start_reconnect:
+0x3e24 019946 fetch 1 ,mem_xrecord_mode 
+0x3e25 019947 beq rec_3_mode ,mouse3_0_check_reconn_target 
+0x3e26 019948 beq rec_4_mode ,mouse4_0_check_reconn_target 
+0x3e27 019949 branch mouse_start_discovery 
+:      019952 mouse_wakeup_from_power_check:
+0x3e28 019953 bpatch patch18_5 ,mem_patch18 
+0x3e29 019954 disable user 
+0x3e2a 019955 fetch mouse_flag_len ,mem_mouse_flag 
+0x3e2b 019956 bbit0 mouse_enable_wakeup_from_power ,mouse_wakeup_from_power 
+0x3e2c 019957 fetch 1 ,mem_wakup_from_power_flag 
+0x3e2d 019958 bbit0 bit_power_on ,mouse_wakeup_from_power 
+0x3e2e 019959 enable user 
+:      019960 mouse_wakeup_from_power:
+0x3e2f 019961 fetch 1 ,mem_reconn_times_init 
+0x3e30 019962 store 1 ,mem_reconn_times 
+0x3e31 019963 rtn 
+:      019966 mouse3_0_check_reconn_target:
+0x3e32 019967 fetcht 2 ,mem_mouse_fast_page_to 
+0x3e33 019968 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x3e34 019969 beq 0xff ,mouse3_0_check_reconn_target_next 
+0x3e35 019970 fetcht 2 ,mem_mouse_page_to 
+:      019971 mouse3_0_check_reconn_target_next:
+0x3e36 019972 storet 2 ,mem_page_to 
+0x3e37 019973 fetch 6 ,mem_hci_plap 
+0x3e38 019974 branch app_bt_start_discovery_short ,blank 
+0x3e39 019975 jam 0x17 ,mem_app_connection_options 
+0x3e3a 019976 fetch 1 ,mem_ssp_enable 
+0x3e3b 019977 nbranch app_bt_start_reconnect ,blank 
+0x3e3c 019978 jam 0x04 ,mem_app_connection_options 
+0x3e3d 019979 branch app_bt_start_reconnect 
+:      019981 mouse4_0_check_reconn_target:
+0x3e3e 019982 jam 1 ,mem_mouse_le_reconnect_flag 
+0x3e3f 019983 fetcht 1 ,mem_mouse_fast_direct_timeout 
+0x3e40 019984 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x3e41 019985 beq 0xff ,mouse4_0_check_reconn_target_next 
+0x3e42 019986 fetcht 1 ,mem_mouse_direct_timeout 
+:      019987 mouse4_0_check_reconn_target_next:
+0x3e43 019988 storet 1 ,mem_mouse_direct_timer 
+0x3e44 019989 call app_lpm_mult_disable 
+0x3e45 019990 fetch 3 ,mem_le_adv_direct_ind 
+0x3e46 019991 store 3 ,mem_le_adv_data + 4 
+0x3e47 019992 call mouse_le_check_adv_flag 
+0x3e48 019993 setarg adv_flag_bredr_not_supported 
+0x3e49 019994 istore 1 ,contr 
+0x3e4a 019995 arg mem_le_scan_data ,contr 
+0x3e4b 019996 call mouse_le_adv_data_update 
+0x3e4c 019997 branch check_51cmd_adv 
+:      020001 mouse_lpm_check_wake_lock:
+0x3e4d 020002 bmark1 mark_24g ,app_get_lpm_wake_lock 
+0x3e4e 020003 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x3e4f 020004 branch app_get_lpm_wake_lock ,blank 
+0x3e50 020005 fetch 1 ,mem_mouse_le_conn_param_reject 
+0x3e51 020006 beq le_lpm_disable ,app_get_lpm_wake_lock 
+0x3e52 020007 fetch 2 ,mem_sdp_remote_cid 
+0x3e53 020008 nbranch app_get_lpm_wake_lock ,blank 
+0x3e54 020009 fetch 1 ,mem_mouse_wheel_trigger 
+0x3e55 020010 nbranch app_get_lpm_wake_lock ,blank 
+0x3e56 020011 branch app_put_lpm_wake_lock 
+:      020013 mouse_delay_enter_hibernata:
+0x3e57 020014 fetch 1 ,mem_mouse_direct_timeout 
+0x3e58 020015 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0x3e59 020016 rtn 
+:      020019 mouse_app_enter_hibernate:
+0x3e5a 020020 bpatch patch18_6 ,mem_patch18 
+0x3e5b 020021 call mouse_sensor_reset 
+0x3e5c 020022 call mouse_sensor_powerdown 
+0x3e5d 020023 branch app_enter_hibernate 
+:      020026 mouse_before_hibernate:
+0x3e5e 020027 bpatch patch18_7 ,mem_patch18 
+0x3e5f 020028 fetch 4 ,core_lpm_ctrl 
+0x3e60 020029 set1 26 ,pdata 
+0x3e61 020030 store 4 ,core_lpm_reg 
+0x3e62 020031 call lpm_write_ctrl 
+0x3e63 020032 call disable_authrom 
+0x3e64 020033 call mouse_device_led_all_off 
+0x3e65 020034 call mouse_before_hibernate_wheel_gpio_set 
+0x3e66 020035 call mouse_setgpio_hibernate 
+0x3e67 020036 call mouse_flash_power_down 
+0x3e68 020037 fetcht 1 ,mem_sensor_motion_gpio 
+0x3e69 020038 branch gpio_clr_wake 
+:      020041 mouse_setgpio_hibernate:
+0x3e6a 020042 bpatch patch19_0 ,mem_patch19 
+0x3e6b 020043 call mouse_set_sdio_high 
+0x3e6c 020044 call clear_wake 
+0x3e6d 020045 call mouse_lpm_before_common 
+0x3e6e 020046 call mouse_gpio_pu_idle 
+0x3e6f 020047 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0x3e70 020048 call mouse_gpio_config_input_pu 
+0x3e71 020049 branch mouse_gpio_set_high_impedance 
+:      020052 mouse_gpio_pu_idle:
+0x3e72 020053 arg core_gpio_conf ,contr 
+0x3e73 020054 arg 19 ,loopcnt 
+:      020055 mouse_gpio_pu_idle_loop:
+0x3e74 020056 ifetch 1 ,contr 
+0x3e75 020057 nbranch mouse_gpio_pu_idle_configured ,blank 
+0x3e76 020058 setarg 0x40 
+0x3e77 020059 add contr ,-1 ,contw 
+0x3e78 020060 istore 1 ,contw 
+:      020061 mouse_gpio_pu_idle_configured:
+0x3e79 020062 loop mouse_gpio_pu_idle_loop 
+0x3e7a 020063 rtn 
+:      020065 mouse_process_lpm_before:
+0x3e7b 020066 rtnmark1 mark_24g 
+0x3e7c 020067 call mouse_lpm_before_common 
+0x3e7d 020068 fetch 1 ,mem_lpm_current_mult 
+0x3e7e 020069 nrtn blank 
+0x3e7f 020070 branch gpio_clr_wake 
+:      020072 mouse_lpm_before_common:
+0x3e80 020073 bpatch patch19_1 ,mem_patch19 
+0x3e81 020075 call mouse_wheel_check 
+0x3e82 020076 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0x3e83 020077 arg gpcfg_output_high ,temp 
+0x3e84 020078 call gpio_config_function_int 
+0x3e85 020079 call twspi_disable 
+0x3e86 020081 fetcht 1 ,mem_lbutton_gpio 
+0x3e87 020082 call gpio_set_wake 
+0x3e88 020083 fetcht 1 ,mem_rbutton_gpio 
+0x3e89 020084 call gpio_set_wake 
+0x3e8a 020085 fetcht 1 ,mem_mbutton_gpio 
+0x3e8b 020086 call gpio_set_wake 
+0x3e8c 020088 fetcht 1 ,mem_bk_button_gpio 
+0x3e8d 020089 call gpio_set_wake 
+0x3e8e 020090 fetcht 1 ,mem_fw_button_gpio 
+0x3e8f 020091 call gpio_set_wake 
+0x3e90 020092 fetcht 1 ,mem_dpi_button_gpio 
+0x3e91 020093 call gpio_set_wake 
+0x3e92 020094 fetcht 1 ,mem_config_select_device_button_gpio 
+0x3e93 020095 call gpio_set_wake 
+0x3e94 020097 fetcht 1 ,mem_customer_key_gpio 
+0x3e95 020098 call gpio_set_wake 
+0x3e96 020100 fetcht 1 ,mem_whee_a_data_gpio 
+0x3e97 020101 call gpio_set_wake_by_current_state 
+0x3e98 020102 fetcht 1 ,mem_whee_b_data_gpio 
+0x3e99 020103 call gpio_set_wake_by_current_state 
+0x3e9a 020104 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3e9b 020105 call gpio_set_wake_by_current_state 
+0x3e9c 020106 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3e9d 020107 call gpio_set_wake_by_current_state 
+0x3e9e 020108 fetcht 1 ,mem_sensor_motion_gpio 
+0x3e9f 020109 branch gpio_set_wake 
+:      020113 mouse_set_mult:
+0x3ea0 020114 fetch 2 ,mem_ui_state_map 
+0x3ea1 020115 bbit1 ui_state_ble_connected ,mouse_set_ble_mult 
+0x3ea2 020116 fetch 2 ,mem_ui_state_map 
+0x3ea3 020117 bbit1 ui_state_bt_connected ,mouse_set_bt_mult 
+0x3ea4 020118 rtn 
+:      020119 mouse_set_ble_mult:
+0x3ea5 020120 copy rega ,pdata 
+0x3ea6 020121 nbranch le_set_config_short_mult ,blank 
+0x3ea7 020122 branch le_clr_config_short_mult 
+:      020123 mouse_set_bt_mult:
+0x3ea8 020124 copy rega ,pdata 
+0x3ea9 020125 nbranch classic_bt_set_mult_short_flag ,blank 
+0x3eaa 020126 branch classic_bt_clr_mult_short_flag 
+:      020132 mouse_adc_gpio_set:
+0x3eab 020133 fetch 1 ,mem_adc_config_flag 
+0x3eac 020134 rtnne adc_config_gpio 
+:      020135 mouse_adc_gpio_check_output:
+0x3ead 020136 bpatch patch19_2 ,mem_patch19 
+0x3eae 020137 fetcht 1 ,mem_adc_channel 
+0x3eaf 020138 sub temp ,3 ,null 
+0x3eb0 020139 branch mouse_adc_gpio_4_7_set ,positive 
+0x3eb1 020140 increase 5 ,temp 
+0x3eb2 020141 storet 1 ,mem_adc_channel_gpio 
+:      020142 mouse_adc_gpio_set_next:
+0x3eb3 020143 copy temp ,rega 
+0x3eb4 020144 call gpio_get_config 
+0x3eb5 020145 beq gpcfg_output_high ,mouse_set_24g_led_statue 
+0x3eb6 020146 call mouse_clear_24g_led_statue 
+0x3eb7 020147 copy rega ,temp 
+0x3eb8 020148 branch gpio_set_high_impedance 
+:      020150 mouse_adc_gpio_4_7_set:
+0x3eb9 020151 increase 4 ,temp 
+0x3eba 020152 storet 1 ,mem_adc_channel_gpio 
+0x3ebb 020153 branch mouse_adc_gpio_set_next 
+:      020155 mouse_adc_vol_init:
+0x3ebc 020156 fetch 1 ,mem_adc_config_flag_init 
+0x3ebd 020157 beq adc_config_gpio ,mouse_adc_gpio_vol_init 
+0x3ebe 020158 beq adc_config_vinlpm ,mouse_adc_gpio_vinlpm_init 
+0x3ebf 020159 jam adc_config_vinlpm ,mem_adc_config_flag_init 
+0x3ec0 020160 setarg 0x2c0172 
+0x3ec1 020161 store 3 ,mem_mouse_vdd_full_vol 
+0x3ec2 020162 setarg 0x014001 
+0x3ec3 020163 istore 3 ,contw 
+0x3ec4 020164 rtn 
+:      020165 mouse_adc_gpio_vol_init:
+0x3ec5 020166 setarg 0x5d0099 
+0x3ec6 020167 store 3 ,mem_mouse_vdd_full_vol 
+0x3ec7 020168 setarg 0x007100 
+0x3ec8 020169 istore 3 ,contw 
+0x3ec9 020170 rtn 
+:      020171 mouse_adc_gpio_vinlpm_init:
+0x3eca 020172 setarg 0xc8012c 
+0x3ecb 020173 store 3 ,mem_mouse_vdd_full_vol 
+0x3ecc 020174 setarg 0x00dc00 
+0x3ecd 020175 istore 3 ,contw 
+0x3ece 020176 rtn 
+:      020180 mouse_adc_gpio_mux_init:
+0x3ecf 020181 fetch mouse_flag_len ,mem_mouse_flag 
+0x3ed0 020182 rtnbit0 mouse_enable_adc 
+0x3ed1 020183 jam mouse_adc_check_multiple ,mem_adc_mux_status 
+0x3ed2 020184 rtnbit1 mouse_enable_dpi_key_connect_adc 
+0x3ed3 020185 rtnbit1 mouse_enable_select_device_by_switch_adc 
+0x3ed4 020186 jam mouse_adc_check_battery_only ,mem_adc_mux_status 
+0x3ed5 020187 rtn 
+:      020189 mouse_adc_read_interval:
+0x3ed6 020190 fetch 1 ,mem_adc_read_timer 
+0x3ed7 020191 increase 1 ,pdata 
+0x3ed8 020192 store 1 ,mem_adc_read_timer 
+0x3ed9 020193 fetcht 1 ,mem_adc_read_time_init 
+0x3eda 020194 isub temp ,null 
+0x3edb 020195 rtn 
+:      020198 mouse_adc_read:
+0x3edc 020199 fetch mouse_flag_len ,mem_mouse_flag 
+0x3edd 020200 rtnbit0 mouse_enable_adc 
+0x3ede 020201 call mouse_adc_gpio_set 
+0x3edf 020202 fetch 1 ,mem_adc_mux_status 
+0x3ee0 020203 branch mouse_adc_read_battery ,blank 
+0x3ee1 020204 fetch 1 ,mem_adc_config_flag 
+0x3ee2 020205 beq adc_config_gpio ,mouse_adc_read_gpio_mux_start 
+0x3ee3 020206 jam mouse_adc_check_vinlpm_multiple ,mem_adc_mux_status 
+0x3ee4 020207 call mouse_adc_read_interval 
+0x3ee5 020208 branch mouse_adc_read_gpio ,positive 
+0x3ee6 020209 call mouse_adc_read_vinlpm 
+0x3ee7 020210 branch mouse_adc_read_start 
+:      020212 mouse_adc_read_gpio_mux_start:
+0x3ee8 020213 jam mouse_adc_check_gpio_multiple ,mem_adc_mux_status 
+0x3ee9 020214 branch mouse_adc_read_start 
+:      020216 mouse_adc_read_gpio:
+0x3eea 020217 call mouse_adc_gpio_check_output 
+0x3eeb 020218 jam adc_config_gpio ,mem_adc_config_flag 
+0x3eec 020219 fetch 1 ,mem_24g_device_led_status 
+0x3eed 020220 ncall mouse_adc_read_vinlpm ,blank 
+0x3eee 020221 branch mouse_adc_read_start 
+:      020223 mouse_adc_read_vinlpm:
+0x3eef 020224 jam 0 ,mem_adc_read_timer 
+0x3ef0 020225 fetch 1 ,mem_adc_config_flag_init 
+0x3ef1 020226 store 1 ,mem_adc_config_flag 
+0x3ef2 020227 rtn 
+:      020229 mouse_adc_read_battery:
+0x3ef3 020230 fetch 1 ,mem_adc_config_flag 
+0x3ef4 020231 bne adc_config_gpio ,mouse_adc_read_battery_start 
+0x3ef5 020232 fetch 1 ,mem_24g_device_led_status 
+0x3ef6 020233 nrtn blank 
+:      020234 mouse_adc_read_battery_start:
+0x3ef7 020235 call mouse_adc_read_interval 
+0x3ef8 020236 nrtn positive 
+:      020237 mouse_adc_read_start:
+0x3ef9 020238 bpatch patch19_3 ,mem_patch19 
+0x3efa 020239 fetch 1 ,mem_24g_device_led_status 
+0x3efb 020240 nrtn blank 
+0x3efc 020241 jam 0 ,mem_adc_read_timer 
+0x3efd 020242 call enable_adc 
+0x3efe 020243 call vdd_calculate_by_mode 
+0x3eff 020244 store 2 ,mem_mouse_vdd_now_vol 
+0x3f00 020245 fetch 1 ,mem_adc_config_flag 
+0x3f01 020246 bne adc_config_gpio ,mouse_adc_data_process 
+0x3f02 020247 fetcht 2 ,mem_mouse_vdd_now_vol 
+0x3f03 020248 mul32 temp ,8 ,pdata 
+0x3f04 020249 div pdata ,10 
+0x3f05 020250 call get_div_result 
+0x3f06 020251 iadd temp ,pdata 
+0x3f07 020252 store 2 ,mem_mouse_vdd_now_vol 
+:      020253 mouse_adc_data_process:
+0x3f08 020254 arg mem_mouse_vdd_calculate_set ,rega 
+0x3f09 020255 call mouse_adc_bat_percent_lowpower_out 
+0x3f0a 020256 fetch 1 ,mem_adc_power_flag 
+0x3f0b 020257 bbit1 2 ,mouse_adc_button_press 
+0x3f0c 020258 bbit1 1 ,mouse_power_down 
+0x3f0d 020259 bbit0 0 ,mouse_adc_no_low_voltage 
+0x3f0e 020260 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0x3f0f 020261 branch mouse_adc_low_voltage 
+:      020263 mouse_adc_low_voltage:
+0x3f10 020264 arg mouse_low_voltage_flag ,queue 
+0x3f11 020265 branch mouse_enable_function_flag 
+:      020266 mouse_adc_no_low_voltage:
+0x3f12 020267 arg mouse_low_voltage_flag ,queue 
+0x3f13 020268 call mouse_disable_function_flag 
+0x3f14 020269 jam 12 ,mem_adc_low_volatage_led_timer_count 
+0x3f15 020270 fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0x3f16 020271 rtn blank 
+0x3f17 020272 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0x3f18 020273 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x3f19 020274 branch mouse_led_off 
+:      020278 mouse_adc_bat_percent_lowpower_out:
+0x3f1a 020279 bpatch patch19_4 ,mem_patch19 
+0x3f1b 020280 ifetch 8 ,rega 
+0x3f1c 020281 store 8 ,mem_pdatatemp 
+0x3f1d 020282 fetch 1 ,mem_adc_mux_status 
+0x3f1e 020283 beq mouse_adc_check_battery_only ,mouse_adc_bat_percent_lowpower_out_battery 
+0x3f1f 020284 beq mouse_adc_check_gpio_multiple ,mouse_adc_bat_percent_lowpower_out_gpio_multiple 
+0x3f20 020285 beq mouse_adc_check_vinlpm_multiple ,mouse_adc_bat_percent_lowpower_out_vinlpm_multiple 
+:      020286 mouse_adc_bat_percent_lowpower_out_gpio_multiple:
+0x3f21 020287 fetch mouse_flag_len ,mem_mouse_flag 
+0x3f22 020288 bbit0 mouse_enable_dpi_key_connect_adc ,mouse_adc_bat_percent_lowpower_out_gpio_switch 
+0x3f23 020289 fetch 2 ,mem_pdatatemp + 6 
+0x3f24 020290 fetcht 2 ,mem_mouse_vdd_button_press_vol 
+0x3f25 020291 isub temp ,null 
+0x3f26 020292 nbranch mouse_adc_set_button_press_flag ,positive 
+:      020294 mouse_adc_bat_percent_lowpower_out_gpio_switch:
+0x3f27 020295 fetch mouse_flag_len ,mem_mouse_flag 
+0x3f28 020296 bbit0 mouse_enable_select_device_by_switch_adc ,mouse_adc_bat_percent_lowpower_out_battery 
+0x3f29 020297 jam 0 ,mem_mouse_adc_button_press_flag 
+0x3f2a 020298 fetch 2 ,mem_pdatatemp + 6 
+0x3f2b 020299 fetcht 2 ,mem_mouse_vdd_switch_gnd_24g_vol 
+0x3f2c 020300 isub temp ,null 
+0x3f2d 020301 nbranch mouse_select_24gdevice ,positive 
+0x3f2e 020302 call mouse_select_btdevice 
+0x3f2f 020303 branch mouse_adc_bat_percent_lowpower_out_battery 
+:      020305 mouse_select_24gdevice:
+0x3f30 020306 call mouse_check_select_24gdevice 
+0x3f31 020307 branch mouse_adc_bat_percent_lowpower_out_battery 
+:      020310 mouse_adc_bat_percent_lowpower_out_battery:
+0x3f32 020311 call mouse_adc_clear_button_press_flag 
+0x3f33 020312 call adc_clear_no_power_flag 
+0x3f34 020313 call adc_clear_low_power_flag 
+0x3f35 020314 fetch 2 ,mem_pdatatemp + 6 
+0x3f36 020315 fetcht 2 ,mem_pdatatemp + 2 
+0x3f37 020316 isub temp ,null 
+0x3f38 020317 ncall adc_set_no_power_flag ,positive 
+0x3f39 020319 fetcht 2 ,mem_pdatatemp + 4 
+0x3f3a 020320 isub temp ,null 
+0x3f3b 020321 ncall adc_set_low_power_flag ,positive 
+:      020323 mouse_adc_bat_level_set:
+0x3f3c 020324 fetch 2 ,mem_pdatatemp + 6 
+0x3f3d 020325 fetcht 2 ,mem_pdatatemp 
+0x3f3e 020326 isub temp ,null 
+0x3f3f 020327 branch mouse_adc_bat_level_100_percent ,positive 
+0x3f40 020328 fetcht 2 ,mem_pdatatemp + 2 
+0x3f41 020329 isub temp ,pdata 
+0x3f42 020330 nbranch mouse_adc_bat_level_0_percent ,positive 
+0x3f43 020331 branch mouse_adc_bat_level_0_percent ,blank 
+0x3f44 020332 mul32 pdata ,100 ,rega 
+0x3f45 020333 fetch 2 ,mem_pdatatemp 
+0x3f46 020334 fetcht 2 ,mem_pdatatemp + 2 
+0x3f47 020335 isub temp ,temp 
+0x3f48 020336 copy rega ,pdata 
+0x3f49 020337 idiv temp 
+0x3f4a 020338 call get_div_result 
+0x3f4b 020339 store 1 ,mem_le_battery_level_percentage 
+0x3f4c 020340 rtn 
+:      020342 mouse_adc_bat_level_100_percent:
+0x3f4d 020343 jam 100 ,mem_le_battery_level_percentage 
+0x3f4e 020344 rtn 
+:      020345 mouse_adc_bat_level_0_percent:
+0x3f4f 020346 jam 0 ,mem_le_battery_level_percentage 
+0x3f50 020347 rtn 
+:      020350 mouse_adc_bat_percent_lowpower_out_vinlpm_multiple:
+0x3f51 020351 fetch 1 ,mem_adc_config_flag 
+0x3f52 020352 beq adc_config_gpio ,mouse_adc_bat_percent_lowpower_out_gpio_multiple 
+0x3f53 020353 branch mouse_adc_bat_percent_lowpower_out_battery 
+:      020356 mouse_adc_set_button_press_flag:
+0x3f54 020357 fetcht 1 ,mem_adc_power_flag 
+0x3f55 020358 set1 2 ,temp 
+0x3f56 020359 storet 1 ,mem_adc_power_flag 
+0x3f57 020360 rtn 
+:      020362 mouse_adc_clear_button_press_flag:
+0x3f58 020363 fetcht 1 ,mem_adc_power_flag 
+0x3f59 020364 set0 2 ,temp 
+0x3f5a 020365 storet 1 ,mem_adc_power_flag 
+0x3f5b 020366 rtn 
+:      020368 mouse_adc_button_press:
+0x3f5c 020369 jam 1 ,mem_mouse_adc_button_press_flag 
+0x3f5d 020370 rtn 
+:      020372 mouse_power_down:
+0x3f5e 020373 call mouse_device_led_all_off 
+0x3f5f 020374 branch mouse_app_enter_hibernate 
+:      020379 mouse_gpio_init:
+0x3f60 020380 fetcht 1 ,mem_eeprom_wp_gpio 
+0x3f61 020381 call gpio_config_output 
+0x3f62 020382 call usb_offline_check_init 
+0x3f63 020383 fetcht 1 ,mem_lbutton_gpio 
+0x3f64 020384 call mouse_gpio_config_input_pu 
+0x3f65 020385 fetcht 1 ,mem_rbutton_gpio 
+0x3f66 020386 call mouse_gpio_config_input_pu 
+0x3f67 020387 fetcht 1 ,mem_mbutton_gpio 
+0x3f68 020388 call mouse_gpio_config_input_pu 
+0x3f69 020389 fetcht 1 ,mem_bk_button_gpio 
+0x3f6a 020390 call mouse_gpio_config_input_pu 
+0x3f6b 020391 fetcht 1 ,mem_fw_button_gpio 
+0x3f6c 020392 call mouse_gpio_config_input_pu 
+0x3f6d 020393 fetcht 1 ,mem_dpi_button_gpio 
+0x3f6e 020394 call mouse_gpio_config_input_pu 
+0x3f6f 020396 fetcht 1 ,mem_matrix_public_gpio 
+0x3f70 020397 call mouse_gpio_config_input_pu 
+0x3f71 020399 fetcht 1 ,mem_config_select_device_button_gpio 
+0x3f72 020400 call mouse_gpio_config_input_pu 
+0x3f73 020402 fetcht 1 ,mem_customer_key_gpio 
+0x3f74 020403 call mouse_gpio_config_input_pu 
+0x3f75 020405 fetcht 1 ,mem_whee_a_data_gpio 
+0x3f76 020406 call mouse_gpio_config_input_pu 
+0x3f77 020408 fetcht 1 ,mem_whee_b_data_gpio 
+0x3f78 020409 call mouse_gpio_config_input_pu 
+0x3f79 020411 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3f7a 020412 call mouse_gpio_config_input_pu 
+0x3f7b 020413 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3f7c 020414 call mouse_gpio_config_input_pu 
+0x3f7d 020416 fetcht 1 ,mem_sensor_motion_gpio 
+0x3f7e 020417 call mouse_gpio_config_input_pu 
+0x3f7f 020419 fetcht 1 ,mem_device_switch_gpio 
+0x3f80 020420 call mouse_gpio_config_input_pu 
+0x3f81 020422 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x3f82 020423 call gpio_config_output 
+0x3f83 020425 fetcht 1 ,mem_config_device_24g_led_gpio 
+0x3f84 020426 call gpio_config_output 
+0x3f85 020428 fetcht 1 ,mem_config_device_bt1_led_gpio 
+0x3f86 020429 call gpio_config_output 
+0x3f87 020431 fetcht 1 ,mem_config_device_bt2_led_gpio 
+0x3f88 020432 call gpio_config_output 
+0x3f89 020434 fetcht 1 ,mem_dpi_led_gpio 
+0x3f8a 020435 call gpio_config_output 
+0x3f8b 020437 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x3f8c 020438 branch mouse_gpio_config_input_pu 
+:      020441 mouse_gpio_set_pupd_by_input:
+0x3f8d 020442 sub temp ,ui_button_gpio_disable ,null 
+0x3f8e 020443 rtn zero 
+0x3f8f 020444 and temp ,0x7f ,queue 
+0x3f90 020445 fetch 4 ,core_gpio_in 
+0x3f91 020446 qisolate1 pdata 
+0x3f92 020447 branch mouse_gpio_config_input_pu ,true 
+0x3f93 020448 branch mouse_gpio_config_input_pd 
+:      020451 mouse_gpio_config_input_pd:
+0x3f94 020452 set1 gpio_active_bit ,temp 
+0x3f95 020453 branch gpio_config_input 
+:      020455 mouse_gpio_config_input_pu:
+0x3f96 020456 set0 gpio_active_bit ,temp 
+0x3f97 020457 branch gpio_config_input 
+:      020459 mouse_gpio_set_high_impedance:
+0x3f98 020460 fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+0x3f99 020461 store 3 ,mem_pdatatemp 
+0x3f9a 020462 arg 20 ,loopcnt 
+0x3f9b 020463 arg 0 ,temp 
+:      020464 mouse_gpio_set_high_impedance_bit_loop:
+0x3f9c 020465 fetch 3 ,mem_pdatatemp 
+0x3f9d 020466 isolate1 0 ,pdata 
+0x3f9e 020467 call gpio_set_high_impedance ,true 
+0x3f9f 020468 fetch 3 ,mem_pdatatemp 
+0x3fa0 020469 lshift pdata ,pdata 
+0x3fa1 020470 store 3 ,mem_pdatatemp 
+0x3fa2 020471 increase 1 ,temp 
+0x3fa3 020472 loop mouse_gpio_set_high_impedance_bit_loop 
+0x3fa4 020473 rtn 
+:      020480 mouse_sensor_spi_init:
+0x3fa5 020481 call mouse_spid_init_pin 
+0x3fa6 020482 jam 0x73 ,mem_spi_init_clk 
+0x3fa7 020484 call mouse_spi_init 
+0x3fa8 020485 branch twspi_enable 
+:      020487 mouse_spi_write_flash_cb:
+:      020488 mouse_spi_init:
+0x3fa9 020489 branch spid_init 
+:      020491 mouse_spid_init_pin:
+0x3faa 020492 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0x3fab 020493 arg gpcfg_spid_sck ,temp 
+0x3fac 020494 call gpio_config_function_int 
+0x3fad 020495 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0x3fae 020496 arg gpcfg_spid_sdio ,temp 
+0x3faf 020497 branch gpio_config_function_int 
+:      020505 mouse_motion:
+0x3fb0 020506 bpatch patch19_5 ,mem_patch19 
+0x3fb1 020507 disable user 
+0x3fb2 020508 setarg 0 
+0x3fb3 020509 store 6 ,mem_mouse_x 
+0x3fb4 020510 call mouse_check_sensor_data 
+0x3fb5 020511 call mouse_zwheel 
+0x3fb6 020512 call mouse_t_zwheel 
+0x3fb7 020513 call mouse_key 
+0x3fb8 020514 fetch 1 ,mem_mouse_key 
+0x3fb9 020515 and_into 0x1f ,pdata 
+0x3fba 020516 store 1 ,mem_mouse_key 
+0x3fbb 020517 nbranch mouse_drawing_optima_init ,user 
+0x3fbc 020518 call mouse_drawing_optima 
+0x3fbd 020519 branch mouse_no_data_timer_init 
+:      020524 mouse_zwheel:
+0x3fbe 020525 fetch 1 ,mem_mouse_z_data 
+0x3fbf 020526 rtn blank 
+0x3fc0 020527 store 1 ,mem_mouse_z 
+0x3fc1 020528 jam 0 ,mem_mouse_z_data 
+0x3fc2 020529 branch enable_user 
+:      020531 mouse_t_zwheel:
+0x3fc3 020532 fetch 1 ,mem_mouse_tz_data 
+0x3fc4 020533 rtn blank 
+0x3fc5 020534 store 1 ,mem_mouse_tz 
+0x3fc6 020535 jam 0 ,mem_mouse_tz_data 
+0x3fc7 020536 branch enable_user 
+:      020538 mouse_wheel_check:
+0x3fc8 020539 call mouse_t_wheel_scan 
+0x3fc9 020540 call mouse_wheel_scan 
+0x3fca 020541 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3fcb 020542 fetcht 1 ,mem_wheel_tb_old_pinlevel 
+0x3fcc 020543 store 1 ,mem_wheel_tb_old_pinlevel 
+0x3fcd 020544 isub temp ,null 
+0x3fce 020545 nbranch app_lpm_wake_auto_lock ,zero 
+0x3fcf 020546 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x3fd0 020547 fetcht 1 ,mem_mwheel_b_old_pinlevel 
+0x3fd1 020548 store 1 ,mem_mwheel_b_old_pinlevel 
+0x3fd2 020549 isub temp ,null 
+0x3fd3 020550 nbranch app_lpm_wake_auto_lock ,zero 
+0x3fd4 020551 rtn 
+:      020552 mouse_t_wheel_scan:
+0x3fd5 020553 fetch 1 ,mem_whee_ta_data_gpio 
+0x3fd6 020554 rtneq gpio_disable 
+0x3fd7 020555 arg 0 ,rega 
+0x3fd8 020556 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3fd9 020557 call gpio_get_bit 
+0x3fda 020558 setflag true ,0 ,rega 
+0x3fdb 020559 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3fdc 020560 call gpio_get_bit 
+0x3fdd 020561 setflag true ,1 ,rega 
+0x3fde 020562 copy rega ,pdata 
+0x3fdf 020563 store 1 ,mem_wheel_tb_new_pinlevel 
+0x3fe0 020564 beq 0x01 ,mouse_t_wheel_scan_judge1 
+0x3fe1 020565 beq 0x02 ,mouse_t_wheel_scan_judge2 
+0x3fe2 020566 fetch 1 ,mem_wheel_tog 
+0x3fe3 020567 bbit1 7 ,mouse_t_wheel_scan_judge3 
+0x3fe4 020568 rtn 
+:      020570 mouse_t_wheel_scan_judge1:
+0x3fe5 020571 fetch 1 ,mem_wheel_tb_old_pinlevel 
+0x3fe6 020572 beq 0 ,mouse_t_wheel_scan_judge11 
+0x3fe7 020573 beq 3 ,mouse_t_wheel_scan_judge12 
+0x3fe8 020574 rtn 
+:      020575 mouse_t_wheel_scan_judge2:
+0x3fe9 020576 fetch 1 ,mem_wheel_tb_old_pinlevel 
+0x3fea 020577 beq 0 ,mouse_t_wheel_scan_judge21 
+0x3feb 020578 beq 3 ,mouse_t_wheel_scan_judge22 
+0x3fec 020579 rtn 
+:      020580 mouse_t_wheel_scan_judge11:
+0x3fed 020581 jam 0x82 ,mem_wheel_tog 
+0x3fee 020582 rtn 
+:      020583 mouse_t_wheel_scan_judge12:
+0x3fef 020584 jam 0x81 ,mem_wheel_tog 
+0x3ff0 020585 rtn 
+:      020586 mouse_t_wheel_scan_judge21:
+0x3ff1 020587 jam 0x80 ,mem_wheel_tog 
+0x3ff2 020588 rtn 
+:      020589 mouse_t_wheel_scan_judge22:
+0x3ff3 020590 jam 0x83 ,mem_wheel_tog 
+0x3ff4 020591 rtn 
+:      020592 mouse_t_wheel_scan_judge3:
+0x3ff5 020593 fetch 1 ,mem_wheel_tog 
+0x3ff6 020594 set0 7 ,pdata 
+0x3ff7 020595 store 1 ,mem_wheel_tog 
+0x3ff8 020596 beq 0 ,mouse_t_wheel_scan_judge30 
+0x3ff9 020597 beq 1 ,mouse_t_wheel_scan_judge31 
+0x3ffa 020598 beq 2 ,mouse_t_wheel_scan_judge32 
+0x3ffb 020599 beq 3 ,mouse_t_wheel_scan_judge33 
+0x3ffc 020600 rtn 
+:      020601 mouse_t_wheel_scan_judge30:
+0x3ffd 020602 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3ffe 020603 beq 3 ,mouse_wheel_t_forward 
+0x3fff 020604 rtn 
+:      020605 mouse_t_wheel_scan_judge31:
+0x4000 020606 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x4001 020607 beq 0 ,mouse_wheel_t_forward 
+0x4002 020608 rtn 
+:      020609 mouse_t_wheel_scan_judge32:
+0x4003 020610 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x4004 020611 beq 3 ,mouse_wheel_t_back 
+0x4005 020612 rtn 
+:      020613 mouse_t_wheel_scan_judge33:
+0x4006 020614 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x4007 020615 beq 0 ,mouse_wheel_t_back 
+0x4008 020616 rtn 
+:      020617 mouse_wheel_t_forward:
+0x4009 020618 fetch 1 ,mem_mouse_tz_data 
+0x400a 020619 increase 1 ,pdata 
+0x400b 020620 store 1 ,mem_mouse_tz_data 
+0x400c 020621 rtn 
+:      020622 mouse_wheel_t_back:
+0x400d 020623 fetch 1 ,mem_mouse_tz_data 
+0x400e 020624 increase -1 ,pdata 
+0x400f 020625 store 1 ,mem_mouse_tz_data 
+0x4010 020626 rtn 
+:      020629 mouse_wheel_scan:
+0x4011 020630 fetch 1 ,mem_whee_a_data_gpio 
+0x4012 020631 rtneq gpio_disable 
+0x4013 020632 arg 0 ,rega 
+0x4014 020633 fetcht 1 ,mem_whee_a_data_gpio 
+0x4015 020634 call gpio_get_bit 
+0x4016 020635 setflag true ,0 ,rega 
+0x4017 020636 fetcht 1 ,mem_whee_b_data_gpio 
+0x4018 020637 call gpio_get_bit 
+0x4019 020638 setflag true ,1 ,rega 
+0x401a 020639 copy rega ,pdata 
+0x401b 020640 store 1 ,mem_mwheel_b_new_pinlevel 
+0x401c 020641 beq 0x01 ,mouse_wheel_scan_judge1 
+0x401d 020642 beq 0x02 ,mouse_wheel_scan_judge2 
+0x401e 020643 fetch 1 ,mem_mwheel_tog 
+0x401f 020644 bbit1 7 ,mouse_wheel_scan_judge3 
+0x4020 020645 rtn 
+:      020647 mouse_wheel_scan_judge1:
+0x4021 020648 fetch 1 ,mem_mwheel_b_old_pinlevel 
+0x4022 020649 beq 0 ,mouse_wheel_scan_judge11 
+0x4023 020650 beq 3 ,mouse_wheel_scan_judge12 
+0x4024 020651 rtn 
+:      020652 mouse_wheel_scan_judge2:
+0x4025 020653 fetch 1 ,mem_mwheel_b_old_pinlevel 
+0x4026 020654 beq 0 ,mouse_wheel_scan_judge21 
+0x4027 020655 beq 3 ,mouse_wheel_scan_judge22 
+0x4028 020656 rtn 
+:      020657 mouse_wheel_scan_judge11:
+0x4029 020658 jam 0x82 ,mem_mwheel_tog 
+0x402a 020659 rtn 
+:      020660 mouse_wheel_scan_judge12:
+0x402b 020661 jam 0x81 ,mem_mwheel_tog 
+0x402c 020662 rtn 
+:      020663 mouse_wheel_scan_judge21:
+0x402d 020664 jam 0x80 ,mem_mwheel_tog 
+0x402e 020665 rtn 
+:      020666 mouse_wheel_scan_judge22:
+0x402f 020667 jam 0x83 ,mem_mwheel_tog 
+0x4030 020668 rtn 
+:      020669 mouse_wheel_scan_judge3:
+0x4031 020670 fetch 1 ,mem_mwheel_tog 
+0x4032 020671 set0 7 ,pdata 
+0x4033 020672 store 1 ,mem_mwheel_tog 
+0x4034 020673 beq 0 ,mouse_wheel_scan_judge30 
+0x4035 020674 beq 1 ,mouse_wheel_scan_judge31 
+0x4036 020675 beq 2 ,mouse_wheel_scan_judge32 
+0x4037 020676 beq 3 ,mouse_wheel_scan_judge33 
+0x4038 020677 rtn 
+:      020678 mouse_wheel_scan_judge30:
+0x4039 020679 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x403a 020680 beq 3 ,mouse_wheel_forward 
+0x403b 020681 rtn 
+:      020682 mouse_wheel_scan_judge31:
+0x403c 020683 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x403d 020684 beq 0 ,mouse_wheel_forward 
+0x403e 020685 rtn 
+:      020686 mouse_wheel_scan_judge32:
+0x403f 020687 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x4040 020688 beq 3 ,mouse_wheel_back 
+0x4041 020689 rtn 
+:      020690 mouse_wheel_scan_judge33:
+0x4042 020691 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x4043 020692 beq 0 ,mouse_wheel_back 
+0x4044 020693 rtn 
+:      020694 mouse_wheel_forward:
+0x4045 020695 fetch 1 ,mem_mouse_z_data 
+0x4046 020696 increase 1 ,pdata 
+0x4047 020697 store 1 ,mem_mouse_z_data 
+0x4048 020698 rtn 
+:      020699 mouse_wheel_back:
+0x4049 020700 fetch 1 ,mem_mouse_z_data 
+0x404a 020701 increase -1 ,pdata 
+0x404b 020702 store 1 ,mem_mouse_z_data 
+0x404c 020703 rtn 
+:      020706 mouse_wheel_gpio_set_wake:
+0x404d 020707 fetcht 1 ,mem_whee_a_data_gpio 
+0x404e 020708 call gpio_set_wake_by_current_state 
+0x404f 020709 fetcht 1 ,mem_whee_b_data_gpio 
+0x4050 020710 call gpio_set_wake_by_current_state 
+0x4051 020711 fetcht 1 ,mem_whee_ta_data_gpio 
+0x4052 020712 call gpio_set_wake_by_current_state 
+0x4053 020713 fetcht 1 ,mem_whee_tb_data_gpio 
+0x4054 020714 branch gpio_set_wake_by_current_state 
+:      020716 mouse_before_hibernate_wheel_gpio_set:
+0x4055 020717 fetcht 1 ,mem_whee_a_data_gpio 
+0x4056 020718 call mouse_gpio_set_pupd_by_input 
+0x4057 020719 fetcht 1 ,mem_whee_b_data_gpio 
+0x4058 020720 call mouse_gpio_set_pupd_by_input 
+0x4059 020721 fetcht 1 ,mem_whee_ta_data_gpio 
+0x405a 020722 call mouse_gpio_set_pupd_by_input 
+0x405b 020723 fetcht 1 ,mem_whee_tb_data_gpio 
+0x405c 020724 branch mouse_gpio_set_pupd_by_input 
+:      020726 mouse_wheel_trigger:
+0x405d 020727 fetch 2 ,mem_mouse_z 
+0x405e 020728 rtn blank 
+0x405f 020729 jam 1 ,mem_mouse_wheel_trigger 
+0x4060 020730 jam 10 ,mem_mouse_wheel_trigger_timer 
+0x4061 020731 rtn 
+:      020733 mouse_wheel_trigger_timer:
+0x4062 020734 arg mem_mouse_wheel_trigger_timer ,regc 
+0x4063 020735 arg mouse_wheel_trigger_disable ,regb 
+0x4064 020736 branch timer_single_step 
+:      020737 mouse_wheel_trigger_disable:
+0x4065 020738 jam 0 ,mem_mouse_wheel_trigger 
+0x4066 020739 rtn 
+:      020748 mouse_dpi_check:
+0x4067 020749 fetch mouse_flag_len ,mem_mouse_flag 
+0x4068 020750 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0x4069 020751 fetch 1 ,mem_dpi_button_gpio 
+0x406a 020752 rtneq gpio_disable 
+0x406b 020753 arg 0 ,rega 
+0x406c 020754 jam mouse_dpi_key ,mem_mouse_key_temp 
+0x406d 020755 fetcht 1 ,mem_dpi_button_gpio 
+0x406e 020756 call mouse_dpi_key_check 
+0x406f 020757 store 1 ,mem_mouse_dpikey_press_status 
+0x4070 020758 fetch 1 ,mem_matrix_public_gpio 
+0x4071 020759 beq gpio_disable ,mouse_3io6key_dpi_check_end 
+0x4072 020760 call mouse_matrix_public_gpio_reset 
+:      020761 mouse_dpi_check_exit:
+0x4073 020762 copy rega ,pdata 
+0x4074 020763 bbit1 mouse_dpi_key ,mouse_dpi_down 
+0x4075 020764 branch mouse_dpi_up 
+:      020766 mouse_dpi_check_connect_adc:
+0x4076 020767 fetch 1 ,mem_mouse_adc_button_press_flag 
+0x4077 020768 branch mouse_dpi_up ,blank 
+0x4078 020769 branch mouse_dpi_down 
+:      020771 mouse_dpi_key_check:
+0x4079 020772 fetch mouse_flag_len ,mem_mouse_flag 
+0x407a 020773 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0x407b 020774 fetch 1 ,mem_mouse_dpikey_press_status 
+0x407c 020775 copy pdata ,regc 
+0x407d 020776 fetch 1 ,mem_matrix_public_gpio 
+0x407e 020777 beq gpio_disable ,mouse_3io6key_check 
+0x407f 020778 fetch 1 ,mem_mouse_ghost_flag 
+0x4080 020779 nbranch mouse_dpi_check_end ,blank 
+0x4081 020780 branch mouse_dpi_key_connect_matrix 
+:      020782 mouse_3io6key_dpi_check_end:
+0x4082 020783 fetcht 1 ,mem_dpi_button_gpio 
+0x4083 020784 call mouse_gpio_config_input_pu 
+0x4084 020785 branch mouse_dpi_check_exit 
+:      020787 mouse_dpi_check_end:
+0x4085 020788 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x4086 020789 jam 0 ,mem_mouse_dpikey_press_status 
+0x4087 020790 rtn 
+:      020792 mouse_dpi_key_connect_gnd:
+0x4088 020793 fetch 1 ,mem_mouse_dpikey_press_status 
+0x4089 020794 branch mouse_check_key_connect_gnd 
+:      020796 mouse_dpi_key_connect_matrix:
+0x408a 020797 call gpio_get_bit 
+0x408b 020798 fetcht 1 ,mem_matrix_public_gpio 
+0x408c 020799 branch mouse_dpi_key_connect_gnd ,true 
+0x408d 020800 fetcht 1 ,mem_matrix_public_gpio 
+0x408e 020801 call gpio_out_active 
+0x408f 020802 fetcht 1 ,mem_dpi_button_gpio 
+0x4090 020803 fetch 1 ,mem_mouse_dpikey_press_status 
+0x4091 020804 branch mouse_check_key_connect_gnd 
+:      020807 mouse_dpi_down:
+0x4092 020808 fetch 1 ,mem_mouse_dpi_button_state 
+0x4093 020809 rtneq dpi_button_state_down 
+0x4094 020810 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0x4095 020811 fetch mouse_flag_len ,mem_mouse_flag 
+0x4096 020812 rtnbit1 mouse_enable_select_device_by_dpi_button 
+0x4097 020813 rtnbit1 mouse_enable_dpi_key_long_press_disconvery 
+0x4098 020814 branch mouse_dpi_process 
+:      020816 mouse_dpi_up:
+0x4099 020817 fetch 1 ,mem_mouse_dpi_button_state 
+0x409a 020818 rtneq dpi_button_state_up 
+0x409b 020819 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x409c 020820 fetch mouse_flag_len ,mem_mouse_flag 
+0x409d 020821 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_dpi_up_next 
+0x409e 020822 bbit1 mouse_enable_dpi_key_long_press_disconvery ,mouse_dpi_up_next 
+0x409f 020823 rtn 
+:      020824 mouse_dpi_up_next:
+0x40a0 020825 fetch 1 ,mem_mouse_dpi_long_press_flag 
+0x40a1 020826 nbranch mouse_dpi_up_after_long_press ,blank 
+0x40a2 020827 fetch 1 ,mem_select_device_count 
+0x40a3 020828 ncall mouse_dpi_process ,blank 
+:      020829 mouse_dpi_up_after_long_press:
+0x40a4 020830 jam 0 ,mem_mouse_dpi_long_press_flag 
+0x40a5 020831 fetch 1 ,mem_ui_button_timeout 
+0x40a6 020832 store 1 ,mem_select_device_count 
+0x40a7 020833 store 1 ,mem_bt_discovery_count 
+0x40a8 020834 rtn 
+:      020836 mouse_dpi_process:
+0x40a9 020837 bpatch patch19_6 ,mem_patch19 
+0x40aa 020838 call mouse_dpi_ghost_check 
+0x40ab 020839 rtn user 
+0x40ac 020840 fetch 1 ,mem_mouse_dpi 
+0x40ad 020841 increase 1 ,pdata 
+0x40ae 020842 and pdata ,0x03 ,pdata 
+0x40af 020843 store 1 ,mem_mouse_dpi 
+0x40b0 020844 call mouse_seting_dpi 
+0x40b1 020845 branch mouse_store_device_info_delay 
+:      020847 mouse_dpi_ghost_check:
+0x40b2 020848 disable user 
+0x40b3 020849 fetch mouse_flag_len ,mem_mouse_flag 
+0x40b4 020850 rtnbit1 mouse_enable_dpi_key_connect_gnd 
+0x40b5 020851 rtnbit1 mouse_enable_dpi_key_connect_adc 
+0x40b6 020852 fetch 1 ,mem_mouse_lkey_press_status 
+0x40b7 020853 rtn blank 
+0x40b8 020854 fetch 1 ,mem_mouse_rkey_press_status 
+0x40b9 020855 rtn blank 
+0x40ba 020856 enable user 
+0x40bb 020857 rtn 
+:      020860 mouse_dpi_key_check_long_press:
+0x40bc 020861 fetch mouse_flag_len ,mem_mouse_flag 
+0x40bd 020862 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+0x40be 020863 bbit1 mouse_enable_dpi_key_long_press_disconvery ,mouse_discovery_by_dpi_button 
+0x40bf 020864 rtn 
+:      020867 mouse_select_device_by_dpi_button:
+0x40c0 020868 fetch 1 ,mem_mouse_dpi_button_state 
+0x40c1 020869 rtnne dpi_button_state_down 
+0x40c2 020870 arg mem_select_device_count ,regc 
+0x40c3 020871 arg mouse_ready_reconnection_by_dpi_button ,regb 
+0x40c4 020872 branch timer_single_step 
+:      020874 mouse_ready_reconnection_by_dpi_button:
+0x40c5 020875 jam 1 ,mem_mouse_dpi_long_press_flag 
+0x40c6 020876 branch mouse_ready_reconnection_by_button 
+:      020878 mouse_discovery_by_dpi_button:
+0x40c7 020879 fetch 1 ,mem_mouse_dpi_button_state 
+0x40c8 020880 rtnne dpi_button_state_down 
+0x40c9 020881 arg mem_bt_discovery_count ,regc 
+0x40ca 020882 arg mouse_long_dpi_button_bt_discovery ,regb 
+0x40cb 020883 branch timer_single_step 
+:      020885 mouse_long_dpi_button_bt_discovery:
+0x40cc 020886 jam 1 ,mem_mouse_dpi_long_press_flag 
+0x40cd 020887 branch mouse_long_button_bt_discovery 
+:      020891 mouse_dpi_config:
+0x40ce 020892 branch mouse_seting_sensor_type 
+:      020895 mouse_setting_dpi_4_level:
+0x40cf 020896 fetch mouse_flag_len ,mem_mouse_flag 
+0x40d0 020897 rtnbit1 mouse_enable_dpi_level_4 
+0x40d1 020898 fetch 1 ,mem_mouse_dpi 
+0x40d2 020899 rtnne mouse_dpi_level4 
+0x40d3 020900 jam mouse_dpi_level1 ,mem_mouse_dpi 
+0x40d4 020901 rtn 
+:      020904 mouse_seting_dpi:
+0x40d5 020905 bpatch patch19_7 ,mem_patch19 
+0x40d6 020906 call mouse_setting_dpi_4_level 
+0x40d7 020907 call mouse_dpi_led_blink_delay 
+:      020908 mouse_seting_sensor_type:
+0x40d8 020909 fetch 1 ,mem_config_sensor_type 
+0x40d9 020910 beq p3212 ,mouse_seting_3212_dpi 
+0x40da 020911 beq ka8g2 ,mouse_seting_ka8g2_dpi 
+0x40db 020912 fetch 1 ,mem_mouse_dpi 
+0x40dc 020913 beq mouse_dpi_level1 ,mouse_set_cpi0 
+0x40dd 020914 beq mouse_dpi_level2 ,mouse_set_cpi1 
+0x40de 020915 beq mouse_dpi_level3 ,mouse_set_cpi2 
+0x40df 020916 beq mouse_dpi_level4 ,mouse_set_cpi3 
+:      020917 mouse_set_cpi1:
+0x40e0 020918 fetcht 1 ,mem_320x_dpi_1 
+0x40e1 020919 branch mouse_dpi_store 
+:      020920 mouse_set_cpi0:
+0x40e2 020921 fetcht 1 ,mem_320x_dpi_0 
+0x40e3 020922 branch mouse_dpi_store 
+:      020923 mouse_set_cpi2:
+0x40e4 020924 fetcht 1 ,mem_320x_dpi_2 
+0x40e5 020925 branch mouse_dpi_store 
+:      020926 mouse_set_cpi3:
+0x40e6 020927 fetcht 1 ,mem_320x_dpi_3 
+0x40e7 020928 branch mouse_dpi_store 
+:      020930 mouse_dpi_store:
+0x40e8 020931 fetch 1 ,mem_config_sensor_type 
+0x40e9 020932 beq p3065_xy ,mouse_3065xy_set_dpi 
+0x40ea 020933 beq mx8650 ,mouse_3065xy_set_dpi 
+0x40eb 020934 beq ka8 ,mouse_ka8_set_dpi 
+0x40ec 020935 beq p6520 ,mouse_ka8_set_dpi 
+0x40ed 020936 beq p8009 ,mouse_3065xy_set_dpi 
+:      020937 mouse_dpi_write:
+0x40ee 020938 storet 1 ,mem_mouse_cpi_count 
+0x40ef 020939 setarg mouse_dpi_address 
+0x40f0 020940 call twspi_read 
+0x40f1 020941 and pdata ,0xf8 ,temp 
+0x40f2 020942 fetch 1 ,mem_mouse_cpi_count 
+0x40f3 020943 iadd temp ,pdata 
+0x40f4 020944 lshift8 pdata ,pdata 
+0x40f5 020945 add pdata ,mouse_dpi_address ,pdata 
+0x40f6 020946 branch twspi_write 
+:      020948 mouse_3065xy_set_dpi:
+0x40f7 020949 increase -1 ,temp 
+0x40f8 020950 branch mouse_dpi_write 
+:      020952 mouse_ka8_set_dpi:
+0x40f9 020953 increase 2 ,temp 
+0x40fa 020954 branch mouse_dpi_write 
+:      020956 mouse_seting_3212_dpi:
+0x40fb 020957 fetch 1 ,mem_mouse_dpi 
+0x40fc 020958 beq mouse_dpi_level1 ,mouse_set_p3212_cpi0 
+0x40fd 020959 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+0x40fe 020960 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
+0x40ff 020961 beq mouse_dpi_level4 ,mouse_set_p3212_cpi3 
+:      020962 mouse_set_p3212_cpi1:
+0x4100 020963 fetch 1 ,mem_3212_dpi_1 
+0x4101 020964 branch mouse_p3212_dpi 
+:      020965 mouse_set_p3212_cpi0:
+0x4102 020966 fetch 1 ,mem_3212_dpi_0 
+0x4103 020967 branch mouse_p3212_dpi 
+:      020968 mouse_set_p3212_cpi2:
+0x4104 020969 fetch 1 ,mem_3212_dpi_2 
+0x4105 020970 branch mouse_p3212_dpi 
+:      020971 mouse_set_p3212_cpi3:
+0x4106 020972 fetch 1 ,mem_3212_dpi_3 
+:      020973 mouse_p3212_dpi:
+0x4107 020974 store 1 ,mem_mouse_cpi_count 
+0x4108 020975 lshift8 pdata ,pdata 
+0x4109 020976 copy pdata ,rega 
+0x410a 020977 add pdata ,mouse_p3212_dpi_xaddress ,pdata 
+0x410b 020978 call twspi_write 
+0x410c 020979 copy rega ,pdata 
+0x410d 020980 add pdata ,mouse_p3212_dpi_yaddress ,pdata 
+0x410e 020981 branch twspi_write 
+:      020983 mouse_seting_ka8g2_dpi:
+0x410f 020984 fetch 1 ,mem_mouse_dpi 
+0x4110 020985 beq mouse_dpi_level1 ,mouse_set_pka8g2_cpi0 
+0x4111 020986 beq mouse_dpi_level2 ,mouse_set_pka8g2_cpi1 
+0x4112 020987 beq mouse_dpi_level3 ,mouse_set_pka8g2_cpi2 
+0x4113 020988 beq mouse_dpi_level4 ,mouse_set_pka8g2_cpi3 
+:      020989 mouse_set_pka8g2_cpi1:
+0x4114 020990 fetch 1 ,mem_ka8g2_dpi_1 
+0x4115 020991 branch mouse_p3212_dpi 
+:      020993 mouse_set_pka8g2_cpi0:
+0x4116 020994 fetch 1 ,mem_ka8g2_dpi_0 
+0x4117 020995 branch mouse_p3212_dpi 
+:      020997 mouse_set_pka8g2_cpi2:
+0x4118 020998 fetch 1 ,mem_ka8g2_dpi_2 
+0x4119 020999 branch mouse_p3212_dpi 
+:      021001 mouse_set_pka8g2_cpi3:
+0x411a 021002 fetch 1 ,mem_ka8g2_dpi_3 
+0x411b 021003 branch mouse_p3212_dpi 
+:      021011 mouse_key:
+0x411c 021012 call mouse_check_key_gpio 
+0x411d 021013 call mouse_ghost_key_check 
+0x411e 021014 call mouse_set_mult 
+0x411f 021015 call mouse_24g_key 
+0x4120 021016 copy rega ,pdata 
+0x4121 021017 fetcht 1 ,mem_mouse_key_last 
+0x4122 021018 store 1 ,mem_mouse_key_last 
+0x4123 021019 store 1 ,mem_mouse_key 
+0x4124 021020 ixor temp ,pdata 
+0x4125 021021 sub pdata ,0 ,null 
+0x4126 021022 rtn zero 
+0x4127 021023 branch enable_user 
+:      021025 mouse_24g_key:
+0x4128 021026 rtnmark0 mark_24g 
+0x4129 021027 copy rega ,pdata 
+0x412a 021028 rtn blank 
+0x412b 021029 store 1 ,mem_mouse_key 
+0x412c 021030 branch enable_user 
+:      021032 mouse_ghost_key_check:
+0x412d 021033 jam 0 ,mem_mouse_matrix_key_cow_count 
+0x412e 021034 jam 0 ,mem_mouse_matrix_key_row_count 
+0x412f 021035 jam 0 ,mem_mouse_ghost_flag 
+0x4130 021036 copy pdata ,temp 
+0x4131 021037 call mouse_ghost_key_check_l_bk 
+0x4132 021038 call mouse_ghost_key_check_m_fw 
+0x4133 021039 call mouse_ghost_key_check_bk_fw 
+0x4134 021040 call mouse_ghost_key_check_lmr 
+0x4135 021041 fetch 1 ,mem_mouse_matrix_key_row_count 
+0x4136 021042 rtn blank 
+0x4137 021043 fetch 1 ,mem_mouse_matrix_key_cow_count 
+0x4138 021044 rtn blank 
+0x4139 021045 jam 1 ,mem_mouse_ghost_flag 
+0x413a 021046 fetch 1 ,mem_mouse_key_last 
+0x413b 021047 copy pdata ,rega 
+0x413c 021048 rtn 
+:      021050 mouse_ghost_key_check_l_bk:
+0x413d 021051 and temp ,mouse_l_bk_button ,pdata 
+0x413e 021052 beq mouse_l_bk_button ,mouse_matrix_cow_more_than_one_key 
+0x413f 021053 rtn 
+:      021054 mouse_ghost_key_check_m_fw:
+0x4140 021055 and temp ,mouse_m_fw_button ,pdata 
+0x4141 021056 beq mouse_m_fw_button ,mouse_matrix_cow_more_than_one_key 
+0x4142 021057 rtn 
+:      021058 mouse_ghost_key_check_bk_fw:
+0x4143 021059 and temp ,mouse_bk_fw_button ,pdata 
+0x4144 021060 beq mouse_bk_fw_button ,mouse_matrix_row_more_than_one_key 
+0x4145 021061 rtn 
+:      021063 mouse_ghost_key_check_lmr:
+0x4146 021064 and temp ,mouse_lmr_button ,pdata 
+0x4147 021065 beq mouse_lr_button ,mouse_matrix_row_more_than_one_key 
+0x4148 021066 beq mouse_lm_button ,mouse_matrix_row_more_than_one_key 
+0x4149 021067 beq mouse_rm_button ,mouse_matrix_row_more_than_one_key 
+0x414a 021068 beq mouse_lmr_button ,mouse_matrix_row_more_than_one_key 
+0x414b 021069 rtn 
+:      021072 mouse_matrix_row_more_than_one_key:
+0x414c 021073 jam 1 ,mem_mouse_matrix_key_row_count 
+0x414d 021074 rtn 
+:      021076 mouse_matrix_cow_more_than_one_key:
+0x414e 021077 jam 1 ,mem_mouse_matrix_key_cow_count 
+0x414f 021078 rtn 
+:      021080 mouse_key_check_once:
+0x4150 021081 call mouse_check_key_gpio_once 
+0x4151 021082 call mouse_check_key_gpio 
+0x4152 021083 setarg 0x00 
+0x4153 021084 store 3 ,mem_mouse_lkey_press_status 
+0x4154 021085 rtn 
+:      021087 mouse_check_key_gpio:
+0x4155 021088 bpatch patch1a_0 ,mem_patch1a 
+0x4156 021089 fetch 1 ,mem_sensor_shutdown_flag 
+0x4157 021090 ncall mouse_check_key_gpio_once ,blank 
+0x4158 021091 arg 0 ,rega 
+0x4159 021092 call mouse_check_lkey_gpio 
+0x415a 021093 call mouse_check_rkey_gpio 
+0x415b 021094 call mouse_check_mkey_gpio 
+0x415c 021095 call mouse_check_bkkey_gpio 
+0x415d 021096 call mouse_check_fwkey_gpio 
+0x415e 021097 call mouse_check_customerkey_gpio 
+0x415f 021098 copy rega ,pdata 
+0x4160 021099 rtn 
+:      021101 mouse_check_key_gpio_once:
+0x4161 021102 setarg 0x030303 
+0x4162 021103 store 3 ,mem_mouse_lkey_press_status 
+0x4163 021104 rtn 
+:      021106 mouse_check_lkey_gpio:
+0x4164 021107 jam mouse_l_key ,mem_mouse_key_temp 
+0x4165 021108 fetcht 1 ,mem_lbutton_gpio 
+0x4166 021109 fetch 1 ,mem_mouse_lkey_press_status 
+0x4167 021110 call mouse_check_key_connect_gnd 
+0x4168 021111 store 1 ,mem_mouse_lkey_press_status 
+0x4169 021112 rtn 
+:      021114 mouse_check_rkey_gpio:
+0x416a 021115 jam mouse_r_key ,mem_mouse_key_temp 
+0x416b 021116 fetcht 1 ,mem_rbutton_gpio 
+0x416c 021117 fetch 1 ,mem_mouse_rkey_press_status 
+0x416d 021118 call mouse_check_key_connect_gnd 
+0x416e 021119 store 1 ,mem_mouse_rkey_press_status 
+0x416f 021120 rtn 
+:      021122 mouse_check_mkey_gpio:
+0x4170 021123 jam mouse_m_key ,mem_mouse_key_temp 
+0x4171 021124 fetcht 1 ,mem_mbutton_gpio 
+0x4172 021125 fetch 1 ,mem_mouse_mkey_press_status 
+0x4173 021126 call mouse_check_key_connect_gnd 
+0x4174 021127 store 1 ,mem_mouse_mkey_press_status 
+0x4175 021128 rtn 
+:      021130 mouse_check_bkkey_gpio:
+0x4176 021131 fetch 1 ,mem_bk_button_gpio 
+0x4177 021132 rtneq gpio_disable 
+0x4178 021133 jam mouse_bk_key ,mem_mouse_key_temp 
+0x4179 021134 fetch 1 ,mem_mouse_bkkey_press_status 
+0x417a 021135 copy pdata ,regc 
+0x417b 021136 fetcht 1 ,mem_bk_button_gpio 
+0x417c 021137 fetch 1 ,mem_matrix_public_gpio 
+0x417d 021138 beq gpio_disable ,mouse_3io6key_bk_check 
+0x417e 021139 call gpio_get_bit 
+0x417f 021140 branch mouse_check_bk_button_connect_gnd ,true 
+0x4180 021141 fetcht 1 ,mem_matrix_public_gpio 
+0x4181 021142 call gpio_out_active 
+0x4182 021143 fetcht 1 ,mem_bk_button_gpio 
+0x4183 021144 fetch 1 ,mem_mouse_bkkey_press_status 
+0x4184 021145 call mouse_check_key_connect_gnd 
+:      021146 mouse_check_bkkey_gpio_end:
+0x4185 021147 store 1 ,mem_mouse_bkkey_press_status 
+0x4186 021148 branch mouse_matrix_public_gpio_reset 
+:      021150 mouse_check_bk_button_connect_gnd:
+0x4187 021151 fetcht 1 ,mem_matrix_public_gpio 
+0x4188 021152 fetch 1 ,mem_mouse_bkkey_press_status 
+0x4189 021153 call mouse_check_key_connect_gnd 
+0x418a 021154 branch mouse_check_bkkey_gpio_end 
+:      021156 mouse_3io6key_bk_check:
+0x418b 021157 call mouse_3io6key_check 
+0x418c 021158 store 1 ,mem_mouse_bkkey_press_status 
+0x418d 021159 fetcht 1 ,mem_bk_button_gpio 
+0x418e 021160 branch mouse_gpio_config_input_pu 
+:      021163 mouse_check_fwkey_gpio:
+0x418f 021164 fetch 1 ,mem_fw_button_gpio 
+0x4190 021165 rtneq gpio_disable 
+0x4191 021166 jam mouse_fw_key ,mem_mouse_key_temp 
+0x4192 021167 fetch 1 ,mem_mouse_fwkey_press_status 
+0x4193 021168 copy pdata ,regc 
+0x4194 021169 fetcht 1 ,mem_fw_button_gpio 
+0x4195 021170 fetch 1 ,mem_matrix_public_gpio 
+0x4196 021171 beq gpio_disable ,mouse_3io6key_fw_check 
+0x4197 021172 call gpio_get_bit 
+0x4198 021173 branch mouse_check_fw_button_connect_gnd ,true 
+0x4199 021174 fetcht 1 ,mem_matrix_public_gpio 
+0x419a 021175 call gpio_out_active 
+0x419b 021176 fetcht 1 ,mem_fw_button_gpio 
+0x419c 021177 fetch 1 ,mem_mouse_fwkey_press_status 
+0x419d 021178 call mouse_check_key_connect_gnd 
+:      021179 mouse_check_fwkey_gpio_end:
+0x419e 021180 store 1 ,mem_mouse_fwkey_press_status 
+0x419f 021181 branch mouse_matrix_public_gpio_reset 
+:      021183 mouse_check_fw_button_connect_gnd:
+0x41a0 021184 fetcht 1 ,mem_matrix_public_gpio 
+0x41a1 021185 fetch 1 ,mem_mouse_fwkey_press_status 
+0x41a2 021186 call mouse_check_key_connect_gnd 
+0x41a3 021187 branch mouse_check_fwkey_gpio_end 
+:      021189 mouse_3io6key_fw_check:
+0x41a4 021190 call mouse_3io6key_check 
+0x41a5 021191 store 1 ,mem_mouse_fwkey_press_status 
+0x41a6 021192 fetcht 1 ,mem_fw_button_gpio 
+0x41a7 021193 branch mouse_gpio_config_input_pu 
+:      021196 mouse_matrix_public_gpio_reset:
+0x41a8 021197 fetcht 1 ,mem_matrix_public_gpio 
+0x41a9 021198 branch mouse_gpio_config_input_pu 
+:      021200 mouse_check_customerkey_gpio:
+0x41aa 021201 jam 0 ,mem_customer_key 
+0x41ab 021202 fetch mouse_flag_len ,mem_mouse_flag 
+0x41ac 021203 rtnbit0 mouse_enable_keyboard 
+0x41ad 021204 fetch 1 ,mem_customer_key_gpio 
+0x41ae 021205 rtneq gpio_disable 
+0x41af 021206 jam mouse_customer_key ,mem_mouse_key_temp 
+0x41b0 021207 fetcht 1 ,mem_customer_key_gpio 
+0x41b1 021208 fetch 1 ,mem_mouse_customerkey_press_status 
+0x41b2 021209 call mouse_check_key_connect_gnd 
+0x41b3 021210 store 1 ,mem_mouse_customerkey_press_status 
+0x41b4 021211 copy rega ,pdata 
+0x41b5 021212 bbit1 mouse_customer_key ,mouse_customerkey_press 
+0x41b6 021213 call mouse_customerkey_release 
+:      021214 mouse_check_customerkey_gpio_exit:
+0x41b7 021215 fetch 1 ,mem_customer_data_trigger 
+0x41b8 021216 store 1 ,mem_customer_data_trigger_last 
+0x41b9 021217 rtn 
+:      021220 mouse_customerkey_press:
+0x41ba 021221 jam 1 ,mem_customer_data_trigger 
+0x41bb 021222 call mouse_customer_key_need_send 
+0x41bc 021223 branch mouse_check_customerkey_gpio_exit 
+:      021225 mouse_customerkey_release:
+0x41bd 021226 jam 0 ,mem_customer_data_trigger 
+0x41be 021227 fetch 1 ,mem_customer_data_trigger_last 
+0x41bf 021228 rtn blank 
+:      021229 mouse_customer_key_need_send:
+0x41c0 021230 jam 1 ,mem_customer_key 
+0x41c1 021231 rtn 
+:      021234 mouse_check_matrix_button_connect_gnd:
+0x41c2 021235 call gpio_get_bit 
+0x41c3 021236 fetcht 1 ,mem_mouse_key_temp 
+0x41c4 021237 copy temp ,queue 
+0x41c5 021238 branch mouse_key_press ,true 
+0x41c6 021239 branch mouse_key_release 
+:      021241 mouse_check_key_connect_gnd:
+0x41c7 021242 lshift pdata ,pdata 
+0x41c8 021243 copy pdata ,regb 
+0x41c9 021244 call gpio_get_bit 
+0x41ca 021245 setflag true ,0 ,regb 
+0x41cb 021246 and regb ,0x07 ,pdata 
+0x41cc 021247 fetcht 1 ,mem_mouse_key_temp 
+0x41cd 021248 copy temp ,queue 
+0x41ce 021249 beq 0x07 ,mouse_key_press 
+0x41cf 021250 beq 0x00 ,mouse_key_release 
+0x41d0 021251 rtn 
+:      021253 mouse_key_release:
+0x41d1 021254 qset0 rega 
+0x41d2 021255 rtn 
+:      021257 mouse_key_press:
+0x41d3 021258 qset1 rega 
+0x41d4 021259 rtn 
+:      021261 mouse_3io6key_check:
+0x41d5 021262 bpatch patch1a_1 ,mem_patch1a 
+0x41d6 021263 copy regc ,pdata 
+0x41d7 021264 store 1 ,mem_mouse_key_status 
+0x41d8 021265 lshift pdata ,pdata 
+0x41d9 021266 copy pdata ,regb 
+0x41da 021267 copy temp ,regc 
+0x41db 021268 call mouse_gpio_config_input_pd 
+0x41dc 021269 copy regc ,temp 
+0x41dd 021270 call gpio_get_bit 
+0x41de 021271 nsetflag true ,0 ,regb 
+0x41df 021272 call mouse_check_press 
+0x41e0 021273 branch mouse_check_key_connect_gnd + 4 
+:      021275 mouse_check_press:
+0x41e1 021276 fetcht 1 ,mem_mouse_key_status 
+0x41e2 021277 and_into 0x01 ,temp 
+0x41e3 021278 and regb ,0x01 ,pdata 
+0x41e4 021279 isub temp ,null 
+0x41e5 021280 nbranch mouse_current_mult_update ,zero 
+0x41e6 021281 rtn 
+:      021286 mouse_init_sunt:
+0x41e7 021287 bpatch patch1a_2 ,mem_patch1a 
+0x41e8 021288 call mouse_sensor_spi_init 
+0x41e9 021289 rtn wake 
+:      021290 mouse_init_sensor_wakeup:
+0x41ea 021291 call mouse_sensor_poweron 
+:      021292 mouse_init_sensor:
+0x41eb 021293 call mouse_read_sensor_id 
+0x41ec 021294 beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+0x41ed 021295 beq p3065_id1 ,mouse_init_p3065 
+0x41ee 021296 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+0x41ef 021297 call mouse_twspi_reset 
+0x41f0 021298 nop 6900 
+0x41f1 021299 branch mouse_init_sensor 
+:      021300 mouse_twspi_reset:
+0x41f2 021301 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0x41f3 021302 call twspi_reset 
+0x41f4 021303 branch mouse_spid_init_pin 
+:      021305 mouse_read_sensor_id:
+0x41f5 021306 setarg pan_reg_pid_h 
+0x41f6 021307 call twspi_read 
+0x41f7 021308 store 1 ,mem_sensor_id2 
+0x41f8 021309 setarg pan_reg_pid_l 
+0x41f9 021310 call twspi_read 
+0x41fa 021311 store 1 ,mem_sensor_id1 
+0x41fb 021312 rtn 
+:      021316 mouse_init_p32xx_id2_judge:
+0x41fc 021317 fetch 1 ,mem_sensor_id2 
+0x41fd 021318 beq p_mx8650 ,mouse_mx8650_init_param 
+0x41fe 021319 beq p8009_id2 ,mouse_8009_init_param 
+0x41ff 021320 beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0x4200 021321 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+0x4201 021322 beq p3212_id2 ,mouse_3212_init_param 
+0x4202 021323 beq pka8_id2 ,mouse_ka8_init_param_check 
+0x4203 021324 beq p6520a_id2 ,mouse_p6520_init_param 
+0x4204 021325 branch mouse_init_sensor 
+:      021327 mouse_mx8650_init_param:
+0x4205 021328 jam mx8650 ,mem_config_sensor_type 
+0x4206 021329 call mouse_sensor_reset 
+0x4207 021330 call delay_10ms 
+0x4208 021331 arg mem_sensor_8650_init ,regc 
+0x4209 021332 call mouse_sensor_wr_seq 
+0x420a 021333 branch mouse_dpi_config 
+:      021335 mouse_8009_init_param:
+0x420b 021336 setarg 0x16 
+0x420c 021337 call twspi_read 
+0x420d 021338 sub pdata ,0xbd ,null 
+0x420e 021339 nbranch mouse_init_sunt ,zero 
+0x420f 021340 setarg 0x19 
+0x4210 021341 call twspi_read 
+0x4211 021342 sub pdata ,0x55 ,null 
+0x4212 021343 nbranch mouse_init_sunt ,zero 
+0x4213 021344 setarg 0x1b 
+0x4214 021345 call twspi_read 
+0x4215 021346 sub pdata ,0x1d ,null 
+0x4216 021347 nbranch mouse_init_sunt ,zero 
+0x4217 021348 jam p8009 ,mem_config_sensor_type 
+0x4218 021349 arg mem_sensor_8009_init ,regc 
+0x4219 021350 branch mouse_sensor_wr_seq 
+:      021352 mouse_3205_3t_init_param:
+0x421a 021353 jam p3205 ,mem_config_sensor_type 
+0x421b 021354 arg mem_sensor_3205_init ,regc 
+0x421c 021355 call mouse_sensor_wr_seq 
+0x421d 021356 arg mem_sensor_32xx_init ,regc 
+0x421e 021357 call mouse_sensor_wr_seq 
+0x421f 021358 setarg 0x0943 
+0x4220 021359 call twspi_write 
+0x4221 021360 arg mem_sensor_32xx_init_1 ,regc 
+0x4222 021361 branch mouse_sensor_wr_seq 
+:      021363 mouse_3204_3l_init_param:
+0x4223 021364 jam p3204 ,mem_config_sensor_type 
+0x4224 021365 arg mem_sensor_3204_init ,regc 
+0x4225 021366 call mouse_sensor_wr_seq 
+0x4226 021367 arg mem_sensor_32xx_init ,regc 
+0x4227 021368 call mouse_sensor_wr_seq 
+0x4228 021369 arg mem_sensor_32xx_init_1 ,regc 
+0x4229 021370 branch mouse_sensor_wr_seq 
+:      021372 mouse_3212_init_param:
+0x422a 021373 jam p3212 ,mem_config_sensor_type 
+0x422b 021374 arg mem_sensor_3212_init ,regc 
+0x422c 021375 branch mouse_sensor_wr_seq 
+:      021377 mouse_ka8_init_param_check:
+0x422d 021378 call mouse_sensor_disable_wp 
+0x422e 021379 setarg 0x9a5b 
+0x422f 021380 call twspi_write 
+0x4230 021381 setarg 0x0d 
+0x4231 021382 call twspi_read 
+0x4232 021383 sub pdata ,0x12 ,null 
+0x4233 021384 branch mouse_ka8ul_init_param ,zero 
+0x4234 021385 sub pdata ,0x0a ,null 
+0x4235 021386 nbranch mouse_ka8hd_sensor_judge ,zero 
+0x4236 021387 setarg 0x0e 
+0x4237 021388 call twspi_read 
+0x4238 021389 sub pdata ,0xe5 ,null 
+0x4239 021390 nbranch mouse_init_sensor ,zero 
+0x423a 021391 setarg 0x10 
+0x423b 021392 call twspi_read 
+0x423c 021393 sub pdata ,0xa5 ,null 
+0x423d 021394 branch mouse_ka8ul_init_param ,zero 
+0x423e 021395 call mouse_enable_ka8_sensor_wp 
+:      021396 mouse_ka8_init_param:
+0x423f 021397 jam ka8 ,mem_config_sensor_type 
+0x4240 021398 rtn 
+:      021399 mouse_ka8ul_init_param:
+0x4241 021400 jam ka8_ul ,mem_config_sensor_type 
+0x4242 021401 arg mem_sensor_ka8ul_init ,regc 
+0x4243 021402 branch mouse_sensor_wr_seq 
+:      021403 mouse_ka8hd_sensor_judge:
+0x4244 021404 sub pdata ,0x10 ,null 
+0x4245 021405 nbranch mouse_init_sensor ,zero 
+0x4246 021406 setarg 0x0e 
+0x4247 021407 call twspi_read 
+0x4248 021408 sub pdata ,0xc5 ,null 
+0x4249 021409 nbranch mouse_init_sensor ,zero 
+0x424a 021410 setarg 0x10 
+0x424b 021411 call twspi_read 
+0x424c 021412 sub pdata ,0x38 ,null 
+0x424d 021413 nbranch mouse_init_sensor ,zero 
+:      021414 mouse_ka8hd_init_param:
+0x424e 021415 call mouse_enable_ka8_sensor_wp 
+0x424f 021416 jam ka8_hd ,mem_config_sensor_type 
+0x4250 021417 rtn 
+:      021418 mouse_enable_ka8_sensor_wp:
+0x4251 021419 setarg 0x005b 
+0x4252 021420 call twspi_write 
+0x4253 021421 branch mouse_sensor_enable_wp 
+:      021423 mouse_p6520_init_param:
+0x4254 021424 jam p6520 ,mem_config_sensor_type 
+0x4255 021425 arg mem_sensor_p6520_init ,regc 
+0x4256 021426 branch mouse_sensor_wr_seq 
+:      021428 mouse_init_p3065:
+0x4257 021429 call mouse_sensor_poweron 
+0x4258 021430 fetch 1 ,mem_sensor_id2 
+0x4259 021431 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+0x425a 021432 beq p3065_id2 ,mouse_p3065_init_param 
+0x425b 021433 branch mouse_init_sensor 
+:      021435 mouse_p3065_init_param:
+0x425c 021436 jam p3065 ,mem_config_sensor_type 
+0x425d 021437 rtn 
+:      021439 mouse_p3065xy_init_param:
+0x425e 021440 jam p3065_xy ,mem_config_sensor_type 
+0x425f 021441 rtn 
+:      021443 mouse_ka8g2_id2_judge:
+0x4260 021444 call mouse_sensor_poweron 
+0x4261 021445 fetch 1 ,mem_sensor_id2 
+0x4262 021446 beq pka8g2_id2 ,mouse_ka8g2_init_param 
+0x4263 021447 branch mouse_init_p32xx_id2_judge 
+:      021448 mouse_ka8g2_init_param:
+0x4264 021449 jam ka8g2 ,mem_config_sensor_type 
+0x4265 021450 arg mem_sensor_ka8g2_init ,regc 
+0x4266 021451 branch mouse_sensor_wr_seq 
+:      021453 mouse_sensor_enable_wp:
+0x4267 021454 setarg 0x0009 
+0x4268 021455 branch twspi_write 
+:      021456 mouse_sensor_disable_wp:
+0x4269 021457 setarg 0x5a09 
+0x426a 021458 branch twspi_write 
+:      021460 mouse_sensor_wr_seq:
+0x426b 021461 ifetch 2 ,regc 
+0x426c 021462 arg 0xffff ,temp 
+0x426d 021463 isub temp ,null 
+0x426e 021464 rtn zero 
+0x426f 021465 call twspi_write 
+0x4270 021466 increase 2 ,regc 
+0x4271 021467 branch mouse_sensor_wr_seq 
+:      021469 mouse_sensor_reset:
+0x4272 021470 setarg 0x8006 
+0x4273 021471 call twspi_write 
+0x4274 021472 nop 12000 
+0x4275 021473 rtn 
+:      021475 mouse_sensor_poweron:
+0x4276 021476 bpatch patch1a_3 ,mem_patch1a 
+0x4277 021477 call mouse_sensor_spi_init 
+0x4278 021478 call mouse_sensor_reset 
+0x4279 021479 arg mem_sensor_poweron_init ,regc 
+0x427a 021480 call mouse_sensor_wr_seq 
+0x427b 021481 branch mouse_dpi_config 
+:      021483 mouse_sensor_powerdown:
+0x427c 021484 call mouse_init_sunt 
+0x427d 021485 call mouse_sensor_spi_init 
+0x427e 021486 setarg 0x0806 
+0x427f 021487 branch twspi_write 
+:      021493 mouse_check_sensor_data:
+0x4280 021494 fetch 1 ,mem_spi_write_flash_sm 
+0x4281 021495 rtnne flash_sm_no_buys 
+0x4282 021496 fetch 1 ,mem_config_sensor_type 
+0x4283 021497 beq p3205 ,mouse_p32xx_sensor_motion 
+0x4284 021498 beq p3065 ,mouse_p32xx_sensor_motion 
+0x4285 021499 beq ka8 ,mouse_p32xx_sensor_motion 
+0x4286 021500 beq p3204 ,mouse_p32xx_sensor_motion 
+0x4287 021501 beq p3212 ,mouse_p3212_sensor_motion 
+0x4288 021502 beq p3065_xy ,mouse_p32xx_sensor_motion 
+0x4289 021503 beq p8009 ,mouse_p8009_sensor_motion 
+0x428a 021504 beq ka8g2 ,mouse_pka8g2_sensor_motion 
+0x428b 021505 branch mouse_p32xx_sensor_motion 
+:      021508 mouse_p32xx_sensor_motion:
+0x428c 021509 call mouse_clear_sensor_data 
+0x428d 021510 disable user 
+0x428e 021511 fetch 1 ,mem_sensor_motion_gpio 
+0x428f 021512 beq gpio_disable ,mouse_p32xx_sensor_motion_2 
+0x4290 021513 fetcht 1 ,mem_sensor_motion_gpio 
+0x4291 021514 call gpio_get_bit 
+0x4292 021515 nrtn true 
+:      021516 mouse_p32xx_sensor_motion_2:
+0x4293 021517 setarg pan_reg_pid_l 
+0x4294 021518 call twspi_read 
+0x4295 021519 bne p32xx_id1 ,mouse_p3065_judge 
+:      021520 mouse_p32xx_sensor_motion_1:
+0x4296 021521 setarg pan_reg_motion_staus 
+0x4297 021522 call twspi_read 
+0x4298 021523 rtnbit0 7 
+0x4299 021524 call mouse_read_sensor_common 
+0x429a 021525 fetch 1 ,mem_mouse_x 
+0x429b 021526 call mouse_data_extsign 
+0x429c 021527 store 2 ,mem_mouse_x 
+0x429d 021528 fetch 1 ,mem_mouse_y 
+0x429e 021529 call mouse_data_extsign 
+0x429f 021530 store 2 ,mem_mouse_y 
+0x42a0 021531 fetch 1 ,mem_config_sensor_angle 
+0x42a1 021532 beq mouse_6clk_angle ,mouse_motion32xx_6clk_direction_selection 
+0x42a2 021533 beq mouse_9clk_angle ,mouse_motion32xx_9clk_direction_selection 
+0x42a3 021534 beq mouse_12clk_angle ,mouse_motion32xx_12clk_direction_selection 
+0x42a4 021535 beq mouse_3clk_angle ,mouse_motion32xx_3clk_direction_selection 
+0x42a5 021536 rtn 
+:      021538 mouse_p3065_judge:
+0x42a6 021539 beq p3065_id1 ,mouse_p32xx_sensor_motion_1 
+0x42a7 021540 branch mouse_twspi_reset 
+:      021542 mouse_motion32xx_6clk_direction_selection:
+0x42a8 021543 call mouse_motion_6clk_direction_dispose 
+0x42a9 021544 branch mouse_sensor_sdio_low 
+:      021545 mouse_motion32xx_9clk_direction_selection:
+0x42aa 021546 call mouse_motion_9clk_direction_dispose 
+0x42ab 021547 branch mouse_sensor_sdio_low 
+:      021548 mouse_motion32xx_12clk_direction_selection:
+0x42ac 021549 call mouse_motion_12clk_direction_dispose 
+0x42ad 021550 branch mouse_sensor_sdio_low 
+:      021551 mouse_motion32xx_3clk_direction_selection:
+0x42ae 021552 call mouse_motion_3clk_direction_dispose 
+0x42af 021553 branch mouse_sensor_sdio_low 
+:      021557 mouse_p3212_sensor_motion:
+0x42b0 021558 call mouse_clear_sensor_data 
+0x42b1 021559 fetch 1 ,mem_sensor_motion_gpio 
+0x42b2 021560 beq gpio_disable ,mouse_p3212_sensor_motion_1 
+0x42b3 021561 fetcht 1 ,mem_sensor_motion_gpio 
+0x42b4 021562 call gpio_get_bit 
+0x42b5 021563 nrtn true 
+:      021564 mouse_p3212_sensor_motion_1:
+0x42b6 021565 setarg pan_reg_pid_l 
+0x42b7 021566 call twspi_read 
+0x42b8 021567 bne p32xx_id1 ,mouse_twspi_reset 
+:      021568 mouse_p3212_sensor_motion_2:
+0x42b9 021569 setarg pan_reg_motion_staus 
+0x42ba 021570 call twspi_read 
+0x42bb 021571 rtnbit0 7 
+0x42bc 021572 call mouse_read_sensor_common 
+0x42bd 021573 call mouse_read_3212sensor_xy_high 
+0x42be 021574 store 1 ,mem_mouse_xy_h 
+0x42bf 021575 rshift4 pdata ,pdata 
+0x42c0 021576 call mouse_data_extsign_bit3 
+0x42c1 021577 store 1 ,mem_mouse_x + 1 
+0x42c2 021578 fetch 1 ,mem_mouse_xy_h 
+0x42c3 021579 and pdata ,0x0f ,pdata 
+0x42c4 021580 call mouse_data_extsign_bit3 
+0x42c5 021581 store 1 ,mem_mouse_y + 1 
+0x42c6 021582 fetch 1 ,mem_config_sensor_angle 
+0x42c7 021583 beq mouse_6clk_angle ,mouse_motion_6clk_direction_dispose 
+0x42c8 021584 beq mouse_9clk_angle ,mouse_motion_9clk_direction_dispose 
+0x42c9 021585 beq mouse_12clk_angle ,mouse_motion_12clk_direction_dispose 
+0x42ca 021586 beq mouse_3clk_angle ,mouse_motion_3clk_direction_dispose 
+0x42cb 021587 rtn 
+:      021589 mouse_read_3212sensor_xy_high:
+0x42cc 021590 setarg 0x12 
+0x42cd 021591 branch twspi_read 
+:      021593 mouse_pka8g2_sensor_motion:
+0x42ce 021594 call mouse_clear_sensor_data 
+0x42cf 021595 fetch 1 ,mem_sensor_motion_gpio 
+0x42d0 021596 beq gpio_disable ,mouse_pka8g2_sensor_motion_1 
+0x42d1 021597 fetcht 1 ,mem_sensor_motion_gpio 
+0x42d2 021598 call gpio_get_bit 
+0x42d3 021599 nrtn true 
+:      021600 mouse_pka8g2_sensor_motion_1:
+0x42d4 021601 branch mouse_p3212_sensor_motion_2 
+:      021604 mouse_p8009_sensor_motion:
+0x42d5 021605 call mouse_clear_sensor_data 
+0x42d6 021606 disable user 
+0x42d7 021607 setarg pan_reg_motion_staus 
+0x42d8 021608 call twspi_read 
+0x42d9 021609 rtnbit0 7 
+0x42da 021610 setarg pan_reg_opration_state 
+0x42db 021611 call twspi_read 
+0x42dc 021612 branch mouse_p32xx_sensor_motion_1 + 3 ,blank 
+0x42dd 021613 setarg 0 
+0x42de 021614 store 6 ,mem_mouse_x 
+0x42df 021615 rtn 
+:      021619 mouse_sensor_set_angle:
+0x42e0 021620 fetch 1 ,mem_sensor_angle_default 
+0x42e1 021621 store 1 ,mem_config_sensor_angle 
+0x42e2 021622 fetch 1 ,mem_select_sensor_angle_gpio 
+0x42e3 021623 rtneq gpio_disable 
+0x42e4 021624 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x42e5 021625 call mouse_gpio_config_input_pu 
+0x42e6 021626 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x42e7 021627 call gpio_get_bit 
+0x42e8 021628 call mouse_sensor_switch_angle ,true 
+0x42e9 021629 branch mouse_gpio_config_input_pd 
+:      021630 mouse_sensor_switch_angle:
+0x42ea 021631 fetch 1 ,mem_sensor_angle_switch 
+0x42eb 021632 store 1 ,mem_config_sensor_angle 
+0x42ec 021633 rtn 
+:      021635 mouse_motion_6clk_direction_dispose:
+0x42ed 021636 fetch 2 ,mem_mouse_x 
+0x42ee 021637 sub pdata ,0 ,pdata 
+0x42ef 021638 store 2 ,mem_mouse_x 
+0x42f0 021639 branch enable_user 
+:      021640 mouse_motion_12clk_direction_dispose:
+0x42f1 021641 fetch 2 ,mem_mouse_y 
+0x42f2 021642 sub pdata ,0 ,pdata 
+0x42f3 021643 store 2 ,mem_mouse_y 
+0x42f4 021644 branch enable_user 
+:      021645 mouse_motion_9clk_direction_dispose:
+0x42f5 021646 fetch 2 ,mem_mouse_y 
+0x42f6 021647 sub pdata ,0 ,pdata 
+0x42f7 021648 store 2 ,mem_mouse_y 
+0x42f8 021649 fetch 2 ,mem_mouse_x 
+0x42f9 021650 sub pdata ,0 ,pdata 
+0x42fa 021651 store 2 ,mem_mouse_x 
+0x42fb 021652 call mouse_sensor_data_swap_places 
+0x42fc 021653 branch enable_user 
+:      021654 mouse_motion_3clk_direction_dispose:
+0x42fd 021655 call mouse_sensor_data_swap_places 
+0x42fe 021656 branch enable_user 
+:      021658 mouse_sensor_data_swap_places:
+0x42ff 021659 fetch 2 ,mem_mouse_y 
+0x4300 021660 fetcht 2 ,mem_mouse_x 
+0x4301 021661 store 2 ,mem_mouse_x 
+0x4302 021662 storet 2 ,mem_mouse_y 
+0x4303 021663 rtn 
+:      021666 mouse_clear_sensor_data:
+0x4304 021667 fetch 1 ,mem_mouse_move_flag 
+0x4305 021668 call mouse_read_sensor_common ,blank 
+0x4306 021669 jam 1 ,mem_mouse_move_flag 
+0x4307 021670 rtn 
+:      021672 mouse_clear_sensor_data_by_reset:
+0x4308 021673 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0x4309 021674 call le_set_config_more_data 
+:      021675 mouse_init_sensor_reset:
+0x430a 021676 branch mouse_init_sunt 
+:      021678 mouse_data_xy_release:
+0x430b 021679 fetch 1 ,mem_sensor_motion_gpio 
+0x430c 021680 rtnne gpio_disable 
+0x430d 021681 fetch 1 ,mem_mouse_long_mult_flag 
+0x430e 021682 rtnne 1 
+0x430f 021683 setarg 0 
+0x4310 021684 store 1 ,mem_mouse_long_mult_flag 
+0x4311 021685 store 4 ,mem_mouse_x 
+0x4312 021686 branch mouse_init_sensor_reset 
+:      021688 mouse_data_extsign:
+0x4313 021689 rtnbit0 7 
+0x4314 021690 arg 0xff00 ,temp 
+0x4315 021691 ior temp ,pdata 
+0x4316 021692 rtn 
+:      021694 mouse_data_extsign_bit3:
+0x4317 021695 rtnbit0 3 
+0x4318 021696 arg 0xf0 ,temp 
+0x4319 021697 ior temp ,pdata 
+0x431a 021698 rtn 
+:      021700 mouse_read_sensor_common:
+0x431b 021701 arg pan_reg_delta_x ,pdata 
+0x431c 021702 call twspi_read 
+0x431d 021703 store 2 ,mem_mouse_x 
+0x431e 021704 arg pan_reg_delta_y ,pdata 
+0x431f 021705 call twspi_read 
+0x4320 021706 store 2 ,mem_mouse_y 
+0x4321 021707 rtn 
+:      021710 mouse_sensor_sdio_low:
+0x4322 021711 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0x4323 021712 call gpio_get_bit 
+0x4324 021713 rtn true 
+0x4325 021714 setarg 0x0a 
+0x4326 021715 call twspi_read 
+0x4327 021716 nop 1000 
+0x4328 021717 branch mouse_sensor_sdio_low 
+:      021719 mouse_set_sdio_high:
+0x4329 021720 setarg 0x8100 
+0x432a 021721 branch twspi_write 
+:      021726 mouse_buletooth_fast_conn_init:
+0x432b 021727 jam 0xff ,mem_mouse_bluetooth_fast_conn_flag 
+0x432c 021728 fetch 1 ,mem_mouse_bluetooth_type 
+0x432d 021729 bbit1 mode_4_mouse ,mouse_ble_fast_conn_init 
+0x432e 021730 bbit1 mode_3_mouse ,mouse_bt_fast_conn_init 
+:      021731 mouse_ble_fast_conn_init:
+0x432f 021732 jam 0x34 ,mem_xrecord_mode 
+0x4330 021733 setarg 0x0f0f0f 
+0x4331 021734 store 3 ,mem_le_lap 
+0x4332 021735 store 3 ,mem_le_lap + 3 
+0x4333 021736 branch mouse_start_reconnect 
+:      021738 mouse_bt_fast_conn_init:
+0x4334 021739 jam 0x33 ,mem_xrecord_mode 
+0x4335 021740 arg mem_mouse_compare_addr_ff ,contr 
+0x4336 021741 call mouse_load_bt_device 
+0x4337 021742 branch mouse_start_reconnect 
+:      021744 mouse_buletooth_fast_conn_end:
+0x4338 021745 bpatch patch1a_4 ,mem_patch1a 
+0x4339 021746 call mouse_select_reconn_device 
+0x433a 021747 call mouse_bluetooth_fast_conn_disable 
+0x433b 021748 fetch 1 ,mem_device_flag 
+0x433c 021749 beq mode_bt_device1 ,mouse_device1_check_auto_discover 
+0x433d 021750 beq mode_bt_device2 ,mouse_device2_check_auto_discover 
+0x433e 021751 rtn 
+:      021752 mouse_device1_check_auto_discover:
+0x433f 021753 fetch 6 ,mem_device1_addr 
+0x4340 021754 branch mouse_device_check_auto_discover 
+:      021755 mouse_device2_check_auto_discover:
+0x4341 021756 fetch 6 ,mem_device2_addr 
+:      021757 mouse_device_check_auto_discover:
+0x4342 021758 fetcht 6 ,mem_mouse_compare_addr_ff 
+0x4343 021759 isub temp ,null 
+0x4344 021760 branch mouse_start_discovery ,zero 
+0x4345 021761 branch mouse_start_reconnect_device 
+:      021763 mouse_bt_fast_conn_send_device_name:
+0x4346 021764 call mouse_bluetooth_fast_conn_disable 
+0x4347 021765 fetch 1 ,mem_local_name_length 
+0x4348 021766 increase 3 ,pdata 
+0x4349 021767 copy pdata ,rega 
+0x434a 021768 call hid_malloc_tx_buff 
+0x434b 021769 fetch 2 ,mem_hid_int_remote_cid 
+0x434c 021770 istore 2 ,contw 
+0x434d 021771 setarg 0x04a1 
+0x434e 021772 istore 2 ,contw 
+0x434f 021773 fetch 1 ,mem_local_name_length 
+0x4350 021774 increase 1 ,pdata 
+0x4351 021775 copy pdata ,loopcnt 
+0x4352 021776 arg mem_local_name_length ,contr 
+0x4353 021777 branch memcpy 
+:      021779 mouse_bluetooth_fast_conn_disable:
+0x4354 021780 jam 0x5a ,mem_mouse_bluetooth_fast_conn_flag 
+0x4355 021781 rtn 
+:      021784 mouse_stop_bluetooth_mode:
+0x4356 021785 fetch 2 ,mem_ui_state_map 
+0x4357 021786 bbit1 ui_state_bt_reconnect ,mouse_cancel_reconnect 
+0x4358 021787 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x4359 021788 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x435a 021789 branch mouse_stop_discovery 
+:      021791 mouse_disconnect:
+0x435b 021792 setarg 0 
+0x435c 021793 store 2 ,mem_mouse_no_data_timer 
+0x435d 021794 fetch 2 ,mem_ui_state_map 
+0x435e 021795 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x435f 021796 fetch 2 ,mem_ui_state_map 
+0x4360 021797 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x4361 021798 rtn 
+:      021800 mouse_cancel_reconnect:
+0x4362 021801 call mouse_bt_cannel_reconn_enable 
+0x4363 021802 branch check_51cmd_bb_reconn_cancel 
+:      021804 mouse_check_125hz:
+0x4364 021805 fetch mouse_flag_len ,mem_mouse_flag 
+0x4365 021806 rtnbit0 mouse_enable_bt_125hz 
+:      021807 mouse_bluetooth_125hz:
+0x4366 021808 nbranch mouse_bluetooth_125hz_clear ,user 
+0x4367 021809 fetch 1 ,mem_bluetooth_125hz_cnt 
+0x4368 021810 increase 1 ,pdata 
+0x4369 021811 and_into 0x0f ,pdata 
+0x436a 021812 store 1 ,mem_bluetooth_125hz_cnt 
+0x436b 021813 nrtn blank 
+:      021814 mouse_bluetooth_125hz_clear:
+0x436c 021815 jam 0 ,mem_bluetooth_125hz_cnt 
+0x436d 021816 disable user 
+0x436e 021817 rtn 
+:      021820 mouse_current_mult_update:
+0x436f 021821 fetch 1 ,mem_sensor_motion_gpio 
+0x4370 021822 rtnne gpio_disable 
+0x4371 021823 jam 0 ,mem_lpm_mult 
+0x4372 021824 jam 30 ,mem_mouse_current_mult_timer 
+0x4373 021825 rtn 
+:      021828 mouse_priority_bb_event:
+0x4374 021829 bpatch patch1a_5 ,mem_patch1a 
+0x4375 021830 copy regc ,pdata 
+0x4376 021831 beq bt_evt_le_connected ,mouse_le_bb_event_connected 
+0x4377 021832 beq bt_evt_bb_connected ,mouse_bb_event_connected 
+0x4378 021833 beq bt_evt_le_disconnected ,mouse_le_bb_disconnected 
+0x4379 021834 beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+0x437a 021835 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+0x437b 021836 beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+0x437c 021837 beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+0x437d 021838 beq bt_evt_hid_connected ,app_hid_connected 
+0x437e 021839 beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+0x437f 021840 beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_timeout 
+0x4380 021841 beq bt_evt_switch_not_accept ,app_bt_role_switch 
+0x4381 021842 beq bt_evt_switch_success_master ,mouse_enter_sniff_check 
+0x4382 021843 beq bt_evt_sniff_not_accept ,mouse_sniff_not_accept 
+0x4383 021844 beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+0x4384 021845 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x4385 021846 beq bt_evt_le_pairing_success ,mouse_le_pairing_success 
+0x4386 021847 beq bt_evt_le_enc_info ,mouse_le_enc_info 
+0x4387 021848 beq bt_evt_le_start_enc ,mouse_le_ll_start_encryt 
+0x4388 021849 beq bt_evt_le_pairing_complete ,mouse_le_pairing_complete 
+0x4389 021850 beq bt_evt_le_parse_conn_papa_update_rsp ,mouse_le_conn_param_update_rsp_recieved 
+0x438a 021851 beq bt_evt_virtual_cable_unplug ,mouse_irtual_cable_unplug 
+0x438b 021852 beq bt_evt_24g_pairing_complete ,mouse_24g_pairing_complete 
+0x438c 021853 beq bt_evt_24g_attempt_fail ,mouse_24g_attempt_fail 
+0x438d 021854 beq bt_evt_24g_attempt_success ,mouse_24g_attempt_success 
+0x438e 021855 beq bt_evt_le_parse_conn_param_accepted ,mouse_le_parse_conn_param_accepted 
+0x438f 021856 rtn 
+:      021859 mouse_le_bb_event_connected:
+0x4390 021860 jam 0 ,mem_mouse_long_mult_flag 
+0x4391 021861 call mouse_init_sensor_reset 
+0x4392 021862 jam 1 ,mem_mouse_le_bb_connected_flag 
+0x4393 021863 call mouse_24g_first_store_reconn_info 
+0x4394 021864 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x4395 021865 nbranch mouse_le_bb_event_connected_next ,blank 
+0x4396 021866 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+:      021867 mouse_le_bb_event_connected_next:
+0x4397 021868 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x4398 021869 set0 app_disc_by_button ,pdata 
+0x4399 021870 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x439a 021871 jam 0 ,mem_mouse_direct_timer 
+0x439b 021872 fetch 2 ,mem_le_battery_level_updata_timer_init 
+0x439c 021873 store 2 ,mem_le_battery_level_updata_timer 
+0x439d 021874 call mouse_no_data_timer_init 
+0x439e 021875 branch mouse_stop_discovery 
+:      021877 mouse_le_bb_disconnected:
+0x439f 021878 jam 0 ,mem_mouse_le_bb_connected_flag 
+0x43a0 021879 setarg le_interval_7_5ms 
+0x43a1 021880 fetch mouse_flag_len ,mem_mouse_flag 
+0x43a2 021881 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next 
+0x43a3 021882 setarg le_interval_8_75ms 
+:      021883 mouse_le_bb_disconnected_next:
+0x43a4 021884 store 2 ,mem_le_interval_min 
+0x43a5 021885 store 2 ,mem_le_interval_min + 2 
+0x43a6 021886 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0x43a7 021887 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0x43a8 021888 call le_clr_config_more_data 
+0x43a9 021889 branch mouse_bb_disconnected 
+:      021891 mouse_le_pairing_success:
+0x43aa 021892 arg ll_pairing_success_flag ,queue 
+0x43ab 021893 branch mouse_le_enable_connect_flag 
+:      021895 mouse_le_enc_info:
+:      021896 mouse_updata_le_param:
+0x43ac 021897 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x43ad 021898 branch ui_ipc_send_cmd 
+:      021900 mouse_le_ll_start_encryt:
+0x43ae 021901 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x43af 021902 beq 1 ,mouse_le_ll_reconn_start_encryt 
+0x43b0 021903 branch mouse_le_ll_enable_start_enc_flag 
+:      021904 mouse_le_ll_reconn_start_encryt:
+0x43b1 021905 call mouse_updata_le_param 
+0x43b2 021906 jam 20 ,mem_le_start_encrypt_timer 
+:      021907 mouse_le_ll_enable_start_enc_flag:
+0x43b3 021908 arg ll_start_enc_flag ,queue 
+0x43b4 021909 branch mouse_le_enable_connect_flag 
+:      021911 mouse_le_enable_connect_flag:
+0x43b5 021912 fetch 1 ,mem_le_connect_status_flag 
+0x43b6 021913 qset1 pdata 
+0x43b7 021914 store 1 ,mem_le_connect_status_flag 
+0x43b8 021915 rtn 
+:      021917 mouse_le_pairing_complete:
+0x43b9 021918 branch app_ble_store_reconn_info 
+:      021920 mouse_le_conn_param_update_rsp_recieved:
+0x43ba 021921 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x43bb 021922 rtneq ble_signaling_connect_parameter_update_accepted 
+0x43bc 021923 fetch 1 ,mem_le_tsniff 
+0x43bd 021924 rshift2 pdata ,pdata 
+0x43be 021925 sub pdata ,le_interval_15ms ,null 
+0x43bf 021926 rtn positive 
+0x43c0 021927 setarg le_interval_11_25ms 
+0x43c1 021928 store 2 ,mem_le_interval_min 
+0x43c2 021929 store 2 ,mem_le_interval_min + 2 
+0x43c3 021930 call mouse_updata_le_param 
+:      021931 mouse_le_conn_param_lpm_disable:
+0x43c4 021932 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+0x43c5 021933 rtn 
+:      021935 mouse_le_conn_param_lpm_enable:
+0x43c6 021936 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0x43c7 021937 rtn 
+:      021939 mouse_le_bb_event_connect_complete:
+0x43c8 021940 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x43c9 021941 nrtn blank 
+0x43ca 021942 fetch 1 ,mem_le_att_handle 
+0x43cb 021943 sub pdata ,34 ,pdata 
+0x43cc 021944 nrtn zero 
+0x43cd 021945 jam 0 ,mem_le_start_encrypt_timer 
+:      021946 mouse_le_write_enable:
+0x43ce 021947 arg write_req_enable_flag ,queue 
+0x43cf 021948 branch mouse_le_enable_connect_flag 
+:      021950 mouse_le_parse_conn_param_accepted:
+0x43d0 021951 fetch 1 ,mem_le_new_conninterval 
+0x43d1 021952 sub pdata ,le_interval_15ms ,null 
+0x43d2 021953 nbranch mouse_le_conn_param_lpm_disable ,positive 
+0x43d3 021954 fetch 1 ,mem_le_new_connslavelatency 
+0x43d4 021955 fetcht 1 ,mem_lpm_mult_init 
+0x43d5 021956 isub temp ,null 
+0x43d6 021957 branch mouse_le_lpm_mult_reinit ,positive 
+0x43d7 021958 fetch 1 ,mem_le_new_connslavelatency 
+0x43d8 021959 store 1 ,mem_lpm_mult 
+0x43d9 021960 branch mouse_le_conn_param_lpm_enable 
+:      021961 mouse_le_lpm_mult_reinit:
+0x43da 021962 fetch 1 ,mem_lpm_mult_init 
+0x43db 021963 store 1 ,mem_lpm_mult 
+0x43dc 021964 branch mouse_le_conn_param_lpm_enable 
+:      021966 mouse_le_clean_connect_flag:
+0x43dd 021967 jam 0 ,mem_le_connect_status_flag 
+0x43de 021968 rtn 
+:      021970 mouse_le:
+0x43df 021971 bpatch patch1a_6 ,mem_patch1a 
+0x43e0 021972 call le_fifo_check_nearly_full 
+0x43e1 021973 nrtn blank 
+0x43e2 021974 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x43e3 021975 beq 0xff ,mouse_le_next 
+0x43e4 021976 fetch 1 ,mem_le_connect_status_flag 
+0x43e5 021977 and pdata ,0x03 ,pdata 
+0x43e6 021978 rtnne 0x03 
+:      021979 mouse_le_next:
+0x43e7 021980 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x43e8 021981 call mouse_clear_sensor_data_by_reset ,blank 
+0x43e9 021982 fetch mouse_flag_len ,mem_mouse_flag 
+0x43ea 021983 bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+0x43eb 021984 bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+0x43ec 021985 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+0x43ed 021986 bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+0x43ee 021987 call mouse_motion 
+0x43ef 021988 call mouse_check_125hz 
+0x43f0 021989 nrtn user 
+0x43f1 021990 call mouse_current_mult_update 
+0x43f2 021991 call mouse_data_xy_release 
+0x43f3 021992 call mouse_wheel_trigger 
+0x43f4 021993 fetch mouse_flag_len ,mem_mouse_flag 
+0x43f5 021994 bbit0 mouse_enable_keyboard ,mouse_le_send_mouse_data 
+0x43f6 021995 fetch 1 ,mem_customer_key 
+0x43f7 021996 beq 1 ,mouse_le_send_keyboard_package_data 
+:      021997 mouse_le_send_mouse_data:
+0x43f8 021998 branch mouse_fill_mouse_data_le 
+:      022001 mouse_le_send_keyboard_package_data:
+0x43f9 022002 fetch 1 ,mem_customer_data_trigger 
+0x43fa 022003 branch mouse_le_release_keyboard_data ,blank 
+0x43fb 022004 fetch 8 ,mem_customer_key_press + 1 
+:      022005 mouse_fill_keyboard_package_data_le:
+0x43fc 022006 store 8 ,mem_pdatatemp 
+0x43fd 022007 fetch 1 ,mem_customer_key_press 
+0x43fe 022008 beq kb_multikey_report_id ,mouse_fill_multimedia_key_data_le 
+0x43ff 022009 beq kb_system_conctrl_report_id ,mouse_fill_systemctrl_key_data_le 
+0x4400 022010 jam 8 ,mem_le_data_len 
+0x4401 022011 fetcht 2 ,mem_le_keyboard_handle 
+0x4402 022012 branch mouse_fill_data_le 
+:      022015 mouse_le_release_keyboard_data:
+0x4403 022016 fetch 8 ,mem_customer_key_release + 1 
+0x4404 022017 branch mouse_fill_keyboard_package_data_le 
+:      022019 mouse_fill_multimedia_key_data_le:
+0x4405 022020 jam 3 ,mem_le_data_len 
+0x4406 022021 fetcht 2 ,mem_le_multimedia_handle 
+0x4407 022022 branch mouse_fill_data_le 
+:      022024 mouse_fill_systemctrl_key_data_le:
+0x4408 022025 jam 2 ,mem_le_data_len 
+0x4409 022026 fetcht 2 ,mem_le_systemctrl_handle 
+0x440a 022027 branch mouse_fill_data_le 
+:      022029 mouse_fill_battery_level_le:
+0x440b 022030 arg 1 ,rega 
+0x440c 022031 fetcht 2 ,mem_le_battery_level_handle 
+0x440d 022032 call le_att_malloc_tx_notify 
+0x440e 022033 fetch 1 ,mem_le_battery_level_percentage 
+0x440f 022034 istore 1 ,contw 
+0x4410 022035 rtn 
+:      022038 mouse_le_send_empty_packet:
+0x4411 022039 setarg 0 
+0x4412 022040 store 7 ,mem_mouse_key 
+:      022041 mouse_fill_mouse_data_le:
+0x4413 022042 jam 7 ,mem_le_data_len 
+0x4414 022043 fetch 7 ,mem_mouse_key 
+0x4415 022044 store 7 ,mem_pdatatemp 
+0x4416 022045 fetcht 2 ,mem_le_notify_handle 
+0x4417 022046 branch mouse_fill_data_le 
+:      022048 mouse_fill_data_le:
+0x4418 022049 fetch 1 ,mem_le_data_len 
+0x4419 022050 copy pdata ,rega 
+0x441a 022051 call le_att_malloc_tx_notify 
+0x441b 022052 fetcht 1 ,mem_le_data_len 
+0x441c 022053 copy temp ,loopcnt 
+0x441d 022054 arg mem_pdatatemp ,contr 
+0x441e 022055 branch memcpy 
+:      022057 mouse_check_51cmd_adv:
+0x441f 022058 jam 0 ,mem_mouse_le_reconnect_flag 
+0x4420 022059 fetch 3 ,mem_le_adv_ind 
+0x4421 022060 store 3 ,mem_le_adv_data + 4 
+0x4422 022061 call mouse_le_check_adv_flag 
+0x4423 022062 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+0x4424 022063 istore 1 ,contr 
+0x4425 022064 arg mem_le_adv_swift_pair ,contr 
+0x4426 022065 call mouse_le_adv_data_update 
+0x4427 022066 branch check_51cmd_adv 
+:      022068 mouse_le_check_adv_flag:
+0x4428 022069 arg mem_le_adv_data ,rega 
+:      022070 mouse_le_check_adv_flag_loop:
+0x4429 022071 ifetch 1 ,rega 
+0x442a 022072 rtn blank 
+0x442b 022073 iadd contr ,rega 
+0x442c 022074 ifetch 1 ,contr 
+0x442d 022075 rtneq 0x01 
+0x442e 022076 branch mouse_le_check_adv_flag_loop 
+:      022078 mouse_le_adv_data_update:
+0x442f 022079 arg mem_le_adv_data + 11 ,contw 
+0x4430 022080 arg 19 ,loopcnt 
+0x4431 022081 call memcpy 
+0x4432 022082 branch le_modified_name_adv 
+:      022088 mouse_bt_sniff_param_interval_setup:
+0x4433 022089 setarg classic_interval_7_5ms 
+0x4434 022090 store 2 ,mem_sniff_param_interval 
+0x4435 022091 fetch mouse_flag_len ,mem_mouse_flag 
+0x4436 022092 rtnbit1 mouse_enable_bt_125hz 
+0x4437 022093 setarg classic_interval_8_75ms 
+0x4438 022094 store 2 ,mem_sniff_param_interval 
+0x4439 022095 rtn 
+:      022097 mouse_bb_event_connected:
+0x443a 022098 jam 0 ,mem_mouse_long_mult_flag 
+0x443b 022099 call mouse_init_sensor_reset 
+0x443c 022100 call mouse_24g_first_store_reconn_info 
+0x443d 022101 branch mouse_stop_discovery 
+:      022103 mouse_bb_disconnected:
+0x443e 022104 jam 0 ,mem_mouse_enter_sniff_count 
+0x443f 022105 jam 0 ,mem_mouse_bt_send_first_package_flag 
+0x4440 022106 call mouse_bt_sniff_param_interval_setup 
+0x4441 022107 call mouse_bb_discon_clear_stack 
+0x4442 022108 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x4443 022109 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+0x4444 022110 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x4445 022111 bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+0x4446 022112 bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+0x4447 022113 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x4448 022114 branch mouse_start_discovery 
+:      022115 mouse_bb_discon_clear_stack:
+0x4449 022116 setarg 0 
+0x444a 022117 store 8 ,mem_wheel_tb_old_pinlevel 
+0x444b 022118 istore 4 ,contw 
+0x444c 022119 jam 0 ,mem_mouse_move_flag 
+0x444d 022120 jam app_handshake_null ,mem_app_handshake_flag 
+0x444e 022121 jam 0 ,mem_ltk_exists 
+0x444f 022122 rtn 
+:      022124 mouse4_0_event_bb_disconn:
+0x4450 022125 call mouse_le_clean_connect_flag 
+0x4451 022126 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x4452 022127 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x4453 022128 branch mouse_app_enter_hibernate 
+:      022131 mouse_event_light_state_pairing:
+0x4454 022132 bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+0x4455 022133 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x4456 022134 branch mouse_start_discovery 
+:      022135 mouse_event_light_state_hibernate:
+0x4457 022136 fetch 2 ,mem_ui_state_map 
+0x4458 022137 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x4459 022138 call app_disconn_reason_clear 
+0x445a 022140 call mouse_key_check_once 
+0x445b 022141 call mouse_commbination_key_process 
+0x445c 022142 fetch 1 ,mem_commbination_key_statue 
+0x445d 022143 beq commbination_key_state_down ,mouse_delay_enter_hibernata 
+0x445e 022145 fetch 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0x445f 022146 nrtn blank 
+0x4460 022147 branch mouse_app_enter_hibernate 
+:      022150 mouse_bt_event_setup_complete:
+0x4461 022151 rtn 
+:      022153 mouse_bt_send_first_package_timer_init:
+0x4462 022154 jam 4 ,mem_mouse_bt_send_first_package_timer 
+0x4463 022155 rtn 
+:      022157 mouse_bt_hid_handshake:
+0x4464 022158 jam app_handshake_done ,mem_app_handshake_flag 
+0x4465 022159 call app_lpm_mult_enable 
+0x4466 022160 call app_bt_store_reconn_info 
+0x4467 022161 setarg 0 
+0x4468 022162 store 2 ,mem_discovery_timeout_timer_count 
+0x4469 022163 store 1 ,mem_hid_handshake_timer_count 
+0x446a 022164 call mouse_bt_send_first_package_timer_init 
+0x446b 022165 branch app_bt_enter_sniff 
+:      022167 mouse_bt_hid_handshake_boot_check:
+0x446c 022168 jam 0 ,mem_mouse_bt_boot_mode 
+0x446d 022169 fetch 1 ,mem_l2cap_rcv_hidtype 
+0x446e 022170 isolate1 0 ,pdata 
+0x446f 022171 rtn true 
+0x4470 022172 jam 1 ,mem_mouse_bt_boot_mode 
+0x4471 022173 rtn 
+:      022176 mouse_bb_event_reconn_timeout:
+:      022177 mouse_bb_event_reconn_failed:
+0x4472 022178 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x4473 022179 beq 0xff ,mouse_buletooth_fast_conn_end 
+0x4474 022180 fetch 2 ,mem_ui_state_map 
+0x4475 022181 rtnbit1 ui_state_btn_down 
+0x4476 022182 rtnbit1 ui_state_bt_discovery 
+0x4477 022183 rtnbit1 ui_state_ble_adv 
+0x4478 022184 fetch mouse_flag_len ,mem_mouse_flag 
+0x4479 022185 rtnbit1 mouse_bt_discovery_button_down_flag 
+0x447a 022186 bbit1 mouse_enable_bt_reconnect_timeout_enter_discovery ,mouse_start_discovery 
+0x447b 022187 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_bb_event_reconn_timeout 
+0x447c 022188 branch mouse_app_enter_hibernate 
+:      022190 mouse_enter_sniff_check:
+0x447d 022191 fetch 1 ,mem_mouse_enter_sniff_count 
+0x447e 022192 rtnne 2 
+0x447f 022193 jam 0 ,mem_mouse_enter_sniff_count 
+0x4480 022194 call mouse_bt_sniff_param_interval_setup 
+0x4481 022195 call mouse_bt_send_first_package_timer_init 
+0x4482 022196 branch app_bt_enter_sniff 
+:      022198 mouse_sniff_not_accept:
+0x4483 022199 fetch 1 ,mem_mouse_enter_sniff_count 
+0x4484 022200 rtneq 2 
+0x4485 022201 increase 1 ,pdata 
+0x4486 022202 store 1 ,mem_mouse_enter_sniff_count 
+0x4487 022203 jam 0x12 ,mem_sniff_param_interval 
+0x4488 022204 call mouse_bt_send_first_package_timer_init 
+0x4489 022205 branch app_bt_enter_sniff 
+:      022207 mouse_bb_event_pincode:
+0x448a 022208 call pincode_reinit 
+0x448b 022209 branch app_bt_set_pincode 
+:      022211 mouse_irtual_cable_unplug:
+0x448c 022212 setarg 0x01 
+0x448d 022213 store 6 ,mem_plap 
+0x448e 022214 jam rec_3_mode ,mem_record_bt_mode 
+0x448f 022215 branch mouse_unplug_clean_bdaddr 
+:      022217 mouse_irtual_cable_unplug1:
+0x4490 022218 setarg -1 
+0x4491 022219 store 6 ,mem_plap 
+0x4492 022220 jam rec_3_mode ,mem_record_bt_mode 
+0x4493 022221 jam 0xff ,mem_mouse_bluetooth_fast_conn_flag 
+0x4494 022222 call mouse_before_store_reconn_info 
+0x4495 022223 jam 0xff ,mem_device1_type 
+0x4496 022224 branch mouse_store_device_info_delay 
+:      022226 mouse_bt:
+0x4497 022227 bpatch patch1a_7 ,mem_patch1a 
+0x4498 022228 rtn attempt 
+0x4499 022229 fetch 1 ,mem_app_handshake_flag 
+0x449a 022230 rtn blank 
+0x449b 022231 call l2cap_malloc_is_fifo_nearly_full 
+0x449c 022232 nrtn blank 
+0x449d 022233 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x449e 022234 beq 0xff ,mouse_bt_fast_conn_send_device_name 
+0x449f 022235 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x44a0 022236 call mouse_clear_sensor_data_by_reset ,blank 
+0x44a1 022237 fetch mouse_flag_len ,mem_mouse_flag 
+0x44a2 022238 bbit1 mouse_24g_pairing_flag ,mouse_send_empty_data 
+0x44a3 022239 bbit1 mouse_select_device_flag ,mouse_send_empty_data 
+0x44a4 022240 bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+0x44a5 022241 bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+0x44a6 022242 call mouse_motion 
+0x44a7 022243 call mouse_check_125hz 
+0x44a8 022244 nrtn user 
+0x44a9 022245 call mouse_current_mult_update 
+0x44aa 022246 call mouse_data_xy_release 
+0x44ab 022247 call mouse_wheel_trigger 
+0x44ac 022248 fetch 1 ,mem_mouse_bt_boot_mode 
+0x44ad 022249 beq 1 ,mouse_send_data_boot_mode 
+0x44ae 022250 fetch 1 ,mem_mouse_bt_send_first_package_flag 
+0x44af 022251 rtn blank 
+0x44b0 022252 fetch mouse_flag_len ,mem_mouse_flag 
+0x44b1 022253 bbit0 mouse_enable_keyboard ,mouse_send_data 
+0x44b2 022254 fetch 1 ,mem_customer_key 
+0x44b3 022255 beq 1 ,mouse_bt_send_keyboard_packet 
+:      022256 mouse_send_data:
+0x44b4 022257 arg 9 ,rega 
+0x44b5 022258 call hid_malloc_tx_buff 
+0x44b6 022259 fetch 2 ,mem_hid_int_remote_cid 
+0x44b7 022260 istore 2 ,contw 
+0x44b8 022261 setarg 0x02a1 
+0x44b9 022262 istore 2 ,contw 
+0x44ba 022263 fetch 7 ,mem_mouse_key 
+0x44bb 022264 istore 7 ,contw 
+0x44bc 022265 rtn 
+:      022267 mouse_send_data_boot_mode:
+0x44bd 022268 fetch 1 ,mem_mouse_key 
+0x44be 022269 store 1 ,mem_mouse_bt_boot_data 
+0x44bf 022270 fetch 1 ,mem_mouse_x 
+0x44c0 022271 istore 1 ,contw 
+0x44c1 022272 fetch 1 ,mem_mouse_y 
+0x44c2 022273 istore 1 ,contw 
+0x44c3 022274 fetch 2 ,mem_mouse_z 
+0x44c4 022275 istore 2 ,contw 
+0x44c5 022276 arg 7 ,rega 
+0x44c6 022277 call hid_malloc_tx_buff 
+0x44c7 022278 fetch 2 ,mem_hid_int_remote_cid 
+0x44c8 022279 istore 2 ,contw 
+0x44c9 022280 setarg 0x02a1 
+0x44ca 022281 istore 2 ,contw 
+0x44cb 022282 fetch 5 ,mem_mouse_bt_boot_data 
+0x44cc 022283 istore 5 ,contw 
+0x44cd 022284 rtn 
+:      022286 mouse_send_empty_data:
+0x44ce 022287 setarg 0 
+0x44cf 022288 store 7 ,mem_mouse_key 
+0x44d0 022289 branch mouse_send_data 
+:      022292 mouse_bt_send_keyboard_packet:
+0x44d1 022293 fetch 1 ,mem_customer_data_trigger 
+0x44d2 022294 branch mouse_bt_release_keyboard_data ,blank 
+0x44d3 022295 fetch 8 ,mem_customer_key_press + 1 
+:      022296 mouse_bt_send_keyboard_data:
+0x44d4 022297 store 8 ,mem_pdatatemp 
+0x44d5 022298 fetch 1 ,mem_customer_key_press 
+0x44d6 022299 beq kb_multikey_report_id ,mouse_bt_send_multimedia_key_data 
+0x44d7 022300 beq kb_system_conctrl_report_id ,mouse_bt_send_systemctrl_key_data 
+0x44d8 022301 arg 10 ,rega 
+0x44d9 022302 call hid_malloc_tx_buff 
+0x44da 022303 fetch 2 ,mem_hid_int_remote_cid 
+0x44db 022304 istore 2 ,contw 
+0x44dc 022305 setarg 0x01a1 
+0x44dd 022306 istore 2 ,contw 
+0x44de 022307 fetch 8 ,mem_pdatatemp 
+0x44df 022308 istore 8 ,contw 
+0x44e0 022309 rtn 
+:      022311 mouse_bt_send_multimedia_key_data:
+0x44e1 022312 arg 4 ,rega 
+0x44e2 022313 call hid_malloc_tx_buff 
+0x44e3 022314 fetch 2 ,mem_hid_int_remote_cid 
+0x44e4 022315 istore 2 ,contw 
+0x44e5 022316 setarg 0x03a1 
+0x44e6 022317 istore 2 ,contw 
+0x44e7 022318 fetch 2 ,mem_pdatatemp 
+0x44e8 022319 istore 2 ,contw 
+0x44e9 022320 rtn 
+:      022322 mouse_bt_send_systemctrl_key_data:
+0x44ea 022323 arg 3 ,rega 
+0x44eb 022324 call hid_malloc_tx_buff 
+0x44ec 022325 fetch 2 ,mem_hid_int_remote_cid 
+0x44ed 022326 istore 2 ,contw 
+0x44ee 022327 setarg 0x04a1 
+0x44ef 022328 istore 2 ,contw 
+0x44f0 022329 fetch 1 ,mem_pdatatemp 
+0x44f1 022330 istore 1 ,contw 
+0x44f2 022331 rtn 
+:      022333 mouse_bt_release_keyboard_data:
+0x44f3 022334 fetch 8 ,mem_customer_key_release + 1 
+0x44f4 022335 branch mouse_bt_send_keyboard_data 
+:      022341 mouse_bb_event_timer:
+0x44f5 022342 bpatch patch1b_0 ,mem_patch1b 
+0x44f6 022343 call mouse_adc_read 
+0x44f7 022344 call mouse_low_voltage_led_timer 
+0x44f8 022346 call g24_pair_timeout_timer 
+0x44f9 022347 call g24_reconn_timeout_timer 
+0x44fa 022348 call mouse_24g_long_sleep_param_update_timer 
+0x44fb 022350 call mouse_device_poweron_timer 
+0x44fc 022351 call mouse_dpi_led_blink_delay_timer 
+0x44fd 022353 call mouse_dpi_key_check_long_press 
+0x44fe 022354 call mouse_bt_discovery_check 
+0x44ff 022355 call mouse_commbination_key_process 
+0x4500 022356 call mouse_check_discovery_timeout_timer 
+0x4501 022358 call mouse_check_direct_timeout_timer 
+0x4502 022359 call mouse_le_enable_att_list_timer 
+0x4503 022360 call mouse_le_battery_updata_timer 
+0x4504 022361 call mouse_le_send_smp_security_request_timer 
+0x4505 022363 call mouse_check_hid_handshake_timer 
+0x4506 022364 call mouse_bt_check_sniff_req_timeout_timer 
+0x4507 022365 call mouse_check_reconnect_delay_long_sleep 
+0x4508 022366 call mouse_current_mult_update_timer 
+0x4509 022367 call mouse_wheel_trigger_timer 
+0x450a 022368 call mouse_store_information_delay_timer 
+0x450b 022369 branch mouse_check_no_data_timeout_timer 
+:      022374 mouse_bt_discovery_check:
+0x450c 022375 fetch mouse_flag_len ,mem_mouse_flag 
+0x450d 022376 bbit1 mouse_enable_pb_button_long_press_disconvery ,mouse_bt_discovery_by_pb_button 
+0x450e 022377 rtn 
+:      022379 mouse_bt_discovery_by_pb_button:
+0x450f 022380 fetch 1 ,mem_select_device_button_statue 
+0x4510 022381 rtnne pb_button_state_down 
+0x4511 022382 arg mem_bt_discovery_count ,regc 
+0x4512 022383 arg mouse_long_button_bt_discovery ,regb 
+0x4513 022384 branch timer_single_step 
+:      022386 mouse_long_button_bt_discovery:
+0x4514 022387 fetch 1 ,mem_device_flag 
+0x4515 022388 rtneq mode_24g_device 
+0x4516 022389 fetch mouse_flag_len ,mem_mouse_flag 
+0x4517 022390 rtnbit1 mouse_bt_discovery_button_long_down_flag 
+0x4518 022391 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0x4519 022392 call mouse_enable_function_flag 
+0x451a 022393 call app_evt_button_long_pressed 
+0x451b 022394 branch mouse_bb_event_discovery_btn 
+:      022397 mouse_commbination_key_process:
+0x451c 022398 fetch 1 ,mem_device_flag 
+0x451d 022399 beq mode_24g_device ,mouse_24g_commbination_key_process 
+0x451e 022400 fetch mouse_flag_len ,mem_mouse_flag 
+0x451f 022401 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0x4520 022402 fetcht 1 ,mem_mouse_commbination_key_bt 
+0x4521 022403 branch mouse_commbination_key_start 
+:      022405 mouse_24g_commbination_key_process:
+0x4522 022406 fetch mouse_flag_len ,mem_mouse_flag 
+0x4523 022407 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0x4524 022408 fetcht 1 ,mem_mouse_commbination_key_24g 
+:      022409 mouse_commbination_key_start:
+0x4525 022410 storet 1 ,mem_mouse_commbination_key 
+0x4526 022411 call mouse_check_key_gpio 
+0x4527 022412 and pdata ,0x07 ,pdata 
+0x4528 022413 fetcht 1 ,mem_mouse_commbination_key 
+0x4529 022414 isub temp ,null 
+0x452a 022415 branch mouse_commbination_key_down ,zero 
+:      022416 mouse_commbination_key_up:
+0x452b 022417 fetch 1 ,mem_ui_button_timeout 
+0x452c 022418 store 1 ,mem_combination_ui_button_count 
+0x452d 022419 fetch 1 ,mem_commbination_key_statue 
+0x452e 022420 rtneq commbination_key_state_up 
+0x452f 022421 jam commbination_key_state_up ,mem_commbination_key_statue 
+0x4530 022422 rtn 
+:      022424 mouse_commbination_key_down:
+0x4531 022425 call mouse_combination_ui_timer 
+0x4532 022426 fetch 1 ,mem_commbination_key_statue 
+0x4533 022427 rtneq commbination_key_state_down 
+0x4534 022428 jam commbination_key_state_down ,mem_commbination_key_statue 
+0x4535 022429 branch check_51cmd_bb_reconn_cancel 
+:      022432 mouse_combination_ui_timer:
+0x4536 022433 arg mouse_24g_start_pair_mode ,regb 
+0x4537 022434 arg mem_combination_ui_button_count ,regc 
+0x4538 022435 fetch 1 ,mem_device_flag 
+0x4539 022436 beq mode_24g_device ,timer_single_step 
+0x453a 022437 arg mouse_long_button_bt_discovery ,regb 
+0x453b 022438 call timer_single_step 
+0x453c 022439 fetch 1 ,mem_combination_ui_button_count 
+0x453d 022440 beq 1 ,mouse_bt_discovery_button_down_enable 
+0x453e 022441 rtn 
+:      022445 mouse_check_discovery_timeout_timer:
+0x453f 022446 arg mem_mouse_discovery_timer ,regc 
+0x4540 022447 arg mouse_check_discovery_timeout ,regb 
+0x4541 022448 branch timer_single_step_2b 
+:      022450 mouse_check_discovery_timeout:
+0x4542 022451 call mouse_stop_discovery 
+0x4543 022452 branch mouse_app_enter_hibernate 
+:      022455 mouse_check_direct_timeout_timer:
+0x4544 022456 arg mem_mouse_direct_timer ,regc 
+0x4545 022457 arg mouse_check_direct_timeout ,regb 
+0x4546 022458 call timer_single_step_2b 
+0x4547 022459 fetch 1 ,mem_mouse_direct_timer 
+0x4548 022460 beq 1 ,app_ble_stop_direct_adv 
+0x4549 022461 rtn 
+:      022463 mouse_check_direct_timeout:
+0x454a 022464 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x454b 022465 beq 0xff ,mouse_buletooth_fast_conn_end 
+0x454c 022466 fetch 1 ,mem_reconn_times 
+0x454d 022467 nbranch mouse_polling_device ,blank 
+0x454e 022468 fetch mouse_flag_len ,mem_mouse_flag 
+0x454f 022469 bbit1 mouse_enable_bt_reconnect_timeout_enter_discovery ,mouse_start_discovery 
+0x4550 022470 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_bb_event_reconn_timeout 
+0x4551 022471 branch mouse_app_enter_hibernate 
+:      022473 mouse_le_enable_att_list_timer:
+0x4552 022474 arg mem_le_start_encrypt_timer ,regc 
+0x4553 022475 arg mouse_le_write_enable ,regb 
+0x4554 022476 branch timer_single_step 
+:      022478 mouse_le_send_smp_security_request_timer:
+0x4555 022479 fetch 1 ,mem_mouse_le_bb_connected_flag 
+0x4556 022480 rtn blank 
+0x4557 022481 arg mem_mouse_send_secutiry_request_timer ,regc 
+0x4558 022482 arg mouse_le_pairing_sm_start_check ,regb 
+0x4559 022483 branch timer_single_step 
+:      022484 mouse_le_pairing_sm_start_check:
+0x455a 022485 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x455b 022486 nrtn blank 
+0x455c 022487 fetch 1 ,mem_le_pairing_state 
+0x455d 022488 rtnne flag_le_pairing_null 
+0x455e 022489 branch le_pairing_sm_start 
+:      022491 mouse_le_battery_updata_timer:
+0x455f 022492 arg mem_le_battery_level_updata_timer ,regc 
+0x4560 022493 arg mouse_le_battery_level_updata ,regb 
+0x4561 022494 branch timer_single_step 
+:      022496 mouse_le_battery_level_updata:
+0x4562 022497 fetch 2 ,mem_le_battery_level_updata_timer_init 
+0x4563 022498 store 2 ,mem_le_battery_level_updata_timer 
+0x4564 022499 branch mouse_fill_battery_level_le 
+:      022501 mouse_le_enable_att_list:
+0x4565 022502 fetch 1 ,mem_le_connect_status_flag 
+0x4566 022503 rtnbit1 ll_pairing_success_flag 
+0x4567 022504 call mouse_updata_le_param 
+0x4568 022505 arg write_req_enable_flag ,queue 
+0x4569 022506 branch mouse_le_enable_connect_flag 
+:      022508 mouse_check_hid_handshake_timer:
+0x456a 022509 arg mem_hid_handshake_timer_count ,regc 
+0x456b 022510 arg mouse_bt_hid_handshake ,regb 
+0x456c 022511 branch timer_single_step 
+:      022513 mouse_bt_check_sniff_req_timeout_timer:
+0x456d 022514 arg mem_mouse_bt_send_first_package_timer ,regc 
+0x456e 022515 arg mouse_bt_send_first_package ,regb 
+0x456f 022516 branch timer_single_step 
+:      022517 mouse_bt_send_first_package:
+0x4570 022518 jam 1 ,mem_mouse_bt_send_first_package_flag 
+0x4571 022519 rtn 
+:      022521 mouse_check_reconnect_delay_long_sleep:
+0x4572 022522 arg mem_mouse_bluetooth_reconnect_timeout ,regc 
+0x4573 022523 arg mouse_app_enter_hibernate ,regb 
+0x4574 022524 branch timer_single_step 
+:      022527 mouse_current_mult_update_timer:
+0x4575 022528 arg mem_mouse_current_mult_timer ,regc 
+0x4576 022529 arg mouse_current_mult_reinit ,regb 
+0x4577 022530 branch timer_single_step 
+:      022531 mouse_current_mult_reinit:
+0x4578 022532 fetch 1 ,mem_lpm_mult_init 
+0x4579 022533 store 1 ,mem_lpm_mult 
+0x457a 022534 jam 1 ,mem_mouse_long_mult_flag 
+0x457b 022535 rtn 
+:      022538 mouse_check_no_data_timeout_timer:
+0x457c 022539 fetch 1 ,mem_usb_addr 
+0x457d 022540 rtnbit1 7 
+0x457e 022541 arg mem_mouse_no_data_timer ,regc 
+0x457f 022542 arg mouse_check_no_data_timeout ,regb 
+0x4580 022543 branch timer_single_step_2b 
+:      022545 mouse_check_no_data_timeout:
+0x4581 022546 fetch 1 ,mem_device_flag 
+0x4582 022547 beq mode_24g_device ,mouse_24g_hibernate_set 
+0x4583 022548 branch mouse_disconnect 
+:      022550 mouse_no_data_timer_init:
+0x4584 022551 fetch 2 ,mem_mouse_no_data_timeout 
+0x4585 022552 store 2 ,mem_mouse_no_data_timer 
+0x4586 022553 rtn 
+:      022555 mouse_store_information_delay_timer:
+0x4587 022556 arg mem_store_information_delay_timer ,regc 
+0x4588 022557 arg mouse_store_device_info_check ,regb 
+0x4589 022558 branch timer_single_step 
+:      022560 mouse_store_device_info_check:
+0x458a 022561 call mouse_store_device_info 
+0x458b 022562 fetch 1 ,mem_mouse_need_soft_reset 
+0x458c 022563 nbranch mouse_soft_reset ,blank 
+0x458d 022564 rtn 
+:      022566 mouse_bb_event_discovery_btn:
+0x458e 022567 isolate1 mark_24g ,mark 
+0x458f 022568 call mouse_24g_stop ,true 
+0x4590 022569 call mouse_disconnect 
+0x4591 022570 call mouse_le_clean_connect_flag 
+0x4592 022571 branch mouse_start_discovery 
+:      022573 mouse_start_discovery:
+0x4593 022574 bpatch patch1b_1 ,mem_patch1b 
+0x4594 022575 call mouse_bluetooth_fast_conn_disable 
+0x4595 022576 fetch 2 ,mem_ui_state_map 
+0x4596 022577 bbit1 ui_state_ble_adv ,mouse_start_discovery_norandom 
+0x4597 022578 fetch mouse_flag_len ,mem_mouse_flag 
+0x4598 022579 bbit0 mouse_enable_ble_random_addre ,mouse_start_discovery_norandom 
+0x4599 022580 fetcht 2 ,mem_random_addr_increase_count 
+0x459a 022581 increase 1 ,temp 
+0x459b 022582 storet 2 ,mem_random_addr_increase_count 
+0x459c 022583 storet 2 ,mem_le_lap + 1 
+0x459d 022584 random pdata 
+0x459e 022585 store 1 ,mem_le_lap 
+:      022586 mouse_start_discovery_norandom:
+0x459f 022587 fetch 3 ,mem_mouse_le_lap_temp 
+0x45a0 022588 store 3 ,mem_le_lap + 3 
+0x45a1 022589 call app_lpm_mult_disable 
+0x45a2 022590 fetch 2 ,mem_discovery_timeout 
+0x45a3 022591 store 2 ,mem_mouse_discovery_timer 
+0x45a4 022592 jam 6 ,mem_connection_options 
+0x45a5 022593 setarg 0 
+0x45a6 022594 store 2 ,mem_mouse_no_data_timer 
+0x45a7 022595 store 1 ,mem_mouse_direct_timer 
+0x45a8 022596 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0x45a9 022597 store 1 ,mem_mouse_device_poweron_timer_count 
+0x45aa 022598 store 1 ,mem_mouse_clear_sensor_data_flag 
+0x45ab 022599 arg mouse_store_eeprom_flag ,queue 
+0x45ac 022600 call mouse_enable_function_flag 
+0x45ad 022601 call mouse_bt_discovery_button_down_disable 
+0x45ae 022602 fetch 1 ,mem_mouse_bluetooth_type 
+0x45af 022603 isolate1 mode_4_mouse ,pdata 
+0x45b0 022604 call mouse_check_51cmd_adv ,true 
+0x45b1 022605 fetch 1 ,mem_mouse_bluetooth_type 
+0x45b2 022606 isolate1 mode_3_mouse ,pdata 
+0x45b3 022607 call check_51cmd_start_discovery ,true 
+0x45b4 022608 call mouse_low_voltage_led_blink_disable 
+0x45b5 022609 branch mouse_discover_setting_led_gpio 
+:      022612 mouse_stop_discovery:
+0x45b6 022613 bpatch patch1b_2 ,mem_patch1b 
+0x45b7 022614 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0x45b8 022615 call mouse_disable_function_flag 
+0x45b9 022616 jam 0 ,mem_mouse_bluetooth_reconnect_timeout 
+0x45ba 022617 fetch 1 ,mem_mouse_bluetooth_type 
+0x45bb 022618 isolate1 mode_4_mouse ,pdata 
+0x45bc 022619 call mouse_stop_le_adv ,true 
+0x45bd 022620 fetch 1 ,mem_mouse_bluetooth_type 
+0x45be 022621 isolate1 mode_3_mouse ,pdata 
+0x45bf 022622 call mouse_stop_bt3_discovery ,true 
+0x45c0 022623 branch mouse_device_led_off 
+:      022624 mouse_stop_le_adv:
+0x45c1 022625 jam 0 ,mem_mouse_direct_timer 
+0x45c2 022626 branch check_51cmd_stop_adv 
+:      022627 mouse_stop_bt3_discovery:
+0x45c3 022628 setarg 0 
+0x45c4 022629 store 2 ,mem_mouse_discovery_timer 
+0x45c5 022630 branch check_51cmd_stop_discovery 
+:      022632 mouse_store_remote_bdaddr:
+0x45c6 022633 bpatch patch1b_3 ,mem_patch1b 
+0x45c7 022634 fetch mouse_flag_len ,mem_mouse_flag 
+0x45c8 022635 rtnbit0 mouse_store_eeprom_flag 
+0x45c9 022636 call mouse_device_poweron_timer_init 
+0x45ca 022637 arg mouse_store_eeprom_flag ,queue 
+0x45cb 022638 call mouse_disable_function_flag 
+0x45cc 022639 call mouse_check_device_addr 
+:      022640 mouse_unplug_clean_bdaddr:
+0x45cd 022641 call mouse_before_store_reconn_info 
+0x45ce 022642 branch mouse_store_device_info_delay 
+:      022645 mouse_check_device_addr:
+0x45cf 022646 fetch 1 ,mem_record_bt_mode 
+0x45d0 022647 beq rec_4_mode ,mouse_check_le_device_addr 
+0x45d1 022648 beq rec_3_mode ,mouse_check_bt_device_addr 
+0x45d2 022649 rtn 
+:      022650 mouse_check_le_device_addr:
+0x45d3 022651 store 1 ,mem_device_addr_temp 
+0x45d4 022652 fetch 6 ,mem_le_plap 
+0x45d5 022653 branch mouse_check_bt_device_addr_common 
+:      022654 mouse_check_bt_device_addr:
+0x45d6 022655 store 1 ,mem_device_addr_temp 
+0x45d7 022656 fetch 6 ,mem_plap 
+:      022657 mouse_check_bt_device_addr_common:
+0x45d8 022658 store 6 ,mem_device_addr_temp + 1 
+0x45d9 022659 fetch 7 ,mem_device_addr_temp 
+0x45da 022660 arg mem_device1_type ,contr 
+0x45db 022661 arg 3 ,loopcnt 
+:      022662 mouse_check_device_addr_end:
+0x45dc 022663 ifetcht 7 ,contr 
+0x45dd 022664 isub temp ,null 
+0x45de 022665 branch mouse_clean_addr ,zero 
+0x45df 022666 increase 22 ,contr 
+0x45e0 022667 loop mouse_check_device_addr_end 
+0x45e1 022668 rtn 
+:      022669 mouse_before_store_reconn_info:
+0x45e2 022670 arg mem_device1_type ,rega 
+0x45e3 022671 fetch 1 ,mem_device_flag 
+0x45e4 022672 increase -1 ,pdata 
+0x45e5 022673 mul32 pdata ,29 ,pdata 
+0x45e6 022674 iadd rega ,rega 
+0x45e7 022675 fetch 1 ,mem_record_bt_mode 
+0x45e8 022676 istore 1 ,rega 
+0x45e9 022677 beq rec_4_mode ,mouse_store_le_device 
+0x45ea 022678 beq rec_3_mode ,mouse_store_bt_device 
+0x45eb 022679 rtn 
+:      022681 mouse_store_le_device:
+0x45ec 022682 fetch 6 ,mem_le_plap 
+0x45ed 022683 istore 6 ,contw 
+0x45ee 022684 arg mem_le_ltk ,contr 
+0x45ef 022685 call memcpy16 
+0x45f0 022686 fetch 6 ,mem_le_lap 
+0x45f1 022687 istore 6 ,contw 
+0x45f2 022688 rtn 
+:      022689 mouse_store_bt_device:
+0x45f3 022690 fetch 6 ,mem_plap 
+0x45f4 022691 istore 6 ,contw 
+0x45f5 022692 arg mem_link_key ,contr 
+0x45f6 022693 branch memcpy16 
+:      022695 mouse_clean_addr:
+0x45f7 022696 increase -6 ,contr 
+0x45f8 022697 copy contr ,contw 
+0x45f9 022698 fetcht 6 ,mem_device_addr_temp + 1 
+0x45fa 022699 increase 3 ,temp 
+0x45fb 022700 istoret 6 ,contw 
+0x45fc 022701 rtn 
+:      022703 mouse_select_reconn_device:
+0x45fd 022704 arg mem_device1_type ,rega 
+0x45fe 022705 fetch 1 ,mem_device_flag 
+0x45ff 022706 rtneq mode_24g_device 
+0x4600 022707 increase -1 ,pdata 
+0x4601 022708 mul32 pdata ,29 ,pdata 
+0x4602 022709 iadd rega ,rega 
+0x4603 022710 ifetch 1 ,rega 
+0x4604 022711 store 1 ,mem_xrecord_mode 
+0x4605 022712 beq rec_3_mode ,mouse_load_bt_device 
+0x4606 022713 beq rec_4_mode ,mouse_load_le_device 
+0x4607 022714 rtn 
+:      022716 mouse_load_bt_device:
+0x4608 022717 ifetch 6 ,contr 
+:      022718 mouse_load_bt_device_end:
+0x4609 022719 store 6 ,mem_hci_plap 
+0x460a 022720 arg mem_link_key ,contw 
+0x460b 022721 call memcpy16 
+0x460c 022722 branch check_link_key_load 
+:      022724 mouse_load_le_device:
+0x460d 022725 ifetch 6 ,contr 
+:      022726 mouse_load_le_device_end:
+0x460e 022727 store 6 ,mem_hci_plap 
+0x460f 022728 arg mem_le_ltk ,contw 
+0x4610 022729 call memcpy16 
+0x4611 022730 ifetch 6 ,contr 
+0x4612 022731 store 6 ,mem_le_lap 
+0x4613 022732 rtn 
+:      022736 mouse_app_initflag_check:
+0x4614 022737 fetch 2 ,mem_store_flag 
+0x4615 022738 arg eeprom_init_flag ,temp 
+0x4616 022739 isub temp ,null 
+0x4617 022740 branch mouse_load_device_info ,zero 
+0x4618 022741 storet 2 ,mem_store_flag 
+0x4619 022742 call mouse_ble_init_address 
+0x461a 022743 fetch 1 ,mem_device_flag_temp 
+0x461b 022744 store 1 ,mem_device_flag 
+0x461c 022745 fetch 1 ,mem_config_sensor_dpi 
+0x461d 022746 store 1 ,mem_mouse_dpi 
+0x461e 022747 fetch 4 ,mem_24g_fast_conn_addr 
+0x461f 022748 store 4 ,mem_24g_receiver_addr 
+0x4620 022749 store 4 ,mem_24g_addr 
+0x4621 022750 rtn 
+:      022752 mouse_load_device_info:
+0x4622 022753 call mouse_select_reconn_device 
+0x4623 022754 fetch 4 ,mem_mouse_24g_addr 
+0x4624 022755 store 4 ,mem_24g_receiver_addr 
+0x4625 022756 store 4 ,mem_24g_addr 
+0x4626 022757 rtn 
+:      022759 mouse_ble_init_address:
+0x4627 022760 fetch 6 ,mem_le_lap 
+0x4628 022761 store 6 ,mem_device1_locall_addr 
+0x4629 022762 add pdata ,0x0100 ,pdata 
+0x462a 022763 store 6 ,mem_device2_locall_addr 
+0x462b 022764 add pdata ,0x0100 ,pdata 
+0x462c 022765 store 6 ,mem_device3_locall_addr 
+0x462d 022766 rtn 
+:      022769 mouse_store_device_info_delay:
+0x462e 022770 fetch 1 ,mem_store_information_delay_timer_init 
+0x462f 022771 store 1 ,mem_store_information_delay_timer 
+0x4630 022772 rtn 
+:      022774 mouse_store_device_info:
+0x4631 022775 bpatch patch1b_4 ,mem_patch1b 
+0x4632 022776 fetch mouse_flag_len ,mem_mouse_flag 
+0x4633 022777 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+0x4634 022778 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+0x4635 022779 rtn 
+:      022781 mouse_load_flash_info_check:
+0x4636 022782 call spid_init_flash 
+0x4637 022783 call mouse_spid_flash_release_form_powerdown 
+0x4638 022784 call mouse_information_flash_parameters 
+0x4639 022785 call spid_read_flash 
+0x463a 022786 call mouse_spid_flash_powerdown 
+0x463b 022787 call mouse_app_initflag_check 
+0x463c 022788 branch mouse_sensor_spi_init 
+:      022791 mouse_information_flash_parameters:
+0x463d 022792 setarg mem_mouse_information_end 
+0x463e 022793 arg mem_mouse_information_start ,temp 
+0x463f 022794 isub temp ,temp 
+0x4640 022795 fetch 3 ,mem_flash_base 
+0x4641 022796 arg mem_mouse_information_start ,rega 
+0x4642 022797 rtn 
+:      022799 mouse_store_flash_device_info:
+0x4643 022800 call spid_init_flash 
+0x4644 022801 call mouse_spid_flash_release_form_powerdown 
+0x4645 022802 call mouse_flash_erase_sector 
+0x4646 022804 call mouse_information_flash_parameters 
+0x4647 022805 call mouse_spid_write_flash 
+0x4648 022806 call mouse_spid_flash_powerdown 
+0x4649 022807 branch mouse_sensor_spi_init 
+:      022809 mouse_spid_flash_release_form_powerdown:
+0x464a 022810 jam flash_command_release_from_powerdown ,mem_temp 
+:      022811 mouse_spid_write_flash_cmd:
+0x464b 022812 call delay_nop100 
+0x464c 022813 call spid_unlock_flash 
+0x464d 022814 arg mem_write_flash_head_temp ,rega 
+0x464e 022815 fetcht 1 ,mem_temp 
+0x464f 022816 call mouse_spid_write_flash_cmd_common 
+0x4650 022817 branch delay_nop100 
+:      022819 mouse_spid_flash_powerdown:
+0x4651 022820 jam flash_command_powerdown ,mem_temp 
+0x4652 022821 branch mouse_spid_write_flash_cmd 
+:      022823 mouse_spid_write_flash_cmd_common:
+0x4653 022824 istoret 1 ,rega 
+0x4654 022825 rshift16 pdata ,temp 
+0x4655 022826 istoret 1 ,contw 
+0x4656 022827 rshift8 pdata ,temp 
+0x4657 022828 istoret 1 ,contw 
+0x4658 022829 istore 1 ,contw 
+0x4659 022830 deposit rega 
+0x465a 022831 store 2 ,core_spid_txaddr 
+0x465b 022832 setarg 0 
+0x465c 022833 store 2 ,core_spid_rxlen 
+0x465d 022834 jam spid_start ,core_misc_ctrl 
+0x465e 022835 branch wait_spid_done 
+:      022837 mouse_flash_erase_sector:
+0x465f 022838 fetch 3 ,mem_flash_base 
+0x4660 022839 store 3 ,mem_spi_write_addr 
+0x4661 022840 branch spid_flash_erase_sector + 2 
+:      022842 mouse_spid_write_flash:
+0x4662 022843 copy pdata ,regc 
+0x4663 022844 copy rega ,pdata 
+0x4664 022845 increase -4 ,pdata 
+0x4665 022846 copy pdata ,regb 
+0x4666 022847 ifetch 4 ,regb 
+0x4667 022848 store 4 ,mem_write_flash_head_temp 
+0x4668 022849 copy regc ,pdata 
+0x4669 022850 call spid_write_flash 
+0x466a 022851 fetch 4 ,mem_write_flash_head_temp 
+0x466b 022852 istore 4 ,regb 
+0x466c 022853 rtn 
+:      022855 mouse_flash_power_down:
+0x466d 022856 fetch mouse_flag_len ,mem_mouse_flag 
+0x466e 022857 rtnbit0 mouse_enable_flash 
+0x466f 022858 call mouse_spid_flash_powerdown 
+0x4670 022859 call twspi_enable 
+0x4671 022860 fetcht 1 ,mem_spi_cs_gpio 
+0x4672 022861 call gpio_out_inactive 
+0x4673 022862 fetcht 1 ,mem_spi_hold_gpio 
+0x4674 022863 branch mouse_gpio_config_input_pd 
+:      022865 mouse_load_eeprom_info_check:
+0x4675 022866 call iicd_read_init_pin 
+0x4676 022867 fetch mouse_flag_len ,mem_mouse_flag 
+0x4677 022868 isolate1 mouse_enable_2k_eeprom ,pdata 
+0x4678 022869 ncall clear_eeprom_size_2k ,true 
+0x4679 022870 call mouse_eeprom_load_recon_info 
+0x467a 022871 branch mouse_app_initflag_check 
+:      022873 mouse_eeprom_load_recon_info:
+0x467b 022874 arg 128 ,temp 
+0x467c 022875 arg mem_device_flag ,rega 
+0x467d 022876 arg mouse_info_eeprom_offect ,regb 
+0x467e 022877 branch iicd_read_eep_data 
+:      022879 mouse_store_eeprom_device_info:
+0x467f 022880 arg 128 ,temp 
+0x4680 022881 arg mem_device_flag ,rega 
+0x4681 022882 arg mouse_info_eeprom_offect ,regb 
+0x4682 022883 branch iicd_write_protect_eep_data 
+:      022886 mouse_store_eerpom_dpi:
+0x4683 022887 arg 1 ,temp 
+0x4684 022888 arg mem_mouse_dpi ,rega 
+0x4685 022889 arg mouse_dpi_eeprom_offect ,regb 
+0x4686 022890 branch iicd_write_protect_eep_data 
+:      022892 mouse_load_eeprom_dpi:
+0x4687 022893 arg 1 ,temp 
+0x4688 022894 arg mem_mouse_dpi ,rega 
+0x4689 022895 arg mouse_dpi_eeprom_offect ,regb 
+0x468a 022896 branch iicd_read_eep_data 
+:      022900 mouse_idle:
+0x468b 022901 bpatch patch1b_5 ,mem_patch1b 
+0x468c 022902 call mouse_low_voltage_led_no_enter_lpm 
+0x468d 022903 call ui_check_paring_button 
+0x468e 022904 call mouse_dpi_check 
+0x468f 022905 call mouse_select_device_check 
+0x4690 022906 call mouse_check_select_device_by_switch 
+0x4691 022907 call mouse_bt_button_check 
+0x4692 022908 branch mouse_wheel_check 
+:      022910 mouse_select_device_check:
+0x4693 022911 fetch mouse_flag_len ,mem_mouse_flag 
+0x4694 022912 bbit1 mouse_enable_select_device_by_pb_button ,mouse_select_device_by_pb_button 
+0x4695 022913 bbit1 mouse_enable_pb_button_long_press_disconvery ,mouse_select_device_by_pb_button 
+0x4696 022914 rtn 
+:      022916 mouse_select_device_by_pb_button_check_once:
+0x4697 022917 jam 0x03 ,mem_mouse_pbkey_press_status 
+:      022918 mouse_select_device_by_pb_button:
+0x4698 022919 fetch 1 ,mem_config_select_device_button_gpio 
+0x4699 022920 rtneq gpio_disable 
+0x469a 022921 arg 0 ,rega 
+0x469b 022922 jam mouse_pb_key ,mem_mouse_key_temp 
+0x469c 022923 fetcht 1 ,mem_config_select_device_button_gpio 
+0x469d 022924 call mouse_pb_button_check 
+0x469e 022925 store 1 ,mem_mouse_pbkey_press_status 
+0x469f 022926 fetch 1 ,mem_matrix_public_gpio 
+0x46a0 022927 beq gpio_disable ,mouse_3io6key_pb_button_check_end 
+0x46a1 022928 call mouse_matrix_public_gpio_reset 
+:      022929 mouse_select_device_by_pb_button_exit:
+0x46a2 022930 copy rega ,pdata 
+0x46a3 022931 bbit1 mouse_pb_key ,mouse_select_device_button_down 
+0x46a4 022932 branch mouse_select_device_button_up 
+:      022934 mouse_3io6key_pb_button_check_end:
+0x46a5 022935 fetcht 1 ,mem_config_select_device_button_gpio 
+0x46a6 022936 call mouse_gpio_config_input_pu 
+0x46a7 022937 branch mouse_select_device_by_pb_button_exit 
+:      022940 mouse_pb_button_check:
+0x46a8 022941 fetch mouse_flag_len ,mem_mouse_flag 
+0x46a9 022942 bbit1 mouse_enable_pb_button_connect_gnd ,mouse_pb_button_connect_gnd 
+0x46aa 022943 fetch 1 ,mem_mouse_pbkey_press_status 
+0x46ab 022944 copy pdata ,regc 
+0x46ac 022945 fetch 1 ,mem_matrix_public_gpio 
+0x46ad 022946 beq gpio_disable ,mouse_3io6key_check 
+0x46ae 022947 fetch 1 ,mem_mouse_ghost_flag 
+0x46af 022948 nbranch mouse_select_device_by_pb_button_end ,blank 
+0x46b0 022949 branch mouse_pb_button_connect_matrix 
+:      022951 mouse_select_device_by_pb_button_end:
+0x46b1 022952 jam pb_button_state_up ,mem_select_device_button_statue 
+0x46b2 022953 jam 0 ,mem_mouse_pbkey_press_status 
+0x46b3 022954 rtn 
+:      022956 mouse_pb_button_connect_gnd:
+0x46b4 022957 fetch 1 ,mem_mouse_pbkey_press_status 
+0x46b5 022958 branch mouse_check_key_connect_gnd 
+:      022960 mouse_pb_button_connect_matrix:
+0x46b6 022961 call gpio_get_bit 
+0x46b7 022962 fetcht 1 ,mem_matrix_public_gpio 
+0x46b8 022963 branch mouse_pb_button_connect_gnd ,true 
+0x46b9 022964 fetcht 1 ,mem_matrix_public_gpio 
+0x46ba 022965 call gpio_out_active 
+0x46bb 022966 fetcht 1 ,mem_config_select_device_button_gpio 
+0x46bc 022967 fetch 1 ,mem_mouse_pbkey_press_status 
+0x46bd 022968 branch mouse_check_key_connect_gnd 
+:      022970 mouse_select_device_button_up:
+0x46be 022971 fetch 1 ,mem_select_device_button_statue 
+0x46bf 022972 rtneq pb_button_state_up 
+0x46c0 022973 jam pb_button_state_up ,mem_select_device_button_statue 
+0x46c1 022974 fetch mouse_flag_len ,mem_mouse_flag 
+0x46c2 022975 rtnbit1 mouse_enable_pb_button_short_press_enter_discovery 
+0x46c3 022976 fetch 1 ,mem_bt_discovery_count 
+0x46c4 022977 sub pdata ,20 ,null 
+0x46c5 022978 ncall mouse_ready_reconnection_by_button ,positive 
+0x46c6 022979 fetch 1 ,mem_ui_button_timeout 
+0x46c7 022980 store 1 ,mem_bt_discovery_count 
+0x46c8 022981 rtn 
+:      022983 mouse_select_device_button_down:
+0x46c9 022984 call mouse_select_device_ghost_check 
+0x46ca 022985 rtn user 
+0x46cb 022986 fetch 1 ,mem_select_device_button_statue 
+0x46cc 022987 rtneq pb_button_state_down 
+0x46cd 022988 jam pb_button_state_down ,mem_select_device_button_statue 
+0x46ce 022989 fetch mouse_flag_len ,mem_mouse_flag 
+0x46cf 022990 bbit1 mouse_enable_pb_button_short_press_enter_discovery ,mouse_long_button_bt_discovery 
+0x46d0 022991 fetch 1 ,mem_mouse_direct_timer 
+0x46d1 022992 rtn blank 
+0x46d2 022993 fetch 1 ,mem_mouse_direct_timeout 
+0x46d3 022994 store 1 ,mem_mouse_direct_timer 
+0x46d4 022995 rtn 
+:      022997 mouse_select_device_ghost_check:
+0x46d5 022998 disable user 
+0x46d6 022999 fetch mouse_flag_len ,mem_mouse_flag 
+0x46d7 023000 rtnbit1 mouse_enable_pb_button_connect_gnd 
+0x46d8 023001 fetch 1 ,mem_mouse_lkey_press_status 
+0x46d9 023002 rtn blank 
+0x46da 023003 fetch 1 ,mem_mouse_rkey_press_status 
+0x46db 023004 rtn blank 
+0x46dc 023005 enable user 
+0x46dd 023006 rtn 
+:      023010 mouse_check_select_device_by_switch:
+0x46de 023011 fetch mouse_flag_len ,mem_mouse_flag 
+0x46df 023012 bbit1 mouse_enable_select_device_by_switch_gpio ,mouse_check_select_device_by_switch_gpio 
+0x46e0 023013 bbit1 mouse_enable_select_device_by_switch_adc ,mouse_adc_read 
+0x46e1 023014 rtn 
+:      023015 mouse_check_select_device_by_switch_gpio:
+0x46e2 023016 fetcht 1 ,mem_device_switch_gpio 
+0x46e3 023017 call mouse_gpio_config_input_pu 
+0x46e4 023018 fetcht 1 ,mem_device_switch_gpio 
+0x46e5 023019 call gpio_get_bit 
+0x46e6 023020 branch mouse_check_select_24gdevice ,true 
+:      023021 mouse_select_btdevice:
+0x46e7 023022 fetch 1 ,mem_device_flag 
+0x46e8 023023 rtneq mode_bt_device1 
+0x46e9 023024 jam mode_bt_device1 ,mem_device_flag 
+0x46ea 023025 branch mouse_stop_bluetooth_mode 
+:      023028 mouse_check_select_24gdevice:
+0x46eb 023029 fetch mouse_flag_len ,mem_mouse_flag 
+0x46ec 023030 bbit0 mouse_enable_select_device_by_switch_adc ,mouse_check_select_24g_device 
+0x46ed 023031 fetch 6 ,mem_mouse_vdd_switch_gnd_full_vol 
+0x46ee 023032 store 6 ,mem_mouse_vdd_calculate_set 
+:      023033 mouse_check_select_24g_device:
+0x46ef 023034 fetch 1 ,mem_device_flag 
+0x46f0 023035 rtneq mode_24g_device 
+0x46f1 023036 jam mode_24g_device ,mem_device_flag 
+0x46f2 023037 branch mouse_24g_stop 
+:      023041 mouse_ready_reconnection_by_button:
+0x46f3 023042 bpatch patch1b_6 ,mem_patch1b 
+0x46f4 023043 fetch 1 ,mem_device_number 
+0x46f5 023044 rtneq 1 
+0x46f6 023045 call mouse_select_device_number 
+0x46f7 023046 storet 1 ,mem_device_flag 
+:      023047 mouse_store_device_number_before_reset:
+0x46f8 023048 jam 0 ,mem_link_key_exists 
+0x46f9 023049 call mouse_select_device_enable 
+0x46fa 023050 call mouse_stop_bluetooth_mode 
+0x46fb 023051 call mouse_select_device_disable 
+0x46fc 023052 jam 1 ,mem_mouse_need_soft_reset 
+0x46fd 023053 branch mouse_store_device_info_delay 
+:      023056 mouse_soft_reset:
+0x46fe 023057 call mouse_select_device_enable 
+0x46ff 023058 branch soft_reset_chip 
+:      023060 mouse_select_device_number:
+0x4700 023061 fetcht 1 ,mem_device_flag 
+0x4701 023062 increase 1 ,temp 
+0x4702 023063 fetch mouse_flag_len ,mem_mouse_flag 
+0x4703 023064 bbit1 mouse_enable_24g ,mouse_select_device_number_24g 
+0x4704 023065 sub temp ,2 ,null 
+0x4705 023066 ncall mouse_select_device_count_clean_bt ,positive 
+0x4706 023067 rtn 
+:      023069 mouse_select_device_number_24g:
+0x4707 023070 fetch 1 ,mem_device_number 
+0x4708 023071 increase -1 ,pdata 
+0x4709 023072 isub temp ,null 
+0x470a 023073 ncall mouse_select_device_count_clean_24g ,positive 
+0x470b 023074 rtn 
+:      023076 mouse_select_device_count_clean_24g:
+0x470c 023077 arg 0 ,temp 
+0x470d 023078 rtn 
+:      023079 mouse_select_device_count_clean_bt:
+0x470e 023080 arg 1 ,temp 
+0x470f 023081 rtn 
+:      023084 mouse_store_device_number2eeprom:
+0x4710 023085 arg 1 ,temp 
+0x4711 023086 arg mem_device_flag ,rega 
+0x4712 023087 arg 0 ,regb 
+0x4713 023088 branch iicd_write_protect_eep_data 
+:      023091 mouse_bt_button_check:
+0x4714 023092 fetch mouse_flag_len ,mem_mouse_flag 
+0x4715 023093 rtnbit0 mouse_enable_pb_button_short_press_enter_discovery 
+0x4716 023094 call mouse_select_device_by_pb_button 
+0x4717 023095 rtn 
+:      023100 mouse_select_device_enable:
+0x4718 023101 arg mouse_select_device_flag ,queue 
+0x4719 023102 branch mouse_enable_function_flag 
+:      023103 mouse_select_device_disable:
+0x471a 023104 arg mouse_select_device_flag ,queue 
+0x471b 023105 branch mouse_disable_function_flag 
+:      023106 mouse_bt_cannel_reconn_enable:
+0x471c 023107 arg mouse_bt_cannel_reconn_flag ,queue 
+0x471d 023108 branch mouse_enable_function_flag 
+:      023109 mouse_bt_cannel_reconn_disable:
+0x471e 023110 arg mouse_bt_cannel_reconn_flag ,queue 
+0x471f 023111 branch mouse_disable_function_flag 
+:      023112 mouse_bt_discovery_button_down_enable:
+0x4720 023113 arg mouse_bt_discovery_button_down_flag ,queue 
+0x4721 023114 branch mouse_enable_function_flag 
+:      023115 mouse_bt_discovery_button_down_disable:
+0x4722 023116 arg mouse_bt_discovery_button_down_flag ,queue 
+0x4723 023117 branch mouse_disable_function_flag 
+:      023119 mouse_adc_read_enable:
+0x4724 023120 arg mouse_enable_adc ,queue 
+0x4725 023121 branch mouse_enable_function_flag 
+:      023123 mouse_24g_set_250hz:
+0x4726 023124 arg mouse_enable_24g_250hz ,queue 
+0x4727 023125 branch mouse_enable_function_flag 
+:      023127 mouse_24g_search_dongle_enable:
+0x4728 023128 arg mouse_enable_24g_search_dongle ,queue 
+0x4729 023129 branch mouse_enable_function_flag 
+:      023131 mouse_16m_enable:
+0x472a 023132 arg mouse_enable_16m ,queue 
+0x472b 023133 branch mouse_enable_function_flag 
+:      023135 mouse_dpi_4level_enable:
+0x472c 023136 arg mouse_enable_dpi_level_4 ,queue 
+0x472d 023137 branch mouse_enable_function_flag 
+:      023140 mouse_enable_function_flag:
+0x472e 023141 fetch mouse_flag_len ,mem_mouse_flag 
+0x472f 023142 qset1 pdata 
+0x4730 023143 store mouse_flag_len ,mem_mouse_flag 
+0x4731 023144 rtn 
+:      023146 mouse_disable_function_flag:
+0x4732 023147 fetch mouse_flag_len ,mem_mouse_flag 
+0x4733 023148 qset0 pdata 
+0x4734 023149 store mouse_flag_len ,mem_mouse_flag 
+0x4735 023150 rtn 
+:      023152 mouse_customer_key_enable:
+0x4736 023153 arg mouse_enable_keyboard ,queue 
+0x4737 023154 call mouse_enable_function_flag 
+0x4738 023155 setarg 0 
+0x4739 023156 store 8 ,mem_customer_key_press 
+0x473a 023157 store 8 ,mem_customer_key_release 
+0x473b 023158 fetch 1 ,mem_mouse_enable_flag 
+0x473c 023159 and pdata ,0xc0 ,pdata 
+0x473d 023160 beq 0x40 ,mouse_customer_key_ctrl_alt_a 
+0x473e 023161 beq 0x80 ,mouse_customer_ac_home 
+0x473f 023162 beq 0xc0 ,mouse_customer_key_play 
+0x4740 023163 setarg 0x070008 
+:      023164 mouse_customer_standrad_key_set:
+0x4741 023165 store 8 ,mem_customer_key_press + 1 
+0x4742 023166 rtn 
+:      023168 mouse_customer_key_ctrl_alt_a:
+0x4743 023169 setarg 0x040005 
+0x4744 023170 branch mouse_customer_standrad_key_set 
+:      023173 mouse_customer_ac_home:
+0x4745 023174 setarg 0x022303 
+:      023175 mouse_customer_media_key_set:
+0x4746 023176 store 8 ,mem_customer_key_press 
+0x4747 023177 setarg 0x03 
+0x4748 023178 store 8 ,mem_customer_key_release 
+0x4749 023179 rtn 
+:      023181 mouse_customer_key_play:
+0x474a 023182 setarg 0x00cd03 
+0x474b 023183 branch mouse_customer_media_key_set 
+:      023190 mouse_polling_device:
+0x474c 023191 bpatch patch1b_7 ,mem_patch1b 
+0x474d 023192 fetch 1 ,mem_reconn_times 
+0x474e 023193 increase -1 ,pdata 
+0x474f 023194 store 1 ,mem_reconn_times 
+0x4750 023195 fetcht 1 ,mem_device_flag 
+0x4751 023196 sub temp ,1 ,null 
+0x4752 023197 ncall mouse_select_device_number ,zero 
+0x4753 023198 storet 1 ,mem_device_flag 
+0x4754 023199 jam 0 ,mem_link_key_exists 
+0x4755 023200 call mouse_store_device_number2eeprom 
+0x4756 023201 call mouse_before_store_reconn_info 
+0x4757 023202 branch mouse_start_reconnect_device 
+:      023207 mouse_drawing_optima:
+0x4758 023208 fetch mouse_flag_len ,mem_mouse_flag 
+0x4759 023209 rtnbit0 mouse_enable_smoother 
+0x475a 023210 fetch 4 ,mem_mouse_x 
+0x475b 023211 rtn blank 
+0x475c 023212 call mouse_data_abs_check 
+0x475d 023213 setarg 0x03 
+0x475e 023214 call mouse_pdata_greater_than_check 
+0x475f 023215 call mouse_disable_asm ,blank 
+0x4760 023216 ncall mouse_enable_asm ,blank 
+0x4761 023217 setarg 0x02 
+0x4762 023218 call mouse_data_less_than_check 
+0x4763 023219 call mouse_disable_asm ,blank 
+0x4764 023220 fetch 1 ,mem_mouse_asm_flag 
+0x4765 023221 beq 1 ,mouse_drawing_optima_modify 
+:      023222 mouse_drawing_optima_init:
+0x4766 023223 fetch mouse_flag_len ,mem_mouse_flag 
+0x4767 023224 rtnbit0 mouse_enable_smoother 
+0x4768 023225 arg 5 ,loopcnt 
+0x4769 023226 arg mem_mouse_asm_flag ,contw 
+0x476a 023227 branch clear_mem 
+:      023229 mouse_drawing_optima_modify:
+0x476b 023230 call mouse_drawing_optima_xy_offset_modify 
+0x476c 023231 fetch 2 ,mem_mouse_x_pre 
+0x476d 023232 store 2 ,mem_data_pre 
+0x476e 023233 fetch 2 ,mem_mouse_x 
+0x476f 023234 store 2 ,mem_data_current 
+0x4770 023235 call mouse_drawing_optima_data_x 
+0x4771 023236 fetch 2 ,mem_data_pre 
+0x4772 023237 store 2 ,mem_mouse_x_pre 
+0x4773 023238 fetch 2 ,mem_data_current 
+0x4774 023239 store 2 ,mem_mouse_x 
+0x4775 023241 fetch 2 ,mem_mouse_y_pre 
+0x4776 023242 store 2 ,mem_data_pre 
+0x4777 023243 fetch 2 ,mem_mouse_y 
+0x4778 023244 store 2 ,mem_data_current 
+0x4779 023245 call mouse_drawing_optima_data_y 
+0x477a 023246 fetch 2 ,mem_data_pre 
+0x477b 023247 store 2 ,mem_mouse_y_pre 
+0x477c 023248 fetch 2 ,mem_data_current 
+0x477d 023249 store 2 ,mem_mouse_y 
+0x477e 023250 rtn 
+:      023252 mouse_drawing_optima_xy_offset_modify:
+0x477f 023253 fetch mouse_flag_len ,mem_mouse_flag 
+0x4780 023254 rtnbit0 mouse_enable_xy_offset 
+0x4781 023255 fetch 2 ,mem_mouse_x_pre 
+0x4782 023256 store 2 ,mem_data_value 
+0x4783 023257 call mouse_pre_xy_data_judge 
+0x4784 023258 store 2 ,mem_mouse_x_pre 
+0x4785 023259 fetch 2 ,mem_mouse_x 
+0x4786 023260 store 2 ,mem_data_value 
+0x4787 023261 call mouse_current_xy_data_judge 
+0x4788 023262 store 2 ,mem_mouse_x 
+0x4789 023263 fetch 2 ,mem_mouse_y_pre 
+0x478a 023264 store 2 ,mem_data_value 
+0x478b 023265 call mouse_pre_xy_data_judge 
+0x478c 023266 store 2 ,mem_mouse_y_pre 
+0x478d 023267 fetch 2 ,mem_mouse_y 
+0x478e 023268 store 2 ,mem_data_value 
+0x478f 023269 call mouse_current_xy_data_judge 
+0x4790 023270 store 2 ,mem_mouse_y 
+0x4791 023271 rtn 
+:      023273 mouse_pre_xy_data_judge:
+0x4792 023274 fetch 1 ,mem_data_value + 1 
+0x4793 023275 branch mouse_pre_xy_pdata_offset ,blank 
+0x4794 023276 branch mouse_pre_xy_ndata_offset 
+:      023278 mouse_pre_xy_pdata_offset:
+0x4795 023279 fetch 1 ,mem_data_value 
+0x4796 023280 call mouse_pre_xy_get_0_4_times 
+0x4797 023281 store 1 ,mem_data_value 
+:      023282 mouse_xy_data_offset_new:
+0x4798 023283 fetch 2 ,mem_data_value 
+0x4799 023284 rtn 
+:      023285 mouse_pre_xy_ndata_offset:
+0x479a 023286 fetch 1 ,mem_data_value 
+0x479b 023287 call mouse_pdata_invert 
+0x479c 023288 call mouse_pre_xy_get_0_4_times 
+0x479d 023289 call disable_blank ,blank 
+0x479e 023290 call mouse_pdata_get_new_value 
+0x479f 023291 branch mouse_xy_data_offset_new 
+:      023293 mouse_current_xy_data_judge:
+0x47a0 023294 fetch 1 ,mem_data_value + 1 
+0x47a1 023295 branch mouse_current_xy_pdata_offset ,blank 
+0x47a2 023296 branch mouse_current_xy_ndata_offset 
+:      023297 mouse_current_xy_pdata_offset:
+0x47a3 023298 fetch 1 ,mem_data_value 
+0x47a4 023299 call mouse_current_xy_get_0_6_times 
+0x47a5 023300 store 1 ,mem_data_value 
+0x47a6 023301 branch mouse_xy_data_offset_new 
+:      023302 mouse_current_xy_ndata_offset:
+0x47a7 023303 fetch 1 ,mem_data_value 
+0x47a8 023304 call mouse_pdata_invert 
+0x47a9 023305 call mouse_current_xy_get_0_6_times 
+0x47aa 023306 call disable_blank ,blank 
+0x47ab 023307 call mouse_pdata_get_new_value 
+0x47ac 023308 branch mouse_xy_data_offset_new 
+:      023310 mouse_pre_xy_get_0_4_times:
+0x47ad 023311 mul32 pdata ,4 ,pdata 
+0x47ae 023312 div pdata ,5 
+0x47af 023313 call wait_div_end 
+0x47b0 023314 quotient pdata 
+0x47b1 023315 rtn 
+:      023316 mouse_current_xy_get_0_6_times:
+0x47b2 023317 mul32 pdata ,12 ,pdata 
+0x47b3 023318 div pdata ,10 
+0x47b4 023319 call wait_div_end 
+0x47b5 023320 quotient pdata 
+0x47b6 023321 rtn 
+:      023323 mouse_drawing_optima_data_x:
+0x47b7 023324 fetch 2 ,mem_data_pre 
+0x47b8 023325 fetcht 2 ,mem_data_current 
+0x47b9 023326 iadd temp ,pdata 
+0x47ba 023327 fetcht 1 ,mem_mouse_data_xtemp 
+0x47bb 023328 iadd temp ,pdata 
+0x47bc 023329 and pdata ,0x01 ,temp 
+0x47bd 023330 storet 1 ,mem_mouse_data_xtemp 
+0x47be 023331 branch mouse_drawing_optima_data 
+:      023333 mouse_drawing_optima_data_y:
+0x47bf 023334 fetch 2 ,mem_data_pre 
+0x47c0 023335 fetcht 2 ,mem_data_current 
+0x47c1 023336 iadd temp ,pdata 
+0x47c2 023337 fetcht 1 ,mem_mouse_data_ytemp 
+0x47c3 023338 iadd temp ,pdata 
+0x47c4 023339 and pdata ,0x01 ,temp 
+0x47c5 023340 storet 1 ,mem_mouse_data_ytemp 
+0x47c6 023341 branch mouse_drawing_optima_data 
+:      023343 mouse_drawing_optima_data:
+0x47c7 023344 store 3 ,mem_data_sum 
+0x47c8 023345 isolate1 16 ,pdata 
+0x47c9 023346 branch mouse_data_sum_overflow ,true 
+0x47ca 023347 fetch 1 ,mem_data_sum + 1 
+0x47cb 023348 beq 0xff ,mouse_data_sum_n 
+0x47cc 023349 fetch 1 ,mem_data_sum 
+:      023350 mouse_data_store_pre:
+0x47cd 023351 rshift pdata ,pdata 
+0x47ce 023352 store 2 ,mem_data_pre 
+0x47cf 023353 store 2 ,mem_data_current 
+0x47d0 023354 rtn 
+:      023355 mouse_data_sum_overflow:
+0x47d1 023356 fetch 1 ,mem_data_sum + 1 
+0x47d2 023357 beq 0 ,mouse_data_sum_overflow_p 
+0x47d3 023358 fetch 3 ,mem_data_sum 
+0x47d4 023359 branch mouse_data_store_pre 
+:      023360 mouse_data_sum_overflow_p:
+0x47d5 023361 jam 0 ,mem_data_sum + 2 
+0x47d6 023362 fetch 1 ,mem_data_sum 
+0x47d7 023363 branch mouse_data_store_pre 
+:      023365 mouse_data_sum_n:
+0x47d8 023366 fetch 1 ,mem_data_sum 
+0x47d9 023367 call mouse_pdata_get_half 
+0x47da 023368 store 1 ,mem_data_pre 
+0x47db 023369 store 1 ,mem_data_current 
+0x47dc 023370 branch mouse_data_zero ,blank 
+0x47dd 023371 setarg 0xff 
+:      023372 mouse_data_set_direction:
+0x47de 023373 store 1 ,mem_data_pre + 1 
+0x47df 023374 store 1 ,mem_data_current + 1 
+0x47e0 023375 rtn 
+:      023376 mouse_data_zero:
+0x47e1 023377 setarg 0 
+0x47e2 023378 branch mouse_data_set_direction 
+:      023380 mouse_pdata_get_half:
+0x47e3 023381 call mouse_pdata_invert 
+0x47e4 023382 rshift pdata ,pdata 
+:      023383 mouse_pdata_get_new_value:
+0x47e5 023384 call mouse_rega_in_out 
+0x47e6 023385 sub pdata ,0 ,pdata 
+0x47e7 023386 store 1 ,mem_data_value 
+0x47e8 023387 rtn 
+:      023389 mouse_pdata_invert:
+0x47e9 023390 sub pdata ,0 ,pdata 
+:      023391 mouse_rega_in_out:
+0x47ea 023392 store 1 ,mem_rega 
+0x47eb 023393 fetch 1 ,mem_rega 
+0x47ec 023394 rtn 
+:      023396 mouse_disable_asm:
+0x47ed 023397 jam 0 ,mem_mouse_asm_flag 
+0x47ee 023398 rtn 
+:      023399 mouse_enable_asm:
+0x47ef 023400 jam 1 ,mem_mouse_asm_flag 
+0x47f0 023401 rtn 
+:      023404 mouse_pdata_greater_than_check:
+0x47f1 023405 isub rega ,null 
+0x47f2 023406 nbranch disable_blank ,positive 
+0x47f3 023407 isub regb ,null 
+0x47f4 023408 nbranch disable_blank ,positive 
+0x47f5 023409 branch enable_blank 
+:      023410 mouse_data_less_than_check:
+0x47f6 023411 isub rega ,null 
+0x47f7 023412 nrtn positive 
+0x47f8 023413 isub regb ,null 
+0x47f9 023414 nrtn positive 
+0x47fa 023415 branch enable_blank 
+:      023417 mouse_data_abs_check:
+0x47fb 023418 fetch 2 ,mem_mouse_x 
+0x47fc 023419 call mouse_data_abs 
+0x47fd 023420 copy pdata ,rega 
+0x47fe 023421 fetch 2 ,mem_mouse_y 
+0x47ff 023422 call mouse_data_abs 
+0x4800 023423 copy pdata ,regb 
+0x4801 023424 rtn 
+:      023426 mouse_data_abs:
+0x4802 023427 store 2 ,mem_data_current 
+0x4803 023428 fetch 1 ,mem_data_current + 1 
+0x4804 023429 beq 0xff ,mouse_data_reversal 
+0x4805 023430 fetch 1 ,mem_data_current 
+:      023431 mouse_data_abs_store:
+0x4806 023432 and_into 0xff ,pdata 
+0x4807 023434 rtn 
+:      023435 mouse_data_reversal:
+0x4808 023436 fetch 2 ,mem_data_current 
+0x4809 023437 sub pdata ,0 ,pdata 
+0x480a 023438 branch mouse_data_abs_store 
+:      023440 mouse_24g_long_sleep_param_update_timer:
+0x480b 023441 arg mem_24g_long_sleep_param_update_timer ,regc 
+0x480c 023442 arg mouse_24g_long_sleep_normal_param ,regb 
+0x480d 023443 branch timer_single_step 
+:      023444 mouse_24g_long_sleep_normal_param:
+0x480e 023445 fetch 4 ,mem_24g_long_sleep_set1 
+0x480f 023446 store 4 ,mem_24g_enter_hibernate 
+0x4810 023447 jam 1 ,mem_mouse_long_mult_flag 
+0x4811 023448 rtn 
+:      023451 mouse_24g_long_sleep_set:
+0x4812 023452 fetch 1 ,mem_24g_long_sleep_set_level 
+0x4813 023453 beq 0x00 ,mouse_24g_long_sleep_set_30ms 
+0x4814 023454 beq 0x01 ,mouse_24g_long_sleep_set_50ms 
+0x4815 023455 beq 0x02 ,mouse_24g_long_sleep_set_80ms 
+0x4816 023456 beq 0x03 ,mouse_24g_long_sleep_set_100ms 
+:      023457 mouse_24g_long_sleep_set_80ms:
+0x4817 023458 setarg 0x0ea600 
+:      023459 mouse_24g_long_sleep_set_end:
+0x4818 023460 store 4 ,mem_24g_long_sleep_set1 
+0x4819 023461 rtn 
+:      023462 mouse_24g_long_sleep_set_30ms:
+0x481a 023463 setarg 0x05e740 
+0x481b 023464 branch mouse_24g_long_sleep_set_end 
+:      023465 mouse_24g_long_sleep_set_50ms:
+0x481c 023466 setarg 0x0927c0 
+0x481d 023467 branch mouse_24g_long_sleep_set_end 
+:      023468 mouse_24g_long_sleep_set_100ms:
+0x481e 023469 setarg 0x124f80 
+0x481f 023470 branch mouse_24g_long_sleep_set_end 
+:      023474 mouse_24g_hibernate_set:
+0x4820 023475 jam 0 ,mem_24g_attempt_fail_flag 
+0x4821 023476 call g24_transmit_next_packet 
+0x4822 023477 setarg -1 
+0x4823 023478 store 4 ,mem_24g_enter_hibernate 
+0x4824 023479 setarg 0 
+0x4825 023480 store 7 ,mem_mouse_key 
+0x4826 023481 jam 1 ,mem_sensor_shutdown_flag 
+0x4827 023482 call mouse_sensor_powerdown 
+0x4828 023483 call mouse_setgpio_hibernate 
+0x4829 023484 branch g24_long_sleep 
+:      023486 mouse_wakeup_24g:
+0x482a 023487 fetch 1 ,mem_sensor_shutdown_flag 
+0x482b 023488 ncall mouse_init_sensor_wakeup ,blank 
+0x482c 023489 jam 0 ,mem_sensor_shutdown_flag 
+0x482d 023490 branch g24_transmit_no_ack 
+:      023492 mouse_24g_transmit_start:
+0x482e 023493 fetch 1 ,mem_sensor_shutdown_flag 
+0x482f 023494 nbranch g24_short_sleep ,blank 
+0x4830 023495 branch g24_transmit_start_next 
+:      023498 mouse_24g_stop:
+0x4831 023499 set0 mark_24g ,mark 
+0x4832 023500 jam state_24g_stop ,mem_24g_conn_sm 
+0x4833 023501 arg mouse_24g_pairing_flag ,queue 
+0x4834 023502 branch mouse_disable_function_flag 
+:      023505 mouse_24g_start_mode:
+0x4835 023506 fetch mouse_flag_len ,mem_mouse_flag 
+0x4836 023507 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0x4837 023508 call mouse_wakeup_from_power_check 
+0x4838 023509 branch mouse_24g_reconn_dongle_start ,user 
+0x4839 023510 fetch mouse_flag_len ,mem_mouse_flag 
+0x483a 023511 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0x483b 023512 bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0x483c 023513 call mouse_key_check_once 
+0x483d 023514 and pdata ,0x07 ,pdata 
+0x483e 023515 fetcht 1 ,mem_mouse_commbination_key_24g 
+0x483f 023516 isub temp ,null 
+0x4840 023517 branch mouse_24g_start_pair_mode ,zero 
+0x4841 023518 branch mouse_24g_reconn_general_dongle 
+:      023520 mouse_24g_mode_setup_error:
+0x4842 023521 fetch 1 ,mem_reconn_times 
+0x4843 023522 nbranch mouse_polling_device ,blank 
+0x4844 023523 rtn 
+:      023525 mouse_24g_reconn_dongle_start:
+0x4845 023526 fetch 2 ,mem_24g_reconn_timeout_init 
+0x4846 023527 store 2 ,mem_24g_reconn_timeout 
+0x4847 023528 jam receiver_and_3_0_addr ,mem_24g_reconn_type 
+0x4848 023529 branch g24_reconn_start 
+:      023532 mouse_24g_first_start_auto_pair_mode:
+0x4849 023533 call mouse_wakeup_from_power_check 
+0x484a 023534 branch mouse_24g_first_start_reconn ,user 
+:      023535 mouse_24g_reconn_general_dongle:
+0x484b 023536 jam mode_24g_device ,mem_device_flag 
+0x484c 023537 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0x484d 023538 store 2 ,mem_24g_reconn_timeout 
+0x484e 023539 jam fast_conn_and_3_0_addr ,mem_24g_reconn_type 
+0x484f 023540 branch g24_reconn_start 
+:      023542 mouse_24g_start_auto_pair:
+0x4850 023543 call mouse_discover_setting_led_gpio 
+0x4851 023544 fetch 2 ,mem_24g_pair_timeout_init 
+0x4852 023545 store 2 ,mem_24g_reconn_timeout 
+0x4853 023546 jam pair_and_3_0_addr ,mem_24g_reconn_type 
+0x4854 023547 branch g24_reconn_start 
+:      023550 mouse_24g_first_start_reconn:
+0x4855 023551 fetch 1 ,mem_device_flag 
+0x4856 023552 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+0x4857 023553 call mouse_bluetooth_fast_conn_disable 
+0x4858 023554 branch mouse_24g_first_bluetooth_reconnect 
+:      023556 mouse_24g_first_bluetooth_reconnect:
+0x4859 023557 call mouse_24g_stop 
+0x485a 023558 call mouse_device_led_all_off 
+0x485b 023559 jam mode_bt_device1 ,mem_device_flag 
+0x485c 023560 call mouse_select_reconn_device 
+0x485d 023561 branch mouse_start_reconnect_device 
+:      023563 mouse_24g_first_bb_event_reconn_timeout:
+0x485e 023564 call mouse_wakeup_from_power_check 
+0x485f 023565 branch mouse_app_enter_hibernate ,user 
+0x4860 023566 branch mouse_start_discovery 
+:      023569 mouse_24g_first_store_reconn_info:
+0x4861 023570 call mouse_wakeup_from_power_check 
+0x4862 023571 rtn user 
+0x4863 023572 fetch mouse_flag_len ,mem_mouse_flag 
+0x4864 023573 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_store_device_info_delay 
+0x4865 023574 rtn 
+:      023576 mouse_24g_start_pair_mode:
+0x4866 023577 arg mouse_24g_pairing_flag ,queue 
+0x4867 023578 call mouse_enable_function_flag 
+0x4868 023579 setarg 0 
+0x4869 023580 store 2 ,mem_24g_reconn_timeout 
+0x486a 023581 call mouse_stop_discovery 
+0x486b 023582 call mouse_low_voltage_led_blink_disable 
+0x486c 023583 call mouse_discover_setting_led_gpio 
+0x486d 023584 jam type_ms ,mem_24g_data_type 
+0x486e 023585 fetch mouse_flag_len ,mem_mouse_flag 
+0x486f 023586 bbit0 mouse_enable_keyboard ,g24_pair_start 
+0x4870 023587 jam type_kb ,mem_24g_data_type 
+0x4871 023588 branch g24_pair_start 
+:      023591 mouse_24g_attempt_fail:
+0x4872 023592 fetch 1 ,mem_24g_attempt_fail_flag 
+0x4873 023593 nbranch mouse_24g_hibernate_set ,blank 
+0x4874 023594 fetch 1 ,mem_24g_reconn_type 
+0x4875 023595 beq fast_conn_and_3_0_addr ,mouse_24g_fast_conn_attempt_fail 
+0x4876 023596 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
+0x4877 023597 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
+:      023598 mouse_24g_attempt_fail_enter_hibernate:
+0x4878 023599 call mouse_device_led_off 
+0x4879 023600 call mouse_24g_stop 
+0x487a 023601 fetch 1 ,mem_reconn_times 
+0x487b 023602 nbranch mouse_polling_device ,blank 
+0x487c 023603 fetch 1 ,mem_device_flag 
+0x487d 023604 beq mode_24g_device ,mouse_app_enter_hibernate 
+0x487e 023605 rtn 
+:      023607 mouse_24g_fast_conn_attempt_fail:
+0x487f 023608 fetch mouse_flag_len ,mem_mouse_flag 
+0x4880 023609 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+0x4881 023610 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0x4882 023611 branch mouse_24g_reconn_dongle_start 
+:      023614 mouse_24g_auto_pair_attempt_fail:
+0x4883 023615 fetch mouse_flag_len ,mem_mouse_flag 
+0x4884 023616 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0x4885 023617 fetch 1 ,mem_device_number 
+0x4886 023618 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+0x4887 023619 branch mouse_24g_first_bluetooth_reconnect 
+:      023621 mouse_reconn_dongle_attempt_fail:
+0x4888 023622 fetch mouse_flag_len ,mem_mouse_flag 
+0x4889 023623 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0x488a 023624 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+0x488b 023625 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+0x488c 023626 branch mouse_24g_start_auto_pair + 1 
+:      023629 mouse_24g_attempt_success:
+0x488d 023630 call mouse_init_sensor_reset 
+0x488e 023631 jam 0 ,mem_mouse_long_mult_flag 
+0x488f 023632 jam 0 ,mem_24g_conn_sm 
+0x4890 023633 jam 0 ,mem_24g_reconn_type 
+0x4891 023634 fetch 4 ,mem_24g_receiver_addr 
+0x4892 023635 fetch 4 ,mem_24g_fast_conn_addr 
+0x4893 023636 isub temp ,null 
+0x4894 023637 rtn zero 
+0x4895 023638 branch mouse_24g_first_store_reconn_info 
+:      023640 mouse_24g_pairing_complete:
+0x4896 023641 arg mouse_24g_pairing_flag ,queue 
+0x4897 023642 call mouse_disable_function_flag 
+0x4898 023643 call mouse_device_poweron_timer_init 
+0x4899 023644 setarg 0 
+0x489a 023645 store 2 ,mem_24g_pair_timeout 
+0x489b 023646 store 2 ,mem_24g_reconn_timeout 
+0x489c 023647 store 1 ,mem_24g_conn_sm 
+0x489d 023648 store 1 ,mem_mouse_move_flag 
+0x489e 023649 store 1 ,mem_24g_reconn_type 
+0x489f 023651 call mouse_init_sensor_reset 
+0x48a0 023652 call mouse_read_sensor_common 
+0x48a1 023653 fetch 4 ,mem_24g_addr 
+0x48a2 023654 store 4 ,mem_24g_receiver_addr 
+0x48a3 023655 store 4 ,mem_mouse_24g_addr 
+0x48a4 023656 branch mouse_store_device_info_delay 
+:      023658 mouse_24g_package_data:
+0x48a5 023659 rtnmark0 mark_24g 
+0x48a6 023660 call mouse_motion 
+0x48a7 023661 nrtn user 
+0x48a8 023662 fetch mouse_flag_len ,mem_mouse_flag 
+0x48a9 023663 bbit0 mouse_enable_keyboard ,mouse_24g_mouse_package_data 
+0x48aa 023664 fetch 1 ,mem_customer_key 
+0x48ab 023665 nbranch mouse_24g_keyboard_package_data ,blank 
+:      023666 mouse_24g_mouse_package_data:
+0x48ac 023667 call mouse_data_xy_release 
+0x48ad 023668 fetch 1 ,mem_24g_data_type 
+0x48ae 023669 bbit1 1 ,mouse_24g_mouse_package_data_now 
+0x48af 023670 fetcht 1 ,mem_24g_txbuf + 1 
+0x48b0 023671 fetch 1 ,mem_mouse_key 
+0x48b1 023672 ior temp ,pdata 
+0x48b2 023673 store 1 ,mem_mouse_key 
+0x48b3 023674 fetcht 1 ,mem_24g_txbuf + 6 
+0x48b4 023675 fetch 1 ,mem_mouse_z 
+0x48b5 023676 iadd temp ,pdata 
+0x48b6 023677 store 1 ,mem_mouse_z 
+0x48b7 023678 fetcht 1 ,mem_24g_txbuf + 7 
+0x48b8 023679 fetch 1 ,mem_mouse_tz 
+0x48b9 023680 iadd temp ,pdata 
+0x48ba 023681 store 1 ,mem_mouse_tz 
+:      023682 mouse_24g_mouse_package_data_now:
+0x48bb 023683 jam type_ms ,mem_24g_data_type 
+0x48bc 023684 arg 7 ,rega 
+0x48bd 023685 arg mem_mouse_key ,regb 
+0x48be 023686 fetch 2 ,mem_mouse_z 
+0x48bf 023687 rtn blank 
+0x48c0 023688 branch g24_transmit_by_interrupt_enable 
+:      023690 mouse_24g_keyboard_package_data:
+0x48c1 023691 jam type_kb ,mem_24g_data_type 
+0x48c2 023692 arg 9 ,rega 
+0x48c3 023693 fetch 1 ,mem_customer_data_trigger 
+0x48c4 023694 nbranch mouse_customer_key_press ,blank 
+0x48c5 023695 arg mem_customer_key_release ,regb 
+0x48c6 023696 rtn 
+:      023697 mouse_customer_key_press:
+0x48c7 023698 arg mem_customer_key_press ,regb 
+0x48c8 023699 rtn 
+:      023705 mouse_24g_search_dongle_init:
+0x48c9 023706 setarg 0 
+0x48ca 023707 store 3 ,mem_mouse_search_dongle_action 
+0x48cb 023708 rtn 
+:      023710 mouse_24g_search_dongle:
+0x48cc 023711 fetch mouse_flag_len ,mem_mouse_flag 
+0x48cd 023712 rtnbit0 mouse_enable_24g_search_dongle 
+0x48ce 023713 fetch 1 ,mem_mouse_long_mult_flag 
+0x48cf 023714 rtn blank 
+0x48d0 023715 fetch 1 ,mem_24g_abort_pac 
+0x48d1 023716 rtn blank 
+0x48d2 023717 fetch 1 ,mem_mouse_search_dongle_interval 
+0x48d3 023718 increase 1 ,pdata 
+0x48d4 023719 and_into 3 ,pdata 
+0x48d5 023720 store 1 ,mem_mouse_search_dongle_interval 
+0x48d6 023721 nrtn blank 
+0x48d7 023722 jam 0 ,mem_mouse_search_dongle_ch 
+:      023723 mouse_24g_search_dongle_loop:
+0x48d8 023724 fetch 1 ,mem_mouse_search_dongle_ch 
+0x48d9 023725 increase 1 ,pdata 
+0x48da 023726 store 1 ,mem_mouse_search_dongle_ch 
+0x48db 023727 sub pdata ,g24_ch_number ,null 
+0x48dc 023728 nbranch mouse_24g_search_dongle_loop_end ,positive 
+0x48dd 023729 call g24_reconn_data_prep 
+0x48de 023730 call g24_transmit_receive_ack 
+0x48df 023731 nbranch mouse_24g_search_dongle_loop_retry ,sync 
+0x48e0 023732 nbranch mouse_24g_search_dongle_loop_retry ,user3 
+0x48e1 023733 call mouse_g24_ackpayload_parse 
+0x48e2 023734 call mouse_24g_search_dongle_success 
+:      023735 mouse_24g_search_dongle_loop_end:
+0x48e3 023736 call g24_txbuf_clear 
+0x48e4 023737 fetch 1 ,mem_mouse_search_dongle_count 
+0x48e5 023738 increase 1 ,pdata 
+0x48e6 023739 store 1 ,mem_mouse_search_dongle_count 
+0x48e7 023740 beq g24_ch_poll_count ,mouse_24g_search_dongle_check 
+0x48e8 023741 rtn 
+:      023743 mouse_24g_search_dongle_loop_retry:
+0x48e9 023744 call g24_ch 
+0x48ea 023745 branch mouse_24g_search_dongle_loop 
+:      023747 mouse_24g_search_dongle_check:
+0x48eb 023748 jam 0 ,mem_mouse_search_dongle_count 
+0x48ec 023749 fetch 1 ,mem_mouse_search_dongle_action 
+0x48ed 023750 rtnbit1 g24_disconn_state 
+0x48ee 023751 set1 g24_disconn_state ,pdata 
+0x48ef 023752 store 1 ,mem_mouse_search_dongle_action 
+0x48f0 023753 fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+0x48f1 023756 branch mouse_24g_hibernate_set 
+:      023759 mouse_24g_search_dongle_success:
+0x48f2 023760 fetch 1 ,mem_24g_abort_pac 
+0x48f3 023761 branch mouse_24g_search_dongle_init ,blank 
+0x48f4 023762 jam 0 ,mem_mouse_search_dongle_count 
+0x48f5 023763 fetch 1 ,mem_mouse_search_dongle_action 
+0x48f6 023764 rtnbit0 g24_disconn_state 
+0x48f7 023765 set0 g24_disconn_state ,pdata 
+0x48f8 023766 store 1 ,mem_mouse_search_dongle_action 
+0x48f9 023767 call mouse_no_data_timer_init 
+0x48fa 023768 branch mouse_init_sensor_wakeup 
+:      023770 mouse_g24_ackpayload_parse:
+0x48fb 023771 call g24_ackpayload_parse 
+0x48fc 023772 fetch 1 ,mem_24g_rxbuf + 1 
+0x48fd 023773 compare 0x08 ,pdata ,0xf8 
+0x48fe 023774 nrtn true 
+0x48ff 023775 fetch 1 ,mem_24g_rxbuf + 2 
+0x4900 023776 beq 0xff ,mouse_24g_hibernate_set 
+0x4901 023777 rtn 
+:      023783 mouse_24g_before_lpm_sleep:
+0x4902 023784 fetch 1 ,mem_device_flag 
+0x4903 023785 bne mode_24g_device ,lpm_sleep_skip_cb_function 
+0x4904 023786 fetch 1 ,mem_24g_disable_fec1 
+0x4905 023787 rtn blank 
+:      023788 mouse_peripheral_clock_off:
+0x4906 023789 jam 2 ,core_clksel 
+0x4907 023790 fetch 1 ,core_lpm_ctrl 
+0x4908 023791 and pdata ,0xfc ,pdata 
+0x4909 023792 store 1 ,core_lpm_reg 
+0x490a 023793 branch lpm_write_ctrl 
+:      023799 mouse_device_poweron_timer:
+0x490b 023800 fetch mouse_flag_len ,mem_mouse_flag 
+0x490c 023801 rtnbit0 mouse_enable_power_on_led 
+0x490d 023802 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0x490e 023803 rtn blank 
+0x490f 023804 increase -1 ,pdata 
+0x4910 023805 store 1 ,mem_mouse_device_poweron_timer_count 
+0x4911 023806 branch mouse_device_led_off ,blank 
+0x4912 023807 branch mouse_device_led_on 
+:      023809 mouse_device_poweron_timer_init:
+0x4913 023810 fetch mouse_flag_len ,mem_mouse_flag 
+0x4914 023811 rtnbit0 mouse_enable_power_on_led 
+0x4915 023812 call mouse_low_voltage_led_blink_disable 
+0x4916 023813 fetch 1 ,mem_mouse_device_poweron_timer_count_init 
+0x4917 023814 store 1 ,mem_mouse_device_poweron_timer_count 
+0x4918 023815 rtn 
+:      023818 mouse_discover_setting_led_gpio:
+0x4919 023819 jam 0 ,mem_mouse_device_poweron_timer_count 
+0x491a 023820 fetch 2 ,mem_mouse_disconvey_led_blink_time 
+0x491b 023821 store 2 ,mem_mouse_on_time 
+0x491c 023822 store 2 ,mem_mouse_off_time 
+:      023823 mouse_setting_led_gpio_comman:
+0x491d 023824 fetch 1 ,mem_device_flag 
+0x491e 023825 beq mode_24g_device ,mouse_device_led_24g 
+0x491f 023826 beq mode_bt_device1 ,mouse_device_led_bt1 
+0x4920 023827 beq mode_bt_device2 ,mouse_device_led_bt2 
+0x4921 023828 rtn 
+:      023829 mouse_device_led_24g:
+0x4922 023830 fetch 1 ,mem_config_device_24g_led_gpio 
+0x4923 023831 branch mouse_led_blink 
+:      023832 mouse_device_led_bt1:
+0x4924 023833 fetch 1 ,mem_config_device_bt1_led_gpio 
+0x4925 023834 branch mouse_led_blink 
+:      023835 mouse_device_led_bt2:
+0x4926 023836 fetch 1 ,mem_config_device_bt2_led_gpio 
+:      023837 mouse_led_blink:
+0x4927 023838 store 1 ,mem_temp 
+0x4928 023839 call mouse_device_led_off 
+0x4929 023840 fetch 1 ,mem_temp 
+0x492a 023841 store 1 ,mem_mouse_struct_led_gpio 
+0x492b 023842 arg 0 ,rega 
+0x492c 023843 jam ui_led_state_blink_start ,mem_mouse_led_type 
+0x492d 023844 branch ui_led_blink_start_global 
+:      023847 mouse_dpi_led_blink_delay:
+0x492e 023848 fetch 1 ,mem_dpi_led_gpio 
+0x492f 023849 rtneq gpio_disable 
+0x4930 023850 fetch 2 ,mem_mouse_discovery_timer 
+0x4931 023851 nrtn blank 
+0x4932 023852 fetch 2 ,mem_24g_pair_timeout 
+0x4933 023853 nrtn blank 
+0x4934 023854 fetch 2 ,mem_24g_reconn_timeout 
+0x4935 023855 nrtn blank 
+0x4936 023856 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0x4937 023857 nrtn blank 
+0x4938 023858 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0x4939 023859 branch mouse_dpi_led_blink_init ,blank 
+0x493a 023860 store 1 ,mem_mouse_dpi_led_delay_count 
+0x493b 023861 rtn 
+:      023864 mouse_dpi_led_blink_delay_timer:
+0x493c 023865 arg mem_mouse_dpi_led_delay_count ,regc 
+0x493d 023866 arg mouse_dpi_led_blink_init ,regb 
+0x493e 023867 branch timer_single_step 
+:      023869 mouse_dpi_led_blink_init:
+0x493f 023870 fetch 1 ,mem_dpi_led_gpio 
+0x4940 023871 store 1 ,mem_mouse_struct_led_gpio 
+0x4941 023872 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0x4942 023873 store 2 ,mem_mouse_on_time 
+0x4943 023874 store 2 ,mem_mouse_off_time 
+0x4944 023875 arg 0 ,rega 
+0x4945 023876 fetcht 1 ,mem_mouse_dpi 
+0x4946 023877 increase 1 ,temp 
+0x4947 023878 fetch mouse_flag_len ,mem_mouse_flag 
+0x4948 023879 bbit0 mouse_enable_dpi_level_4 ,mouse_dpi_led_blink_init_end 
+0x4949 023880 increase 1 ,temp 
+0x494a 023881 sub temp ,4 ,null 
+0x494b 023882 ncall mouse_dpi_led_blink_count_clean ,positive 
+:      023883 mouse_dpi_led_blink_init_end:
+0x494c 023884 storet 1 ,mem_mouse_blink_count 
+0x494d 023885 jam ui_led_state_blink_start ,mem_mouse_led_type 
+0x494e 023886 rtn 
+:      023888 mouse_dpi_led_blink_count_clean:
+0x494f 023889 arg 1 ,temp 
+0x4950 023890 rtn 
+:      023892 mouse_check_dpi_blink:
+0x4951 023893 disable user 
+0x4952 023894 fetch 1 ,mem_dpi_led_gpio 
+0x4953 023895 fetcht 1 ,mem_mouse_struct_led_gpio 
+0x4954 023896 isub temp ,null 
+0x4955 023897 nrtn zero 
+0x4956 023898 fetch 1 ,mem_mouse_blink_count 
+0x4957 023899 rtn blank 
+0x4958 023900 jam 0 ,mem_adc_low_volatage_led_blink_enable 
+0x4959 023901 enable user 
+0x495a 023902 rtn 
+:      023904 mouse_device_led_all_off:
+0x495b 023905 call mouse_dpi_led_off 
+0x495c 023906 call mouse_device_24g_led_off 
+0x495d 023907 call mouse_device_bt1_led_off 
+0x495e 023908 branch mouse_device_bt2_led_off 
+:      023910 mouse_device_led_off:
+0x495f 023911 fetch 1 ,mem_device_flag 
+0x4960 023912 beq mode_24g_device ,mouse_device_24g_led_off 
+0x4961 023913 beq mode_bt_device1 ,mouse_device_bt1_led_off 
+0x4962 023914 beq mode_bt_device2 ,mouse_device_bt2_led_off 
+0x4963 023915 rtn 
+:      023917 mouse_device_24g_led_off:
+0x4964 023918 jam 0 ,mem_24g_device_led_status 
+0x4965 023919 fetcht 1 ,mem_config_device_24g_led_gpio 
+0x4966 023920 branch mouse_led_off 
+:      023922 mouse_device_bt1_led_off:
+0x4967 023923 fetcht 1 ,mem_config_device_bt1_led_gpio 
+0x4968 023924 branch mouse_led_off 
+:      023926 mouse_device_bt2_led_off:
+0x4969 023927 fetcht 1 ,mem_config_device_bt2_led_gpio 
+0x496a 023928 branch mouse_led_off 
+:      023930 mouse_dpi_led_off:
+0x496b 023931 fetcht 1 ,mem_dpi_led_gpio 
+0x496c 023932 branch mouse_led_off 
+:      023934 mouse_device_led_on:
+0x496d 023935 fetch 1 ,mem_device_flag 
+0x496e 023936 beq mode_24g_device ,mouse_device_24g_led_on 
+0x496f 023937 beq mode_bt_device1 ,mouse_device_bt1_led_on 
+0x4970 023938 beq mode_bt_device2 ,mouse_device_bt2_led_on 
+0x4971 023939 rtn 
+:      023941 mouse_device_24g_led_on:
+0x4972 023942 fetcht 1 ,mem_config_device_24g_led_gpio 
+0x4973 023943 branch mouse_led_on 
+:      023944 mouse_device_bt1_led_on:
+0x4974 023945 fetcht 1 ,mem_config_device_bt1_led_gpio 
+0x4975 023946 branch mouse_led_on 
+:      023947 mouse_device_bt2_led_on:
+0x4976 023948 fetcht 1 ,mem_config_device_bt2_led_gpio 
+0x4977 023949 branch mouse_led_on 
+:      023951 mouse_led_off:
+0x4978 023952 bpatch patch1c_0 ,mem_patch1c 
+0x4979 023953 storet 1 ,mem_mouse_struct_led_gpio 
+0x497a 023954 arg 0 ,rega 
+0x497b 023955 branch ui_led_off_global 
+:      023956 mouse_led_on:
+0x497c 023957 bpatch patch1c_1 ,mem_patch1c 
+0x497d 023958 storet 1 ,mem_mouse_struct_led_gpio 
+0x497e 023959 arg 0 ,rega 
+0x497f 023960 branch ui_led_on_global 
+:      023962 mouse_ui_led_off_static:
+0x4980 023963 fetch 1 ,mem_config_device_24g_led_gpio 
+0x4981 023964 isub temp ,null 
+0x4982 023965 call mouse_clear_24g_led_statue ,zero 
+0x4983 023966 fetch mouse_flag_len ,mem_mouse_flag 
+0x4984 023967 bbit0 mouse_enable_4_led ,gpio_out_inactive 
+0x4985 023968 call mouse_check_bt2_led_off 
+0x4986 023969 call mouse_check_dpi_led_off 
+0x4987 023970 call mouse_check_low_v_led_off 
+0x4988 023971 fetch 1 ,mem_mouse_led_off_4_led 
+0x4989 023972 branch gpio_out_inactive ,blank 
+0x498a 023973 jam 0 ,mem_mouse_led_off_4_led 
+0x498b 023974 branch gpio_set_high_impedance 
+:      023976 mouse_ui_led_on_static:
+0x498c 023977 fetch 1 ,mem_config_device_24g_led_gpio 
+0x498d 023978 isub temp ,null 
+0x498e 023979 call mouse_set_24g_led_statue ,zero 
+0x498f 023980 branch gpio_out_active 
+:      023983 mouse_check_bt2_led_off:
+0x4990 023984 fetch mouse_flag_len ,mem_mouse_flag 
+0x4991 023985 rtnbit0 mouse_enable_bt2_for_4_led 
+0x4992 023986 fetch 1 ,mem_config_device_bt2_led_gpio 
+0x4993 023987 branch mouse_check_1gpio_2led_off 
+:      023988 mouse_check_dpi_led_off:
+0x4994 023989 fetch mouse_flag_len ,mem_mouse_flag 
+0x4995 023990 rtnbit0 mouse_enable_dpi_for_4_led 
+0x4996 023991 fetch 1 ,mem_dpi_led_gpio 
+0x4997 023992 branch mouse_check_1gpio_2led_off 
+:      023993 mouse_check_low_v_led_off:
+0x4998 023994 fetch mouse_flag_len ,mem_mouse_flag 
+0x4999 023995 rtnbit0 mouse_enable_low_v_for_4_led 
+0x499a 023996 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+:      023997 mouse_check_1gpio_2led_off:
+0x499b 023998 isub temp ,null 
+0x499c 023999 nrtn zero 
+0x499d 024000 jam 1 ,mem_mouse_led_off_4_led 
+0x499e 024001 rtn 
+:      024003 mouse_clear_24g_led_statue:
+0x499f 024004 jam 0 ,mem_24g_device_led_status 
+0x49a0 024005 rtn 
+:      024007 mouse_set_24g_led_statue:
+0x49a1 024008 jam 1 ,mem_24g_device_led_status 
+0x49a2 024009 rtn 
+:      024011 mouse_low_voltage_led_timer:
+0x49a3 024012 fetch 2 ,mem_mouse_discovery_timer 
+0x49a4 024013 nrtn blank 
+0x49a5 024014 fetch 2 ,mem_24g_pair_timeout 
+0x49a6 024015 nrtn blank 
+0x49a7 024016 fetch 2 ,mem_24g_reconn_timeout 
+0x49a8 024017 nrtn blank 
+0x49a9 024018 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0x49aa 024019 nrtn blank 
+0x49ab 024020 call mouse_check_dpi_blink 
+0x49ac 024021 rtn user 
+0x49ad 024022 fetch mouse_flag_len ,mem_mouse_flag 
+0x49ae 024023 rtnbit0 mouse_enable_low_voltage_led 
+0x49af 024024 rtnbit0 mouse_low_voltage_flag 
+0x49b0 024025 bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+0x49b1 024026 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0x49b2 024027 increase 1 ,pdata 
+0x49b3 024028 store 1 ,mem_adc_low_volatage_led_timer_count 
+0x49b4 024029 sub pdata ,20 ,null 
+0x49b5 024030 ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0x49b6 024031 beq 2 ,mouse_low_voltage_led_on 
+0x49b7 024032 beq 4 ,mouse_low_voltage_led_off 
+0x49b8 024033 beq 6 ,mouse_low_voltage_led_on 
+0x49b9 024034 beq 8 ,mouse_low_voltage_led_off 
+0x49ba 024035 rtn 
+:      024036 mouse_adc_low_volatage_led_timer_count_clean:
+0x49bb 024037 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0x49bc 024038 branch mouse_low_voltage_led_off 
+:      024039 mouse_low_voltage_led_on:
+0x49bd 024040 fetch mouse_flag_len ,mem_mouse_flag 
+0x49be 024041 bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_device_led_on 
+0x49bf 024042 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c0 024043 rtneq gpio_disable 
+0x49c1 024044 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c2 024045 branch mouse_led_on 
+:      024046 mouse_low_voltage_led_off:
+0x49c3 024047 fetch mouse_flag_len ,mem_mouse_flag 
+0x49c4 024048 bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_device_led_off 
+0x49c5 024049 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c6 024050 rtneq gpio_disable 
+0x49c7 024051 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c8 024052 branch mouse_led_off 
+:      024054 mouse_low_voltage_led_blink_new_data:
+0x49c9 024055 fetch 2 ,mem_mouse_no_data_timeout 
+0x49ca 024056 fetcht 2 ,mem_mouse_no_data_timer 
+0x49cb 024057 isub temp ,temp 
+0x49cc 024058 fetch 2 ,mem_adc_low_volatage_led_blink_timer 
+0x49cd 024059 isub temp ,null 
+0x49ce 024060 nbranch mouse_low_voltage_led_blink_disable ,positive 
+0x49cf 024061 fetch 1 ,mem_adc_low_volatage_led_blink_enable 
+0x49d0 024062 nrtn blank 
+0x49d1 024063 jam 1 ,mem_adc_low_volatage_led_blink_enable 
+0x49d2 024064 branch mouse_low_voltage_led_blink_init 
+:      024066 mouse_low_voltage_led_blink_init:
+0x49d3 024067 fetch 2 ,mem_mouse_low_v_led_blink_time 
+0x49d4 024068 store 2 ,mem_mouse_on_time 
+0x49d5 024069 store 2 ,mem_mouse_off_time 
+0x49d6 024070 fetch mouse_flag_len ,mem_mouse_flag 
+0x49d7 024071 bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_setting_led_gpio_comman 
+0x49d8 024072 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0x49d9 024073 rtneq gpio_disable 
+0x49da 024074 branch mouse_led_blink 
+:      024076 mouse_low_voltage_led_blink_disable:
+0x49db 024077 jam 0 ,mem_adc_low_volatage_led_blink_enable 
+0x49dc 024078 branch mouse_low_voltage_led_off 
+:      024081 mouse_low_voltage_led_no_enter_lpm:
+0x49dd 024082 fetch mouse_flag_len ,mem_mouse_flag 
+0x49de 024083 rtnbit0 mouse_enable_low_voltage_led 
+0x49df 024084 rtnbit0 mouse_low_voltage_flag 
+0x49e0 024085 bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_no_enter_lpm_blink 
+0x49e1 024086 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0x49e2 024087 sub pdata ,10 ,null 
+0x49e3 024088 branch mouse_lpm_mode_clear ,positive 
+:      024089 mouse_low_voltage_led_no_enter_lpm_next:
+0x49e4 024090 fetch 1 ,mem_device_flag 
+0x49e5 024091 beq mode_24g_device ,g24_transmit_by_interrupt_exit_check 
+0x49e6 024092 jam 1 ,mem_lpm_mode 
+0x49e7 024093 rtn 
+:      024095 g24_transmit_by_interrupt_exit_check:
+0x49e8 024096 fetch mouse_flag_len ,mem_mouse_flag 
+0x49e9 024097 rtnbit1 mouse_enable_24g_250hz 
+0x49ea 024098 branch g24_transmit_by_interrupt_exit 
+:      024100 mouse_lpm_mode_clear:
+0x49eb 024101 fetch 1 ,mem_device_flag 
+0x49ec 024102 beq mode_24g_device ,g24_transmit_by_interrupt_enable 
+0x49ed 024103 jam 0 ,mem_lpm_mode 
+0x49ee 024104 rtn 
+:      024106 mouse_low_voltage_led_no_enter_lpm_blink:
+0x49ef 024107 fetch 1 ,mem_adc_low_volatage_led_blink_enable 
+0x49f0 024108 nbranch mouse_lpm_mode_clear ,blank 
+0x49f1 024109 branch mouse_low_voltage_led_no_enter_lpm_next 
+:      024113 mouse_store_signal_rssi:
+0x49f2 024114 call rssi_hex2dec 
+0x49f3 024115 fetch 1 ,mem_rssi 
+0x49f4 024116 branch rssi_signal 
+:      024118 mouse_le_transmit:
+0x49f5 024119 call mouse_store_signal_rssi 
+0x49f6 024120 branch power_ctrl_start 
+:      024122 mouse_bt_slave_match:
+0x49f7 024123 call mouse_store_signal_rssi 
+0x49f8 024124 fetch 1 ,mem_state 
+0x49f9 024125 isolate1 state_inconn ,pdata 
+0x49fa 024126 nrtn true 
+0x49fb 024127 fetch 1 ,mem_arq 
+0x49fc 024128 isolate1 wack ,pdata 
+0x49fd 024129 call power_ctrl_pac_succ_decrs ,true 
+0x49fe 024130 ncall power_ctrl_pac_succ_incrs ,true 
+0x49ff 024131 branch power_ctrl_start 
+:      024133 mouse_le_set_lpm_mult:
+0x4a00 024134 fetch 1 ,mem_le_connect_status_flag 
+0x4a01 024135 compare 3 ,pdata ,3 
+0x4a02 024136 nbranch disable_blank ,true 
+0x4a03 024137 call app_lpm_mult_enable 
+0x4a04 024138 branch enable_blank 
+:      024140 mouse_bt_set_lpm_mult:
+0x4a05 024141 call l2cap_malloc_is_fifo_empty 
+0x4a06 024142 nrtn blank 
+0x4a07 024143 jam 1 ,mem_current_sniff_attempt 
+0x4a08 024144 jam 0 ,mem_current_sniff_timeout 
+0x4a09 024145 branch enable_blank 
+:      024147 mouse_set_lpm_mult:
+0x4a0a 024148 fetch 2 ,mem_ui_state_map 
+0x4a0b 024149 bbit1 ui_state_ble_connected ,mouse_le_set_lpm_mult 
+0x4a0c 024150 branch mouse_bt_set_lpm_mult 
+:      024156 remote_car_init:
+0x4a0d 024157 rtn wake 
+0x4a0e 024158 call keyscan_key_init 
+0x4a0f 024159 setarg remote_car_g24_package_data 
+0x4a10 024160 store 2 ,mem_cb_24g_transmit_data 
+0x4a11 024162 setarg remote_car_process_lpm_before 
+0x4a12 024163 store 2 ,mem_cb_24g_lpm_before 
+0x4a13 024165 setarg remote_car_le_before_hibernate 
+0x4a14 024166 store 2 ,mem_cb_before_hibernate 
+0x4a15 024168 setarg remote_car_scale_process_idle 
+0x4a16 024169 store 2 ,mem_cb_idle_process 
+0x4a17 024171 setarg remote_car_scale_process_bb_event 
+0x4a18 024172 store 2 ,mem_cb_bb_event_process 
+0x4a19 024174 setarg remote_car_event_timer 
+0x4a1a 024175 store 2 ,mem_cb_event_timer 
+0x4a1b 024177 setarg remote_car_power_off_signal 
+0x4a1c 024178 store 2 ,mem_remote_car_power_off_cb 
+0x4a1d 024180 setarg remote_car_soft_switch_power_on_signal 
+0x4a1e 024181 store 2 ,mem_remote_car_power_standby_cb 
+0x4a1f 024184 bpatch patch1c_2 ,mem_patch1c 
+0x4a20 024185 call set_eeprom_size_2k 
+0x4a21 024186 call remote_car_init_environment 
+0x4a22 024188 call queue_init 
+0x4a23 024189 fetch 1 ,mem_remote_car_config_soft_switch_enable 
+0x4a24 024190 store 1 ,mem_remote_car_hard_soft_switch 
+0x4a25 024191 beq hard_switch ,remote_car_hard_switch_power_on_signal 
+0x4a26 024192 fetch 1 ,mem_remote_car_config_soft_switch_gpio 
+0x4a27 024193 store 1 ,mem_ui_button_gpio 
+:      024194 remote_car_soft_switch_power_on_init:
+0x4a28 024195 call remote_car_ui_led_init 
+0x4a29 024196 call ui_button_init 
+0x4a2a 024197 call ui_button_polling 
+0x4a2b 024198 jam power_starting ,mem_remote_car_power_state 
+0x4a2c 024199 fetch 2 ,mem_ui_state_map 
+0x4a2d 024200 rtnbit1 ui_state_btn_down 
+0x4a2e 024201 branch app_enter_hibernate 
+:      024205 remote_car_hard_switch_power_on_signal:
+0x4a2f 024206 jam power_standby ,mem_remote_car_power_state 
+:      024207 remote_car_soft_switch_power_on_signal:
+0x4a30 024208 call remote_car_ui_led_init 
+0x4a31 024209 arg 0 ,rega 
+0x4a32 024210 call ui_led_blink_start_global 
+0x4a33 024211 call remote_car_set_24g_addr_eeprom 
+0x4a34 024212 call iicd_read_eep_data 
+0x4a35 024213 call g24_factory_check 
+0x4a36 024214 branch g24_pair_start ,user 
+0x4a37 024215 fetch 4 ,mem_24g_addr 
+0x4a38 024216 store 4 ,mem_24g_receiver_addr 
+0x4a39 024217 fetch 2 ,mem_24g_reconn_timeout_init 
+0x4a3a 024218 store 2 ,mem_24g_reconn_timeout 
+0x4a3b 024219 branch g24_reconn_start 
+:      024221 remote_car_set_24g_addr_eeprom:
+0x4a3c 024222 arg 4 ,temp 
+0x4a3d 024223 arg mem_24g_addr ,rega 
+0x4a3e 024224 arg remote_info_eeprom_offect ,regb 
+0x4a3f 024225 rtn 
+:      024228 remote_car_power_off_signal:
+:      024229 remote_car_ui_led_init:
+0x4a40 024230 bpatch patch1c_3 ,mem_patch1c 
+0x4a41 024231 fetch 1 ,mem_remote_car_config_connect_led_gpio 
+0x4a42 024232 bne invalid_pin_num ,remote_car_pairing_led_gpio_set 
+:      024233 remote_car_ui_led_init_1:
+0x4a43 024234 fetcht 1 ,mem_remote_car_led_map 
+0x4a44 024235 branch gpio_config_output 
+:      024236 remote_car_pairing_led_gpio_set:
+0x4a45 024237 store 1 ,mem_remote_car_led_map 
+0x4a46 024238 branch remote_car_ui_led_init_1 
+:      024241 remote_car_init_environment:
+0x4a47 024242 call g24_transmit_init 
+:      024243 remote_no_data_timer_init:
+0x4a48 024244 fetch 2 ,mem_remote_car_no_data_timeout 
+0x4a49 024245 store 2 ,mem_remote_car_no_data_timer 
+0x4a4a 024246 rtn 
+:      024248 remote_car_le_before_hibernate:
+0x4a4b 024249 call remote_car_process_lpm_before 
+:      024250 remote_gpio_set_before_hibernate:
+0x4a4c 024251 fetch 1 ,mem_remote_style_struct_led_gpio 
+0x4a4d 024252 set1 7 ,pdata 
+0x4a4e 024253 arg gpcfg_output_high ,temp 
+0x4a4f 024254 branch gpio_config_function 
+:      024256 remote_car_process_lpm_before:
+0x4a50 024257 call gpio_set_before_lpm 
+0x4a51 024258 branch keyscan_process_lpm_before 
+:      024260 remote_car_key_scan_process:
+0x4a52 024261 call keyscan_key_process 
+0x4a53 024262 call get_remote_key_state 
+0x4a54 024263 call remote_conn_led_state 
+0x4a55 024264 branch send_data 
+:      024266 remote_conn_led_state:
+0x4a56 024267 fetch 1 ,mem_remote_car_24g_status 
+0x4a57 024268 rtnne work_paired 
+0x4a58 024269 fetch 4 ,mem_remote_car_motor1_key0_press_state 
+0x4a59 024270 branch remote_car_stop_state ,blank 
+0x4a5a 024271 jam 0 ,mem_remote_car_no_data_check 
+0x4a5b 024272 enable user 
+0x4a5c 024273 branch check_51cmd_led_on 
+:      024274 remote_car_stop_state:
+0x4a5d 024275 fetch 1 ,mem_remote_car_no_data_check 
+0x4a5e 024276 rtneq 0xff 
+0x4a5f 024277 pincrease 1 
+0x4a60 024278 store 1 ,mem_remote_car_no_data_check 
+0x4a61 024279 disable user 
+0x4a62 024280 branch check_51cmd_led_off 
+:      024283 get_remote_key_state:
+0x4a63 024284 fetcht 2 ,mem_key_value_retention 
+0x4a64 024285 and temp ,0x01 ,pdata 
+0x4a65 024286 rshift temp ,temp 
+0x4a66 024287 store 1 ,mem_remote_car_motor1_key0_press_state 
+0x4a67 024288 and temp ,0x01 ,pdata 
+0x4a68 024289 rshift temp ,temp 
+0x4a69 024290 store 1 ,mem_remote_car_motor1_key1_press_state 
+0x4a6a 024291 and temp ,0x01 ,pdata 
+0x4a6b 024292 rshift temp ,temp 
+0x4a6c 024293 store 1 ,mem_remote_car_motor2_key2_press_state 
+0x4a6d 024294 and temp ,0x01 ,pdata 
+0x4a6e 024295 rshift temp ,temp 
+0x4a6f 024296 store 1 ,mem_remote_car_motor2_key3_press_state 
+0x4a70 024297 rtn 
+:      024298 send_data:
+0x4a71 024299 bpatch patch1c_4 ,mem_patch1c 
+0x4a72 024300 call remote_car_fb_check 
+0x4a73 024301 call remote_car_lr_check 
+0x4a74 024302 call remote_car_no_data_timeout_check 
+0x4a75 024303 nrtn user 
+0x4a76 024304 branch remote_car_send_key 
+:      024307 remote_car_no_data_timeout_check:
+0x4a77 024308 fetch 1 ,mem_remote_car_24g_status 
+0x4a78 024309 rtnne work_paired 
+0x4a79 024310 fetch 1 ,mem_remote_car_no_data_check 
+0x4a7a 024311 rtn blank 
+0x4a7b 024312 sub pdata ,1 ,null 
+0x4a7c 024313 nrtn positive 
+0x4a7d 024314 fetch 2 ,mem_24g_reconn_timeout_init 
+0x4a7e 024315 store 2 ,mem_24g_reconn_timeout 
+0x4a7f 024316 enable user 
+0x4a80 024317 rtn 
+:      024321 remote_car_fb_check:
+0x4a81 024322 fetch 1 ,mem_remote_car_motor1_key0_press_state 
+0x4a82 024323 nbranch remote_car_send_motor1_key0_press ,blank 
+0x4a83 024324 fetch 1 ,mem_remote_car_motor1_key1_press_state 
+0x4a84 024325 nbranch remote_car_send_motor1_key1_press ,blank 
+0x4a85 024326 branch remote_car_send_motor1_key0_rel 
+:      024328 remote_car_lr_check:
+0x4a86 024329 fetch 1 ,mem_remote_car_motor2_key2_press_state 
+0x4a87 024330 nbranch remote_car_send_motor2_key2_press ,blank 
+0x4a88 024331 fetch 1 ,mem_remote_car_motor2_key3_press_state 
+0x4a89 024332 nbranch remote_car_send_motor2_key3_press ,blank 
+0x4a8a 024333 branch remote_car_send_motor2_key2_rel 
+:      024336 remote_car_scale_process_idle:
+0x4a8b 024337 call remote_car_24g_status_process 
+0x4a8c 024338 branch remote_car_key_scan_process 
+:      024340 remote_car_scale_process_bb_event:
+0x4a8d 024341 copy regc ,pdata 
+0x4a8e 024342 beq bt_evt_button_up ,app_event_button_up 
+0x4a8f 024343 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x4a90 024344 beq bt_evt_24g_pairing_complete ,remote_car_24g_pairing_complete 
+0x4a91 024345 beq bt_evt_24g_attempt_success ,remote_car_24g_attempt_success 
+0x4a92 024346 beq bt_evt_24g_attempt_fail ,remote_car_24g_attempt_fail 
+0x4a93 024347 rtn 
+:      024349 remote_car_24g_attempt_fail:
+0x4a94 024350 branch g24_txbuf_clear 
+:      024352 remote_car_24g_pairing_complete:
+0x4a95 024353 call remote_car_set_24g_addr_eeprom 
+0x4a96 024354 call iicd_write_protect_eep_data 
+:      024355 remote_car_24g_attempt_success:
+0x4a97 024356 jam 0 ,mem_24g_conn_sm 
+0x4a98 024357 jam work_paired ,mem_remote_car_24g_auto_work_step 
+0x4a99 024358 jam work_paired ,mem_remote_car_24g_pair_success_flag 
+0x4a9a 024359 rtn 
+:      024361 remote_car_24g_status_process:
+0x4a9b 024362 fetch 1 ,mem_remote_car_24g_auto_work_step 
+0x4a9c 024363 rtneq power_on 
+0x4a9d 024364 fetch 1 ,mem_remote_car_24g_status 
+0x4a9e 024365 rtneq work_paired 
+0x4a9f 024366 jam work_paired ,mem_remote_car_24g_status 
+:      024367 remote_car_scale_process_paired:
+0x4aa0 024368 arg 0 ,rega 
+0x4aa1 024369 branch ui_led_off_global 
+:      024370 remote_car_scale_process_shutdown:
+0x4aa2 024371 arg 0 ,rega 
+0x4aa3 024372 call ui_led_off_global 
+0x4aa4 024373 call remote_car_ui_led_init 
+0x4aa5 024374 branch app_enter_hibernate 
+:      024376 remote_car_event_timer:
+0x4aa6 024377 call app_power_timer 
+0x4aa7 024378 call g24_pair_timeout_timer 
+0x4aa8 024379 call g24_reconn_timeout_timer 
+0x4aa9 024380 branch remote_car_no_data_timer 
+:      024382 remote_car_no_data_timer:
+0x4aaa 024383 fetch 1 ,mem_remote_car_config_timeout_shutdown_enable 
+0x4aab 024384 rtn blank 
+0x4aac 024385 fetch 1 ,mem_key_value_retention 
+0x4aad 024386 nbranch remote_no_data_timer_init ,blank 
+0x4aae 024387 arg mem_remote_car_no_data_timer ,regc 
+0x4aaf 024388 arg remote_car_scale_process_shutdown ,regb 
+0x4ab0 024389 branch timer_single_step_2b 
+:      024393 remote_car_send_motor1_key0_press:
+0x4ab1 024394 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+0x4ab2 024395 rtn 
+:      024396 remote_car_send_motor1_key1_press:
+0x4ab3 024397 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+0x4ab4 024398 rtn 
+:      024399 remote_car_send_motor2_key2_press:
+0x4ab5 024400 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+0x4ab6 024401 rtn 
+:      024402 remote_car_send_motor2_key3_press:
+0x4ab7 024403 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+0x4ab8 024404 rtn 
+:      024407 remote_car_send_motor1_key0_rel:
+:      024408 remote_car_send_motor1_key1_rel:
+0x4ab9 024409 jam motor_stop ,mem_remote_car_24g_motor1_payload 
+0x4aba 024410 rtn 
+:      024411 remote_car_send_motor2_key2_rel:
+:      024412 remote_car_send_motor2_key3_rel:
+0x4abb 024413 jam motor_stop ,mem_remote_car_24g_motor2_payload 
+0x4abc 024414 rtn 
+:      024416 remote_car_send_key:
+0x4abd 024417 arg mem_remote_car_24g_motor_packet ,rega 
+0x4abe 024418 branch queue_push 
+:      024419 remote_car_send_attack:
+0x4abf 024420 arg mem_remote_car_24g_fire_packet ,rega 
+0x4ac0 024421 branch queue_push 
+:      024423 remote_car_g24_package_data:
+0x4ac1 024424 fetch 1 ,mem_remote_car_24g_pair_success_flag 
+0x4ac2 024425 beq work_paired ,remote_car_g24_send_empty 
+0x4ac3 024426 arg mem_remote_car_24g_tx_temp ,rega 
+0x4ac4 024427 call queue_pop 
+0x4ac5 024428 nbranch remote_car_moto_data ,user 
+:      024429 remote_car_g24_package_data_continue:
+0x4ac6 024430 arg mem_remote_car_24g_tx_temp ,contr 
+0x4ac7 024431 ifetch 1 ,contr 
+0x4ac8 024432 copy pdata ,rega 
+0x4ac9 024433 arg mem_remote_car_24g_tx_temp + 1 ,regb 
+0x4aca 024436 rtn 
+:      024438 remote_car_g24_send_empty:
+0x4acb 024439 jam 0 ,mem_remote_car_24g_pair_success_flag 
+0x4acc 024440 enable user 
+0x4acd 024441 arg 1 ,rega 
+0x4ace 024442 arg mem_remote_car_empty_packet ,regb 
+0x4acf 024443 rtn 
+:      024445 remote_car_moto_data:
+0x4ad0 024446 fetch 1 ,mem_remote_car_24g_tx_temp + 3 
+0x4ad1 024447 beq car_cmd_l_r_motor_control ,remote_car_moto_data_next 
+0x4ad2 024448 beq car_cmd_f_b_motor_control ,remote_car_moto_data_next 
+0x4ad3 024449 rtn 
+:      024450 remote_car_moto_data_next:
+0x4ad4 024451 fetch 1 ,mem_remote_car_24g_tx_temp + 6 
+0x4ad5 024452 nbranch remote_car_moto_data_enable_user ,blank 
+0x4ad6 024453 fetch 1 ,mem_remote_car_24g_tx_temp + 8 
+0x4ad7 024454 nbranch remote_car_moto_data_enable_user ,blank 
+0x4ad8 024455 fetch 1 ,mem_remote_car_24g_tx_temp + 10 
+0x4ad9 024456 nbranch remote_car_moto_data_enable_user ,blank 
+0x4ada 024457 rtn 
+:      024458 remote_car_moto_data_enable_user:
+0x4adb 024459 enable user 
+0x4adc 024460 branch remote_car_g24_package_data_continue 
+:      024465 remote_car_default_init:
+0x4add 024466 jam 0x14 ,mem_ui_button_timeout 
+0x4ade 024467 jam 0x01 ,mem_ui_button_last_state 
+0x4adf 024468 setarg 0x060f 
+0x4ae0 024469 store 2 ,mem_remote_car_queue_each_size 
+0x4ae1 024470 setarg mem_remote_car_queue_each_size 
+0x4ae2 024471 store 2 ,mem_queue_ptr 
+0x4ae3 024472 jam 0x01 ,mem_lpm_mode 
+0x4ae4 024473 jam 0x06 ,mem_lpm_overhead 
+0x4ae5 024474 jam 0x02 ,mem_lpm_mult_timeout 
+0x4ae6 024475 jam 0x00 ,mem_remote_car_hard_soft_switch 
+0x4ae7 024476 setarg mem_remote_style_led_type 
+0x4ae8 024477 store 2 ,mem_ui_led_struct_ptr 
+0x4ae9 024478 jam 0x01 ,mem_ui_led_struct_num 
+0x4aea 024479 jam 0xff ,mem_remote_style_blink_count 
+0x4aeb 024480 setarg 0x0296 
+0x4aec 024481 store 2 ,mem_remote_style_on_time 
+0x4aed 024482 setarg 0x073a 
+0x4aee 024483 store 2 ,mem_remote_style_off_time 
+0x4aef 024484 setarg mem_remote_car_soft_power 
+0x4af0 024485 store 2 ,mem_power_param_ptr 
+0x4af1 024486 setarg 0x0c0c 
+0x4af2 024487 store 2 ,mem_remote_car_power_off_timeout 
+0x4af3 024488 setarg mem_remote_car_keyscan 
+0x4af4 024489 store 2 ,mem_keyscan_ptr 
+0x4af5 024490 jam 0x00 ,mem_remote_car_config_soft_switch_enable 
+0x4af6 024491 jam 0xff ,mem_remote_car_config_connect_led_gpio 
+0x4af7 024492 jam 0xff ,mem_remote_car_config_soft_switch_gpio 
+0x4af8 024493 jam 0x00 ,mem_remote_car_config_key_map 
+0x4af9 024494 jam 0x00 ,mem_remote_car_config_layout 
+0x4afa 024495 jam 0x00 ,mem_remote_car_config_check_way 
+0x4afb 024496 jam 0x01 ,mem_remote_car_config_timeout_shutdown_enable 
+0x4afc 024497 setarg 0x4e55 
+0x4afd 024498 store 2 ,mem_current_vdd_value_default_mid_x 
+0x4afe 024499 store 2 ,mem_current_vdd_value_default_mid_y 
+0x4aff 024500 setarg 0x0007 
+0x4b00 024501 store 2 ,mem_current_vdd_default_range 
+0x4b01 024502 jam 0x02 ,mem_adc_config_flag 
+0x4b02 024503 setsect 0 ,0x35a0c 
+0x4b03 024504 setsect 1 ,0x11a 
+0x4b04 024505 setsect 2 ,0x60 
+0x4b05 024506 setsect 3 ,0x28 
+0x4b06 024507 store 9 ,mem_remote_car_24g_motor_packet 
+0x4b07 024508 setsect 0 ,0x2000a 
+0x4b08 024509 setsect 1 ,0x02 
+0x4b09 024510 istore 4 ,contw 
+0x4b0a 024511 setsect 0 ,0x35a08 
+0x4b0b 024512 setsect 1 ,0x19a 
+0x4b0c 024513 setsect 2 ,0x00 
+0x4b0d 024514 setsect 3 ,0x00 
+0x4b0e 024515 store 9 ,mem_remote_car_24g_fire_packet 
+0x4b0f 024516 setarg 0x0064 
+0x4b10 024517 store 2 ,mem_remote_car_no_data_timeout 
+0x4b11 024518 jam tx_power_0db ,mem_tx_power 
+0x4b12 024519 jam 0x01 ,mem_24g_data_type 
+0x4b13 024520 jam 0x06 ,mem_24g_max_retry 
+0x4b14 024521 jam 0x01 ,mem_24g_pair_switch 
+0x4b15 024522 jam 0x00 ,mem_24g_fast_conn_enable 
+0x4b16 024523 call g24_rx_window_init 
+0x4b17 024524 call g24_interval_param_8ms 
+0x4b18 024525 call g24_chmap_param_init 
+0x4b19 024526 call g24_pair_param_init 
+0x4b1a 024527 setarg 0x0708 
+0x4b1b 024528 store 2 ,mem_24g_pair_timeout_init 
+0x4b1c 024529 setarg 0x0050 
+0x4b1d 024530 store 2 ,mem_24g_reconn_timeout_init 
+0x4b1e 024531 setarg 0x0a7700 
+0x4b1f 024532 store 3 ,mem_24g_long_sleep_set 
+0x4b20 024533 setarg 0x604800 
+0x4b21 024534 store 3 ,mem_24g_enter_hibernate 
+0x4b22 024535 branch app_sys_param_init 
+:      024547 shutter_init:
+0x4b23 024548 call enable_authrom 
+0x4b24 024549 rtn wake 
+0x4b25 024550 setarg shutter_le_before_hibernate 
+0x4b26 024551 store 2 ,mem_cb_before_hibernate 
+0x4b27 024553 setarg shutter_process_lpm_before 
+0x4b28 024554 store 2 ,mem_cb_before_lpm 
+0x4b29 024556 setarg app_enter_hibernate 
+0x4b2a 024557 store 2 ,mem_cb_discovry_timeout 
+0x4b2b 024559 setarg shutter_process_idle 
+0x4b2c 024560 store 2 ,mem_cb_idle_process 
+0x4b2d 024562 setarg shutter_process_bb_event 
+0x4b2e 024563 store 2 ,mem_cb_bb_event_process 
+0x4b2f 024565 setarg shutter_le_scale_lpm_lock 
+0x4b30 024566 store 2 ,mem_cb_check_wakelock 
+0x4b31 024568 setarg ble_shutter_receive_data 
+0x4b32 024569 store 2 ,mem_cb_att_write 
+0x4b33 024571 setarg shutter_le_bb_event_timer 
+0x4b34 024572 store 2 ,mem_cb_event_timer 
+0x4b35 024574 setarg shutter_key_change 
+0x4b36 024575 store 2 ,mem_cb_shutter_keycan 
+0x4b37 024577 setarg shutter_soft_swtich_power_on 
+0x4b38 024578 store 2 ,mem_shutter_soft_switch_poweron_callback_function 
+0x4b39 024579 setarg shutter_soft_swtich_power_off 
+0x4b3a 024580 store 2 ,mem_shutter_soft_switch_poweroff_callback_function 
+0x4b3b 024582 call shutter_set_ble_version 
+0x4b3c 024583 call le_modified_name 
+0x4b3d 024584 call shutter_init_param 
+0x4b3e 024585 call keyscan_key_init 
+0x4b3f 024586 call queue_init 
+0x4b40 024587 call ui_led_init_global 
+0x4b41 024589 bpatch patch1c_5 ,mem_patch1c 
+0x4b42 024590 call shutter_load_buffer_config_form_datarom 
+0x4b43 024591 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4b44 024592 beq hard_switch ,shutter_hart_swtich_power_on 
+0x4b45 024593 fetch 1 ,mem_shutter_soft_switch_button_gpio 
+0x4b46 024594 store 1 ,mem_ui_button_gpio 
+0x4b47 024595 branch ui_soft_swtich_init 
+:      024597 shutter_set_ble_version:
+0x4b48 024599 jam 7 ,mem_lmp_version 
+0x4b49 024600 rtn 
+:      024603 shutter_hart_swtich_power_on:
+0x4b4a 024604 jam ui_button_gpio_disable ,mem_ui_button_gpio 
+0x4b4b 024605 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+0x4b4c 024606 branch shutter_start_reconnect 
+:      024610 shutter_le_scale_lpm_lock:
+0x4b4d 024611 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4b4e 024612 beq ss_state_power_off ,app_get_lpm_wake_lock 
+0x4b4f 024613 call l2cap_malloc_get_full_map 
+0x4b50 024614 fetch 1 ,mem_used_map 
+0x4b51 024615 nbranch app_get_lpm_wake_lock ,blank 
+0x4b52 024616 branch app_put_lpm_wake_lock 
+:      024620 shutter_process_bb_event:
+0x4b53 024621 copy regc ,pdata 
+0x4b54 024624 beq bt_evt_le_connected ,ble_shutter_process_baseband_connect 
+0x4b55 024625 beq bt_evt_le_disconnected ,ble_shutter_process_baseband_disconnect 
+0x4b56 024626 beq bt_evt_le_reconnect_complete ,ble_shutter_process_reconnect_complete 
+0x4b57 024627 beq bt_evt_le_parse_conn_papa_update_rsp ,ble_shutter_process_parse_connect_parameter_update_response 
+0x4b58 024629 beq bt_evt_button_long_pressed ,shutter_process_soft_swtich_button_long_press 
+0x4b59 024630 beq bt_evt_button_down ,shutter_process_soft_swtich_button_down 
+0x4b5a 024631 beq bt_evt_button_up ,shutter_process_soft_swtich_button_up 
+0x4b5b 024632 rtn 
+:      024636 ble_shutter_process_baseband_connect:
+0x4b5c 024637 call shutter_stop_bluetooth_discovery 
+0x4b5d 024638 setarg 0 
+0x4b5e 024639 store 2 ,mem_ble_shutter_reconn_timer 
+0x4b5f 024640 branch app_led_off 
+:      024643 ble_shutter_process_baseband_disconnect:
+0x4b60 024644 call queue_init 
+0x4b61 024645 jam 0 ,mem_ble_shutter_enable_notify 
+0x4b62 024646 branch shutter_start_reconnect 
+:      024649 ble_shutter_process_reconnect_complete:
+0x4b63 024650 call queue_init 
+0x4b64 024651 jam 1 ,mem_ble_shutter_enable_notify 
+0x4b65 024652 fetch 8 ,mem_ble_shutter_interval_min 
+0x4b66 024653 store 8 ,mem_le_interval_min 
+0x4b67 024654 call app_lpm_mult_enable 
+0x4b68 024655 branch le_l2cap_tx_update_req 
+:      024658 ble_shutter_process_parse_connect_parameter_update_response:
+0x4b69 024659 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x4b6a 024660 rtneq ble_signaling_connect_parameter_update_accepted 
+0x4b6b 024661 fetch 8 ,mem_ble_shutter_interval_min_new 
+0x4b6c 024662 rtn blank 
+0x4b6d 024663 store 8 ,mem_le_interval_min 
+0x4b6e 024664 branch le_l2cap_tx_update_req 
+:      024668 shutter_process_soft_swtich_button_long_press:
+0x4b6f 024669 branch ui_soft_switch_botton_long_press 
+:      024671 shutter_process_soft_swtich_button_down:
+0x4b70 024672 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4b71 024673 rtneq hard_switch 
+0x4b72 024674 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4b73 024675 rtnne ss_state_power_on 
+0x4b74 024676 call shutter_store_currenct_led_state 
+0x4b75 024677 branch app_led_on 
+:      024679 shutter_store_currenct_led_state:
+0x4b76 024680 jam 1 ,mem_shutter_soft_swtich_botton_down 
+0x4b77 024681 arg 11 ,loopcnt 
+0x4b78 024682 arg mem_shutter_soft_swtich_led_struct_temp ,contw 
+0x4b79 024683 arg mem_shutter_led_struct_app_led ,contr 
+0x4b7a 024684 branch memcpy 
+:      024686 shutter_process_soft_swtich_button_up:
+0x4b7b 024687 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4b7c 024688 rtneq hard_switch 
+0x4b7d 024689 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4b7e 024690 beq ss_state_power_on ,shutter_load_currenct_led_state 
+0x4b7f 024691 branch ui_soft_switch_botton_up 
+:      024693 shutter_load_currenct_led_state:
+0x4b80 024694 fetch 1 ,mem_shutter_soft_swtich_botton_down 
+0x4b81 024695 rtnne 1 
+0x4b82 024696 jam 0 ,mem_shutter_soft_swtich_botton_down 
+0x4b83 024697 fetch 2 ,mem_ui_state_map 
+0x4b84 024698 bbit1 ui_state_bt_connected ,app_led_off 
+0x4b85 024699 bbit1 ui_state_ble_connected ,app_led_off 
+0x4b86 024700 arg 11 ,loopcnt 
+0x4b87 024701 arg mem_shutter_soft_swtich_led_struct_temp ,contr 
+0x4b88 024702 arg mem_shutter_led_struct_app_led ,contw 
+0x4b89 024703 branch memcpy 
+:      024708 shutter_le_bb_event_timer:
+0x4b8a 024710 call shutter_check_sleep_timer 
+0x4b8b 024713 call shutter_check_power_off_timer 
+0x4b8c 024717 branch ble_shutter_reconn_timer 
+:      024721 shutter_check_sleep_timer:
+0x4b8d 024722 arg mem_shutter_sleep_timer ,regc 
+0x4b8e 024723 arg shutter_sleep_timeout ,regb 
+0x4b8f 024724 branch timer_single_step_2b 
+:      024725 shutter_sleep_timeout:
+0x4b90 024726 jam ss_state_power_off ,mem_shutter_soft_switch_power_state 
+0x4b91 024727 call app_led_off 
+0x4b92 024728 call shutter_disconnect_current_connection 
+0x4b93 024729 branch shutter_wait_power_off 
+:      024732 shutter_check_power_off_timer:
+0x4b94 024733 arg mem_shutter_power_off_timer ,regc 
+0x4b95 024734 arg shutter_check_power_off_timeout ,regb 
+0x4b96 024735 branch timer_single_step 
+:      024737 shutter_check_power_off_timeout:
+0x4b97 024738 fetch 2 ,mem_ui_state_map 
+0x4b98 024739 bbit1 ui_state_ble_connected ,shutter_wait_power_off 
+0x4b99 024740 bbit1 ui_state_bt_connected ,shutter_wait_power_off 
+0x4b9a 024741 fetch 1 ,mem_shutter_led_struct_app_led_type 
+0x4b9b 024742 beq ui_led_state_blink_start ,shutter_wait_power_off 
+0x4b9c 024743 beq ui_led_state_blink_lighting ,shutter_wait_power_off 
+0x4b9d 024744 beq ui_led_state_blink_darking ,shutter_wait_power_off 
+0x4b9e 024745 branch app_enter_hibernate 
+:      024748 ble_shutter_reconn_timer:
+0x4b9f 024749 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4ba0 024750 rtnne ss_state_power_on 
+0x4ba1 024751 arg mem_ble_shutter_reconn_timer ,regc 
+0x4ba2 024752 arg shutter_start_bluetooth_discovery ,regb 
+0x4ba3 024753 branch timer_single_step_2b 
+:      024756 shutter_process_idle:
+0x4ba4 024757 call shutter_send_data_to_master 
+0x4ba5 024758 branch keyscan_key_process 
+:      024761 shutter_process_lpm_before:
+0x4ba6 024762 call gpio_set_before_lpm 
+0x4ba7 024763 branch keyscan_process_lpm_before 
+:      024765 shutter_le_before_hibernate:
+0x4ba8 024766 call gpio_set_before_lpm 
+0x4ba9 024767 branch disable_authrom 
+:      024773 shutter_stop_bluetooth_discovery:
+0x4baa 024774 fetch 1 ,mem_shutter_bluetooth_type 
+0x4bab 024775 bbit1 ble_shutter ,ble_shutter_stop_bluetooth_discovery 
+0x4bac 024776 rtn 
+:      024778 ble_shutter_stop_bluetooth_discovery:
+0x4bad 024779 fetch 2 ,mem_ble_shutter_connect_timeout 
+0x4bae 024780 store 2 ,mem_shutter_sleep_timeout 
+0x4baf 024781 store 2 ,mem_shutter_sleep_timer 
+0x4bb0 024782 branch app_ble_stop_adv 
+:      024785 shutter_start_bluetooth_discovery:
+0x4bb1 024786 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4bb2 024787 rtnne ss_state_power_on 
+0x4bb3 024788 fetch 1 ,mem_shutter_bluetooth_type 
+0x4bb4 024789 bbit1 ble_shutter ,ble_shutter_start_discovery 
+0x4bb5 024790 rtn 
+:      024791 ble_shutter_start_discovery:
+0x4bb6 024792 fetch 2 ,mem_ui_state_map 
+0x4bb7 024793 rtnbit1 ui_state_ble_connected 
+0x4bb8 024794 fetch 2 ,mem_ble_shutter_discovery_timeout 
+0x4bb9 024795 store 2 ,mem_shutter_sleep_timeout 
+0x4bba 024796 store 2 ,mem_shutter_sleep_timer 
+0x4bbb 024797 fetch 2 ,mem_ble_shutter_discovery_adv_interval 
+0x4bbc 024798 call shutter_ble_adv_interval_set 
+0x4bbd 024799 call app_led_start_blink 
+0x4bbe 024800 fetch 4 ,mem_ble_shutter_discovery_blink_on_time 
+0x4bbf 024801 store 4 ,mem_shutter_led_struct_app_led_on_time 
+0x4bc0 024802 fetch 2 ,mem_ui_state_map 
+0x4bc1 024803 rtnbit1 ui_state_ble_adv 
+0x4bc2 024804 branch app_ble_start_adv 
+:      024807 shutter_start_reconnect:
+0x4bc3 024808 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4bc4 024809 rtnne ss_state_power_on 
+0x4bc5 024810 fetch 1 ,mem_shutter_bluetooth_type 
+0x4bc6 024811 bbit1 ble_shutter ,ble_shutter_start_reconnect 
+0x4bc7 024812 rtn 
+:      024813 ble_shutter_start_reconnect:
+0x4bc8 024814 fetch 2 ,mem_ble_shutter_reconn_timer 
+0x4bc9 024815 fetcht 2 ,mem_ble_shutter_reconn_timeout 
+0x4bca 024816 storet 2 ,mem_ble_shutter_reconn_timer 
+0x4bcb 024817 nrtn blank 
+0x4bcc 024818 fetch 2 ,mem_ble_shutter_reconn_adv_interval 
+0x4bcd 024819 call shutter_ble_adv_interval_set 
+0x4bce 024820 call app_led_start_blink 
+0x4bcf 024821 fetch 4 ,mem_ble_shutter_reconn_blink_on_time 
+0x4bd0 024822 store 4 ,mem_shutter_led_struct_app_led_on_time 
+0x4bd1 024823 fetch 2 ,mem_ui_state_map 
+0x4bd2 024824 rtnbit1 ui_state_ble_adv 
+0x4bd3 024825 branch app_ble_start_adv 
+:      024827 shutter_disconnect_current_connection:
+0x4bd4 024828 fetch 2 ,mem_ui_state_map 
+0x4bd5 024829 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x4bd6 024830 branch shutter_stop_bluetooth_discovery 
+:      024834 shutter_check_data_enable:
+0x4bd7 024835 call disable_user 
+0x4bd8 024836 fetch 2 ,mem_ui_state_map 
+0x4bd9 024837 bbit1 ui_state_ble_connected ,shutter_check_ble_data_enable 
+0x4bda 024838 rtn 
+:      024841 shutter_check_ble_data_enable:
+0x4bdb 024842 fetch 1 ,mem_ble_shutter_enable_notify 
+0x4bdc 024843 rtn blank 
+0x4bdd 024844 branch enable_user 
+:      024849 shutter_check_bluetooth_conn:
+0x4bde 024850 call disable_user 
+0x4bdf 024851 fetch 2 ,mem_ui_state_map 
+0x4be0 024852 rtnbit1 ui_state_bt_connected 
+0x4be1 024853 rtnbit1 ui_state_ble_connected 
+0x4be2 024854 branch enable_user 
+:      024858 shutter_change_bluetooth_status_bt_disconn:
+0x4be3 024859 fetch 1 ,mem_shutter_bluetooth_type 
+0x4be4 024860 bbit1 ble_shutter ,ble_shutter_change_bluetooth_status_bt_disconn 
+0x4be5 024861 rtn 
+:      024862 ble_shutter_change_bluetooth_status_bt_disconn:
+0x4be6 024863 branch shutter_start_reconnect 
+:      024867 shutter_check_send_data:
+0x4be7 024868 disable user2 
+0x4be8 024869 fetch 2 ,mem_shutter_sleep_timeout 
+0x4be9 024870 store 2 ,mem_shutter_sleep_timer 
+0x4bea 024872 call shutter_check_bluetooth_conn 
+0x4beb 024873 branch shutter_change_bluetooth_status_bt_disconn ,user 
+0x4bec 024875 call shutter_check_data_enable 
+0x4bed 024876 nrtn user 
+0x4bee 024877 enable user2 
+0x4bef 024878 rtn 
+:      024882 shutter_key_change:
+0x4bf0 024883 call shutter_check_send_data 
+0x4bf1 024884 nrtn user2 
+0x4bf2 024885 deposit rega 
+0x4bf3 024886 branch shutter_key_release ,blank 
+:      024887 shutter_key_press:
+0x4bf4 024888 call app_led_on 
+0x4bf5 024889 arg mem_key0_press ,regc 
+0x4bf6 024890 branch push_queue_press_or_release 
+:      024892 shutter_key_release:
+0x4bf7 024893 call app_led_off 
+0x4bf8 024894 arg mem_key0_release ,regc 
+:      024896 push_queue_press_or_release:
+0x4bf9 024897 arg max_queue_num ,pdata 
+0x4bfa 024898 imul32 queue ,pdata 
+0x4bfb 024899 iadd regc ,regc 
+:      024902 push_buffer_in_queue:
+0x4bfc 024903 ifetch 1 ,regc 
+0x4bfd 024904 rtn blank 
+0x4bfe 024905 call queue_push_one_byte 
+0x4bff 024906 increase 1 ,regc 
+0x4c00 024907 branch push_buffer_in_queue 
+:      024910 shutter_send_data_to_master:
+0x4c01 024911 fetch 2 ,mem_ui_state_map 
+0x4c02 024912 bbit1 ui_state_ble_connected ,pop_queue_to_ble_data 
+0x4c03 024913 rtn 
+:      024915 pop_queue_to_ble_data:
+0x4c04 024916 call le_fifo_check_nearly_full 
+0x4c05 024917 nrtn blank 
+0x4c06 024918 call queue_pop_one_byte 
+0x4c07 024919 nrtn user 
+0x4c08 024920 pincrease -1 
+0x4c09 024921 mul32 pdata ,shutter_ble_data_buffer ,pdata 
+0x4c0a 024922 arg mem_ble_data_buffer1 ,temp 
+0x4c0b 024923 iadd temp ,contr 
+0x4c0c 024924 branch le_send_notify_from_list 
+:      024928 queue_push_one_byte:
+0x4c0d 024929 store 1 ,mem_pdatatemp 
+0x4c0e 024930 arg mem_pdatatemp ,rega 
+0x4c0f 024931 branch queue_push 
+:      024933 queue_pop_one_byte:
+0x4c10 024934 arg mem_pdatatemp ,rega 
+0x4c11 024935 call queue_pop 
+0x4c12 024936 nrtn user 
+0x4c13 024937 fetch 1 ,mem_pdatatemp 
+0x4c14 024938 rtn 
+:      024941 ble_shutter_receive_data:
+0x4c15 024942 fetch 2 ,mem_le_att_handle 
+0x4c16 024943 beq gatt_keyboard_write_handle ,ble_shutter_process_reconnect_complete 
+0x4c17 024944 rtn 
+:      024946 shutter_init_param:
+0x4c18 024947 setarg 0x02 
+0x4c19 024948 store 1 ,mem_shutter_power_off_timeout 
+0x4c1a 024950 setarg 0x00200008 
+0x4c1b 024951 store 4 ,mem_ble_shutter_interval_min 
+0x4c1c 024952 setarg 0x012c0005 
+0x4c1d 024953 istore 4 ,contw 
+0x4c1e 024956 jam 0x17 ,mem_le_local_mtu 
+0x4c1f 024959 setarg 0x1b 
+0x4c20 024960 store 2 ,mem_le_pairing_handle 
+0x4c21 024961 call le_set_config_fixed_ltk 
+0x4c22 024962 call le_set_fixed_ltk 
+0x4c23 024963 call le_set_justwork 
+0x4c24 024964 branch le_set_config_read_authentication 
+:      024967 shutter_load_buffer_config_form_datarom:
+0x4c25 024969 arg ble_key_value_list_size ,loopcnt 
+0x4c26 024970 arg mem_ble_data_buffer1 ,contw 
+0x4c27 024971 arg ble_shutter_key_value_list ,contr 
+0x4c28 024972 branch memcpy_fast 
+:      024974 shutter_load_ble_gatt_form_datarom:
+0x4c29 024975 arg ble_gatt_list_size ,loopcnt 
+0x4c2a 024976 arg ble_shutter_gatt_list ,contr 
+0x4c2b 024977 branch memcpy_fast 
+:      024981 shutter_soft_swtich_power_on:
+0x4c2c 024982 branch shutter_start_reconnect 
+:      024985 shutter_soft_swtich_power_off:
+0x4c2d 024986 arg 0 ,rega 
+0x4c2e 024987 arg mem_shutter_power_off_led_style ,regc 
+0x4c2f 024988 call ui_led_set_style_global 
+0x4c30 024989 call shutter_disconnect_current_connection 
+:      024990 shutter_wait_power_off:
+0x4c31 024991 fetch 1 ,mem_shutter_power_off_timeout 
+0x4c32 024992 store 1 ,mem_shutter_power_off_timer 
+0x4c33 024993 rtn 
+:      024997 ui_soft_swtich_init:
+0x4c34 024998 setarg ss_state_power_up 
+0x4c35 024999 call ui_soft_swtich_init_power_on_time 
+0x4c36 025000 jam ui_button_state_up ,mem_ui_button_last_state 
+0x4c37 025001 call ui_button_init 
+0x4c38 025002 call ui_button_polling 
+0x4c39 025003 fetch 2 ,mem_ui_state_map 
+0x4c3a 025004 rtnbit1 ui_state_btn_down 
+0x4c3b 025005 branch app_enter_hibernate 
+:      025007 ui_soft_swtich_init_power_on_time:
+0x4c3c 025008 fetcht 2 ,mem_power_param_ptr 
+0x4c3d 025009 istore 1 ,temp 
+0x4c3e 025010 ifetch 1 ,contw 
+0x4c3f 025011 store 1 ,mem_ui_button_timeout 
+0x4c40 025012 rtn 
+:      025015 ui_soft_switch_botton_up:
+0x4c41 025016 fetch 2 ,mem_power_param_ptr 
+0x4c42 025017 ifetch 1 ,pdata 
+0x4c43 025018 rtnne ss_state_power_up 
+0x4c44 025019 branch app_enter_hibernate 
+:      025022 ui_soft_switch_botton_long_press:
+0x4c45 025023 fetcht 2 ,mem_power_param_ptr 
+0x4c46 025024 ifetch 1 ,temp 
+0x4c47 025025 beq ss_state_power_on ,ui_soft_switch_power_off 
+:      025026 ui_soft_switch_power_on:
+0x4c48 025027 setarg ss_state_power_on 
+0x4c49 025028 fetcht 2 ,mem_power_param_ptr 
+0x4c4a 025029 istore 1 ,temp 
+0x4c4b 025030 add temp ,ss_power_off_time ,contr 
+0x4c4c 025031 ifetch 1 ,contr 
+0x4c4d 025032 istore 1 ,mem_ui_button_timeout 
+0x4c4e 025033 ifetch 2 ,contr 
+0x4c4f 025034 branch callback_func 
+:      025036 ui_soft_switch_power_off:
+0x4c50 025037 setarg ss_state_power_off 
+0x4c51 025038 call ui_soft_swtich_init_power_on_time 
+0x4c52 025039 add temp ,ss_power_off_cb ,contr 
+0x4c53 025040 ifetch 2 ,contr 
+0x4c54 025041 branch app_enter_hibernate ,blank 
+0x4c55 025042 branch callback_func 
+:      025047 shutter_ble_adv_interval_set:
+0x4c56 025048 store 2 ,mem_lpm_interval 
+0x4c57 025049 increase -4 ,pdata 
+0x4c58 025050 store 2 ,mem_le_adv_interval 
+0x4c59 025051 rtn 
+:      025053 le_send_notify_from_list:
+0x4c5a 025054 ifetch 1 ,contr 
+0x4c5b 025055 copy pdata ,rega 
+0x4c5c 025056 ifetcht 2 ,contr 
+0x4c5d 025057 call store_contr 
+0x4c5e 025058 call le_att_malloc_tx_notify 
+0x4c5f 025059 copy rega ,loopcnt 
+0x4c60 025060 call get_contr 
+0x4c61 025061 branch memcpy 
+:      025064 shutter_default_init:
+0x4c62 025065 fetch 2 ,mem_shutter_key_conf0_temp 
+0x4c63 025066 store 2 ,mem_shutter_key_conf0 
+0x4c64 025067 fetch 1 ,mem_shutter_led_struct_app_led_gpio_temp 
+0x4c65 025068 store 1 ,mem_shutter_led_struct_app_led_gpio 
+0x4c66 025069 store 1 ,mem_shutter_power_off_led_style_gpio 
+0x4c67 025070 fetch 1 ,mem_shutter_hard_soft_switch_case_temp 
+0x4c68 025071 store 1 ,mem_shutter_hard_soft_switch_case 
+0x4c69 025072 fetch 1 ,mem_shutter_soft_switch_button_gpio_temp 
+0x4c6a 025073 store 1 ,mem_shutter_soft_switch_button_gpio 
+0x4c6b 025074 jam 0x01 ,mem_shutter_bluetooth_type 
+0x4c6c 025075 setarg 0x0030 
+0x4c6d 025076 store 2 ,mem_classic_shutter_random_mac_offset_addr 
+0x4c6e 025077 setarg 0x0000 
+0x4c6f 025078 store 2 ,mem_shutter_config_eeprom_offset_addr 
+0x4c70 025079 setarg 0x0001 
+0x4c71 025080 store 2 ,mem_key0_press 
+0x4c72 025081 store 2 ,mem_key1_press 
+0x4c73 025082 setarg 0x0006 
+0x4c74 025083 store 2 ,mem_key0_release 
+0x4c75 025084 store 2 ,mem_key1_release 
+0x4c76 025085 setarg 0x0007 
+0x4c77 025086 store 2 ,mem_key2_press 
+0x4c78 025087 setarg 0x0008 
+0x4c79 025088 store 2 ,mem_key2_release 
+0x4c7a 025089 setarg mem_shutter_soft_switch_power_state 
+0x4c7b 025090 store 2 ,mem_power_param_ptr 
+0x4c7c 025091 setarg 0x201400 
+0x4c7d 025092 store 3 ,mem_shutter_soft_switch_power_state 
+0x4c7e 025093 jam 0x01 ,mem_lpm_mode 
+0x4c7f 025094 setarg 0x0100 
+0x4c80 025095 store 2 ,mem_lpm_interval 
+0x4c81 025096 jam 0x08 ,mem_lpm_overhead 
+0x4c82 025097 jam 0x05 ,mem_lpm_mult 
+0x4c83 025098 jam 0x02 ,mem_lpm_mult_timeout 
+0x4c84 025099 setarg 0x0030 
+0x4c85 025100 store 2 ,mem_sniff_param_interval 
+0x4c86 025101 setarg 0x0001 
+0x4c87 025102 istore 2 ,contw 
+0x4c88 025103 jam 0x0a ,mem_unsniff2sniff_timer 
+0x4c89 025104 setarg 0x0096 
+0x4c8a 025105 store 2 ,mem_ble_shutter_reconn_blink_on_time 
+0x4c8b 025106 istore 2 ,contw 
+0x4c8c 025107 setarg 0x0296 
+0x4c8d 025108 store 2 ,mem_ble_shutter_discovery_blink_on_time 
+0x4c8e 025109 istore 2 ,contw 
+0x4c8f 025110 setsect 0 ,0x10 
+0x4c90 025111 setsect 1 ,0x8008 
+0x4c91 025112 setsect 2 ,0x2c000 
+0x4c92 025113 setsect 3 ,0x04 
+0x4c93 025114 store 8 ,mem_ble_shutter_interval_min_new 
+0x4c94 025115 jam 0x01 ,mem_ui_led_struct_num 
+0x4c95 025116 setarg mem_shutter_led_struct_app_led 
+0x4c96 025117 store 2 ,mem_ui_led_struct_ptr 
+0x4c97 025118 setarg 0x0000 
+0x4c98 025119 store 2 ,mem_shutter_led_struct_app_led 
+0x4c99 025120 setsect 0 ,0x1a0 
+0x4c9a 025121 setsect 1 ,0x68 
+0x4c9b 025122 setsect 2 ,0x00 
+0x4c9c 025123 setsect 3 ,0x00 
+0x4c9d 025124 store 8 ,mem_shutter_led_struct_app_led_on_time 
+0x4c9e 025125 setarg 0x0301 
+0x4c9f 025126 store 2 ,mem_shutter_power_off_led_style 
+0x4ca0 025127 setsect 0 ,0x1a0 
+0x4ca1 025128 setsect 1 ,0xe8 
+0x4ca2 025129 setsect 2 ,0x00 
+0x4ca3 025130 setsect 3 ,0x00 
+0x4ca4 025131 store 8 ,mem_shutter_power_off_led_style_on_time 
+0x4ca5 025132 setarg 0x000e 
+0x4ca6 025133 store 2 ,mem_ble_shutter_reconn_adv_interval 
+0x4ca7 025134 setarg 0x0140 
+0x4ca8 025135 store 2 ,mem_ble_shutter_discovery_adv_interval 
+0x4ca9 025136 store 2 ,mem_le_adv_interval 
+0x4caa 025137 setarg 0x0050 
+0x4cab 025138 store 2 ,mem_ble_shutter_reconn_timeout 
+0x4cac 025139 jam 0x07 ,mem_le_adv_channel_map 
+0x4cad 025140 jam 0x00 ,mem_le_adv_enable 
+0x4cae 025141 setsect 0 ,0xfb 
+0x4caf 025142 setsect 1 ,0x2c212 
+0x4cb0 025143 setsect 2 ,0x800f 
+0x4cb1 025144 setsect 3 ,0x21 
+0x4cb2 025145 store 8 ,mem_local_rx_max_octets 
+0x4cb3 025146 setsect 0 ,0x0bb8 
+0x4cb4 025147 setsect 1 ,0x02ee 
+0x4cb5 025148 store 4 ,mem_ble_shutter_discovery_timeout 
+0x4cb6 025149 setarg mem_queue_each_size 
+0x4cb7 025150 store 2 ,mem_queue_ptr 
+0x4cb8 025151 setarg 0x2001 
+0x4cb9 025152 store 2 ,mem_queue_each_size 
+0x4cba 025153 jam 0x1f ,mem_le_adv_data_len 
+0x4cbb 025154 setsect 0 ,0x10102 
+0x4cbc 025155 setsect 1 ,0x80c1 
+0x4cbd 025156 setsect 2 ,0x18120 
+0x4cbe 025157 setsect 3 ,0x640c 
+0x4cbf 025158 store 9 ,mem_le_adv_data 
+0x4cc0 025159 setsect 0 ,0x3c1 
+0x4cc1 025160 istore 2 ,contw 
+0x4cc2 025161 jam 0x1f ,mem_le_scan_data_len 
+0x4cc3 025162 setsect 0 ,0x2090d 
+0x4cc4 025163 setsect 1 ,0x34c15 
+0x4cc5 025164 setsect 2 ,0x28532 
+0x4cc6 025165 setsect 3 ,0x1d1d5 
+0x4cc7 025166 store 9 ,mem_le_scan_data 
+0x4cc8 025167 setsect 0 ,0x26574 
+0x4cc9 025168 setsect 1 ,0x1c 
+0x4cca 025169 istore 3 ,contw 
+0x4ccb 025170 setarg mem_shutter_keyscan 
+0x4ccc 025171 store 2 ,mem_keyscan_ptr 
+0x4ccd 025172 jam 0x02 ,mem_shutter_key_num 
+0x4cce 025173 jam 0x17 ,mem_app_connection_options 
+0x4ccf 025174 setarg mem_shutter_nv_data 
+0x4cd0 025175 store 2 ,mem_nv_data_ptr 
+0x4cd1 025176 jam 0x05 ,mem_nv_data_number 
+0x4cd2 025177 setarg 0x2540 
+0x4cd3 025178 store 2 ,mem_class 
+0x4cd4 025179 setarg 0x040003 
+0x4cd5 025180 store 3 ,mem_lmp_io_cap_payload_iocap 
+0x4cd6 025181 jam 0x03 ,mem_ssp_mode_flag 
+0x4cd7 025182 jam 0x01 ,mem_ssp_enable 
+0x4cd8 025183 jam 0x01 ,mem_ui_profile_supported 
+0x4cd9 025184 jam 0x00 ,mem_ptt 
+0x4cda 025185 setsect 0 ,0x3ffff 
+0x4cdb 025186 setsect 1 ,0x2fe23 
+0x4cdc 025187 setsect 2 ,0x199d9 
+0x4cdd 025188 setsect 3 ,0x20d 
+0x4cde 025189 store 8 ,mem_features 
+0x4cdf 025190 setarg 0x9af2 
+0x4ce0 025191 store 2 ,mem_ui_le_uuid_table 
+0x4ce1 025192 jam 0x01 ,mem_eir_enable 
+0x4ce2 025193 setsect 0 ,0x10306 
+0x4ce3 025194 setsect 1 ,0x4 
+0x4ce4 025195 setsect 2 ,0x2010 
+0x4ce5 025196 setsect 3 ,0x9040 
+0x4ce6 025197 store 9 ,mem_all_uuid_16bits 
+0x4ce7 025198 setsect 0 ,0x20011 
+0x4ce8 025199 setsect 1 ,0x44 
+0x4ce9 025200 istore 5 ,contw 
+0x4cea 025201 jam 0x00 ,mem_all_uuid_128bits 
+0x4ceb 025202 setarg 0x9c70 
+0x4cec 025203 store 2 ,mem_ui_uuid_table 
+0x4ced 025204 jam 0x18 ,mem_fcomp_div 
+0x4cee 025205 call app_sys_param_init 
+0x4cef 025208 arg 30 ,loopcnt 
+0x4cf0 025209 arg mem_le_name ,contw 
+0x4cf1 025210 call clear_mem 
+0x4cf2 025211 jam 0x0b ,mem_le_name_len 
+0x4cf3 025212 setarg 0x204241 
+0x4cf4 025213 store 3 ,mem_le_name 
+0x4cf5 025214 setarg 0x756853 
+0x4cf6 025215 istore 3 ,contw 
+0x4cf7 025216 setarg 0x657474 
+0x4cf8 025217 istore 3 ,contw 
+0x4cf9 025218 setarg 0x3372 
+0x4cfa 025219 istore 2 ,contw 
+0x4cfb 025220 fetch 1 ,mem_shutter_le_name_len 
+0x4cfc 025221 rtn blank 
+0x4cfd 025222 store 1 ,mem_le_name_len 
+0x4cfe 025223 copy pdata ,loopcnt 
+0x4cff 025224 arg mem_shutter_le_name ,contr 
+0x4d00 025225 arg mem_le_name ,contw 
+0x4d01 025226 branch memcpy 
+:      025239 rf_debug_rx_gpio_low:
+0x4d02 025240 fetch 1 ,mem_rf_debug_rx_gpio 
+:      025241 rf_debug_gpio_low:
+0x4d03 025242 arg gpcfg_output_low ,temp 
+0x4d04 025243 branch gpio_config_function 
+:      025245 rf_debug_rx_on_line:
+:      025246 rf_debug_rx_gpio_high:
+0x4d05 025247 fetch 1 ,mem_rf_debug_rx_gpio 
+:      025248 rf_debug_gpio_high:
+0x4d06 025249 arg gpcfg_output_high ,temp 
+0x4d07 025250 branch gpio_config_function 
+:      025252 rf_debug_rx_gpio_h_l_h:
+0x4d08 025253 call rf_debug_rx_gpio_high 
+:      025254 rf_debug_rx_gpio_l_h:
+0x4d09 025255 call rf_debug_rx_gpio_low 
+0x4d0a 025256 branch rf_debug_rx_gpio_high 
+:      025258 rf_debug_rx_gpio_l_h_l:
+:      025259 rf_debug_shutdown_radio_line:
+0x4d0b 025260 call rf_debug_rx_gpio_l_h 
+:      025261 rf_debug_rx_crc_line:
+0x4d0c 025262 branch rf_debug_rx_gpio_low 
+:      025264 rf_debug_rx_sync_line:
+0x4d0d 025265 branch rf_debug_rx_gpio_l_h 
+:      025267 rf_debug_rx_crc_fail_line:
+0x4d0e 025268 call rf_debug_rx_gpio_l_h 
+0x4d0f 025269 branch rf_debug_rx_gpio_l_h_l 
+:      025271 rf_debug_rx_match_line:
+:      025272 rf_debug_rx_crc_error_line:
+:      025273 rf_debug_rx_sync_timeout_line:
+0x4d10 025274 branch rf_debug_rx_gpio_low 
+:      025277 rf_debug_tx_off_line:
+:      025278 rf_debug_tx_gpio_low:
+0x4d11 025279 fetch 1 ,mem_rf_debug_tx_gpio 
+0x4d12 025280 branch rf_debug_gpio_low 
+:      025282 rf_debug_tx_on_line:
+:      025283 rf_debug_tx_gpio_high:
+0x4d13 025284 fetch 1 ,mem_rf_debug_tx_gpio 
+0x4d14 025285 branch rf_debug_gpio_high 
+:      025287 rf_debug_tx_gpio_l_h_l:
+0x4d15 025288 call rf_debug_tx_gpio_low 
+0x4d16 025289 call rf_debug_tx_gpio_high 
+0x4d17 025290 branch rf_debug_tx_gpio_low 
+:      025297 hci_init:
+0x4d18 025298 clear_stack 
+0x4d19 025299 call hci_init_clksel 
+0x4d1a 025300 call hci_init_uart_default_config 
+0x4d1b 025301 call hci_init_uart_config 
+0x4d1c 025302 call hci_init_pwm_default_config 
+0x4d1d 025303 call hci_init_pwm 
+0x4d1e 025305 jam 1 ,mem_hci_command_complete_num_hci_command_packet 
+0x4d1f 025306 jam hci_h4_type_event ,mem_hci_event_head_type 
+:      025308 hci_process_loop:
+0x4d20 025309 call hci_process_check_uart_rx 
+0x4d21 025310 branch hci_process_loop 
+:      025313 hci_init_clksel:
+0x4d22 025314 fetch 1 ,mem_tmp_buffer + efuse_offset_hci_boot_clksel 
+0x4d23 025315 bbit1 7 ,hci_init_clksel_xtal 
+:      025316 hci_init_clksel_dpll:
+0x4d24 025317 jam 0xff ,core_clkpll_ctrl1 
+0x4d25 025318 nop 100 
+0x4d26 025319 jam 0x0e ,core_clkpll_ctrl2 
+0x4d27 025320 jam 0x03 ,core_clkpll_ctrl0 
+0x4d28 025321 jam clksel_dpll ,core_clksel 
+0x4d29 025322 rtn 
+:      025324 hci_init_clksel_xtal:
+0x4d2a 025325 jam clksel_xtal ,core_clksel 
+0x4d2b 025326 rtn 
+:      025328 hci_init_uart_default_config:
+0x4d2c 025329 call hci_init_uart_default_config_tx 
+0x4d2d 025330 call hci_init_uart_default_config_rx 
+0x4d2e 025331 call hci_init_uart_default_config_rts 
+0x4d2f 025332 branch hci_init_uart_default_config_cts 
+:      025334 hci_init_uart_default_config_tx:
+0x4d30 025335 fetch 1 ,mem_hci_uart_tx_gpio 
+0x4d31 025336 nrtn blank 
+0x4d32 025337 jam hci_uart_tx_gpio_num ,mem_hci_uart_tx_gpio 
+0x4d33 025338 rtn 
+:      025340 hci_init_uart_default_config_rx:
+0x4d34 025341 fetch 1 ,mem_hci_uart_rx_gpio 
+0x4d35 025342 nrtn blank 
+0x4d36 025343 jam hci_uart_rx_gpio_num ,mem_hci_uart_rx_gpio 
+0x4d37 025344 rtn 
+:      025345 hci_init_uart_default_config_rts:
+0x4d38 025346 fetch 1 ,mem_hci_uart_rts_gpio 
+0x4d39 025347 nrtn blank 
+0x4d3a 025348 jam hci_uart_rts_gpio_num ,mem_hci_uart_rts_gpio 
+0x4d3b 025349 rtn 
+:      025350 hci_init_uart_default_config_cts:
+0x4d3c 025351 fetch 1 ,mem_hci_uart_cts_gpio 
+0x4d3d 025352 nrtn blank 
+0x4d3e 025353 jam hci_uart_cts_gpio_num ,mem_hci_uart_cts_gpio 
+0x4d3f 025354 rtn 
+:      025357 hci_init_uart_config:
+0x4d40 025358 setarg mem_h5rx_buf 
+0x4d41 025359 store 2 ,mem_pdatatemp 
+0x4d42 025360 setarg mem_h5rx_buf_end 
+0x4d43 025361 istore 2 ,contw 
+0x4d44 025362 setarg mem_h5tx_buf 
+0x4d45 025363 istore 2 ,contw 
+0x4d46 025364 setarg mem_h5tx_buf_end 
+0x4d47 025365 istore 2 ,contw 
+0x4d48 025366 fetch 8 ,mem_pdatatemp 
+0x4d49 025367 call uarta_init_dma_mem 
+0x4d4a 025368 fetch 1 ,mem_tmp_buffer + efuse_offset_hci_boot_clksel 
+0x4d4b 025369 isolate1 7 ,pdata 
+0x4d4c 025370 call uart_clock_select_main_freq_crystal ,true 
+0x4d4d 025371 ncall uart_clock_select_main_freq_dpll ,true 
+0x4d4e 025372 arg 115200 ,temp 
+0x4d4f 025373 call uarta_calc_baud_rate_config 
+0x4d50 025374 fetch 1 ,mem_hci_uart_tx_gpio 
+0x4d51 025375 arg gpcfg_uart_txd ,temp 
+0x4d52 025376 call gpio_config_function_int 
+0x4d53 025377 fetch 1 ,mem_hci_uart_rx_gpio 
+0x4d54 025378 arg gpcfg_uart_rxd | gpcfg_pullup ,temp 
+0x4d55 025379 call gpio_config_function_int 
+0x4d56 025380 fetch 1 ,mem_hci_uart_rts_gpio 
+0x4d57 025381 arg gpcfg_uart_rts ,temp 
+0x4d58 025382 call gpio_config_function_int 
+0x4d59 025383 fetch 1 ,mem_hci_uart_cts_gpio 
+0x4d5a 025384 arg gpcfg_uart_cts ,temp 
+0x4d5b 025385 call gpio_config_function_int 
+0x4d5c 025387 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+0x4d5d 025388 storet 1 ,core_uart_ctrl 
+0x4d5e 025389 branch clean_mem 
+:      025391 hci_init_pwm_default_config:
+0x4d5f 025392 fetch 1 ,mem_hci_pwm_12mhz_gpio 
+0x4d60 025393 nrtn blank 
+0x4d61 025394 jam hci_pmw_12mhz_gpio_num ,mem_hci_pwm_12mhz_gpio 
+0x4d62 025395 rtn 
+:      025397 hci_init_pwm:
+0x4d63 025398 fetch 1 ,mem_hci_pwm_12mhz_gpio 
+0x4d64 025399 arg gpcfg_pwm_out0 ,temp 
+0x4d65 025400 call gpio_config_function_int 
+0x4d66 025401 arg 0x40 ,rega 
+0x4d67 025402 call pwm_init 
+0x4d68 025403 arg 0 ,rega 
+0x4d69 025404 arg 0 ,regb 
+0x4d6a 025405 setarg 0 
+0x4d6b 025406 call pwm_duty_cycle_set 
+0x4d6c 025407 arg 0 ,queue 
+0x4d6d 025408 branch pwm_set_select 
+:      025411 hci_process_check_uart_rx:
+0x4d6e 025412 fetch 2 ,core_uart_rxitems 
+0x4d6f 025413 add pdata ,-4 ,rega 
+0x4d70 025414 nrtn positive 
+0x4d71 025415 call uarta_prepare_rx 
+0x4d72 025416 ifetch 1 ,contru 
+0x4d73 025417 beq hci_h4_type_cmd ,hci_parse_packet_cmd 
+0x4d74 025419 call delay_10ms 
+0x4d75 025420 branch uarta_clear_current_rx 
+:      025424 hci_parse_packet_cmd:
+0x4d76 025425 ifetch 2 ,contru 
+0x4d77 025426 store 2 ,mem_hci_opcode 
+0x4d78 025427 arg 0x3ff ,temp 
+0x4d79 025428 iand temp ,temp 
+0x4d7a 025429 storet 2 ,mem_hci_opcode_ocf 
+0x4d7b 025430 rshift2 pdata ,pdata 
+0x4d7c 025431 rshift8 pdata ,pdata 
+0x4d7d 025432 store 1 ,mem_hci_opcode_ogf 
+0x4d7e 025433 ifetch 1 ,contru 
+0x4d7f 025434 pincrease -1 
+0x4d80 025435 isub rega ,null 
+0x4d81 025436 rtn positive 
+0x4d82 025437 call hci_parse_complete_packet 
+0x4d83 025438 branch hci_drop_current_packet 
+:      025440 hci_parse_complete_packet:
+0x4d84 025441 fetch 1 ,mem_hci_opcode_ogf 
+0x4d85 025449 beq hci_ogf_vendor_specific_debug ,hci_parse_packet_cmd_ogf_vendorspecific_debug 
+0x4d86 025450 branch hci_send_event_command_complete_error_command_nuknown 
+:      025460 hci_parse_packet_cmd_ogf_vendorspecific_debug:
+0x4d87 025461 bpatch patch1c_6 ,mem_patch1c 
+0x4d88 025462 fetch 1 ,mem_hci_opcode_ocf 
+0x4d89 025463 beq hci_vendor_cmd_reset ,hci_normal_reply 
+0x4d8a 025464 beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+0x4d8b 025465 beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+0x4d8c 025466 beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+0x4d8d 025467 beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+0x4d8e 025468 beq hci_vendor_cmd_echo ,hci_normal_reply 
+0x4d8f 025469 beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+0x4d90 025470 beq hci_vendor_cmd_set_flow_control ,phci_grp_vendor_flow_control 
+0x4d91 025471 branch hci_normal_reply 
+:      025474 phci_grp_vendor_chipid:
+0x4d92 025475 jam command_succeeded ,mem_hci_command_complete_return_parameter 
+0x4d93 025476 fetch 2 ,core_chipid 
+0x4d94 025477 store 2 ,mem_hci_command_complete_return_parameter_chip_id 
+0x4d95 025478 arg 3 ,loopcnt 
+0x4d96 025479 branch hci_send_event_command_complete 
+:      025481 phci_grp_vendor_baud:
+0x4d97 025482 ifetch 2 ,contu 
+0x4d98 025483 store 2 ,core_uart_baud 
+0x4d99 025484 rtn 
+:      025487 phci_grp_vendor_patch_common:
+0x4d9a 025488 ifetch 1 ,contu 
+0x4d9b 025489 copy pdata ,temp 
+0x4d9c 025490 store 1 ,core_ucode_low 
+0x4d9d 025491 ifetch 1 ,contu 
+0x4d9e 025492 iadd temp ,temp 
+0x4d9f 025493 set1 7 ,pdata 
+0x4da0 025494 store 1 ,core_ucode_ctrl 
+0x4da1 025495 ifetch 1 ,contu 
+0x4da2 025496 iadd temp ,temp 
+0x4da3 025497 copy pdata ,loopcnt 
+0x4da4 025498 rtn 
+:      025500 phci_grp_vendor_patch:
+0x4da5 025501 call phci_grp_vendor_patch_common 
+:      025502 phci_grp_vendor_patch_loop:
+0x4da6 025503 ifetch 1 ,contu 
+0x4da7 025504 store 1 ,core_ucode_data 
+0x4da8 025505 iadd temp ,temp 
+0x4da9 025506 loop phci_grp_vendor_patch_loop 
+:      025507 phci_grp_vendor_patch_check_sum:
+0x4daa 025508 and temp ,0xff ,temp 
+0x4dab 025509 ifetch 1 ,contu 
+0x4dac 025510 isub temp ,null 
+0x4dad 025511 nbranch phci_grp_vendor_patch_bad ,zero 
+0x4dae 025512 branch hci_normal_reply 
+:      025514 phci_grp_vendor_done:
+0x4daf 025515 arg 0x20 ,loopcnt 
+0x4db0 025516 arg mem_patch00 ,contw 
+0x4db1 025517 arg 0 ,temp 
+:      025518 phci_grp_vendor_done_loop:
+0x4db2 025519 ifetch 1 ,contu 
+0x4db3 025520 istore 1 ,contw 
+0x4db4 025521 iadd temp ,temp 
+0x4db5 025522 loop phci_grp_vendor_done_loop 
+0x4db6 025523 and temp ,0xff ,temp 
+0x4db7 025524 ifetch 1 ,contu 
+0x4db8 025525 isub temp ,null 
+0x4db9 025526 nbranch phci_grp_vendor_patch_bad ,zero 
+0x4dba 025527 jam 0 ,core_ucode_ctrl 
+0x4dbb 025528 call hci_normal_reply 
+0x4dbc 025529 call wait_uarttx 
+0x4dbd 025530 branch soft_reset 
+:      025532 phci_grp_vendor_patch_bad:
+0x4dbe 025533 jam 0 ,core_ucode_ctrl 
+0x4dbf 025534 branch hci_send_event_command_complete_error_command_nuknown 
+:      025537 phci_grp_vendor_mem:
+0x4dc0 025538 ifetch 1 ,contu 
+0x4dc1 025539 copy pdata ,loopcnt 
+0x4dc2 025540 ifetch 2 ,contu 
+0x4dc3 025541 copy pdata ,contw 
+0x4dc4 025542 call uart_copy_rx_bytes 
+0x4dc5 025543 branch hci_normal_reply 
+:      025545 phci_grp_vendor_flow_control:
+0x4dc6 025546 fetch 1 ,core_uart_ctrl 
+0x4dc7 025547 set1 bit_uart_control_flow_control ,pdata 
+0x4dc8 025548 store 1 ,core_uart_ctrl 
+0x4dc9 025549 branch hci_normal_reply 
+:      025552 hci_normal_reply:
+0x4dca 025553 branch hci_send_event_command_complete_without_payload 
+:      025555 hci_send_event_command_complete_error_command_nuknown:
+0x4dcb 025556 jam command_unknown ,mem_hci_command_complete_return_parameter 
+0x4dcc 025557 branch hci_send_event_command_complete_without_payload + 1 
+:      025558 hci_send_event_command_complete_error_command_disallowed:
+0x4dcd 025559 jam command_disallowed ,mem_hci_command_complete_return_parameter 
+0x4dce 025560 branch hci_send_event_command_complete_without_payload + 1 
+:      025561 hci_send_event_command_complete_without_payload:
+0x4dcf 025562 jam command_succeeded ,mem_hci_command_complete_return_parameter 
+0x4dd0 025563 arg 1 ,loopcnt 
+0x4dd1 025564 branch hci_send_event_command_complete 
+:      025566 hci_send_event_command_complete:
+0x4dd2 025567 jam hci_event_command_complete ,mem_hci_event_head_event_code 
+0x4dd3 025568 add loopcnt ,3 ,pdata 
+0x4dd4 025569 store 1 ,mem_hci_event_para_total_length 
+0x4dd5 025570 call hci_prepare_send_event 
+0x4dd6 025571 fetch 3 ,mem_hci_command_complete_num_hci_command_packet 
+0x4dd7 025572 istore 3 ,contwu 
+0x4dd8 025574 arg mem_hci_command_complete_return_parameter ,contr 
+0x4dd9 025575 call uart_copy_tx_bytes 
+0x4dda 025576 branch uarta_send_register_pop 
+:      025580 hci_prepare_send_event:
+0x4ddb 025581 call uarta_prepare_tx_register_push 
+0x4ddc 025582 fetch 3 ,mem_hci_event_head_type 
+0x4ddd 025583 istore 3 ,contwu 
+0x4dde 025584 rtn 
+:      025586 hci_drop_current_packet:
+0x4ddf 025587 call uarta_prepare_rx 
+0x4de0 025588 increase 3 ,contru 
+0x4de1 025589 ifetch 1 ,contru 
+0x4de2 025590 iadd contru ,contru 
+0x4de3 025591 branch uarta_rxdone 
+:      025593 cmd_exit:
+0x4de4 025594 jam 0 ,mem_hci_cmd 
+0x4de5 025595 rtn 
+:      025597 cmd_check_plap:
+0x4de6 025598 fetch 6 ,mem_hci_plap 
+0x4de7 025599 fetcht 6 ,mem_plap 
+0x4de8 025600 isub temp ,null 
+0x4de9 025601 rtn 
+:      025606 hid_rx_process:
+0x4dea 025607 bpatch patch1c_7 ,mem_patch1c 
+0x4deb 025608 fetch 2 ,mem_l2cap_payload_ptr 
+0x4dec 025609 copy pdata ,contr 
+0x4ded 025610 ifetch 1 ,contr 
+0x4dee 025611 store 1 ,mem_l2cap_rcv_hidtype 
+0x4def 025612 and pdata ,0x0f ,temp 
+0x4df0 025613 rshift4 pdata ,pdata 
+0x4df1 025614 beq hid_type_set_idle ,hid_rx_process_handshake 
+0x4df2 025615 beq hid_type_set_protocol ,hid_rx_process_handshake 
+0x4df3 025616 beq hid_type_data ,hid_rx_process_data 
+0x4df4 025617 beq hid_type_set_report ,hid_rx_process_set_report 
+0x4df5 025618 beq hid_type_control ,hid_rx_process_hid_control 
+0x4df6 025619 rtn 
+:      025621 hid_rx_process_hid_control:
+0x4df7 025622 copy temp ,pdata 
+0x4df8 025623 beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+0x4df9 025624 beq hid_control_p_suspend ,hid_rx_process_suspend 
+0x4dfa 025625 rtn 
+:      025627 hid_rx_process_virtual_cable_unplug:
+0x4dfb 025628 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+0x4dfc 025629 call ui_ipc_send_event 
+0x4dfd 025630 fetch 1 ,mem_device_option 
+0x4dfe 025631 rtnne dvc_op_mouse 
+0x4dff 025632 copy temp ,pdata 
+0x4e00 025633 beq hid_control_p_virtualcableunplug ,mouse_irtual_cable_unplug 
+0x4e01 025634 rtn 
+:      025635 hid_rx_process_suspend:
+0x4e02 025636 rtn 
+:      025638 hid_rx_process_set_report:
+0x4e03 025639 call hid_rx_process_data 
+0x4e04 025640 arg 0x01 ,rega 
+0x4e05 025641 call hid_malloc_tx_buff 
+0x4e06 025642 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4e07 025643 istore 2 ,contw 
+0x4e08 025644 setarg 0x00 
+0x4e09 025645 istore 1 ,contw 
+0x4e0a 025646 rtn 
+:      025648 hid_rx_process_handshake:
+0x4e0b 025649 arg 1 ,rega 
+0x4e0c 025650 call hid_malloc_tx_buff 
+0x4e0d 025651 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4e0e 025652 istore 2 ,contw 
+0x4e0f 025653 setarg 0 
+0x4e10 025654 istore 1 ,contw 
+0x4e11 025655 jam 1 ,mem_ui_data_txbuff_length 
+0x4e12 025656 fetch 1 ,mem_hid_control_state 
+0x4e13 025657 set1 l2cap_channel_hid_handshake_done ,pdata 
+0x4e14 025658 store 1 ,mem_hid_control_state 
+0x4e15 025659 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0x4e16 025660 call ui_ipc_send_event 
+0x4e17 025661 fetch 1 ,mem_device_option 
+0x4e18 025662 rtnne dvc_op_mouse 
+0x4e19 025663 branch mouse_bt_hid_handshake_boot_check 
+:      025666 hid_rx_process_data:
+0x4e1a 025667 ifetch 1 ,contr 
+0x4e1b 025668 beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+0x4e1c 025669 rtn 
+:      025671 hid_rx_process_data_hid_kb:
+0x4e1d 025672 rtn 
+:      025675 hid_malloc_tx_buff:
+0x4e1e 025676 call l2cap_malloc 
+0x4e1f 025677 copy rega ,temp 
+0x4e20 025678 storet 1 ,mem_ui_data_txbuff_length 
+0x4e21 025679 copy pdata ,contw 
+0x4e22 025680 copy rega ,pdata 
+0x4e23 025681 istore 2 ,contw 
+0x4e24 025682 rtn 
+:      025699 l2cap_init:
+0x4e25 025700 branch l2cap_init_wake ,wake 
+:      025701 l2cap_init_work:
+0x4e26 025702 setarg mem_l2cap_xmem_end 
+0x4e27 025703 arg mem_l2cap_xmem_start ,contw 
+0x4e28 025704 isub contw ,loopcnt 
+0x4e29 025705 call clear_mem 
+:      025706 l2cap_init_wake:
+0x4e2a 025707 bpatch patch1d_0 ,mem_patch1d 
+0x4e2b 025708 setarg mem_sdp_mem_end 
+0x4e2c 025709 arg mem_sdp_mem_start ,contw 
+0x4e2d 025710 isub contw ,loopcnt 
+0x4e2e 025711 call clear_mem 
+0x4e2f 025712 setarg mem_l2cap_mem_end 
+0x4e30 025713 arg mem_l2cap_mem_start ,contw 
+0x4e31 025714 isub contw ,loopcnt 
+0x4e32 025715 call clear_mem 
+0x4e33 025716 branch l2cap_lpm_load_txbuf 
+:      025718 process_rx_l2cap_pkt:
+0x4e34 025719 bpatch patch1d_1 ,mem_patch1d 
+0x4e35 025720 copy contr ,temp 
+0x4e36 025723 copy temp ,contr 
+0x4e37 025724 ifetch 2 ,contr 
+0x4e38 025725 store 2 ,mem_l2cap_rx_pkt_length 
+0x4e39 025726 ifetch 2 ,contr 
+0x4e3a 025727 store 2 ,mem_l2cap_rx_cid 
+0x4e3b 025728 deposit contr 
+0x4e3c 025729 store 2 ,mem_l2cap_payload_ptr 
+0x4e3d 025730 fetch 1 ,memui_reconnect_mode 
+0x4e3e 025731 beq no_reconnection ,l2cap_rx_multiplexing 
+0x4e3f 025732 branch ml2cap_rx_multiplexing 
+:      025734 l2cap_rx_multiplexing:
+0x4e40 025735 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4e41 025736 branch l2cap_rx_reset_state ,blank 
+0x4e42 025737 bpatch patch1d_2 ,mem_patch1d 
+0x4e43 025738 fetch 1 ,mem_l2cap_rx_cid 
+0x4e44 025739 beq l2cap_signal_channel ,l2cap_call_proc_signal 
+:      025740 l2cap_rx_multiplexing0:
+0x4e45 025741 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+0x4e46 025742 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x4e47 025743 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x4e48 025744 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x4e49 025745 branch l2cap_rx_reset_state 
+:      025747 l2cap_check_map:
+0x4e4a 025750 bpatch patch1d_3 ,mem_patch1d 
+0x4e4b 025751 call l2cap_malloc_get_full_map 
+0x4e4c 025752 fetch 1 ,mem_used_map 
+0x4e4d 025753 beq 0 ,set_pdata_0 
+0x4e4e 025754 beq 1 ,set_pdata_0 
+0x4e4f 025755 beq 2 ,set_pdata_0 
+0x4e50 025756 beq 3 ,set_pdata_0 
+0x4e51 025757 beq 0x81 ,set_pdata_0 
+0x4e52 025758 beq 0xc0 ,set_pdata_0 
+0x4e53 025759 beq 0x80 ,set_pdata_0 
+0x4e54 025760 beq 0x40 ,set_pdata_0 
+0x4e55 025761 rtn 
+:      025763 l2cap_call_proc_signal:
+0x4e56 025764 call l2cap_check_map 
+0x4e57 025765 nrtn blank 
+:      025766 l2cap_call_proc_signal0:
+0x4e58 025767 call l2cap_malloc_signal_channel 
+0x4e59 025768 call l2cap_process_signal_pkt 
+0x4e5a 025769 fetcht 2 ,mem_l2cap_signal_tx_length 
+0x4e5b 025770 branch l2cap_call_proc_no_reply ,blank 
+0x4e5c 025771 call l2cap_get_signal_tx_buff 
+0x4e5d 025772 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4e5e 025773 istore 2 ,contw 
+0x4e5f 025774 force l2cap_signal_channel ,pdata 
+0x4e60 025775 istore 2 ,contw 
+0x4e61 025776 branch l2cap_rx_reset_state 
+:      025778 l2cap_call_proc_sigal_pending:
+0x4e62 025779 fetch 1 ,mem_l2cap_pending_item 
+0x4e63 025780 rtn blank 
+0x4e64 025781 copy pdata ,rega 
+0x4e65 025782 bpatch patch1d_4 ,mem_patch1d 
+0x4e66 025783 fetch 4 ,mem_l2cap_sdpres_delay_time 
+0x4e67 025784 arg 0x100 ,temp 
+0x4e68 025785 iadd temp ,temp 
+0x4e69 025786 copy clkn_bt ,pdata 
+0x4e6a 025787 isub temp ,null 
+0x4e6b 025788 nrtn positive 
+0x4e6c 025789 jam 0 ,mem_l2cap_pending_item 
+0x4e6d 025790 copy rega ,pdata 
+0x4e6e 025791 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+0x4e6f 025792 branch assert 
+:      025793 l2cap_sdp_conn_succ:
+0x4e70 025794 arg 0 ,debug 
+0x4e71 025795 call l2cap_malloc_signal_channel 
+0x4e72 025796 call restore_l2cap_req_param 
+0x4e73 025797 call l2cap_get_signal_tx_payload 
+0x4e74 025798 call save_cont_pointers 
+0x4e75 025799 call send_connection_sdp_res 
+0x4e76 025800 call l2cap_get_signal_tx_buff 
+0x4e77 025802 setarg 0x000c 
+0x4e78 025803 istore 2 ,contw 
+0x4e79 025804 force l2cap_signal_channel ,pdata 
+0x4e7a 025805 istore 2 ,contw 
+0x4e7b 025806 branch l2cap_rx_reset_state 
+:      025810 l2cap_reset_sdp_map:
+0x4e7c 025811 bpatch patch1d_5 ,mem_patch1d 
+0x4e7d 025812 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4e7e 025813 increase 4 ,pdata 
+0x4e7f 025814 call rshift7 
+0x4e80 025815 add pdata ,1 ,temp 
+0x4e81 025816 arg mem_tx_fifo3 ,contr 
+0x4e82 025817 ifetch 3 ,contr 
+0x4e83 025818 rtn blank 
+0x4e84 025819 store 3 ,mem_tx_fifo_map_temp 
+0x4e85 025820 fetch 1 ,mem_tx_fifo_map_temp 
+0x4e86 025821 copy pdata ,rega 
+0x4e87 025822 call check_l2cap_map 
+0x4e88 025823 copy regb ,pdata 
+0x4e89 025824 store 1 ,mem_tx_fifo3 
+0x4e8a 025825 rtn 
+:      025827 check_l2cap_map:
+0x4e8b 025828 arg 0 ,queue 
+0x4e8c 025829 arg 0 ,regb 
+:      025831 check_l2cap_map_loop:
+0x4e8d 025832 sub queue ,7 ,null 
+0x4e8e 025833 nrtn positive 
+0x4e8f 025834 qisolate1 rega 
+0x4e90 025835 branch check_l2cap_map_used ,true 
+0x4e91 025836 branch check_l2cap_map_used2 
+:      025838 check_l2cap_map_used:
+0x4e92 025839 copy temp ,pdata 
+0x4e93 025840 branch check_l2cap_map_used2 ,blank 
+0x4e94 025841 qset1 regb 
+0x4e95 025842 increase -1 ,temp 
+:      025844 check_l2cap_map_used2:
+0x4e96 025845 increase 1 ,queue 
+0x4e97 025846 branch check_l2cap_map_loop 
+:      025848 l2cap_call_proc_sdp:
+0x4e98 025849 call l2cap_malloc_is_fifo_empty 
+0x4e99 025850 nrtn blank 
+0x4e9a 025851 call l2cap_check_map 
+0x4e9b 025852 nrtn blank 
+0x4e9c 025853 call l2cap_malloc_sdp_channel 
+0x4e9d 025854 call enable_authrom 
+0x4e9e 025855 call sdp_process 
+0x4e9f 025856 call disable_authrom 
+0x4ea0 025857 call l2cap_reset_sdp_map 
+0x4ea1 025858 branch l2cap_call_proc_sdp_common 
+:      025861 ml2cap_call_proc_sdp:
+0x4ea2 025862 call l2cap_malloc_is_fifo_empty 
+0x4ea3 025863 nrtn blank 
+0x4ea4 025864 call l2cap_malloc_sdp_channel 
+0x4ea5 025865 call enable_authrom 
+0x4ea6 025866 call sdp_process 
+0x4ea7 025867 call disable_authrom 
+:      025868 l2cap_call_proc_sdp_common:
+0x4ea8 025869 call l2cap_get_sdp_tx_buff 
+0x4ea9 025870 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4eaa 025871 branch l2cap_call_proc_no_reply ,blank 
+0x4eab 025872 istore 2 ,contw 
+0x4eac 025873 fetch 2 ,mem_sdp_remote_cid 
+0x4ead 025874 istore 2 ,contw 
+0x4eae 025875 branch l2cap_rx_reset_state 
+:      025877 l2cap_call_proc_hid:
+0x4eaf 025878 call hid_rx_process 
+0x4eb0 025879 branch l2cap_rx_reset_state 
+:      025881 l2cap_call_proc_rfcomm:
+0x4eb1 025882 bpatch patch1d_6 ,mem_patch1d 
+0x4eb2 025883 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x4eb3 025884 call rfcomm_rx_process 
+0x4eb4 025885 fetch 1 ,mem_rfcomm_malloc_fail_flag 
+0x4eb5 025886 rtneq rfcomm_malloc_fail 
+0x4eb6 025887 branch l2cap_rx_reset_state 
+:      025888 l2cap_call_proc_no_reply:
+0x4eb7 025889 call l2cap_malloc_discard 
+:      025891 l2cap_rx_reset_state:
+0x4eb8 025892 setarg 0 
+0x4eb9 025893 store 2 ,mem_l2cap_rx_pkt_length 
+0x4eba 025894 store 2 ,mem_l2cap_rx_cid 
+0x4ebb 025895 jam l2cap_rx_done ,mem_l2cap_rx_done 
+0x4ebc 025896 rtn 
+:      025898 l2cap_process_signal_pkt:
+0x4ebd 025899 bpatch patch1d_7 ,mem_patch1d 
+0x4ebe 025900 call l2cap_get_signal_tx_payload 
+0x4ebf 025901 force 0 ,regb 
+0x4ec0 025902 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4ec1 025903 copy pdata ,regc 
+0x4ec2 025904 fetch 2 ,mem_l2cap_payload_ptr 
+0x4ec3 025905 iforce contr 
+:      025906 l2cap_process_signal_pkt_loop:
+0x4ec4 025907 call l2cap_process_one_signal 
+0x4ec5 025908 deposit regc 
+0x4ec6 025909 increase -4 ,regc 
+0x4ec7 025910 increase -4 ,pdata 
+0x4ec8 025911 nbranch l2cap_process_signal_pkt_loop ,blank 
+0x4ec9 025912 copy regb ,pdata 
+0x4eca 025913 store 2 ,mem_l2cap_signal_tx_length 
+0x4ecb 025914 rtn 
+:      025916 l2cap_process_one_signal:
+0x4ecc 025917 bpatch patch1e_0 ,mem_patch1e 
+0x4ecd 025918 ifetch 1 ,contr 
+0x4ece 025919 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+0x4ecf 025920 beq signal_connect_req ,l2cap_proc_signal_connect_req 
+0x4ed0 025921 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+0x4ed1 025922 beq signal_config_req ,l2cap_proc_signal_config_req 
+0x4ed2 025923 beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+0x4ed3 025924 beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+0x4ed4 025925 beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+0x4ed5 025926 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x4ed6 025927 beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+0x4ed7 025928 beq signal_info_req ,l2cap_proc_signal_info_req 
+0x4ed8 025929 beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+0x4ed9 025930 call l2cap_reject_command 
+:      025931 l2cap_process_one_signal_rtn:
+0x4eda 025932 rtn 
+:      025934 l2cap_proc_signal_info_req:
+0x4edb 025935 ifetch 1 ,contr 
+0x4edc 025936 copy pdata ,queue 
+0x4edd 025937 ifetch 2 ,contr 
+0x4ede 025938 copy pdata ,rega 
+0x4edf 025939 copy regc ,pdata 
+0x4ee0 025940 isub rega ,regc 
+0x4ee1 025941 setarg signal_info_rsp 
+0x4ee2 025942 istore 1 ,contw 
+0x4ee3 025943 copy queue ,pdata 
+0x4ee4 025944 istore 1 ,contw 
+0x4ee5 025945 ifetch 2 ,contr 
+:      025946 l2cap_proc_signal_info_req_reply:
+0x4ee6 025947 beq l2cap_sig_ext_featrue ,l2cap_proc_signal_info_req_ext 
+0x4ee7 025948 beq l2cap_sig_fix_featrue ,l2cap_proc_signal_info_req_fix 
+0x4ee8 025949 rtn 
+:      025950 l2cap_proc_signal_info_req_ext:
+0x4ee9 025951 setarg 0x020008 
+0x4eea 025952 istore 6 ,contw 
+0x4eeb 025953 setarg 0x0280 
+0x4eec 025954 istore 4 ,contw 
+0x4eed 025955 force 12 ,pdata 
+0x4eee 025956 branch l2cap_proc_signal_info_req_common 
+:      025957 l2cap_proc_signal_info_req_fix:
+0x4eef 025958 setarg 0x3000c 
+0x4ef0 025959 istore 6 ,contw 
+0x4ef1 025960 setarg 0x0006 
+0x4ef2 025961 istore 8 ,contw 
+0x4ef3 025962 force 16 ,pdata 
+:      025963 l2cap_proc_signal_info_req_common:
+0x4ef4 025964 iadd regb ,regb 
+0x4ef5 025965 branch l2cap_process_one_signal_rtn 
+:      025967 ml2cap_proc_signal_info_req:
+0x4ef6 025968 ifetch 1 ,contr 
+0x4ef7 025969 copy pdata ,queue 
+0x4ef8 025970 ifetch 2 ,contr 
+0x4ef9 025971 copy pdata ,rega 
+0x4efa 025972 ifetch 2 ,contr 
+0x4efb 025973 store 2 ,mem_temp 
+0x4efc 025974 copy regc ,pdata 
+0x4efd 025975 isub rega ,regc 
+0x4efe 025976 call l2cap_get_signal_tx_payload 
+0x4eff 025977 setarg signal_info_rsp 
+0x4f00 025978 istore 1 ,contw 
+0x4f01 025979 copy queue ,pdata 
+0x4f02 025980 istore 1 ,contw 
+0x4f03 025981 fetch 2 ,mem_temp 
+0x4f04 025982 branch l2cap_proc_signal_info_req_reply 
+:      025986 l2cap_proc_signal_cmd_reject:
+0x4f05 025987 ifetch 1 ,contr 
+0x4f06 025988 copy pdata ,queue 
+0x4f07 025989 ifetch 2 ,contr 
+0x4f08 025990 copy pdata ,rega 
+0x4f09 025991 iadd contr ,contr 
+0x4f0a 025992 copy regc ,pdata 
+0x4f0b 025993 isub rega ,regc 
+:      025994 l2cap_proc_signal_cmd_reject_rtn:
+0x4f0c 025995 branch l2cap_process_one_signal_rtn 
+:      025997 l2cap_proc_signal_connect_req:
+0x4f0d 025998 call save_cont_pointers 
+0x4f0e 026001 call load_cont_pointers 
+0x4f0f 026002 arg 0 ,debug 
+0x4f10 026003 ifetch 1 ,contr 
+0x4f11 026004 copy pdata ,queue 
+0x4f12 026005 ifetch 2 ,contr 
+0x4f13 026006 copy pdata ,rega 
+0x4f14 026007 ifetch 2 ,contr 
+0x4f15 026008 copy pdata ,temp 
+0x4f16 026009 ifetch 2 ,contr 
+0x4f17 026010 copy pdata ,timeup 
+0x4f18 026011 bpatch patch1e_1 ,mem_patch1e 
+0x4f19 026012 copy temp ,pdata 
+0x4f1a 026013 beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+0x4f1b 026014 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+0x4f1c 026015 beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+0x4f1d 026016 beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+0x4f1e 026017 call l2cap_reject_command 
+0x4f1f 026018 branch l2cap_proc_signal_connect_req_rtn 
+:      026020 l2cap_proc_signal_connect_req_sdp:
+0x4f20 026021 call save_cont_pointers 
+0x4f21 026022 arg l2cap_sdp_channel ,temp 
+0x4f22 026023 fetch 2 ,mem_sdp_remote_cid 
+0x4f23 026024 nbranch already_connected ,blank 
+0x4f24 026025 copy timeup ,pdata 
+0x4f25 026026 store 2 ,mem_sdp_remote_cid 
+0x4f26 026027 copy clkn_bt ,pdata 
+0x4f27 026028 store 4 ,mem_l2cap_sdpres_delay_time 
+0x4f28 026029 call store_l2cap_req_param 
+0x4f29 026030 branch send_connection_pending 
+:      026032 store_l2cap_req_param:
+0x4f2a 026033 storet 2 ,mem_psm 
+0x4f2b 026034 deposit timeup 
+0x4f2c 026035 store 2 ,mem_scid 
+0x4f2d 026036 deposit rega 
+0x4f2e 026037 store 2 ,mem_cmd_length 
+0x4f2f 026038 deposit regb 
+0x4f30 026039 store 2 ,mem_tt2 
+0x4f31 026040 deposit regc 
+0x4f32 026041 store 2 ,mem_tt3 
+0x4f33 026042 deposit queue 
+0x4f34 026043 store 2 ,mem_id 
+0x4f35 026044 rtn 
+:      026046 restore_l2cap_req_param:
+0x4f36 026047 fetcht 2 ,mem_psm 
+0x4f37 026048 fetch 2 ,mem_scid 
+0x4f38 026049 copy pdata ,timeup 
+0x4f39 026050 fetch 2 ,mem_cmd_length 
+0x4f3a 026051 copy pdata ,rega 
+0x4f3b 026052 fetch 2 ,mem_tt2 
+0x4f3c 026053 copy pdata ,regb 
+0x4f3d 026054 fetch 2 ,mem_tt3 
+0x4f3e 026055 copy pdata ,regc 
+0x4f3f 026056 fetch 2 ,mem_id 
+0x4f40 026057 copy pdata ,queue 
+0x4f41 026058 rtn 
+:      026060 l2cap_proc_signal_connect_req_rfcomm:
+0x4f42 026061 call save_cont_pointers 
+0x4f43 026062 setarg l2cap_rfcomm_channel 
+0x4f44 026063 arg l2cap_rfcomm_channel ,temp 
+0x4f45 026064 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f46 026065 nbranch already_connected ,blank 
+0x4f47 026066 copy timeup ,pdata 
+0x4f48 026067 store 2 ,mem_rfcomm_remote_cid 
+0x4f49 026068 fetch 1 ,mem_rfcomm_state 
+0x4f4a 026069 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f4b 026070 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f4c 026071 store 1 ,mem_rfcomm_state 
+0x4f4d 026072 branch send_connection_res 
+:      026073 l2cap_proc_signal_connect_req_hid_ctrl:
+0x4f4e 026074 call save_cont_pointers 
+0x4f4f 026075 arg l2cap_hid_control_channel ,temp 
+0x4f50 026076 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f51 026077 nbranch already_connected ,blank 
+0x4f52 026078 copy timeup ,pdata 
+0x4f53 026079 store 2 ,mem_hid_ctrl_remote_cid 
+0x4f54 026080 fetch 1 ,mem_hid_control_state 
+0x4f55 026081 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f56 026082 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f57 026083 store 1 ,mem_hid_control_state 
+0x4f58 026084 branch send_connection_res 
+:      026085 l2cap_proc_signal_connect_req_hid_int:
+0x4f59 026086 call save_cont_pointers 
+0x4f5a 026087 deposit clke 
+0x4f5b 026088 arg l2cap_hid_interrupt_channel ,temp 
+0x4f5c 026089 fetch 2 ,mem_hid_int_remote_cid 
+0x4f5d 026090 nbranch already_connected ,blank 
+0x4f5e 026091 copy timeup ,pdata 
+0x4f5f 026092 store 2 ,mem_hid_int_remote_cid 
+0x4f60 026093 fetch 1 ,mem_hid_interrupt_state 
+0x4f61 026094 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f62 026095 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f63 026096 store 1 ,mem_hid_interrupt_state 
+0x4f64 026097 branch send_connection_res 
+:      026099 send_connection_pending:
+0x4f65 026100 setarg l2cap_connect_pending 
+0x4f66 026101 store 2 ,meml2cap_t1 
+0x4f67 026102 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+0x4f68 026103 branch send_connection_res0 
+:      026104 send_connection_sdp_res:
+0x4f69 026105 fetch 1 ,mem_sdp_state 
+0x4f6a 026106 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f6b 026107 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f6c 026108 store 1 ,mem_sdp_state 
+:      026109 send_connection_res:
+0x4f6d 026110 setarg l2cap_connect_successful 
+0x4f6e 026111 store 2 ,meml2cap_t1 
+:      026112 send_connection_res0:
+0x4f6f 026113 bpatch patch1e_2 ,mem_patch1e 
+0x4f70 026114 call load_cont_pointers 
+0x4f71 026115 setarg signal_connect_rsp 
+0x4f72 026116 istore 1 ,contw 
+0x4f73 026117 copy queue ,pdata 
+0x4f74 026118 istore 1 ,contw 
+0x4f75 026119 setarg 0x0008 
+0x4f76 026120 istore 2 ,contw 
+0x4f77 026121 copy temp ,pdata 
+0x4f78 026122 istore 2 ,contw 
+0x4f79 026123 copy timeup ,pdata 
+0x4f7a 026124 istore 2 ,contw 
+0x4f7b 026125 fetch 2 ,meml2cap_t1 
+0x4f7c 026126 beq l2cap_connect_pending ,connect_pending 
+0x4f7d 026127 isolate0 0 ,debug 
+0x4f7e 026128 branch connect_suc ,true 
+0x4f7f 026129 setarg l2cap_connect_refused_no_resources 
+:      026130 connect_suc:
+0x4f80 026131 istore 2 ,contw 
+0x4f81 026132 force 0x0000 ,pdata 
+0x4f82 026133 istore 2 ,contw 
+0x4f83 026134 setarg 12 
+0x4f84 026135 branch connect_req_update_byte_counts 
+:      026136 connect_pending:
+0x4f85 026137 istore 2 ,contw 
+0x4f86 026138 force 0x0002 ,pdata 
+0x4f87 026139 istore 2 ,contw 
+0x4f88 026140 setarg 12 
+0x4f89 026141 branch connect_req_update_byte_counts 
+:      026143 already_connected:
+0x4f8a 026144 set1 0 ,debug 
+0x4f8b 026145 branch send_connection_res 
+:      026146 connect_req_update_byte_counts:
+0x4f8c 026147 iadd regb ,regb 
+0x4f8d 026148 copy regc ,pdata 
+0x4f8e 026149 isub rega ,regc 
+0x4f8f 026150 branch l2cap_proc_signal_connect_req_rtn 
+:      026151 l2cap_proc_signal_connect_req_rtn:
+0x4f90 026152 branch l2cap_process_one_signal_rtn 
+:      026154 l2cap_proc_signal_connect_rsp:
+0x4f91 026155 ifetch 1 ,contr 
+0x4f92 026156 copy pdata ,queue 
+0x4f93 026157 ifetch 2 ,contr 
+0x4f94 026158 copy pdata ,rega 
+0x4f95 026159 copy regc ,pdata 
+0x4f96 026160 isub rega ,regc 
+0x4f97 026161 ifetch 2 ,contr 
+0x4f98 026162 copy pdata ,timeup 
+0x4f99 026163 ifetch 2 ,contr 
+0x4f9a 026164 copy pdata ,temp 
+0x4f9b 026165 bpatch patch1e_3 ,mem_patch1e 
+0x4f9c 026166 setarg l2cap_sdp_channel 
+0x4f9d 026167 isub temp ,null 
+0x4f9e 026168 branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+0x4f9f 026169 setarg l2cap_rfcomm_channel 
+0x4fa0 026170 isub temp ,null 
+0x4fa1 026171 branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x4fa2 026172 setarg l2cap_hid_control_channel 
+0x4fa3 026173 isub temp ,null 
+0x4fa4 026174 branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x4fa5 026175 setarg l2cap_hid_interrupt_channel 
+0x4fa6 026176 isub temp ,null 
+0x4fa7 026177 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x4fa8 026178 rtn 
+:      026180 l2cap_proc_signal_connect_rsp_sdp:
+0x4fa9 026181 copy timeup ,pdata 
+0x4faa 026182 store 2 ,mem_sdp_remote_cid 
+0x4fab 026183 fetch 1 ,mem_sdp_state 
+0x4fac 026184 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fad 026185 store 1 ,mem_sdp_state 
+0x4fae 026186 branch l2cap_process_one_signal_rtn 
+:      026187 l2cap_proc_signal_connect_rsp_rfcomm:
+0x4faf 026188 copy timeup ,pdata 
+0x4fb0 026189 store 2 ,mem_rfcomm_remote_cid 
+0x4fb1 026190 fetch 1 ,mem_rfcomm_state 
+0x4fb2 026191 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fb3 026192 store 1 ,mem_rfcomm_state 
+0x4fb4 026193 rtn 
+:      026194 l2cap_proc_signal_connect_rsp_hid_int:
+0x4fb5 026195 copy timeup ,pdata 
+0x4fb6 026196 store 2 ,mem_hid_ctrl_remote_cid 
+0x4fb7 026197 fetch 1 ,mem_hid_interrupt_state 
+0x4fb8 026198 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fb9 026199 store 1 ,mem_hid_interrupt_state 
+0x4fba 026200 rtn 
+:      026201 l2cap_proc_signal_connect_rsp_hid_ctrl:
+0x4fbb 026202 copy timeup ,pdata 
+0x4fbc 026203 store 2 ,mem_hid_int_remote_cid 
+0x4fbd 026204 fetch 1 ,mem_hid_control_state 
+0x4fbe 026205 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fbf 026206 store 1 ,mem_hid_control_state 
+0x4fc0 026207 rtn 
+:      026209 l2cap_proc_signal_config_req:
+0x4fc1 026210 ifetch 1 ,contr 
+0x4fc2 026211 copy pdata ,queue 
+0x4fc3 026212 ifetch 2 ,contr 
+0x4fc4 026213 copy pdata ,rega 
+0x4fc5 026214 copy regc ,pdata 
+0x4fc6 026215 isub rega ,regc 
+0x4fc7 026216 ifetch 2 ,contr 
+0x4fc8 026217 copy pdata ,temp 
+0x4fc9 026218 copy temp ,rega 
+0x4fca 026219 bpatch patch1e_4 ,mem_patch1e 
+0x4fcb 026220 setarg l2cap_sdp_channel 
+0x4fcc 026221 isub temp ,null 
+0x4fcd 026222 branch l2cap_proc_signal_config_req_sdp ,zero 
+0x4fce 026223 setarg l2cap_rfcomm_channel 
+0x4fcf 026224 isub temp ,null 
+0x4fd0 026225 branch l2cap_proc_signal_config_req_rfcomm ,zero 
+0x4fd1 026226 setarg l2cap_hid_control_channel 
+0x4fd2 026227 isub temp ,null 
+0x4fd3 026228 branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x4fd4 026229 setarg l2cap_hid_interrupt_channel 
+0x4fd5 026230 isub temp ,null 
+0x4fd6 026231 branch l2cap_proc_signal_config_req_hid_int ,zero 
+0x4fd7 026232 branch l2cap_reject_command 
+:      026234 l2cap_proc_signal_config_req_sdp:
+0x4fd8 026235 copy contw ,timeup 
+0x4fd9 026236 fetch 1 ,mem_sdp_state 
+0x4fda 026237 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4fdb 026238 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4fdc 026240 store 1 ,mem_sdp_state 
+0x4fdd 026241 copy timeup ,contw 
+0x4fde 026242 arg l2cap_sdp_channel ,timeup 
+0x4fdf 026243 fetch 2 ,mem_sdp_remote_cid 
+0x4fe0 026244 copy pdata ,temp 
+0x4fe1 026245 branch l2cap_send_config_rsp 
+:      026246 l2cap_proc_signal_config_req_hid_ctrl:
+0x4fe2 026247 copy contw ,timeup 
+0x4fe3 026248 fetch 1 ,mem_hid_control_state 
+0x4fe4 026249 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4fe5 026250 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4fe6 026252 store 1 ,mem_hid_control_state 
+0x4fe7 026253 copy timeup ,contw 
+0x4fe8 026254 arg l2cap_hid_control_channel ,timeup 
+0x4fe9 026255 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4fea 026256 copy pdata ,temp 
+0x4feb 026257 branch l2cap_send_config_rsp 
+:      026258 l2cap_proc_signal_config_req_hid_int:
+0x4fec 026259 copy contw ,timeup 
+0x4fed 026260 fetch 1 ,mem_hid_interrupt_state 
+0x4fee 026261 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4fef 026262 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4ff0 026264 store 1 ,mem_hid_interrupt_state 
+0x4ff1 026265 copy timeup ,contw 
+0x4ff2 026266 arg l2cap_hid_interrupt_channel ,timeup 
+0x4ff3 026267 fetch 2 ,mem_hid_int_remote_cid 
+0x4ff4 026268 copy pdata ,temp 
+0x4ff5 026269 branch l2cap_send_config_rsp 
+:      026270 l2cap_proc_signal_config_req_rfcomm:
+0x4ff6 026271 copy contw ,timeup 
+0x4ff7 026272 fetch 1 ,mem_rfcomm_state 
+0x4ff8 026273 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4ff9 026274 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4ffa 026276 store 1 ,mem_rfcomm_state 
+0x4ffb 026278 copy timeup ,contw 
+0x4ffc 026279 arg l2cap_rfcomm_channel ,timeup 
+0x4ffd 026280 fetch 2 ,mem_rfcomm_remote_cid 
+0x4ffe 026281 copy pdata ,temp 
+:      026282 l2cap_send_config_rsp:
+0x4fff 026283 bpatch patch1e_5 ,mem_patch1e 
+0x5000 026284 setarg signal_config_rsp 
+0x5001 026285 istore 1 ,contw 
+0x5002 026286 copy queue ,pdata 
+0x5003 026287 istore 1 ,contw 
+0x5004 026288 setarg 0x0006 
+0x5005 026289 istore 2 ,contw 
+0x5006 026290 copy temp ,pdata 
+0x5007 026291 istore 2 ,contw 
+0x5008 026292 force 0x00 ,pdata 
+0x5009 026293 istore 2 ,contw 
+0x500a 026294 force l2cap_config_success ,pdata 
+0x500b 026295 istore 2 ,contw 
+0x500c 026296 force 10 ,pdata 
+0x500d 026297 iadd regb ,regb 
+0x500e 026299 storet 2 ,mem_config_req_dest_cid 
+0x500f 026300 copy queue ,pdata 
+0x5010 026301 store 1 ,mem_config_identifier 
+0x5011 026302 force l2cap_sdp_channel ,pdata 
+0x5012 026303 icompare 0xff ,timeup 
+0x5013 026304 branch l2cap_send_config_rsp_is_sdp ,true 
+0x5014 026305 increase 1 ,pdata 
+:      026306 l2cap_send_config_rsp_is_sdp:
+0x5015 026308 rtn 
+:      026309 l2cap_check_channel_state:
+0x5016 026310 disable user 
+0x5017 026311 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x5018 026312 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+0x5019 026313 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+0x501a 026314 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x501b 026315 copy contr ,contw 
+0x501c 026316 increase -1 ,contw 
+0x501d 026317 istore 1 ,contw 
+0x501e 026318 enable user 
+0x501f 026319 rtn 
+:      026320 l2cap_send_config_req:
+:      026321 l2cap_send_config_req_sdp:
+0x5020 026322 fetch 1 ,mem_sdp_state 
+0x5021 026323 call l2cap_check_channel_state 
+0x5022 026324 nbranch l2cap_send_config_req_rfcomm ,user 
+0x5023 026325 jam l2cap_sdp_channel ,mem_send_config_req 
+0x5024 026326 fetch 2 ,mem_sdp_remote_cid 
+0x5025 026327 store 2 ,mem_config_req_dest_cid 
+0x5026 026328 branch l2cap_generate_config_req 
+:      026329 l2cap_send_config_req_rfcomm:
+0x5027 026330 fetch 1 ,mem_rfcomm_state 
+0x5028 026331 call l2cap_check_channel_state 
+0x5029 026332 nbranch l2cap_send_config_req_hid_ctrl ,user 
+0x502a 026333 jam l2cap_rfcomm_channel ,mem_send_config_req 
+0x502b 026334 fetch 2 ,mem_rfcomm_remote_cid 
+0x502c 026335 store 2 ,mem_config_req_dest_cid 
+0x502d 026336 branch l2cap_generate_config_req 
+:      026337 l2cap_send_config_req_hid_ctrl:
+0x502e 026338 fetch 1 ,mem_hid_control_state 
+0x502f 026339 call l2cap_check_channel_state 
+0x5030 026340 nbranch l2cap_send_config_req_hid_int ,user 
+0x5031 026341 jam l2cap_hid_control_channel ,mem_send_config_req 
+0x5032 026342 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5033 026343 store 2 ,mem_config_req_dest_cid 
+0x5034 026344 branch l2cap_generate_config_req 
+:      026345 l2cap_send_config_req_hid_int:
+0x5035 026346 fetch 1 ,mem_hid_interrupt_state 
+0x5036 026347 call l2cap_check_channel_state 
+0x5037 026348 nrtn user 
+0x5038 026349 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+0x5039 026350 fetch 2 ,mem_hid_int_remote_cid 
+0x503a 026351 store 2 ,mem_config_req_dest_cid 
+:      026354 l2cap_generate_config_req:
+0x503b 026355 bpatch patch1e_6 ,mem_patch1e 
+0x503c 026356 call l2cap_get_req_id 
+0x503d 026357 call l2cap_malloc_signal_channel 
+0x503e 026358 force 0 ,regb 
+0x503f 026359 call l2cap_get_signal_tx_payload 
+0x5040 026360 force signal_config_req ,pdata 
+0x5041 026361 istore 1 ,contw 
+0x5042 026362 fetch 1 ,mem_ml2cap_comm_id 
+0x5043 026363 istore 1 ,contw 
+0x5044 026364 setarg 0x0008 
+0x5045 026365 istore 2 ,contw 
+0x5046 026366 fetch 2 ,mem_config_req_dest_cid 
+0x5047 026367 istore 2 ,contw 
+0x5048 026368 setarg 0x0000 
+0x5049 026369 istore 2 ,contw 
+0x504a 026370 force 1 ,pdata 
+0x504b 026371 istore 1 ,contw 
+0x504c 026372 force 2 ,pdata 
+0x504d 026373 istore 1 ,contw 
+0x504e 026374 fetch 1 ,mem_send_config_req 
+0x504f 026375 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+0x5050 026376 setarg l2cap_config_mtu_sdp 
+0x5051 026377 istore 2 ,contw 
+0x5052 026378 branch l2cap_generate_config_req_done 
+:      026379 l2cap_generate_config_req_rfcomm:
+0x5053 026380 setarg l2cap_config_mtu_rfcomm 
+0x5054 026381 istore 2 ,contw 
+:      026382 l2cap_generate_config_req_done:
+0x5055 026383 arg 0x0c ,temp 
+0x5056 026384 storet 2 ,mem_l2cap_signal_tx_length 
+0x5057 026385 call l2cap_get_signal_tx_buff 
+0x5058 026386 fetch 2 ,mem_l2cap_signal_tx_length 
+0x5059 026387 istore 2 ,contw 
+0x505a 026388 force l2cap_signal_channel ,pdata 
+0x505b 026389 istore 2 ,contw 
+0x505c 026390 jam 0 ,mem_send_config_req 
+:      026391 l2cap_proc_signal_config_req_rtn:
+0x505d 026392 branch l2cap_process_one_signal_rtn 
+:      026394 l2cap_proc_signal_config_rsp:
+0x505e 026395 increase 1 ,contr 
+0x505f 026396 ifetch 2 ,contr 
+0x5060 026397 copy pdata ,rega 
+0x5061 026398 copy regc ,pdata 
+0x5062 026399 isub rega ,regc 
+0x5063 026400 ifetch 2 ,contr 
+0x5064 026401 copy pdata ,rega 
+0x5065 026402 bpatch patch1e_7 ,mem_patch1e 
+0x5066 026403 setarg l2cap_sdp_channel 
+0x5067 026404 isub rega ,null 
+0x5068 026405 branch l2cap_proc_signal_config_rsp_sdp ,zero 
+0x5069 026406 setarg l2cap_rfcomm_channel 
+0x506a 026407 isub rega ,null 
+0x506b 026408 branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x506c 026409 setarg l2cap_hid_control_channel 
+0x506d 026410 isub rega ,null 
+0x506e 026411 branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x506f 026412 setarg l2cap_hid_interrupt_channel 
+0x5070 026413 isub rega ,null 
+0x5071 026414 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+0x5072 026415 increase 2 ,contr 
+0x5073 026416 ifetch 2 ,contr 
+0x5074 026417 iforce null 
+0x5075 026418 branch l2cap_process_one_signal_rtn 
+:      026419 l2cap_proc_signal_config_rsp_sdp:
+0x5076 026420 fetch 1 ,mem_sdp_state 
+0x5077 026421 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5078 026422 store 1 ,mem_sdp_state 
+0x5079 026423 branch l2cap_process_one_signal_rtn 
+:      026424 l2cap_proc_signal_config_rsp_rfcomm:
+0x507a 026425 fetch 1 ,mem_rfcomm_state 
+0x507b 026426 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x507c 026427 store 1 ,mem_rfcomm_state 
+0x507d 026428 branch l2cap_process_one_signal_rtn 
+:      026429 l2cap_proc_signal_config_rsp_hid_ctrl:
+0x507e 026430 fetch 1 ,mem_hid_control_state 
+0x507f 026431 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5080 026432 store 1 ,mem_hid_control_state 
+0x5081 026433 branch l2cap_process_one_signal_rtn 
+:      026434 l2cap_proc_signal_config_rsp_hid_int:
+0x5082 026435 fetch 1 ,mem_hid_interrupt_state 
+0x5083 026436 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5084 026437 store 1 ,mem_hid_interrupt_state 
+0x5085 026438 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x5086 026439 branch ui_ipc_send_event 
+:      026443 l2cap_proc_signal_disconnect_req:
+0x5087 026444 ifetch 1 ,contr 
+0x5088 026445 copy pdata ,queue 
+0x5089 026446 ifetch 2 ,contr 
+0x508a 026447 copy pdata ,rega 
+0x508b 026448 copy regc ,pdata 
+0x508c 026449 isub rega ,regc 
+0x508d 026450 ifetch 2 ,contr 
+0x508e 026451 copy pdata ,rega 
+0x508f 026452 ifetch 2 ,contr 
+0x5090 026453 copy pdata ,timeup 
+0x5091 026454 copy rega ,temp 
+0x5092 026455 call save_cont_pointers 
+0x5093 026456 bpatch patch1f_0 ,mem_patch1f 
+0x5094 026457 setarg l2cap_sdp_channel 
+0x5095 026458 isub temp ,null 
+0x5096 026459 branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+0x5097 026460 setarg l2cap_rfcomm_channel 
+0x5098 026461 isub temp ,null 
+0x5099 026462 branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+0x509a 026463 setarg l2cap_hid_control_channel 
+0x509b 026464 isub temp ,null 
+0x509c 026465 branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+0x509d 026466 setarg l2cap_hid_interrupt_channel 
+0x509e 026467 isub temp ,null 
+0x509f 026468 branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+0x50a0 026469 call l2cap_reject_command 
+0x50a1 026470 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026471 l2cap_proc_signal_disconnect_req_hid_ctrl:
+0x50a2 026472 copy timeup ,temp 
+0x50a3 026473 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x50a4 026474 isub temp ,null 
+0x50a5 026475 branch l2cap_disconnect_hid_control_now ,zero 
+0x50a6 026476 call l2cap_reject_command 
+0x50a7 026477 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026478 l2cap_proc_signal_disconnect_req_hid_int:
+0x50a8 026479 copy timeup ,temp 
+0x50a9 026480 fetch 2 ,mem_hid_int_remote_cid 
+0x50aa 026481 isub temp ,null 
+0x50ab 026482 branch l2cap_disconnect_hid_interrupt_now ,zero 
+0x50ac 026483 call l2cap_reject_command 
+0x50ad 026484 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026486 l2cap_proc_signal_disconnect_req_sdp:
+0x50ae 026487 copy timeup ,temp 
+0x50af 026488 fetch 2 ,mem_sdp_remote_cid 
+0x50b0 026489 isub temp ,null 
+0x50b1 026490 branch l2cap_disconnect_sdp_now ,zero 
+0x50b2 026491 call l2cap_reject_command 
+0x50b3 026492 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026493 l2cap_disconnect_hid_control_now:
+0x50b4 026494 call l2cap_reset_hid_ctrl_state 
+0x50b5 026495 branch l2cap_send_disconnect_rsp_pkt 
+:      026496 l2cap_disconnect_hid_interrupt_now:
+0x50b6 026497 call l2cap_reset_hid_int_state 
+0x50b7 026498 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x50b8 026499 branch l2cap_send_disconnect_rsp_pkt ,blank 
+0x50b9 026507 branch l2cap_send_disconnect_rsp_pkt 
+:      026509 l2cap_disconnect_sdp_now:
+0x50ba 026510 call l2cap_reset_sdp_channel_state 
+0x50bb 026511 fetch 1 ,mem_upper_sm_ss 
+0x50bc 026512 nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+0x50bd 026515 branch l2cap_send_disconnect_rsp_pkt 
+:      026516 l2cap_proc_signal_disconnect_req_rfcomm:
+0x50be 026517 copy timeup ,temp 
+0x50bf 026518 fetch 2 ,mem_rfcomm_remote_cid 
+0x50c0 026519 isub temp ,null 
+0x50c1 026520 branch l2cap_disconnect_rfcomm_now ,zero 
+0x50c2 026521 call l2cap_reject_command 
+0x50c3 026522 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026523 l2cap_disconnect_rfcomm_now:
+0x50c4 026524 call l2cap_reset_rfcomm_channel_state 
+0x50c5 026525 branch l2cap_send_disconnect_rsp_pkt 
+:      026526 l2cap_send_disconnect_rsp_pkt:
+0x50c6 026527 call load_cont_pointers 
+0x50c7 026528 setarg signal_disconnect_rsp 
+0x50c8 026529 istore 1 ,contw 
+0x50c9 026530 copy queue ,pdata 
+0x50ca 026531 istore 1 ,contw 
+0x50cb 026532 setarg 0x0004 
+0x50cc 026533 istore 2 ,contw 
+0x50cd 026534 copy rega ,pdata 
+0x50ce 026535 istore 2 ,contw 
+0x50cf 026536 copy timeup ,pdata 
+0x50d0 026537 istore 2 ,contw 
+0x50d1 026538 force 8 ,pdata 
+0x50d2 026539 branch l2cap_proc_signal_disconnect_req_rtn 
+:      026540 l2cap_proc_signal_disconnect_req_err_rtn:
+0x50d3 026541 call load_cont_pointers 
+0x50d4 026542 branch l2cap_proc_signal_disconnect_req_rtn 
+:      026543 l2cap_proc_signal_disconnect_req_rtn:
+0x50d5 026544 iadd regb ,regb 
+0x50d6 026545 branch l2cap_process_one_signal_rtn 
+:      026546 l2cap_proc_signal_disconnect_rsp:
+0x50d7 026547 ifetch 1 ,contr 
+0x50d8 026548 copy pdata ,queue 
+0x50d9 026549 ifetch 2 ,contr 
+0x50da 026550 copy pdata ,rega 
+0x50db 026551 copy regc ,pdata 
+0x50dc 026552 isub rega ,regc 
+0x50dd 026553 ifetch 2 ,contr 
+0x50de 026554 copy pdata ,timeup 
+0x50df 026555 ifetch 2 ,contr 
+0x50e0 026556 copy pdata ,temp 
+0x50e1 026557 call save_cont_pointers 
+0x50e2 026558 bpatch patch1f_1 ,mem_patch1f 
+0x50e3 026559 setarg l2cap_sdp_channel 
+0x50e4 026560 isub temp ,null 
+0x50e5 026561 branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+0x50e6 026562 setarg l2cap_rfcomm_channel 
+0x50e7 026563 isub temp ,null 
+0x50e8 026564 branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+0x50e9 026565 setarg l2cap_hid_control_channel 
+0x50ea 026566 isub temp ,null 
+0x50eb 026567 branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+0x50ec 026568 setarg l2cap_hid_interrupt_channel 
+0x50ed 026569 isub temp ,null 
+0x50ee 026570 branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+0x50ef 026571 call l2cap_reject_command 
+0x50f0 026572 branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+:      026573 l2cap_proc_signal_disconnect_rsp_sdp:
+0x50f1 026574 copy temp ,rega 
+0x50f2 026575 copy timeup ,temp 
+0x50f3 026576 fetch 2 ,mem_sdp_remote_cid 
+0x50f4 026577 isub temp ,null 
+0x50f5 026578 call l2cap_reset_sdp_channel_state ,zero 
+0x50f6 026579 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026580 l2cap_proc_signal_disconnect_rsp_rfcomm:
+0x50f7 026581 copy temp ,rega 
+0x50f8 026582 copy timeup ,temp 
+0x50f9 026583 fetch 2 ,mem_rfcomm_remote_cid 
+0x50fa 026584 isub temp ,null 
+0x50fb 026585 call l2cap_reset_rfcomm_channel_state ,zero 
+0x50fc 026586 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026587 l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+0x50fd 026588 copy temp ,rega 
+0x50fe 026589 copy timeup ,temp 
+0x50ff 026590 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5100 026591 isub temp ,null 
+0x5101 026592 call l2cap_reset_hid_ctrl_state ,zero 
+0x5102 026593 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026594 l2cap_proc_signal_disconnect_rsp_hid_int:
+0x5103 026595 copy temp ,rega 
+0x5104 026596 copy timeup ,temp 
+0x5105 026597 fetch 2 ,mem_hid_int_remote_cid 
+0x5106 026598 isub temp ,null 
+0x5107 026599 call l2cap_reset_hid_int_state ,zero 
+0x5108 026600 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026601 l2cap_proc_signal_disconnect_rsp_rtn:
+0x5109 026602 call load_cont_pointers 
+0x510a 026603 branch l2cap_process_one_signal_rtn 
+:      026604 l2cap_proc_signal_disconnect_rsp_err_rtn:
+0x510b 026605 branch l2cap_process_one_signal_rtn 
+:      026608 l2cap_proc_signal_echo_req:
+0x510c 026609 ifetch 1 ,contr 
+0x510d 026610 copy pdata ,queue 
+0x510e 026611 ifetch 2 ,contr 
+0x510f 026612 copy pdata ,rega 
+0x5110 026613 iadd contr ,contr 
+0x5111 026614 setarg 9 
+0x5112 026615 istore 1 ,contw 
+0x5113 026616 copy queue ,pdata 
+0x5114 026617 istore 1 ,contw 
+0x5115 026618 force 0x0000 ,pdata 
+0x5116 026619 istore 2 ,contw 
+0x5117 026620 force 4 ,pdata 
+0x5118 026621 iadd regb ,regb 
+0x5119 026622 copy regc ,pdata 
+0x511a 026623 isub rega ,regc 
+0x511b 026624 branch l2cap_process_one_signal_rtn 
+:      026625 l2cap_proc_signal_echo_rsp:
+0x511c 026626 branch l2cap_process_one_signal_rtn 
+:      026628 l2cap_proc_signal_info_rsp:
+0x511d 026629 branch l2cap_process_one_signal_rtn 
+:      026630 l2cap_reject_command:
+0x511e 026631 force 0 ,regb 
+0x511f 026632 call l2cap_get_signal_tx_payload 
+0x5120 026633 setarg signal_cmd_reject 
+0x5121 026634 istore 1 ,contw 
+0x5122 026635 copy queue ,pdata 
+0x5123 026636 istore 1 ,contw 
+0x5124 026637 setarg 2 
+0x5125 026638 istore 2 ,contw 
+0x5126 026639 setarg cmd_not_understood 
+0x5127 026640 istore 2 ,contw 
+0x5128 026641 increase 6 ,regb 
+0x5129 026642 arg 4 ,regc 
+0x512a 026643 branch l2cap_process_one_signal_rtn 
+:      026647 l2cap_reset_rfcomm_channel_state:
+0x512b 026648 setarg 0 
+0x512c 026649 store 2 ,mem_rfcomm_tx_pkt_length 
+0x512d 026650 store 2 ,mem_rfcomm_remote_cid 
+0x512e 026651 jam 0 ,mem_rfcomm_state 
+0x512f 026652 rtn 
+:      026653 l2cap_reset_sdp_channel_state:
+0x5130 026654 setarg 0 
+0x5131 026655 store 2 ,mem_sdp_tx_pkt_length 
+0x5132 026656 store 2 ,mem_sdp_remote_cid 
+0x5133 026657 jam 0 ,mem_sdp_state 
+0x5134 026658 rtn 
+:      026659 l2cap_reset_hid_ctrl_state:
+0x5135 026660 setarg 0 
+0x5136 026661 store 2 ,mem_hid_ctrl_remote_cid 
+0x5137 026662 jam 0 ,mem_hid_control_state 
+0x5138 026663 fetch 1 ,mem_hid_interrupt_state 
+0x5139 026664 beq 0 ,l2cap_reset_hid_disconnected 
+0x513a 026665 rtn 
+:      026667 l2cap_reset_hid_int_state:
+0x513b 026668 setarg 0 
+0x513c 026669 store 2 ,mem_hid_int_remote_cid 
+0x513d 026670 jam 0 ,mem_hid_interrupt_state 
+0x513e 026671 fetch 1 ,mem_hid_control_state 
+0x513f 026672 beq 0 ,l2cap_reset_hid_disconnected 
+0x5140 026673 rtn 
+:      026675 l2cap_reset_hid_disconnected:
+0x5141 026676 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+0x5142 026677 branch ui_ipc_send_event 
+:      026679 l2cap_disconnect_interrupt_req:
+0x5143 026680 fetch 1 ,mem_control_tasks 
+0x5144 026681 set0 l2cap_disconnect_interrupt ,pdata 
+0x5145 026682 store 1 ,mem_control_tasks 
+0x5146 026683 fetch 2 ,mem_hid_int_remote_cid 
+0x5147 026684 rtn blank 
+0x5148 026685 call l2cap_malloc_signal_channel 
+0x5149 026686 fetch 2 ,mem_hid_int_remote_cid 
+0x514a 026687 copy pdata ,rega 
+0x514b 026688 force l2cap_hid_interrupt_channel ,regb 
+0x514c 026689 branch l2cap_generate_disconnect_req 
+:      026690 l2cap_disconnect_control_req:
+0x514d 026691 fetch 1 ,mem_control_tasks 
+0x514e 026692 set0 l2cap_disconnect_control ,pdata 
+0x514f 026693 store 1 ,mem_control_tasks 
+0x5150 026694 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5151 026695 rtn blank 
+0x5152 026696 call l2cap_malloc_signal_channel 
+0x5153 026697 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5154 026698 copy pdata ,rega 
+0x5155 026699 force l2cap_hid_control_channel ,regb 
+:      026700 l2cap_generate_disconnect_req:
+0x5156 026701 call l2cap_get_req_id 
+0x5157 026702 call l2cap_get_signal_tx_payload 
+0x5158 026703 force signal_disconnect_req ,pdata 
+0x5159 026704 istore 1 ,contw 
+0x515a 026705 fetch 1 ,mem_ml2cap_comm_id 
+0x515b 026706 istore 1 ,contw 
+0x515c 026707 setarg 0x0004 
+0x515d 026708 istore 2 ,contw 
+0x515e 026709 copy rega ,pdata 
+0x515f 026710 istore 2 ,contw 
+0x5160 026711 copy regb ,pdata 
+0x5161 026712 istore 2 ,contw 
+0x5162 026713 force 0x08 ,temp 
+0x5163 026714 branch ml2cap_send_signal 
+:      026716 ml2cap_send_signal_connect_req:
+0x5164 026717 bpatch patch1f_2 ,mem_patch1f 
+0x5165 026718 call l2cap_get_req_id 
+0x5166 026719 call l2cap_get_signal_tx_payload 
+0x5167 026720 setarg signal_connect_req 
+0x5168 026721 istore 1 ,contw 
+0x5169 026722 fetch 1 ,mem_ml2cap_comm_id 
+0x516a 026723 istore 1 ,contw 
+0x516b 026724 setarg 0x0004 
+0x516c 026725 istore 2 ,contw 
+0x516d 026726 copy temp ,pdata 
+0x516e 026727 istore 2 ,contw 
+0x516f 026728 copy timeup ,pdata 
+0x5170 026729 istore 2 ,contw 
+0x5171 026730 arg 8 ,temp 
+0x5172 026731 branch ml2cap_send_signal 
+:      026732 ml2cap_send_signal_config_req:
+0x5173 026733 bpatch patch1f_3 ,mem_patch1f 
+0x5174 026734 call l2cap_get_req_id 
+0x5175 026735 call l2cap_get_signal_tx_payload 
+0x5176 026736 setarg signal_config_req 
+0x5177 026737 istore 1 ,contw 
+0x5178 026738 fetch 1 ,mem_ml2cap_comm_id 
+0x5179 026739 istore 1 ,contw 
+0x517a 026740 setarg 0x0008 
+0x517b 026741 istore 2 ,contw 
+0x517c 026743 copy temp ,pdata 
+0x517d 026745 istore 2 ,contw 
+0x517e 026746 setarg 0x0000 
+0x517f 026747 istore 2 ,contw 
+0x5180 026748 setarg 0x01 
+0x5181 026749 istore 1 ,contw 
+0x5182 026750 setarg 0x02 
+0x5183 026751 istore 1 ,contw 
+0x5184 026752 setarg l2cap_config_mtu_rfcomm 
+0x5185 026753 istore 2 ,contw 
+0x5186 026754 arg 0xc ,temp 
+0x5187 026755 branch ml2cap_send_signal 
+:      026756 ml2cap_send_signal_disconn_req:
+0x5188 026757 bpatch patch1f_4 ,mem_patch1f 
+0x5189 026758 call l2cap_get_req_id 
+0x518a 026759 call l2cap_get_signal_tx_payload 
+0x518b 026760 setarg signal_disconnect_req 
+0x518c 026761 istore 1 ,contw 
+0x518d 026762 fetch 1 ,mem_ml2cap_comm_id 
+0x518e 026763 increase 1 ,pdata 
+0x518f 026764 copy contw ,rega 
+0x5190 026765 store 1 ,mem_ml2cap_comm_id 
+0x5191 026766 copy rega ,contw 
+0x5192 026767 istore 1 ,contw 
+0x5193 026768 setarg 0x0004 
+0x5194 026769 istore 2 ,contw 
+0x5195 026770 copy temp ,pdata 
+0x5196 026771 istore 2 ,contw 
+0x5197 026772 copy timeup ,pdata 
+0x5198 026773 istore 2 ,contw 
+0x5199 026774 arg 0x8 ,temp 
+:      026777 ml2cap_send_signal:
+0x519a 026778 storet 2 ,mem_l2cap_signal_tx_length 
+0x519b 026779 copy temp ,pdata 
+0x519c 026780 branch l2cap_malloc_discard ,blank 
+0x519d 026781 call l2cap_get_signal_tx_buff 
+0x519e 026782 fetch 2 ,mem_l2cap_signal_tx_length 
+0x519f 026783 istore 2 ,contw 
+0x51a0 026784 force l2cap_signal_channel ,pdata 
+0x51a1 026785 istore 2 ,contw 
+0x51a2 026786 rtn 
+:      026788 msdp_send_req_done:
+0x51a3 026789 fetch 2 ,mem_sdp_tx_pkt_length 
+0x51a4 026790 branch assert ,blank 
+0x51a5 026791 call l2cap_get_sdp_tx_buff 
+0x51a6 026792 fetch 2 ,mem_sdp_tx_pkt_length 
+0x51a7 026793 istore 2 ,contw 
+0x51a8 026794 fetch 2 ,mem_sdp_remote_cid 
+0x51a9 026795 istore 2 ,contw 
+0x51aa 026796 rtn 
+:      026797 ml2cap_rx_multiplexing:
+0x51ab 026798 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x51ac 026799 branch l2cap_rx_reset_state ,blank 
+0x51ad 026800 bpatch patch1f_5 ,mem_patch1f 
+0x51ae 026801 fetch 1 ,mem_l2cap_rx_cid 
+0x51af 026802 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+0x51b0 026803 beq l2cap_sdp_channel ,ml2cap_call_proc_sdp 
+0x51b1 026804 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x51b2 026805 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x51b3 026806 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x51b4 026807 branch l2cap_rx_reset_state 
+:      026809 ml2cap_call_proc_signal:
+0x51b5 026810 call l2cap_malloc_signal_channel 
+0x51b6 026811 force 0 ,regb 
+0x51b7 026812 call l2cap_get_signal_tx_payload 
+0x51b8 026813 copy pdata ,contw 
+0x51b9 026814 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x51ba 026815 copy pdata ,regc 
+0x51bb 026816 fetch 2 ,mem_l2cap_payload_ptr 
+0x51bc 026817 iforce contr 
+:      026818 ml2cap_proc_one_comm_loop:
+0x51bd 026819 call ml2cap_proc_one_comm 
+0x51be 026820 increase -4 ,regc 
+0x51bf 026821 nbranch ml2cap_proc_one_comm_loop ,zero 
+0x51c0 026822 copy regb ,temp 
+0x51c1 026823 call ml2cap_send_signal 
+0x51c2 026824 branch l2cap_rx_reset_state 
+:      026826 ml2cap_proc_one_comm:
+0x51c3 026827 ifetch 1 ,contr 
+0x51c4 026828 beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+0x51c5 026829 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+0x51c6 026830 beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+0x51c7 026831 beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+0x51c8 026832 beq signal_config_req ,ml2cap_proc_signal_config_req 
+0x51c9 026833 beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+0x51ca 026834 beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+0x51cb 026835 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x51cc 026836 beq signal_info_req ,ml2cap_proc_signal_info_req 
+0x51cd 026837 branch ml2cap_proc_send_reject 
+:      026839 ml2cap_proc_signal_connect_req:
+0x51ce 026840 call save_cont_pointers 
+0x51cf 026842 call load_cont_pointers 
+0x51d0 026843 branch l2cap_proc_signal_connect_req 
+:      026844 ml2cap_proc_signal_cmd_reject:
+0x51d1 026845 ifetch 1 ,contr 
+0x51d2 026846 copy pdata ,queue 
+0x51d3 026847 ifetch 2 ,contr 
+0x51d4 026848 copy pdata ,rega 
+0x51d5 026849 copy regc ,pdata 
+0x51d6 026850 isub rega ,regc 
+:      026851 mvptr:
+0x51d7 026852 ifetch 1 ,contr 
+0x51d8 026853 increase -1 ,rega 
+0x51d9 026854 nbranch mvptr ,zero 
+0x51da 026855 rtn 
+:      026856 ml2cap_proc_signal_connect_rsp:
+0x51db 026857 ifetch 1 ,contr 
+0x51dc 026858 copy pdata ,queue 
+0x51dd 026859 ifetch 2 ,contr 
+0x51de 026860 copy pdata ,rega 
+0x51df 026861 ifetch 2 ,contr 
+0x51e0 026862 copy pdata ,timeup 
+0x51e1 026863 ifetch 2 ,contr 
+0x51e2 026864 copy pdata ,temp 
+0x51e3 026865 ifetch 2 ,contr 
+0x51e4 026866 sub pdata ,0 ,null 
+0x51e5 026867 branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+0x51e6 026868 beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+0x51e7 026869 beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+0x51e8 026870 branch ml2cap_proc_signal_connect_rsp_mnosucc 
+:      026871 ml2cap_proc_signal_connect_refused_result:
+0x51e9 026872 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+0x51ea 026873 call ui_ipc_send_event 
+:      026874 ml2cap_proc_signal_connect_rsp_mnosucc:
+0x51eb 026875 ifetch 2 ,contr 
+0x51ec 026876 branch mnosucc 
+:      026877 ml2cap_proc_signal_connect_rsp_sucessful:
+0x51ed 026878 call save_cont_pointers 
+0x51ee 026882 bpatch patch1f_6 ,mem_patch1f 
+0x51ef 026883 setarg l2cap_sdp_channel 
+0x51f0 026884 isub temp ,null 
+0x51f1 026885 branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+0x51f2 026886 setarg l2cap_rfcomm_channel 
+0x51f3 026887 isub temp ,null 
+0x51f4 026888 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x51f5 026889 setarg l2cap_hid_interrupt_channel 
+0x51f6 026890 isub temp ,null 
+0x51f7 026891 branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x51f8 026892 setarg l2cap_hid_control_channel 
+0x51f9 026893 isub temp ,null 
+0x51fa 026894 branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x51fb 026895 branch mnosucc 
+:      026896 ml2cap_proc_signal_connect_rsp_sdp:
+0x51fc 026897 copy timeup ,pdata 
+0x51fd 026898 store 2 ,mem_sdp_remote_cid 
+0x51fe 026899 fetch 1 ,mem_sdp_state 
+0x51ff 026900 set1 l2cap_channel_state_conn_res ,pdata 
+0x5200 026901 store 1 ,mem_sdp_state 
+0x5201 026902 branch mnosucc1 
+:      026903 ml2cap_proc_signal_connect_rsp_rfcomm:
+0x5202 026904 copy timeup ,pdata 
+0x5203 026905 store 2 ,mem_rfcomm_remote_cid 
+0x5204 026906 fetch 1 ,mem_rfcomm_state 
+0x5205 026907 set1 l2cap_channel_state_conn_res ,pdata 
+0x5206 026908 store 1 ,mem_rfcomm_state 
+0x5207 026909 branch mnosucc1 
+:      026910 ml2cap_proc_signal_connect_rsp_hid_ctrl:
+0x5208 026911 copy timeup ,pdata 
+0x5209 026912 store 2 ,mem_hid_ctrl_remote_cid 
+0x520a 026913 fetch 1 ,mem_hid_control_state 
+0x520b 026914 set1 l2cap_channel_state_conn_res ,pdata 
+0x520c 026915 store 1 ,mem_hid_control_state 
+0x520d 026916 branch mnosucc1 
+:      026917 ml2cap_proc_signal_connect_rsp_hid_int:
+0x520e 026918 copy timeup ,pdata 
+0x520f 026919 store 2 ,mem_hid_int_remote_cid 
+0x5210 026920 fetch 1 ,mem_hid_interrupt_state 
+0x5211 026921 set1 l2cap_channel_state_conn_res ,pdata 
+0x5212 026922 store 1 ,mem_hid_interrupt_state 
+:      026925 mnosucc1:
+0x5213 026926 call load_cont_pointers 
+:      026927 mnosucc:
+0x5214 026928 copy regc ,pdata 
+0x5215 026929 isub rega ,regc 
+0x5216 026930 rtn 
+:      026932 ml2cap_proc_signal_config_rsp:
+0x5217 026933 ifetch 1 ,contr 
+0x5218 026934 copy pdata ,queue 
+0x5219 026935 ifetch 2 ,contr 
+0x521a 026936 copy pdata ,rega 
+0x521b 026937 copy regc ,pdata 
+0x521c 026938 isub rega ,regc 
+0x521d 026939 ifetch 2 ,contr 
+0x521e 026940 copy pdata ,timeup 
+0x521f 026941 ifetch 2 ,contr 
+0x5220 026942 ifetch 2 ,contr 
+0x5221 026943 nbranch mcrsdone1 ,blank 
+0x5222 026944 call save_cont_pointers 
+0x5223 026948 copy timeup ,temp 
+0x5224 026949 bpatch patch1f_7 ,mem_patch1f 
+0x5225 026950 setarg l2cap_sdp_channel 
+0x5226 026951 isub temp ,null 
+0x5227 026952 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+0x5228 026953 setarg l2cap_rfcomm_channel 
+0x5229 026954 isub temp ,null 
+0x522a 026955 branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x522b 026956 setarg l2cap_hid_control_channel 
+0x522c 026957 isub temp ,null 
+0x522d 026958 branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x522e 026959 setarg l2cap_hid_interrupt_channel 
+0x522f 026960 isub temp ,null 
+0x5230 026961 branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+:      026962 ml2cap_proc_signal_config_rsp_sdp:
+0x5231 026963 fetch 1 ,mem_sdp_state 
+0x5232 026964 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5233 026965 store 1 ,mem_sdp_state 
+0x5234 026966 rtn 
+:      026967 ml2cap_proc_signal_config_rsp_rfcomm:
+0x5235 026968 fetch 1 ,mem_rfcomm_state 
+0x5236 026969 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5237 026970 store 1 ,mem_rfcomm_state 
+0x5238 026971 rtn 
+:      026972 ml2cap_proc_signal_config_rsp_hid_ctrl:
+0x5239 026973 fetch 1 ,mem_hid_control_state 
+0x523a 026974 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x523b 026975 store 1 ,mem_hid_control_state 
+0x523c 026976 rtn 
+:      026977 ml2cap_proc_signal_config_rsp_hid_int:
+0x523d 026978 fetch 1 ,mem_hid_interrupt_state 
+0x523e 026979 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x523f 026980 store 1 ,mem_hid_interrupt_state 
+0x5240 026981 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x5241 026982 branch ui_ipc_send_event 
+:      026985 mcfrsdone:
+0x5242 026986 call load_cont_pointers 
+:      026987 mcrsdone1:
+0x5243 026988 increase -6 ,rega 
+:      026989 mloop2:
+0x5244 026990 branch mcrsdone ,zero 
+0x5245 026991 increase 1 ,contr 
+0x5246 026992 increase -1 ,rega 
+0x5247 026993 branch mloop2 
+:      026994 mcrsdone:
+0x5248 026995 rtn 
+:      026996 ml2cap_proc_signal_config_req:
+0x5249 026997 ifetch 1 ,contr 
+0x524a 026998 copy pdata ,queue 
+0x524b 026999 ifetch 2 ,contr 
+0x524c 027000 copy pdata ,rega 
+0x524d 027001 copy regc ,pdata 
+0x524e 027002 isub rega ,regc 
+0x524f 027003 ifetch 2 ,contr 
+0x5250 027004 increase 2 ,contr 
+0x5251 027005 copy pdata ,temp 
+0x5252 027006 setarg signal_config_rsp 
+0x5253 027007 istore 1 ,contw 
+0x5254 027008 copy queue ,pdata 
+0x5255 027009 istore 1 ,contw 
+0x5256 027010 increase 2 ,rega 
+0x5257 027011 copy rega ,pdata 
+0x5258 027012 istore 2 ,contw 
+0x5259 027013 call save_cont_pointers 
+0x525a 027014 bpatchx patch20_0 ,mem_patch20 
+0x525b 027015 setarg l2cap_sdp_channel 
+0x525c 027016 isub temp ,null 
+0x525d 027017 branch ml2cap_proc_signal_config_req_sdp ,zero 
+0x525e 027018 setarg l2cap_rfcomm_channel 
+0x525f 027019 isub temp ,null 
+0x5260 027020 branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+0x5261 027021 setarg l2cap_hid_control_channel 
+0x5262 027022 isub temp ,null 
+0x5263 027023 branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x5264 027024 setarg l2cap_hid_interrupt_channel 
+0x5265 027025 isub temp ,null 
+0x5266 027026 branch ml2cap_proc_signal_config_req_hid_int ,zero 
+0x5267 027027 branch mcfgrq_done 
+:      027028 ml2cap_proc_signal_config_req_sdp:
+0x5268 027029 fetch 1 ,mem_sdp_state 
+0x5269 027030 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x526a 027031 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x526b 027032 store 1 ,mem_sdp_state 
+0x526c 027033 bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+0x526d 027034 fetcht 1 ,mem_control_tasks 
+0x526e 027035 set1 l2cap_init_config_req ,temp 
+0x526f 027036 storet 1 ,mem_control_tasks 
+0x5270 027037 copy queue ,pdata 
+0x5271 027038 increase 1 ,pdata 
+0x5272 027039 store 1 ,mem_config_identifier 
+0x5273 027040 fetch 1 ,mem_sdp_state 
+0x5274 027041 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x5275 027042 store 1 ,mem_sdp_state 
+:      027043 ml2cap_proc_signal_config_req_sdp_nsndreq:
+0x5276 027044 fetch 2 ,mem_sdp_remote_cid 
+0x5277 027045 store 2 ,mem_config_req_dest_cid 
+0x5278 027046 branch mcfgrq_done 
+:      027047 ml2cap_proc_signal_config_req_rfcomm:
+0x5279 027048 fetch 1 ,mem_rfcomm_state 
+0x527a 027049 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x527b 027050 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x527c 027051 store 1 ,mem_rfcomm_state 
+0x527d 027052 fetch 2 ,mem_rfcomm_remote_cid 
+0x527e 027053 branch mcfgrq_done 
+:      027054 ml2cap_proc_signal_config_req_hid_ctrl:
+0x527f 027055 fetch 1 ,mem_hid_control_state 
+0x5280 027056 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x5281 027057 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x5282 027058 store 1 ,mem_hid_control_state 
+0x5283 027059 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5284 027060 branch mcfgrq_done 
+:      027061 ml2cap_proc_signal_config_req_hid_int:
+0x5285 027062 fetch 1 ,mem_hid_interrupt_state 
+0x5286 027063 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x5287 027064 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x5288 027065 store 1 ,mem_hid_interrupt_state 
+0x5289 027066 fetch 2 ,mem_hid_int_remote_cid 
+:      027069 mcfgrq_done:
+0x528a 027070 copy pdata ,timeup 
+0x528b 027071 call load_cont_pointers 
+0x528c 027073 copy timeup ,pdata 
+0x528d 027075 istore 2 ,contw 
+0x528e 027076 force 0x0000 ,pdata 
+0x528f 027077 istore 2 ,contw 
+0x5290 027078 force 0x0000 ,pdata 
+0x5291 027079 istore 2 ,contw 
+0x5292 027080 force 10 ,pdata 
+0x5293 027081 iadd regb ,regb 
+0x5294 027082 increase -6 ,rega 
+:      027083 mloop1:
+0x5295 027084 branch mcrqdone ,zero 
+0x5296 027085 ifetch 1 ,contr 
+0x5297 027086 istore 1 ,contw 
+0x5298 027087 increase 1 ,regb 
+0x5299 027088 increase -1 ,rega 
+0x529a 027089 branch mloop1 
+:      027090 mcrqdone:
+0x529b 027091 rtn 
+:      027092 ml2cap_proc_signal_disconn_req:
+0x529c 027093 ifetch 1 ,contr 
+0x529d 027094 copy pdata ,queue 
+0x529e 027095 ifetch 2 ,contr 
+0x529f 027096 copy pdata ,rega 
+0x52a0 027097 copy regc ,pdata 
+0x52a1 027098 isub rega ,regc 
+0x52a2 027100 ifetch 2 ,contr 
+0x52a3 027101 copy pdata ,rega 
+0x52a4 027102 ifetch 2 ,contr 
+0x52a5 027103 copy pdata ,timeup 
+0x52a6 027104 call save_cont_pointers 
+0x52a7 027105 bpatchx patch20_1 ,mem_patch20 
+0x52a8 027106 setarg l2cap_sdp_channel 
+0x52a9 027107 copy rega ,temp 
+0x52aa 027108 isub temp ,null 
+0x52ab 027109 branch ml2cap_proc_signal_disconn_sdp ,zero 
+0x52ac 027110 setarg l2cap_hid_control_channel 
+0x52ad 027111 copy rega ,temp 
+0x52ae 027112 isub temp ,null 
+0x52af 027113 branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+0x52b0 027114 setarg l2cap_hid_interrupt_channel 
+0x52b1 027115 copy rega ,temp 
+0x52b2 027116 isub temp ,null 
+0x52b3 027117 branch ml2cap_proc_signal_disconn_hid_int ,zero 
+0x52b4 027118 branch mclsrfc 
+:      027119 ml2cap_proc_signal_disconn_sdp:
+0x52b5 027120 setarg 0x0000 
+0x52b6 027121 store 2 ,mem_sdp_tx_pkt_length 
+0x52b7 027122 store 2 ,mem_sdp_remote_cid 
+0x52b8 027123 store 1 ,mem_sdp_state 
+0x52b9 027124 branch mclssdp 
+:      027125 ml2cap_proc_signal_disconn_hid_ctrl:
+0x52ba 027126 call l2cap_reset_hid_ctrl_state 
+0x52bb 027127 branch mclssdp 
+:      027128 ml2cap_proc_signal_disconn_hid_int:
+0x52bc 027129 call l2cap_reset_hid_int_state 
+0x52bd 027135 branch mclssdp 
+:      027136 mclsrfc:
+0x52be 027137 setarg 0x0000 
+0x52bf 027138 store 2 ,mem_rfcomm_tx_pkt_length 
+:      027139 mclssdp:
+0x52c0 027140 call load_cont_pointers 
+0x52c1 027141 setarg signal_disconnect_rsp 
+0x52c2 027142 istore 1 ,contw 
+0x52c3 027143 copy queue ,pdata 
+0x52c4 027144 istore 1 ,contw 
+0x52c5 027145 setarg 0x0004 
+0x52c6 027146 istore 2 ,contw 
+0x52c7 027147 copy rega ,pdata 
+0x52c8 027148 istore 2 ,contw 
+0x52c9 027149 copy timeup ,pdata 
+0x52ca 027150 istore 2 ,contw 
+0x52cb 027151 force 8 ,pdata 
+0x52cc 027152 iadd regb ,regb 
+0x52cd 027153 rtn 
+:      027155 ml2cap_proc_signal_disconn_rsp:
+0x52ce 027156 ifetch 1 ,contr 
+0x52cf 027157 copy pdata ,queue 
+0x52d0 027158 ifetch 2 ,contr 
+0x52d1 027159 copy pdata ,rega 
+0x52d2 027160 ifetch 2 ,contr 
+0x52d3 027161 copy pdata ,timeup 
+0x52d4 027162 ifetch 2 ,contr 
+0x52d5 027163 copy pdata ,temp 
+0x52d6 027164 call save_cont_pointers 
+0x52d7 027165 bpatchx patch20_2 ,mem_patch20 
+0x52d8 027166 fetch 1 ,mem_ml2cap_comm_id 
+0x52d9 027167 icompare 0xff ,queue 
+0x52da 027168 nbranch mdisdone ,true 
+0x52db 027169 setarg l2cap_sdp_channel 
+0x52dc 027170 isub temp ,null 
+0x52dd 027171 branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+0x52de 027172 setarg l2cap_rfcomm_channel 
+0x52df 027173 isub temp ,null 
+0x52e0 027174 branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+0x52e1 027175 branch mdisdone 
+:      027176 ml2cap_proc_signal_disconn_rsp_sdp:
+0x52e2 027177 jam 0 ,mem_sdp_remote_cid 
+0x52e3 027178 jam 0 ,mem_sdp_state 
+0x52e4 027179 branch mdisdone 
+:      027180 ml2cap_proc_signal_disconn_rsp_rfcomm:
+:      027183 mdisdone:
+0x52e5 027184 call load_cont_pointers 
+0x52e6 027185 copy regc ,pdata 
+0x52e7 027186 isub rega ,regc 
+0x52e8 027187 rtn 
+:      027189 ml2cap_proc_send_reject:
+0x52e9 027190 setarg signal_cmd_reject 
+0x52ea 027191 istore 1 ,contw 
+0x52eb 027192 ifetch 1 ,contr 
+0x52ec 027193 istore 1 ,contw 
+0x52ed 027194 setarg 0x0002 
+0x52ee 027195 istore 2 ,contw 
+0x52ef 027196 setarg 0x0000 
+0x52f0 027197 istore 2 ,contw 
+0x52f1 027198 setarg 0x0006 
+0x52f2 027199 iadd regb ,regb 
+0x52f3 027200 force 4 ,regc 
+0x52f4 027201 rtn 
+:      027204 l2cap_get_req_id:
+0x52f5 027205 fetch 1 ,mem_ml2cap_comm_id 
+0x52f6 027206 increase 1 ,pdata 
+0x52f7 027207 bne 0 ,l2cap_get_req_id_ok 
+0x52f8 027208 increase 1 ,pdata 
+:      027209 l2cap_get_req_id_ok:
+0x52f9 027210 store 1 ,mem_ml2cap_comm_id 
+0x52fa 027211 rtn 
+:      027221 l2cap_malloc:
+:      027222 bt_l2cap_malloc:
+0x52fb 027223 arg mem_tx_buff0 ,regd 
+0x52fc 027224 arg mem_bt_l2cap_tx_buff_size ,rege 
+0x52fd 027225 call enable_user 
+0x52fe 027226 branch host_l2cap_malloc 
+:      027228 ble_l2cap_malloc:
+0x52ff 027229 fetchr regd ,2 ,mem_ble_l2cap_tx_buff0_ptr 
+0x5300 027230 fetchr rege ,2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0x5301 027231 call disable_user 
+0x5302 027232 branch host_l2cap_malloc 
+:      027234 host_l2cap_malloc:
+0x5303 027235 bpatchx patch20_3 ,mem_patch20 
+0x5304 027236 call l2cap_malloc_is_fifo_full 
+0x5305 027237 nbranch assert ,blank 
+0x5306 027238 call l2cap_malloc_get_full_map 
+0x5307 027239 arg 8 ,loopcnt 
+:      027240 host_l2cap_malloc_loop:
+0x5308 027241 fetcht 1 ,mem_used_map 
+0x5309 027242 sub loopcnt ,8 ,queue 
+0x530a 027243 qisolate1 temp 
+0x530b 027244 branch host_l2cap_malloc_next_buffer ,true 
+0x530c 027245 call host_l2cap_malloc_check_buffer_enough 
+0x530d 027246 nbranch host_l2cap_malloc_next_buffer ,positive 
+0x530e 027247 call host_l2cap_malloc_into_fifo 
+0x530f 027248 branch host_l2cap_malloc_succ 
+:      027249 host_l2cap_malloc_next_buffer:
+0x5310 027250 copy rege ,pdata 
+0x5311 027251 iadd regd ,regd 
+0x5312 027252 loop host_l2cap_malloc_loop 
+0x5313 027253 branch assert 
+:      027254 host_l2cap_malloc_succ:
+0x5314 027255 copy regd ,pdata 
+0x5315 027256 copy regd ,contw 
+0x5316 027257 rtn 
+:      027266 host_l2cap_malloc_check_buffer_enough:
+0x5317 027267 bpatchx patch20_4 ,mem_patch20 
+0x5318 027268 sub loopcnt ,8 ,queue 
+0x5319 027269 arg 0 ,temp 
+0x531a 027270 arg 0 ,timeup 
+:      027271 host_l2cap_malloc_check_buffer_enough_loop:
+0x531b 027272 copy queue ,pdata 
+0x531c 027273 beq 8 ,host_l2cap_malloc_check_buffer_enough_end 
+0x531d 027274 fetch 1 ,mem_used_map 
+0x531e 027275 qisolate1 pdata 
+0x531f 027276 branch host_l2cap_malloc_check_buffer_enough_end ,true 
+0x5320 027277 qset1 timeup 
+0x5321 027278 copy rege ,pdata 
+0x5322 027279 iadd temp ,temp 
+0x5323 027280 increase 1 ,queue 
+0x5324 027281 copy rega ,pdata 
+0x5325 027282 isub temp ,null 
+0x5326 027283 branch host_l2cap_malloc_check_buffer_enough_end ,zero 
+0x5327 027284 branch host_l2cap_malloc_check_buffer_enough_loop ,positive 
+:      027285 host_l2cap_malloc_check_buffer_enough_end:
+0x5328 027286 copy temp ,pdata 
+0x5329 027287 isub rega ,null 
+0x532a 027288 nrtn zero 
+0x532b 027289 qset1 timeup 
+0x532c 027290 rtn 
+:      027299 host_l2cap_malloc_into_fifo:
+0x532d 027300 bpatchx patch20_5 ,mem_patch20 
+0x532e 027301 call l2cap_malloc_is_fifo_full 
+0x532f 027302 nbranch assert ,blank 
+0x5330 027303 call l2cap_malloc_is_fifo_empty 
+0x5331 027304 branch host_l2cap_malloc_into_fifo_no_push ,blank 
+0x5332 027305 fetch 9 ,mem_tx_fifo1 
+0x5333 027306 store 9 ,mem_tx_fifo0 
+0x5334 027307 setarg 0 
+0x5335 027308 istore 3 ,contw 
+:      027309 host_l2cap_malloc_into_fifo_no_push:
+0x5336 027310 storer timeup ,1 ,mem_tx_fifo3_map 
+0x5337 027311 storer regd ,2 ,mem_tx_fifo3_ptr 
+0x5338 027312 rtn 
+:      027321 l2cap_malloc_fifo_out:
+0x5339 027322 bpatchx patch20_6 ,mem_patch20 
+0x533a 027323 call l2cap_malloc_fifo_get_first_ptr 
+0x533b 027324 increase 1 ,contr 
+0x533c 027325 ifetch 2 ,contr 
+0x533d 027326 rtn 
+:      027333 l2cap_malloc_free:
+0x533e 027334 bpatchx patch20_7 ,mem_patch20 
+0x533f 027335 call l2cap_malloc_fifo_get_first_ptr 
+0x5340 027336 copy contr ,contw 
+0x5341 027337 copy contr ,temp 
+0x5342 027338 setarg 0 
+0x5343 027339 istore 3 ,contw 
+0x5344 027340 rtn 
+:      027347 l2cap_malloc_discard:
+0x5345 027348 bpatchx patch21_0 ,mem_patch21 
+0x5346 027349 call l2cap_malloc_is_fifo_empty 
+0x5347 027350 branch assert ,blank 
+0x5348 027351 fetch 3 ,mem_tx_fifo2 
+0x5349 027352 store 3 ,mem_tx_fifo3 
+0x534a 027353 fetch 3 ,mem_tx_fifo1 
+0x534b 027354 store 3 ,mem_tx_fifo2 
+0x534c 027355 fetch 3 ,mem_tx_fifo0 
+0x534d 027356 store 3 ,mem_tx_fifo1 
+0x534e 027357 rtn 
+:      027365 l2cap_malloc_is_fifo_full:
+0x534f 027366 bpatchx patch21_1 ,mem_patch21 
+0x5350 027367 fetch 3 ,mem_tx_fifo0 
+0x5351 027368 rtn 
+:      027376 l2cap_malloc_is_fifo_nearly_full:
+0x5352 027377 bpatchx patch21_2 ,mem_patch21 
+0x5353 027378 fetch 3 ,mem_tx_fifo1 
+0x5354 027379 rtn 
+:      027387 l2cap_malloc_is_fifo_empty:
+0x5355 027388 bpatchx patch21_3 ,mem_patch21 
+0x5356 027389 fetch 3 ,mem_tx_fifo3 
+0x5357 027390 rtn 
+:      027397 l2cap_malloc_fifo_get_first_ptr:
+0x5358 027398 call l2cap_malloc_is_fifo_empty 
+0x5359 027399 branch l2cap_malloc_fifo_get_first_ptr_empty ,blank 
+0x535a 027400 arg mem_tx_fifo0 ,contr 
+:      027401 l2cap_malloc_free_loop:
+0x535b 027402 ifetch 3 ,contr 
+0x535c 027403 branch l2cap_malloc_free_loop ,blank 
+:      027404 l2cap_malloc_fifo_get_first_ptr_empty:
+0x535d 027405 increase -3 ,contr 
+0x535e 027406 rtn 
+:      027414 l2cap_malloc_get_full_map:
+0x535f 027415 bpatchx patch21_4 ,mem_patch21 
+0x5360 027416 arg 4 ,loopcnt 
+0x5361 027417 arg mem_tx_fifo0_map ,contr 
+0x5362 027418 arg 0 ,temp 
+:      027419 l2cap_malloc_get_full_map_loop:
+0x5363 027420 ifetch 3 ,contr 
+0x5364 027421 and pdata ,0xff ,pdata 
+0x5365 027422 ior temp ,temp 
+0x5366 027423 loop l2cap_malloc_get_full_map_loop 
+0x5367 027424 storet 1 ,mem_used_map 
+0x5368 027425 rtn 
+:      027428 l2cap_malloc_signal_channel:
+0x5369 027429 bpatchx patch21_5 ,mem_patch21 
+0x536a 027430 arg l2cap_signal_malloc_size ,rega 
+0x536b 027431 call l2cap_malloc 
+0x536c 027432 store 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x536d 027433 increase 4 ,pdata 
+0x536e 027434 store 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x536f 027435 setarg 0 
+0x5370 027436 store 2 ,mem_l2cap_signal_tx_length 
+0x5371 027437 rtn 
+:      027439 l2cap_get_signal_tx_buff:
+0x5372 027440 fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x5373 027441 branch l2cap_util_pdata_to_contw 
+:      027443 l2cap_get_signal_tx_payload:
+0x5374 027444 fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x5375 027445 branch l2cap_util_pdata_to_contw 
+:      027448 l2cap_malloc_sdp_channel:
+0x5376 027449 bpatchx patch21_6 ,mem_patch21 
+0x5377 027450 arg sdp_malloc_size ,rega 
+0x5378 027451 call l2cap_malloc 
+0x5379 027452 store 2 ,mem_sdp_tx_buff_ptr 
+0x537a 027453 increase 4 ,pdata 
+0x537b 027454 store 2 ,mem_sdp_tx_payload_ptr 
+0x537c 027455 setarg 0 
+0x537d 027456 store 2 ,mem_sdp_tx_pkt_length 
+0x537e 027457 rtn 
+:      027459 l2cap_get_sdp_tx_buff:
+0x537f 027460 fetch 2 ,mem_sdp_tx_buff_ptr 
+0x5380 027461 branch l2cap_util_pdata_to_contw 
+:      027463 l2cap_get_sdp_tx_payload:
+0x5381 027464 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x5382 027465 branch l2cap_util_pdata_to_contw 
+:      027468 l2cap_malloc_rfcomm_channel:
+0x5383 027469 bpatchx patch21_7 ,mem_patch21 
+0x5384 027470 call push_stack 
+0x5385 027471 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+0x5386 027472 call l2cap_malloc_is_fifo_full 
+0x5387 027473 nrtn blank 
+0x5388 027474 arg rfcomm_malloc_size ,rega 
+0x5389 027475 call l2cap_malloc 
+0x538a 027476 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x538b 027477 increase 4 ,pdata 
+0x538c 027478 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x538d 027479 setarg 0 
+0x538e 027480 store 2 ,mem_rfcomm_tx_pkt_length 
+0x538f 027481 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x5390 027482 branch pop_stack 
+:      027484 l2cap_get_rfcomm_tx_buff:
+0x5391 027485 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x5392 027486 branch l2cap_util_pdata_to_contw 
+:      027488 l2cap_util_pdata_to_contw:
+0x5393 027489 branch assert ,blank 
+0x5394 027490 copy pdata ,contw 
+0x5395 027491 rtn 
+:      027494 l2cap_lpm_save_calc_len:
+0x5396 027495 bpatchx patch22_0 ,mem_patch22 
+0x5397 027496 arg 0 ,regb 
+0x5398 027497 arg mem_tx_fifo0_map ,rega 
+0x5399 027498 increase -2 ,rega 
+:      027499 l2cap_lpm_save_calc_len_loop:
+0x539a 027500 increase 2 ,rega 
+0x539b 027501 setarg mem_tx_fifo_end 
+0x539c 027502 isub rega ,null 
+0x539d 027503 branch l2cap_lpm_save_calc_len_end ,zero 
+0x539e 027504 ifetch 1 ,rega 
+0x539f 027505 increase 1 ,rega 
+0x53a0 027506 branch l2cap_lpm_save_calc_len_loop ,blank 
+0x53a1 027507 ifetcht 2 ,rega 
+0x53a2 027508 ifetch 2 ,temp 
+0x53a3 027509 iadd regb ,regb 
+0x53a4 027510 increase 4 ,regb 
+0x53a5 027511 branch l2cap_lpm_save_calc_len_loop 
+:      027512 l2cap_lpm_save_calc_len_end:
+0x53a6 027513 copy regb ,pdata 
+0x53a7 027514 rtn 
+:      027517 l2cap_lpm_get_wake_lock:
+0x53a8 027518 arg wake_lock_l2cap_tx ,queue 
+0x53a9 027519 branch lpm_get_wake_lock 
+:      027521 l2cap_lpm_put_wake_lock:
+0x53aa 027522 arg wake_lock_l2cap_tx ,queue 
+0x53ab 027523 branch lpm_put_wake_lock 
+:      027525 l2cap_lpm_save_txbuf:
+0x53ac 027526 bpatchx patch22_1 ,mem_patch22 
+0x53ad 027527 call l2cap_malloc_get_full_map 
+0x53ae 027528 fetch 1 ,mem_used_map 
+0x53af 027529 rtn blank 
+0x53b0 027530 call l2cap_lpm_save_calc_len 
+0x53b1 027531 arg l2cap_lpm_txbuf_len ,temp 
+0x53b2 027532 isub temp ,null 
+0x53b3 027533 branch l2cap_lpm_get_wake_lock ,positive 
+0x53b4 027534 call l2cap_lpm_put_wake_lock 
+0x53b5 027535 arg mem_l2cap_lpm_txbuf ,contw 
+0x53b6 027536 arg mem_tx_fifo0 ,rega 
+:      027537 l2cap_lpm_save_txbuf_loop:
+0x53b7 027538 setarg mem_tx_fifo_end 
+0x53b8 027539 isub rega ,null 
+0x53b9 027540 rtn zero 
+0x53ba 027541 ifetch 1 ,rega 
+0x53bb 027542 increase 1 ,rega 
+0x53bc 027543 nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+0x53bd 027544 istore 2 ,contw 
+0x53be 027545 increase 2 ,rega 
+0x53bf 027546 branch l2cap_lpm_save_txbuf_loop 
+:      027547 l2cap_lpm_save_txbuf_nempty:
+0x53c0 027548 ifetch 2 ,rega 
+0x53c1 027549 increase 2 ,rega 
+0x53c2 027550 copy pdata ,contr 
+0x53c3 027551 ifetch 2 ,contr 
+0x53c4 027552 istore 2 ,contw 
+0x53c5 027553 copy pdata ,loopcnt 
+0x53c6 027554 increase 2 ,loopcnt 
+0x53c7 027555 call memcpy 
+0x53c8 027556 branch l2cap_lpm_save_txbuf_loop 
+:      027558 l2cap_lpm_load_txbuf:
+0x53c9 027559 bpatchx patch22_2 ,mem_patch22 
+0x53ca 027560 call l2cap_malloc_get_full_map 
+0x53cb 027561 fetch 1 ,mem_used_map 
+0x53cc 027562 rtn blank 
+0x53cd 027563 arg mem_tx_fifo0_ptr ,rega 
+0x53ce 027564 increase -3 ,rega 
+0x53cf 027565 arg mem_l2cap_lpm_txbuf ,contr 
+:      027566 l2cap_lpm_load_txbuf_loop:
+0x53d0 027567 increase 3 ,rega 
+0x53d1 027568 setarg mem_tx_fifo_end + 1 
+0x53d2 027569 isub rega ,null 
+0x53d3 027570 rtn zero 
+0x53d4 027571 ifetch 2 ,contr 
+0x53d5 027572 branch l2cap_lpm_load_txbuf_loop ,blank 
+0x53d6 027573 increase 4 ,pdata 
+0x53d7 027574 copy pdata ,loopcnt 
+0x53d8 027575 copy contr ,regb 
+0x53d9 027576 ifetch 2 ,rega 
+0x53da 027577 copy pdata ,contw 
+0x53db 027578 copy regb ,contr 
+0x53dc 027579 increase -2 ,contr 
+0x53dd 027580 call memcpy 
+0x53de 027581 branch l2cap_lpm_load_txbuf_loop 
+:      027590 init_lmp:
+0x53df 027591 rtn wake 
+:      027592 init_lmp_work:
+0x53e0 027593 bpatchx patch22_3 ,mem_patch22 
+0x53e1 027594 setarg 0 
+0x53e2 027595 store 1 ,mem_lmp_to_send 
+0x53e3 027596 store 1 ,mem_conn_sm 
+0x53e4 027597 store 1 ,mem_lmo_opcode1 
+0x53e5 027598 store 1 ,mem_lmo_opcode2 
+0x53e6 027599 store 1 ,mem_esco_addr 
+0x53e7 027600 store 1 ,mem_connection_options 
+0x53e8 027601 store 1 ,mem_pairing_auth 
+0x53e9 027602 store 3 ,mem_encapsulated_major_type 
+0x53ea 027603 store 1 ,mem_remote_br_sc_support 
+0x53eb 027604 jam switch_flag_init ,mem_switch_flag 
+0x53ec 027605 jam 0 ,mem_switch_fail_master_count 
+0x53ed 027606 jam null_encryp ,mem_wait_encryption 
+:      027607 init_lmp_reinit:
+0x53ee 027608 jam 0 ,mem_pairing_auth 
+0x53ef 027609 jam 0 ,mem_sp_localsm 
+0x53f0 027610 jam 0 ,mem_lmp_conn_state 
+:      027612 parse_rx_done:
+0x53f1 027613 rtn 
+:      027615 parse_lmp:
+0x53f2 027616 bpatchx patch22_4 ,mem_patch22 
+0x53f3 027617 call setlocalsm_master ,master 
+0x53f4 027618 ncall setlocalsm_slave ,master 
+0x53f5 027619 call lmo_fifo_check 
+0x53f6 027620 nrtn blank 
+0x53f7 027621 fetch 1 ,mem_state_map 
+0x53f8 027622 rtnbit0 smap_rxlmp 
+0x53f9 027623 set0 smap_rxlmp ,pdata 
+0x53fa 027624 set0 mark_rxbuf_inuse ,mark 
+0x53fb 027625 store 1 ,mem_state_map 
+0x53fc 027626 fetch 1 ,mem_rxbuf 
+0x53fd 027627 fetcht 1 ,mem_state_map 
+0x53fe 027628 isolate1 smap_lmptidinit ,pdata 
+0x53ff 027629 setflag true ,smap_lmptid ,temp 
+0x5400 027630 storet 1 ,mem_state_map 
+0x5401 027631 and_into 0x2 ,temp 
+0x5402 027632 storet 1 ,mem_lmo_tid2 
+0x5403 027633 fetcht 1 ,mem_state_map 
+0x5404 027634 rshift pdata ,pdata 
+0x5405 027635 store 1 ,mem_lmi_opcode2 
+0x5406 027636 bpatchx patch22_5 ,mem_patch22 
+0x5407 027637 fetch 1 ,mem_lmi_opcode2 
+0x5408 027638 beq lmp_escape ,parse_lmp_escape 
+0x5409 027639 beq lmp_accepted ,parse_lmp_accepted 
+0x540a 027640 beq lmp_not_accepted ,parse_lmp_not_accepted 
+0x540b 027641 beq lmp_set_afh ,parse_lmp_set_afh 
+0x540c 027642 beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+0x540d 027643 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+0x540e 027644 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+0x540f 027645 beq lmp_auto_rate ,parse_lmp_auto_rate 
+0x5410 027646 beq lmp_test_control ,parse_lmp_test_control 
+0x5411 027647 beq lmp_test_activate ,parse_lmp_test_activate 
+0x5412 027648 beq lmp_setup_complete ,parse_lmp_setup_complete 
+0x5413 027649 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+0x5414 027650 beq lmp_features_req ,parse_lmp_features_req 
+0x5415 027651 beq lmp_host_connection_req ,parse_lmp_conn_req 
+0x5416 027652 beq lmp_version_req ,parse_lmp_version_req 
+0x5417 027653 beq lmp_version_res ,parse_lmp_version_res 
+0x5418 027654 beq lmp_detach ,parse_lmp_detach 
+0x5419 027655 beq lmp_max_slot ,parse_lmp_max_slot 
+0x541a 027656 beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+0x541b 027657 beq lmp_name_req ,parse_lmp_name_req 
+0x541c 027658 beq lmp_name_res ,parse_lmp_name_res 
+0x541d 027659 beq lmp_features_res ,parse_lmp_features_res 
+0x541e 027660 beq lmp_comb_key ,parse_lmp_comb_key 
+0x541f 027661 beq lmp_au_rand ,parse_lmp_au_rand 
+0x5420 027662 beq lmp_in_rand ,parse_lmp_in_rand 
+0x5421 027663 beq lmp_sres ,parse_lmp_sres 
+0x5422 027664 beq lmp_incr_power_req ,parse_lmp_incr_power 
+0x5423 027665 beq lmp_decr_power_req ,parse_lmp_decr_power 
+0x5424 027666 beq lmp_max_power ,parse_lmp_max_power 
+0x5425 027667 beq lmp_min_power ,parse_lmp_min_power 
+0x5426 027668 beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+0x5427 027669 beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+0x5428 027670 beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+0x5429 027671 beq lmp_slot_offset ,parse_lmp_slot_offset 
+0x542a 027672 beq lmp_sniff_req ,parse_lmp_sniff_req 
+0x542b 027673 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+0x542c 027674 beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+0x542d 027675 beq lmp_switch_req ,parse_lmp_switch_req 
+0x542e 027676 beq lmp_temp_rand ,parse_lmp_temp_rand 
+0x542f 027677 beq lmp_temp_key ,parse_lmp_temp_key 
+0x5430 027678 beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+0x5431 027679 beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+0x5432 027680 beq lmp_unit_key ,parse_lmp_unit_key 
+0x5433 027681 beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+0x5434 027682 beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+0x5435 027683 beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+0x5436 027684 beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+0x5437 027685 beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+0x5438 027686 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+0x5439 027687 beq lmp_dhkey_check ,parse_dhkey_check 
+0x543a 027688 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+0x543b 027689 beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+0x543c 027690 beq lmp_quality_of_service_req ,parse_quality_of_server_req 
+0x543d 027691 beq lmp_quality_of_service ,parse_quality_of_server 
+:      027694 reject_unknown_packet:
+0x543e 027695 jam unknown_lmp_pdu ,mem_lmo_reason2 
+:      027696 reject_lmp_packet:
+0x543f 027697 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5440 027698 rtn 
+:      027700 parse_quality_of_server_req:
+0x5441 027701 branch accept_lmp_msg 
+:      027703 parse_quality_of_server:
+0x5442 027704 rtn 
+:      027706 parse_lmp_clkoffset_req:
+0x5443 027707 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+0x5444 027708 rtn 
+:      027710 parse_enc_key_size_mask_req:
+0x5445 027711 jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+0x5446 027712 rtn 
+:      027714 parse_lmp_set_afh:
+0x5447 027715 fetch 4 ,mem_rxbuf + 1 
+0x5448 027716 lshift pdata ,pdata 
+0x5449 027717 store 4 ,mem_afh_instant 
+0x544a 027718 fetch 1 ,mem_rxbuf + 5 
+0x544b 027719 store 1 ,mem_afh_new_mod 
+0x544c 027720 fetch 5 ,mem_rxbuf + 6 
+0x544d 027721 store 5 ,mem_afh_map_new 
+0x544e 027722 fetch 5 ,mem_rxbuf + 11 
+0x544f 027723 istore 5 ,contw 
+0x5450 027724 fetch 1 ,mem_mode 
+0x5451 027725 set1 afh_change ,pdata 
+0x5452 027726 store 1 ,mem_mode 
+0x5453 027727 rtn 
+:      027728 parse_lmp_escape:
+0x5454 027729 bpatchx patch22_6 ,mem_patch22 
+0x5455 027730 fetch 1 ,mem_rxbuf + 1 
+0x5456 027731 set1 7 ,pdata 
+0x5457 027732 store 1 ,mem_lmi_opcode2 
+0x5458 027733 beq lmp_ext_accepted ,parse_lmpext_accepted 
+0x5459 027734 beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+0x545a 027735 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+0x545b 027736 beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+0x545c 027737 beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+0x545d 027738 beq lmp_ext_features_req ,parse_lmpext_features_req 
+0x545e 027739 beq lmp_ext_features_res ,parse_lmpext_features_res 
+0x545f 027740 beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+0x5460 027741 beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+0x5461 027742 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+0x5462 027743 beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+0x5463 027744 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+0x5464 027745 beq lmp_ping_req ,parse_lmpext_ping_req 
+0x5465 027746 rtneq lmp_ext_features_res 
+:      027748 reject_unknown_ext_packet:
+0x5466 027749 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5467 027750 jam unknown_lmp_pdu ,mem_lmo_reason2 
+0x5468 027751 rtn 
+:      027753 parse_lmpext_ping_req:
+0x5469 027754 jam lmp_ping_res ,mem_lmo_opcode2 
+0x546a 027755 rtn 
+:      027757 parse_lmpext_chn_classification_req:
+0x546b 027758 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x546c 027759 jam not_support_chn_classification ,mem_lmo_reason2 
+0x546d 027760 rtn 
+:      027762 parse_lmpext_iocap_req:
+0x546e 027763 call iocap_lmpext_load 
+0x546f 027764 jam lmp_io_cap_res ,mem_lmo_opcode2 
+0x5470 027765 rtn 
+:      027767 parse_lmpext_iocap_res:
+0x5471 027768 call iocap_lmpext_load 
+0x5472 027769 branch iocap_lmpext_common 
+:      027771 iocap_lmpext_load:
+0x5473 027772 arg mem_sp_iocap_remote ,contw 
+0x5474 027773 fetch 3 ,mem_rxbuf + 2 
+0x5475 027774 istore 3 ,contw 
+0x5476 027775 rtn 
+:      027777 iocap_lmpext_common:
+0x5477 027778 branch master_set_mem_master_sp_flag ,true 
+0x5478 027779 rtn 
+:      027780 parse_lmpext_accepted:
+0x5479 027781 fetch 1 ,mem_rxbuf + 3 
+0x547a 027782 set1 7 ,pdata 
+0x547b 027783 store 1 ,mem_lmi_accepted_opcode 
+0x547c 027784 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+0x547d 027785 rtn 
+:      027788 parse_lmpext_not_accepted:
+0x547e 027789 fetch 1 ,mem_rxbuf + 3 
+0x547f 027790 set1 7 ,pdata 
+0x5480 027791 store 1 ,mem_lmi_accepted_opcode 
+0x5481 027792 beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+0x5482 027793 rtn 
+:      027795 parse_lmpext_accepted_ptt:
+0x5483 027796 fetch 1 ,mem_ptt 
+0x5484 027797 fetcht 1 ,mem_state_map 
+0x5485 027798 nsetflag blank ,smap_edr ,temp 
+0x5486 027799 storet 1 ,mem_state_map 
+:      027800 parse_lmpext_not_accepted_ptt:
+0x5487 027801 fetch 1 ,mem_state 
+0x5488 027802 rtnbit0 state_init_seq 
+0x5489 027803 set0 state_init_seq ,pdata 
+0x548a 027804 store 1 ,mem_state 
+0x548b 027805 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x548c 027806 rtn 
+:      027808 parse_lmpext_pause_encrypt:
+0x548d 027809 nbranch parse_lmpext_pause_encrypt_slave ,master 
+0x548e 027810 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x548f 027811 branch tid_reply 
+:      027813 parse_lmpext_pause_encrypt_slave:
+0x5490 027814 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+0x5491 027815 rtn 
+:      027817 parse_lmpext_resume_encrypt:
+0x5492 027820 call tid_reply 
+0x5493 027821 branch lmp_start_encryption 
+:      027823 parse_lmpext_features_req:
+0x5494 027824 ifetch 1 ,contr 
+0x5495 027825 store 1 ,mem_ext_features_page 
+0x5496 027826 beq 1 ,parse_lmpext_features_req_page1 
+0x5497 027827 beq 2 ,parse_lmpext_features_req_page2 
+0x5498 027828 rtn 
+:      027830 parse_lmpext_features_req_page1:
+0x5499 027831 jam lmp_ext_features_res ,mem_lmo_opcode2 
+0x549a 027832 increase 1 ,contr 
+0x549b 027833 ifetch 1 ,contr 
+0x549c 027834 bbit1 lmp_features_ext_page1_sc_host_bit ,remote_support_br_sc_host 
+0x549d 027835 branch remote_not_support_br_sc_host 
+:      027837 parse_lmpext_features_req_page2:
+0x549e 027838 jam lmp_ext_features_res ,mem_lmo_opcode2 
+0x549f 027839 increase 1 ,contr 
+0x54a0 027840 ifetch 2 ,contr 
+0x54a1 027841 bbit1 lmp_features_ext_page2_sc_controller_bit ,remote_support_br_sc_controller 
+0x54a2 027842 branch remote_not_support_br_sc_controller 
+:      027844 remote_support_br_sc_controller:
+0x54a3 027845 fetch 1 ,mem_remote_br_sc_support 
+0x54a4 027846 set1 remote_br_sc_controller_bit ,pdata 
+0x54a5 027847 call set_remote_br_sc_support 
+0x54a6 027849 fetch 1 ,mem_remote_br_sc_support 
+0x54a7 027850 rtnne 3 
+0x54a8 027851 fetch 1 ,mem_secure_connections_enable 
+0x54a9 027852 rtnbit0 secure_connections_br_bit 
+0x54aa 027853 jam encapsulated_minor_type_p256 ,mem_encapsulated_minor_type 
+0x54ab 027854 rtn 
+:      027856 remote_not_support_br_sc_controller:
+0x54ac 027857 fetch 1 ,mem_remote_br_sc_support 
+0x54ad 027858 set0 remote_br_sc_controller_bit ,pdata 
+:      027859 set_remote_br_sc_support:
+0x54ae 027860 store 1 ,mem_remote_br_sc_support 
+0x54af 027861 rtn 
+:      027863 remote_support_br_sc_host:
+0x54b0 027864 fetch 1 ,mem_remote_br_sc_support 
+0x54b1 027865 set1 remote_br_sc_host_bit ,pdata 
+0x54b2 027866 branch set_remote_br_sc_support 
+:      027868 remote_not_support_br_sc_host:
+0x54b3 027869 fetch 1 ,mem_remote_br_sc_support 
+0x54b4 027870 set0 remote_br_sc_host_bit ,pdata 
+0x54b5 027871 branch set_remote_br_sc_support 
+:      027873 parse_lmpext_features_res:
+0x54b6 027874 fetcht 1 ,mem_rxbuf + 4 
+0x54b7 027875 and temp ,0x1 ,temp 
+0x54b8 027876 storet 1 ,mem_remote_sppcap 
+0x54b9 027877 fetch 1 ,mem_hci_cmd 
+0x54ba 027878 bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+0x54bb 027879 jam 0 ,mem_hci_cmd 
+:      027880 parse_lmpext_features_res_not_hci:
+0x54bc 027881 fetch 1 ,mem_conn_sm 
+0x54bd 027882 rtnne conn_sm_wait_features_ext 
+0x54be 027883 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x54bf 027884 branch process_conn_sm 
+:      027886 parse_lmp_accepted:
+0x54c0 027887 bpatchx patch22_7 ,mem_patch22 
+0x54c1 027888 fetch 1 ,mem_rxbuf + 1 
+0x54c2 027889 store 1 ,mem_lmi_accepted_opcode 
+0x54c3 027890 beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+0x54c4 027891 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+0x54c5 027892 beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+0x54c6 027893 beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+0x54c7 027894 beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+0x54c8 027895 beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+0x54c9 027896 beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+0x54ca 027897 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+0x54cb 027898 beq lmp_switch_req ,parse_lmp_accepted_switch 
+0x54cc 027900 beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+0x54cd 027901 beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+0x54ce 027902 beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+0x54cf 027903 beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+0x54d0 027904 rtn 
+:      027906 parse_lmp_not_accepted:
+0x54d1 027907 bpatchx patch23_0 ,mem_patch23 
+0x54d2 027908 fetch 1 ,mem_rxbuf + 1 
+0x54d3 027909 store 1 ,mem_lmi_accepted_opcode 
+0x54d4 027910 beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+0x54d5 027911 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+0x54d6 027912 beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+0x54d7 027913 beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+0x54d8 027914 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+0x54d9 027916 beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+0x54da 027917 beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+0x54db 027918 beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+0x54dc 027919 beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+0x54dd 027920 rtn 
+:      027922 parse_lmp_accepted_switch:
+0x54de 027923 jam bt_evt_switch_accept ,mem_fifo_temp 
+0x54df 027924 call ui_ipc_send_event 
+0x54e0 027925 branch role_switch_prepare0 
+:      027927 parse_lmp_not_accepted_switch:
+0x54e1 027928 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+0x54e2 027929 call ui_ipc_send_event 
+0x54e3 027930 jam switch_flag_not_accept ,mem_switch_flag 
+0x54e4 027931 setarg timer_switch_waite 
+0x54e5 027932 arg switch_wait_timer ,queue 
+0x54e6 027933 branch timer_init 
+:      027936 parse_lmp_accepted_hostconn:
+0x54e7 027939 fetch 1 ,mem_lmp_conn_state 
+0x54e8 027940 set1 received_conn_req ,pdata 
+0x54e9 027941 store 1 ,mem_lmp_conn_state 
+0x54ea 027942 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x54eb 027943 call ui_ipc_send_event 
+0x54ec 027944 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+:      027946 parse_lmp_accepted_hostconn_ctn:
+0x54ed 027948 fetch 1 ,mem_conn_sm 
+0x54ee 027949 bne conn_sm_wait_conn_accept ,parse_rx_done 
+0x54ef 027952 jam conn_sm_auth_pair ,mem_conn_sm 
+0x54f0 027953 rtn 
+:      027961 parse_lmp_not_accepted_hostconn:
+0x54f1 027962 jam acl_connection_already_exists ,mem_disconn_reason_send 
+0x54f2 027963 jam lmp_detach ,mem_lmo_opcode2 
+0x54f3 027965 jam conn_sm_standby ,mem_conn_sm 
+0x54f4 027967 branch parse_rx_done ,true 
+0x54f5 027968 rtn 
+:      027970 parse_lmp_accepted_inrand:
+0x54f6 027971 fetch 1 ,mem_link_key_exists 
+0x54f7 027972 nrtn blank 
+0x54f8 027973 call clear_linkkey 
+0x54f9 027974 call lmp_generate_key 
+0x54fa 027975 rtn master 
+0x54fb 027976 set1 mark_slave_in_rand_accepted ,mark 
+0x54fc 027977 rtn 
+:      027979 parse_lmp_accepted_enc_mode:
+0x54fd 027980 nrtn master 
+0x54fe 027981 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x54ff 027982 fetch 1 ,mem_state_map 
+0x5500 027983 rtnbit0 smap_encryption 
+0x5501 027984 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5502 027985 rtn 
+:      027987 parse_lmp_accepted_enc_keysize:
+0x5503 027988 branch lmp_start_encryption 
+:      027990 parse_lmp_accepted_start_enc:
+0x5504 027991 call send_create_conn_start_l2cap_timer_sm 
+0x5505 027992 fetch 1 ,mem_state 
+0x5506 027993 rtnbit1 state_conn_comp 
+0x5507 027994 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5508 027995 fetch 1 ,mem_conn_sm 
+0x5509 027996 rtnne conn_sm_encrypt_wait 
+0x550a 027997 jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+0x550b 027998 rtn 
+:      028000 parse_lmp_accepted_stop_enc:
+0x550c 028008 rtn 
+:      028010 parse_lmp_not_accepted_aurand:
+:      028011 parse_lmp_not_accepted_aurand_send_detach:
+0x550d 028012 fetch 1 ,mem_device_option 
+0x550e 028013 sub pdata ,dvc_op_mouse ,null 
+0x550f 028014 call mouse_delay_enter_hibernata ,zero 
+0x5510 028015 jam lmp_detach ,mem_lmo_opcode2 
+0x5511 028016 jam other_end_terminated ,mem_disconn_reason_send 
+0x5512 028017 rtn 
+:      028019 parse_lmp_not_accepted_inrand:
+0x5513 028020 fetch 1 ,mem_rxbuf + 2 
+0x5514 028021 beq key_missing ,parse_lmp_inrand_key_missing 
+0x5515 028022 rtnne pairing_not_allowed 
+0x5516 028023 jam pairing_not_allowed ,mem_disconn_reason_send 
+0x5517 028024 jam lmp_detach ,mem_lmo_opcode2 
+0x5518 028025 rtn 
+:      028026 parse_lmp_inrand_key_missing:
+0x5519 028027 jam key_missing ,mem_disconn_reason_send 
+0x551a 028028 jam lmp_detach ,mem_lmo_opcode2 
+0x551b 028029 rtn 
+:      028031 parse_lmp_not_accepted_name_req:
+0x551c 028032 rtn 
+:      028034 parse_lmp_not_accepted_simple_pairing_number:
+0x551d 028035 jam sp_stat_null ,mem_sp_state 
+0x551e 028036 jam lmp_detach ,mem_lmo_opcode2 
+0x551f 028037 branch parse_rx_done 
+:      028039 parse_lmp_not_accepted_dhkey_check:
+0x5520 028040 jam sp_stat_null ,mem_sp_state 
+0x5521 028041 jam lmp_detach ,mem_lmo_opcode2 
+0x5522 028042 branch parse_rx_done 
+:      028043 parse_lmp_not_accepted_unsniff_req:
+0x5523 028044 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+0x5524 028045 branch ui_ipc_send_event 
+:      028047 parse_lmp_accepted_unsniff_req:
+0x5525 028048 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+0x5526 028049 call ui_ipc_send_event 
+0x5527 028050 branch sniff_exit 
+:      028052 parse_lmp_accepted_sniff_req:
+0x5528 028053 jam bt_evt_sniff_accept ,mem_fifo_temp 
+0x5529 028054 call ui_ipc_send_event 
+0x552a 028055 setarg 0 
+0x552b 028056 store 2 ,mem_dsniff 
+0x552c 028057 fetch 2 ,mem_sniff_param_interval 
+0x552d 028058 lshift pdata ,pdata 
+0x552e 028059 store 2 ,mem_tsniff 
+0x552f 028060 fetch 1 ,mem_sniff_param_attempt 
+0x5530 028061 store 1 ,mem_sniff_attempt 
+0x5531 028062 fetch 1 ,mem_sniff_param_timeout 
+0x5532 028063 store 1 ,mem_sniff_timeout 
+0x5533 028064 branch sniff_init 
+:      028066 parse_lmp_not_acdcept_sniff_req:
+0x5534 028067 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+0x5535 028068 branch ui_ipc_send_event 
+:      028070 parse_lmp_crypt_key:
+0x5536 028071 fetcht 1 ,mem_rxbuf + 1 
+0x5537 028072 sub temp ,6 ,null 
+0x5538 028073 branch lmp_reject_pdu_not_allowed ,positive 
+0x5539 028074 storet 1 ,mem_key_size 
+0x553a 028075 branch accept_lmp_msg 
+:      028077 parse_lmp_setup_complete:
+0x553b 028078 fetch 1 ,mem_lmp_conn_state 
+0x553c 028079 set1 received_setup_complete ,pdata 
+0x553d 028080 store 1 ,mem_lmp_conn_state 
+0x553e 028081 rtnbit1 sent_setup_complete 
+0x553f 028082 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5540 028083 branch parse_rx_done 
+:      028085 parse_lmp_max_slot:
+0x5541 028088 rtn 
+:      028090 parse_lmp_max_slot_req:
+0x5542 028091 fetch 1 ,mem_max_slot 
+0x5543 028092 fetcht 1 ,mem_rxbuf + 1 
+0x5544 028093 isub temp ,null 
+0x5545 028095 branch accept_lmp_msg ,positive 
+0x5546 028096 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5547 028097 jam unspecified_error ,mem_lmo_reason2 
+0x5548 028098 jam lmp_max_slot_req ,mem_lmi_opcode2 
+0x5549 028099 rtn 
+:      028101 parse_lmp_detach:
+0x554a 028102 branch prepare_disconnect 
+:      028104 accept_lmp_msg:
+0x554b 028105 jam lmp_accepted ,mem_lmo_opcode2 
+0x554c 028106 rtn 
+:      028108 parse_lmp_incr_power:
+0x554d 028109 jam lmp_max_power ,mem_lmo_opcode2 
+0x554e 028110 rtn 
+:      028112 parse_lmp_decr_power:
+0x554f 028113 jam lmp_min_power ,mem_lmo_opcode2 
+0x5550 028114 rtn 
+:      028116 parse_lmp_version_res:
+0x5551 028117 fetch 1 ,mem_conn_sm 
+0x5552 028118 rtneq conn_sm_wait_version 
+0x5553 028120 jam conn_sm_send_features ,mem_conn_sm 
+0x5554 028122 rtn 
+:      028125 parse_lmp_auto_rate:
+0x5555 028126 rtn 
+:      028128 parse_lmp_in_rand:
+0x5556 028129 fetch 1 ,mem_sc_only_mode 
+0x5557 028130 nbranch parse_lmp_in_rand_not_accept ,blank 
+0x5558 028132 call lmp_copy_rand 
+0x5559 028133 jam pincode_state_wait_pincode ,mem_pincode_state 
+0x555a 028134 jam bt_evt_pincode_req ,mem_fifo_temp 
+0x555b 028135 call ui_ipc_send_event 
+0x555c 028137 call tid_check 
+0x555d 028138 nbranch lmp_accept_inrand ,true 
+0x555e 028139 nbranch parse_lmp_inrand_res ,master 
+:      028140 parse_lmp_in_rand_not_accept:
+0x555f 028141 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5560 028142 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5561 028143 jam transaction_collision ,mem_lmo_reason2 
+0x5562 028144 rtn 
+:      028146 parse_lmp_inrand_res:
+0x5563 028147 fetch 1 ,mem_op 
+0x5564 028148 set1 op_inrand_req ,pdata 
+0x5565 028149 store 1 ,mem_op 
+0x5566 028150 rtn 
+:      028153 pop_tid_follow:
+0x5567 028154 fetcht 1 ,mem_state_map 
+0x5568 028155 nsetflag blank ,smap_lmptid ,temp 
+0x5569 028156 storet 1 ,mem_state_map 
+0x556a 028157 rtn 
+:      028160 push_tid_follow:
+0x556b 028161 fetch 1 ,mem_lmo_tid2 
+0x556c 028162 rshift pdata ,pdata 
+0x556d 028163 and_into 1 ,pdata 
+0x556e 028164 rtn 
+:      028166 parse_lmp_au_rand_moudle:
+0x556f 028167 fetch 1 ,mem_nv_data_number 
+0x5570 028168 rtn blank 
+0x5571 028169 fetch 1 ,mem_pairing_auth 
+0x5572 028170 call load_device_list ,blank 
+0x5573 028171 rtn 
+:      028173 parse_lmp_au_rand:
+0x5574 028174 call parse_lmp_au_rand_moudle 
+0x5575 028175 call push_tid_follow 
+0x5576 028176 store 1 ,mem_sres_tid 
+0x5577 028177 fetch 1 ,mem_encapsulated_minor_type 
+0x5578 028178 beq encapsulated_minor_type_p256 ,parse_lmp_au_rand_256 
+0x5579 028179 call lmp_copy_rand 
+0x557a 028180 jam lmp_sres ,mem_lmo_opcode2 
+:      028181 parse_lmp_au_rand_common:
+0x557b 028182 fetch 1 ,mem_link_key_exists 
+0x557c 028183 nrtn blank 
+0x557d 028184 fetch 1 ,mem_state 
+0x557e 028185 rtnbit1 state_combkey 
+0x557f 028186 jam key_missing ,mem_lmo_reason2 
+0x5580 028187 branch reject_lmp_packet 
+:      028189 parse_lmp_au_rand_256:
+0x5581 028190 jam lmp_au_rand ,mem_lmo_opcode2 
+0x5582 028191 arg mem_sp_random_remote ,contw 
+0x5583 028192 arg mem_rxbuf + 1 ,contr 
+0x5584 028193 call memcpy16 
+0x5585 028194 branch parse_lmp_au_rand_common 
+:      028197 parse_lmp_sres:
+0x5586 028198 fetch 1 ,mem_encapsulated_minor_type 
+0x5587 028199 beq encapsulated_minor_type_p256 ,parse_lmp_sres_256 
+0x5588 028201 arg mem_plap ,rega 
+0x5589 028202 call function_e1 
+0x558a 028203 fetcht 4 ,mem_input_store 
+0x558b 028204 fetch 4 ,mem_rxbuf + 1 
+0x558c 028205 isub temp ,null 
+0x558d 028206 branch authentication_ok ,zero 
+:      028207 authentication_fail:
+0x558e 028208 jam lmp_detach ,mem_lmo_opcode2 
+0x558f 028209 jam authentication_failure_error ,mem_disconn_reason_send 
+0x5590 028210 rtn 
+:      028212 authentication_ok:
+0x5591 028213 call copy_aco 
+0x5592 028214 call authentication_ok_common 
+0x5593 028215 fetch 1 ,mem_ssp_enable 
+0x5594 028216 branch pairing_success ,blank 
+0x5595 028217 rtn 
+:      028219 parse_lmp_sres_256:
+0x5596 028220 fetch 4 ,mem_rxbuf + 1 
+0x5597 028221 fetcht 4 ,mema 
+0x5598 028222 isub temp ,null 
+0x5599 028223 branch authentication_ok_256 ,zero 
+0x559a 028224 branch authentication_fail 
+:      028226 authentication_ok_256:
+0x559b 028227 call authentication_ok_common 
+0x559c 028228 fetch 1 ,mem_secure_connections_enable 
+0x559d 028229 bbit1 secure_connections_br_bit ,pairing_success 
+0x559e 028230 rtn 
+:      028233 authentication_ok_common:
+0x559f 028234 call linkkey_ready 
+0x55a0 028235 fetch 1 ,mem_op 
+0x55a1 028236 isolate1 op_auth_req ,pdata 
+0x55a2 028237 set0 op_auth_req ,pdata 
+0x55a3 028238 store 1 ,mem_op 
+0x55a4 028239 fetch 1 ,mem_conn_sm 
+0x55a5 028240 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+0x55a6 028241 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+0x55a7 028242 rtn 
+:      028243 authentication_ok_conn_sm:
+0x55a8 028244 fetch 1 ,mem_pairing_auth 
+0x55a9 028245 rtnne defalt_pairing_auth 
+0x55aa 028246 fetch 1 ,mem_state_map 
+0x55ab 028247 rtnbit1 smap_encryption 
+0x55ac 028248 branch host_create_conn_encrypt 
+:      028250 parse_lmp_comb_key:
+0x55ad 028251 arg mem_rxbuf + 1 ,rega 
+0x55ae 028252 arg mem_kinit ,regb 
+0x55af 028253 arg mem_random_number ,contw 
+0x55b0 028254 call xor16 
+0x55b1 028255 arg mem_plap ,rega 
+0x55b2 028256 call generate_linkkey 
+0x55b3 028257 jam lmp_au_rand ,mem_lmo_opcode2 
+0x55b4 028258 fetch 1 ,mem_state 
+0x55b5 028259 bbit0 state_combkey ,lmp_generate_key 
+0x55b6 028260 rtn 
+:      028262 parse_lmp_name_res:
+0x55b7 028263 fetch 2 ,mem_len 
+0x55b8 028264 add pdata ,-3 ,loopcnt 
+0x55b9 028265 fetcht 1 ,mem_rxbuf + 1 
+0x55ba 028266 setarg mem_tmp_buffer 
+0x55bb 028267 iadd temp ,contw 
+0x55bc 028268 arg mem_rxbuf + 3 ,contr 
+0x55bd 028269 call memcpy 
+0x55be 028270 fetcht 1 ,mem_name_offset 
+0x55bf 028271 fetch 1 ,mem_rxbuf + 2 
+0x55c0 028272 isub temp ,pdata 
+0x55c1 028273 sub pdata ,14 ,null 
+0x55c2 028274 branch parse_lmp_name_res_end ,positive 
+0x55c3 028275 add temp ,14 ,pdata 
+0x55c4 028276 store 1 ,mem_name_offset 
+0x55c5 028277 jam lmp_name_req ,mem_lmo_opcode2 
+0x55c6 028278 rtn 
+:      028279 parse_lmp_name_res_end:
+0x55c7 028280 fetch 1 ,mem_state_map 
+0x55c8 028281 set1 smap_name_res ,pdata 
+0x55c9 028282 store 1 ,mem_state_map 
+0x55ca 028283 bbit1 smap_name_req ,lmp_disconnect 
+0x55cb 028284 rtn 
+:      028285 parse_lmp_name_req:
+0x55cc 028286 fetch 1 ,mem_rxbuf + 1 
+0x55cd 028287 store 1 ,mem_lmi_opcode2 
+0x55ce 028288 jam lmp_name_res ,mem_lmo_opcode2 
+0x55cf 028289 rtn 
+:      028291 parse_lmp_conn_req:
+0x55d0 028292 branch accept_lmp_msg 
+:      028294 parse_lmp_timing_accuracy_req:
+0x55d1 028295 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+0x55d2 028296 rtn 
+:      028298 parse_lmp_features_req:
+0x55d3 028299 jam lmp_features_res ,mem_lmo_opcode2 
+0x55d4 028300 rtn 
+:      028302 parse_lmp_version_req:
+0x55d5 028303 jam lmp_version_res ,mem_lmo_opcode2 
+0x55d6 028304 rtn 
+:      028306 parse_lmp_supervision_timeout:
+0x55d7 028309 rtn 
+:      028313 parse_lmp_sniff_subrating_req:
+0x55d8 028314 fetch 2 ,mem_tsniff 
+0x55d9 028315 iforce temp 
+0x55da 028316 fetch 1 ,mem_rxbuf + 2 
+0x55db 028317 store 1 ,mem_subsniff_rate 
+0x55dc 028318 imul32 temp ,temp 
+0x55dd 028319 fetch 2 ,mem_rxbuf + 3 
+0x55de 028320 lshift pdata ,pdata 
+0x55df 028321 store 2 ,mem_subsniff_tcmax 
+0x55e0 028322 fetch 4 ,mem_rxbuf + 5 
+0x55e1 028323 lshift pdata ,pdata 
+0x55e2 028324 store 4 ,mem_subsniff_instant 
+0x55e3 028326 deposit temp 
+0x55e4 028327 store 2 ,mem_subsniff_tsniff 
+0x55e5 028328 rtn 
+:      028329 parse_lmpext_packet_type_table_req:
+0x55e6 028330 fetcht 1 ,mem_ptt 
+0x55e7 028331 fetch 1 ,mem_rxbuf + 2 
+0x55e8 028332 ixor temp ,null 
+0x55e9 028333 nbranch reject_unknown_ext_packet ,zero 
+0x55ea 028334 isolate1 0 ,pdata 
+0x55eb 028335 fetch 1 ,mem_state_map 
+0x55ec 028336 setflag true ,smap_edr ,pdata 
+0x55ed 028337 store 1 ,mem_state_map 
+0x55ee 028338 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x55ef 028339 jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+0x55f0 028340 rtn 
+:      028343 parse_lmp_sniff_subrating_res:
+:      028344 parse_lmp_preferred_rate:
+:      028345 parse_lmp_max_power:
+:      028346 parse_lmp_min_power:
+0x55f1 028347 rtn 
+:      028348 parse_lmp_page_mode_req:
+0x55f2 028350 branch accept_lmp_msg 
+:      028351 parse_lmp_page_scan_mode_req:
+0x55f3 028354 branch accept_lmp_msg 
+:      028358 parse_lmp_slot_offset:
+0x55f4 028359 fetch 2 ,mem_rxbuf + 1 
+0x55f5 028360 store 2 ,mem_slot_offset 
+0x55f6 028361 rtn 
+:      028363 parse_lmp_sniff_req_check_sniff_para:
+0x55f7 028364 fetch 2 ,mem_rxbuf + 4 
+0x55f8 028365 fetcht 1 ,mem_lpm_mult 
+0x55f9 028366 imul32 temp ,pdata 
+0x55fa 028367 arg 0x640 ,temp 
+0x55fb 028368 isub temp ,null 
+0x55fc 028370 rtn 
+:      028372 parse_lmp_sniff_req:
+0x55fd 028373 fetch 2 ,mem_rxbuf + 6 
+0x55fe 028374 branch lmp_reject_pdu_not_allowed ,blank 
+0x55ff 028375 call parse_lmp_sniff_req_check_sniff_para 
+0x5600 028376 branch lmp_reject_pdu_not_allowed ,positive 
+0x5601 028377 fetch 1 ,mem_device_option 
+0x5602 028378 sub pdata ,dvc_op_module ,null 
+0x5603 028379 call module_set_lpm_mult_2 ,zero 
+0x5604 028380 fetch 1 ,mem_state 
+0x5605 028381 bbit1 state_insniff ,lmp_reject_pdu_not_allowed 
+0x5606 028382 fetch 2 ,mem_rxbuf + 2 
+0x5607 028383 lshift pdata ,pdata 
+0x5608 028384 store 2 ,mem_dsniff 
+0x5609 028385 fetch 2 ,mem_rxbuf + 4 
+0x560a 028386 lshift pdata ,pdata 
+0x560b 028387 store 2 ,mem_tsniff 
+0x560c 028388 fetch 2 ,mem_rxbuf + 6 
+0x560d 028389 store 1 ,mem_sniff_attempt 
+0x560e 028390 iforce temp 
+0x560f 028391 fetch 2 ,mem_rxbuf + 8 
+0x5610 028392 store 1 ,mem_sniff_timeout 
+0x5611 028393 isub temp ,null 
+0x5612 028394 nbranch set_big_value_to_attempt ,positive 
+0x5613 028395 store 1 ,mem_sniff_attempt 
+:      028396 set_big_value_to_attempt:
+0x5614 028398 jam lmp_accepted ,mem_lmo_opcode2 
+0x5615 028399 jam lmp_sniff_req ,mem_lmi_opcode2 
+0x5616 028400 rtn 
+:      028402 parse_lmp_start_encryption_req:
+0x5617 028403 fetch 1 ,mem_encapsulated_minor_type 
+0x5618 028404 beq encapsulated_minor_type_p256 ,parse_lmp_start_encryption_req_256 
+0x5619 028405 call accept_lmp_msg 
+0x561a 028406 call lmp_copy_rand 
+0x561b 028407 call function_e3 
+0x561c 028408 branch start_encryption 
+:      028410 parse_lmp_start_encryption_req_256:
+0x561d 028411 call accept_lmp_msg 
+0x561e 028413 call start_encryption 
+:      028414 calc_kc:
+0x561f 028415 call function_h3 
+0x5620 028416 arg mem_kc ,contw 
+0x5621 028417 arg mem_sp_calc_result_high ,contr 
+0x5622 028418 arg 0x10 ,loopcnt 
+0x5623 028419 branch reverse_byte 
+:      028421 parse_lmp_stop_encryption_req:
+0x5624 028422 call accept_lmp_msg 
+0x5625 028423 branch stop_encryption 
+:      028426 parse_lmp_switch_req:
+0x5626 028427 fetch 4 ,mem_rxbuf + 1 
+0x5627 028428 lshift pdata ,pdata 
+0x5628 028430 branch parse_lmp_switch_accept ,master 
+0x5629 028431 fetcht 1 ,mem_link_key_exists 
+0x562a 028432 nbranch parse_lmp_switch_req_clear_mark ,blank 
+:      028433 parse_lmp_switch_req_not_accept:
+0x562b 028434 jam lmp_switch_req ,mem_lmi_opcode2 
+0x562c 028435 branch lmp_reject_pdu_not_allowed 
+:      028437 parse_lmp_switch_req_clear_mark:
+0x562d 028438 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x562e 028439 jam 0 ,mem_conn_sm 
+0x562f 028440 branch role_switch_prepare 
+:      028442 parse_lmp_switch_accept:
+0x5630 028443 call role_switch_prepare 
+0x5631 028444 set1 mark_reconn_recieve_switch ,mark 
+0x5632 028445 fetch 1 ,mem_connection_options 
+0x5633 028446 set0 connection_switch ,pdata 
+0x5634 028447 store 1 ,mem_connection_options 
+0x5635 028448 branch accept_lmp_msg 
+:      028452 parse_lmp_temp_rand:
+:      028453 parse_lmp_temp_key:
+:      028454 parse_lmp_timing_accuracy_res:
+:      028455 parse_lmp_unit_key:
+:      028456 parse_lmp_use_semi_permanend_key:
+0x5636 028457 rtn 
+:      028460 parse_lmp_unsniff_req:
+0x5637 028461 jam lmp_accepted ,mem_lmo_opcode2 
+0x5638 028462 jam lmp_unsniff_req ,mem_lmi_opcode2 
+0x5639 028463 jam bt_evt_remote_unsniff ,mem_fifo_temp 
+0x563a 028464 call ui_ipc_send_event 
+0x563b 028465 branch sniff_exit 
+:      028467 parse_lmp_encapsulated_header:
+0x563c 028468 jam 0 ,mem_sp_remote_key_recv_count 
+0x563d 028469 fetch 1 ,mem_rxbuf + 1 
+0x563e 028470 store 1 ,mem_encapsulated_major_type 
+0x563f 028471 bne encapsulated_major_type ,lmp_reject_pdu_not_allowed 
+0x5640 028472 fetcht 1 ,mem_rxbuf + 2 
+0x5641 028473 storet 1 ,mem_encapsulated_minor_type 
+0x5642 028475 fetch 1 ,mem_sc_only_mode 
+0x5643 028476 branch parse_lmp_encapsulated_header2 ,blank 
+0x5644 028477 sub temp ,encapsulated_minor_type_p256 ,null 
+0x5645 028478 nbranch authentication_fail ,zero 
+:      028479 parse_lmp_encapsulated_header2:
+0x5646 028480 fetch 1 ,mem_rxbuf + 3 
+0x5647 028481 beq encapsulated_len_p256 ,parse_lmp_encapsulated_header3 
+0x5648 028482 beq encapsulated_len_p192 ,parse_lmp_encapsulated_header3 
+0x5649 028483 branch lmp_reject_pdu_not_allowed 
+:      028485 parse_lmp_encapsulated_header3:
+0x564a 028486 store 1 ,mem_encapsulated_len 
+0x564b 028487 call check_localsm 
+0x564c 028488 branch parse_lmp_encapsulated_header_master ,true 
+0x564d 028489 jam sp_stat_key_recv ,mem_sp_state 
+:      028490 parse_lmp_encapsulated_header_master:
+0x564e 028491 jam lmp_accepted ,mem_lmo_opcode2 
+0x564f 028492 jam lmp_encapsulated_header ,mem_lmi_opcode2 
+0x5650 028493 branch parse_rx_done 
+:      028496 parse_lmp_accepted_encapsulated_header:
+0x5651 028499 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5652 028501 rtn 
+:      028502 parse_lmp_accepted_simple_pairing_number:
+0x5653 028503 fetch 1 ,mem_ssp_mode_flag 
+0x5654 028504 beq ssp_mode_ssp_pin_flag ,parse_lmp_accepted_simple_pairing_number_ssp_pin 
+0x5655 028505 beq ssp_mode_passkey_entry_flag ,parse_lmp_accepted_simple_pairing_number_passkey 
+:      028506 parse_lmp_accepted_simple_pairing_number_common:
+0x5656 028507 call check_localsm 
+0x5657 028508 rtn true 
+0x5658 028509 jam sp_stat_confirm_recv ,mem_sp_state 
+0x5659 028510 rtn 
+:      028512 parse_lmp_accepted_simple_pairing_number_ssp_pin:
+0x565a 028513 call g_noninit_number_confirm 
+0x565b 028514 jam bt_evt_bt_gkey_generate ,mem_fifo_temp 
+0x565c 028515 call ui_ipc_send_event 
+0x565d 028516 branch parse_lmp_accepted_simple_pairing_number_common 
+:      028519 parse_lmp_accepted_simple_pairing_number_passkey:
+0x565e 028520 call check_localsm 
+0x565f 028521 rtn true 
+0x5660 028522 fetch 1 ,mem_authentication_passkey_times 
+0x5661 028523 beq 19 ,authentication_passkey_end 
+0x5662 028524 increase 1 ,pdata 
+0x5663 028525 store 1 ,mem_authentication_passkey_times 
+:      028528 authentication_passkey:
+0x5664 028529 jam sp_flag_commit ,mem_sp_flag 
+0x5665 028530 jam sp_stat_commit_calc ,mem_sp_state 
+0x5666 028531 fetch 1 ,mem_authentication_passkey_times 
+0x5667 028532 copy pdata ,queue 
+0x5668 028533 fetch 6 ,mem_pin 
+0x5669 028534 qisolate1 pdata 
+0x566a 028535 setarg 0x80 
+0x566b 028536 setflag true ,0 ,pdata 
+0x566c 028537 store 1 ,mem_passkey_1bit 
+0x566d 028538 rtn 
+:      028540 authentication_passkey_end:
+0x566e 028541 jam sp_stat_confirm_recv ,mem_sp_state 
+0x566f 028542 rtn 
+:      028544 parse_lmp_accepted_dhkey_check:
+0x5670 028545 call parse_lmp_accepted_dhkey_check_common 
+:      028546 pairing_success:
+0x5671 028547 fetch 1 ,mem_flag_pairing_state 
+0x5672 028548 rtn blank 
+0x5673 028549 jam flag_pairing_state_not_pairing ,mem_flag_pairing_state 
+0x5674 028550 jam bt_evt_bt_pairing_success ,mem_fifo_temp 
+0x5675 028551 branch ui_ipc_send_event 
+:      028554 parse_lmp_accepted_dhkey_check_common:
+0x5676 028555 call check_localsm 
+0x5677 028556 ncall g_noninit_192 ,true 
+0x5678 028557 call g_init_192 ,true 
+0x5679 028558 call check_localsm 
+0x567a 028559 rtn true 
+0x567b 028560 jam sp_stat_link_key_calc ,mem_sp_state 
+0x567c 028561 jam sp_flag_commit ,mem_sp_flag 
+0x567d 028562 rtn 
+:      028564 parse_simple_pairing_confirm:
+0x567e 028565 arg mem_sp_confirm_remote ,contw 
+0x567f 028566 arg mem_rxbuf + 1 ,contr 
+0x5680 028567 call memcpy16 
+0x5681 028568 fetch 1 ,mem_ssp_mode_flag 
+0x5682 028569 rtneq ssp_mode_passkey_entry_flag 
+0x5683 028570 branch master_set_mem_master_sp_flag 
+0x5684 028571 rtn 
+:      028573 parse_lmp_encapsulated_payload:
+0x5685 028574 fetch 1 ,mem_encapsulated_minor_type 
+0x5686 028575 beq encapsulated_minor_type_p192 ,parse_lmp_encapsulated_payload_192 
+0x5687 028576 beq encapsulated_minor_type_p256 ,parse_lmp_encapsulated_payload_256 
+0x5688 028577 branch lmp_reject_pdu_not_allowed 
+:      028579 parse_lmp_encapsulated_payload_256:
+0x5689 028580 fetch 1 ,mem_master_sp_state 
+0x568a 028581 beq sp_stat_random_send ,parse_encapsulated_payload_256_master 
+0x568b 028582 fetch 1 ,mem_sp_state 
+0x568c 028583 bne sp_stat_key_recv ,lmp_reject_pdu_not_allowed 
+:      028584 parse_encapsulated_payload_256_master:
+0x568d 028585 fetch 1 ,mem_sp_remote_key_recv_count 
+0x568e 028586 sub pdata ,0x30 ,contw 
+0x568f 028587 nbranch lmp_reject_pdu_not_allowed ,positive 
+0x5690 028588 arg mem_le_pubkey_remote_x_256 ,contw 
+0x5691 028589 iadd contw ,contw 
+0x5692 028590 fetch 8 ,mem_rxbuf + 1 
+0x5693 028591 istore 8 ,contw 
+0x5694 028592 fetch 8 ,mem_rxbuf + 9 
+0x5695 028593 istore 8 ,contw 
+0x5696 028594 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5697 028595 increase 16 ,pdata 
+0x5698 028596 store 1 ,mem_sp_remote_key_recv_count 
+0x5699 028597 bne encapsulated_len_p256 ,accept_lmp_msg 
+0x569a 028598 branch parse_lmp_encapsulated_payload_completed 
+:      028600 parse_lmp_encapsulated_payload_192:
+0x569b 028601 fetch 1 ,mem_master_sp_state 
+0x569c 028602 beq sp_stat_random_send ,parse_encapsulated_payload_192_master 
+0x569d 028603 fetch 1 ,mem_sp_state 
+0x569e 028604 bne sp_stat_key_recv ,lmp_reject_pdu_not_allowed 
+:      028605 parse_encapsulated_payload_192_master:
+0x569f 028606 fetch 1 ,mem_sp_remote_key_recv_count 
+0x56a0 028607 sub pdata ,0x20 ,contw 
+0x56a1 028608 nbranch lmp_reject_pdu_not_allowed ,positive 
+0x56a2 028609 arg mem_sp_pubkey_remote ,contw 
+0x56a3 028610 iadd contw ,contw 
+0x56a4 028611 fetch 8 ,mem_rxbuf + 1 
+0x56a5 028612 istore 8 ,contw 
+0x56a6 028613 fetch 8 ,mem_rxbuf + 9 
+0x56a7 028614 istore 8 ,contw 
+0x56a8 028615 fetch 1 ,mem_sp_remote_key_recv_count 
+0x56a9 028616 increase 16 ,pdata 
+0x56aa 028617 store 1 ,mem_sp_remote_key_recv_count 
+0x56ab 028618 bne encapsulated_len_p192 ,accept_lmp_msg 
+:      028619 parse_lmp_encapsulated_payload_completed:
+0x56ac 028620 call check_localsm 
+0x56ad 028621 branch accept_lmp_msg ,true 
+0x56ae 028622 jam sp_key_valid ,mem_sp_remote_key_invalid 
+0x56af 028623 jam sp_stat_key_generate ,mem_sp_state 
+0x56b0 028624 jam sp_flag_commit ,mem_sp_flag 
+0x56b1 028625 branch accept_lmp_msg 
+:      028628 parse_lmp_accepted_encapsulated_payload:
+0x56b2 028629 fetch 1 ,mem_encapsulated_minor_type 
+0x56b3 028630 beq encapsulated_minor_type_p192 ,parse_lmp_accepted_encapsulated_payload_192 
+0x56b4 028631 beq encapsulated_minor_type_p256 ,parse_lmp_accepted_encapsulated_payload_256 
+0x56b5 028632 rtn 
+:      028634 parse_lmp_accepted_encapsulated_payload_192:
+0x56b6 028635 fetch 1 ,mem_sp_local_key_send_count 
+0x56b7 028636 beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+0x56b8 028637 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x56b9 028638 rtn 
+:      028640 parse_lmp_accepted_encapsulated_payload_256:
+0x56ba 028641 fetch 1 ,mem_sp_local_key_send_count 
+0x56bb 028642 beq encapsulated_len_p256 ,parse_lmp_encapsulated_payload_all_accepted 
+0x56bc 028643 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x56bd 028644 rtn 
+:      028646 parse_lmp_encapsulated_payload_all_accepted:
+0x56be 028647 call check_localsm 
+0x56bf 028648 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+0x56c0 028649 fetch 1 ,mem_ssp_mode_flag 
+0x56c1 028650 beq ssp_mode_passkey_entry_flag ,parse_lmp_encapsulated_payload_all_accepted_get_passkey 
+0x56c2 028651 jam sp_flag_commit ,mem_sp_flag 
+0x56c3 028652 jam sp_stat_commit_calc ,mem_sp_state 
+0x56c4 028653 branch parse_rx_done 
+:      028655 parse_lmp_encapsulated_payload_all_accepted_get_passkey:
+0x56c5 028656 jam bt_evt_bt_get_passkey ,mem_fifo_temp 
+0x56c6 028657 branch ui_ipc_send_event 
+:      028660 parse_lmp_encapsulated_payload_all_accepted_master:
+0x56c7 028662 branch parse_rx_done 
+:      028664 parse_lmp_simple_pairing_number:
+0x56c8 028665 fetch 1 ,mem_master_sp_state 
+0x56c9 028666 beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+0x56ca 028667 fetch 1 ,mem_sp_state 
+0x56cb 028668 bne sp_stat_random_recv ,lmp_reject_pdu_not_allowed 
+:      028669 parse_lmp_simple_pairing_number_master:
+0x56cc 028670 arg mem_sp_random_remote ,contw 
+0x56cd 028671 fetch 8 ,mem_rxbuf + 1 
+0x56ce 028672 istore 8 ,contw 
+0x56cf 028673 fetch 8 ,mem_rxbuf + 9 
+0x56d0 028674 istore 8 ,contw 
+0x56d1 028675 call check_localsm 
+0x56d2 028676 branch parse_lmp_simple_pairing_number_master0 ,true 
+0x56d3 028677 jam sp_stat_random_send ,mem_sp_state 
+0x56d4 028678 jam sp_flag_commit ,mem_sp_flag 
+0x56d5 028679 branch accept_lmp_msg 
+:      028680 parse_lmp_simple_pairing_number_master0:
+0x56d6 028681 jam sp_stat_commit_calc ,mem_master_sp_state 
+0x56d7 028682 branch master_set_mem_master_sp_flag 
+0x56d8 028683 branch lmp_reject_pdu_not_allowed 
+:      028685 parse_dhkey_check:
+0x56d9 028686 fetch 1 ,mem_master_sp_state 
+0x56da 028687 beq sp_stat_confirm_send ,parse_dhkey_check_master 
+0x56db 028688 fetch 1 ,mem_sp_state 
+0x56dc 028689 bne sp_stat_confirm_recv ,lmp_reject_pdu_not_allowed 
+:      028690 parse_dhkey_check_master:
+0x56dd 028691 arg mem_sp_check_result ,contw 
+0x56de 028692 arg mem_rxbuf + 1 ,contr 
+0x56df 028693 call memcpy16 
+0x56e0 028694 call check_localsm 
+0x56e1 028695 branch parse_dhkey_check_master0 ,true 
+0x56e2 028696 fetch 1 ,mem_ssp_mode_flag 
+0x56e3 028697 beq ssp_mode_ssp_pin_flag ,number_comparison_mode 
+:      028698 number_comparison_successed:
+0x56e4 028699 jam 0 ,mem_flag_mode_ssp_pin 
+0x56e5 028700 jam sp_stat_confirm_check ,mem_sp_state 
+0x56e6 028701 jam sp_flag_commit ,mem_sp_flag 
+0x56e7 028702 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x56e8 028703 branch parse_rx_done 
+:      028705 parse_dhkey_check_master0:
+0x56e9 028706 jam sp_stat_confirm_check ,mem_master_sp_state 
+0x56ea 028707 jam sp_flag_commit ,mem_master_sp_flag 
+0x56eb 028708 branch parse_rx_done 
+:      028710 lmp_reject_pdu_not_allowed:
+0x56ec 028711 jam pdu_not_allowed ,mem_lmo_reason2 
+0x56ed 028712 branch reject_lmp_packet 
+:      028714 number_comparison_mode:
+0x56ee 028715 fetch 1 ,mem_flag_mode_ssp_pin 
+0x56ef 028716 bbit1 flag_mode_ssp_pin_reviceve_comparison_bit ,comparison_result 
+0x56f0 028717 set1 flag_mode_ssp_pin_recieve_dhkey_bit ,pdata 
+0x56f1 028718 store 1 ,mem_flag_mode_ssp_pin 
+0x56f2 028719 rtn 
+:      028721 comparison_result:
+0x56f3 028722 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+0x56f4 028723 jam 0 ,mem_flag_mode_ssp_pin 
+0x56f5 028724 branch lmp_reject_pdu_not_allowed 
+:      028727 parse_lmp_clkoffset_res:
+0x56f6 028728 branch parse_rx_done 
+:      028730 parse_lmp_encryption_mode_req:
+0x56f7 028731 fetch 1 ,mem_connection_options 
+0x56f8 028732 set0 connection_encrypt ,pdata 
+0x56f9 028733 store 1 ,mem_connection_options 
+0x56fa 028734 call accept_lmp_msg 
+0x56fb 028735 nrtn master 
+0x56fc 028736 fetch 1 ,mem_rxbuf + 1 
+0x56fd 028737 fetcht 1 ,mem_op 
+0x56fe 028738 setflag blank ,op_stop_enc ,temp 
+0x56ff 028739 nsetflag blank ,op_start_enc ,temp 
+0x5700 028740 storet 1 ,mem_op 
+0x5701 028741 rtn 
+:      028743 parse_lmp_features_res:
+0x5702 028744 fetcht 8 ,mem_rxbuf + 1 
+:      028745 parse_lmp_features_res_not_hci:
+0x5703 028746 fetch 1 ,mem_conn_sm 
+0x5704 028747 rtnne conn_sm_wait_features_res 
+0x5705 028749 fetch 1 ,mem_connection_options 
+0x5706 028750 bbit0 connection_feature_ext ,parse_lmp_send_conn 
+0x5707 028752 jam conn_sm_send_features_ext ,mem_conn_sm 
+0x5708 028753 rtn 
+:      028754 parse_lmp_send_conn:
+0x5709 028755 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x570a 028756 rtn 
+:      028757 parse_lmp_test_activate:
+0x570b 028758 fetch 1 ,mem_debug_config 
+0x570c 028759 store 1 ,mem_test_mode_old_debug_config 
+0x570d 028760 jam lmp_accepted ,mem_lmo_opcode2 
+0x570e 028761 jam lmp_test_activate ,mem_lmi_opcode2 
+0x570f 028762 rtn 
+:      028763 parse_lmp_test_control:
+0x5710 028766 jam lmp_accepted ,mem_lmo_opcode2 
+0x5711 028767 jam lmp_test_control ,mem_lmi_opcode2 
+0x5712 028768 force 9 ,loopcnt 
+0x5713 028769 arg mem_rxbuf + 1 ,contr 
+0x5714 028770 arg mem_temp_payload ,contw 
+:      028771 parse_lmp_test_xor:
+0x5715 028772 ifetch 1 ,contr 
+0x5716 028773 xor_into 0x55 ,pdata 
+0x5717 028774 istore 1 ,contw 
+0x5718 028775 loop parse_lmp_test_xor 
+0x5719 028776 fetch 1 ,test_mode_scenario 
+0x571a 028777 fetcht 1 ,mem_tester_emulate 
+0x571b 028778 set0 tester_no_whitening ,temp 
+0x571c 028779 set0 tester_pattern_test ,temp 
+0x571d 028780 beq exit_test_mode ,parse_lmp_test_control_exit 
+0x571e 028781 beq pause_test_mode ,parse_lmp_test_control_pause 
+0x571f 028782 beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+0x5720 028783 beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5721 028784 beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+0x5722 028785 beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5723 028786 beq zero_pattern ,parse_lmp_test_control_pattern 
+0x5724 028787 beq one_pattern ,parse_lmp_test_control_pattern 
+0x5725 028788 beq alt_pattern ,parse_lmp_test_control_pattern 
+0x5726 028789 beq alt2_pattern ,parse_lmp_test_control_pattern 
+0x5727 028790 beq pseudorandom ,parse_lmp_test_control_pattern 
+0x5728 028791 rtn 
+:      028792 parse_lmp_test_control_exit:
+0x5729 028794 fetch 1 ,mem_tester_emulate 
+0x572a 028795 set1 tester_exit ,pdata 
+0x572b 028796 set1 tester_change ,pdata 
+0x572c 028797 store 1 ,mem_tester_emulate 
+0x572d 028798 rtn 
+:      028799 parse_lmp_test_control_pattern:
+0x572e 028800 set1 tester_pattern_test ,temp 
+0x572f 028801 jam 5 ,mem_lch_code 
+0x5730 028802 fetch 2 ,test_mode_data_length 
+0x5731 028803 iforce loopcnt 
+0x5732 028804 store 2 ,mem_len 
+0x5733 028805 arg mem_rxbuf ,contw 
+0x5734 028806 call pn9 
+:      028807 parse_lmp_test_control_loopback_nowhite:
+0x5735 028808 set1 tester_no_whitening ,temp 
+:      028809 parse_lmp_test_control_loopback:
+0x5736 028810 set1 tester_change ,temp 
+0x5737 028811 force 0 ,pdata 
+0x5738 028812 store 1 ,mem_slave_rcvcnt 
+0x5739 028813 store 2 ,mem_tst_pktcnt_crc 
+0x573a 028814 store 2 ,mem_tst_pktcnt_dmh 
+0x573b 028815 store 2 ,mem_tst_pktcnt_hec 
+0x573c 028816 store 2 ,mem_tst_pktcnt_sync 
+0x573d 028817 fetch 1 ,test_mode_hopping_mode 
+0x573e 028818 compare fixed_freq ,pdata ,0xff 
+0x573f 028819 setflag true ,tester_fixed_freq ,temp 
+0x5740 028820 storet 1 ,mem_tester_emulate 
+0x5741 028821 rtn 
+:      028823 parse_lmp_test_control_pause:
+0x5742 028824 set0 mark_testmode ,mark 
+0x5743 028825 jam 0 ,mem_tester_emulate 
+0x5744 028826 fetch 1 ,mem_debug_config 
+0x5745 028827 set0 debug_tx_pattern ,pdata 
+0x5746 028828 store 1 ,mem_debug_config 
+0x5747 028829 rtn 
+:      028835 lmp_copy_rand:
+0x5748 028836 arg mem_rxbuf + 1 ,contr 
+0x5749 028837 arg mem_random_number ,contw 
+0x574a 028838 branch memcpy16 
+:      028840 lmp_generate_key:
+0x574b 028841 jam lmp_comb_key ,mem_lmo_opcode2 
+0x574c 028842 rtn 
+:      028844 lmp_start_encryption:
+0x574d 028845 nrtn master 
+0x574e 028846 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+0x574f 028847 rtn 
+:      028849 lmp_accept_inrand:
+0x5750 028850 arg mem_lap ,rega 
+0x5751 028851 call generate_kinit 
+0x5752 028852 jam lmp_accepted ,mem_lmo_opcode2 
+0x5753 028853 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5754 028854 rtn 
+:      028856 lmp_disconnect:
+0x5755 028857 jam 10 ,mem_conn_timer 
+0x5756 028858 jam lmp_detach ,mem_lmo_opcode2 
+0x5757 028859 jam local_host ,mem_disconn_reason_send 
+0x5758 028860 rtn 
+:      028866 send_lmp:
+0x5759 028867 bpatchx patch23_1 ,mem_patch23 
+0x575a 028868 disable user 
+0x575b 028869 call lmo_fifo_process 
+0x575c 028870 fetch 1 ,mem_lmp_to_send 
+0x575d 028871 rtn blank 
+0x575e 028876 bbit1 7 ,send_lmp_escape 
+:      028877 send_lmp0:
+0x575f 028878 beq lmp_name_req ,send_lmp_name_req 
+0x5760 028879 beq lmp_name_res ,send_lmp_name_res 
+0x5761 028880 beq lmp_accepted ,send_lmp_accepted 
+0x5762 028881 beq lmp_not_accepted ,send_lmp_not_accepted 
+0x5763 028882 beq lmp_features_req ,send_lmp_features_req 
+0x5764 028883 beq lmp_features_res ,send_lmp_features_res 
+0x5765 028884 beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+0x5766 028885 beq lmp_version_req ,send_lmp_version_req 
+0x5767 028886 beq lmp_version_res ,send_lmp_version_res 
+0x5768 028887 beq lmp_setup_complete ,send_lmp_setup_complete 
+0x5769 028888 beq lmp_supervision_timeout ,send_lmp_superto 
+0x576a 028889 beq lmp_host_connection_req ,send_lmp_no_payload 
+0x576b 028890 beq lmp_in_rand ,send_lmp_inrand 
+0x576c 028891 beq lmp_comb_key ,send_lmp_comb_key 
+0x576d 028892 beq lmp_au_rand ,send_lmp_aurand 
+0x576e 028893 beq lmp_sres ,send_lmp_sres 
+0x576f 028894 beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+0x5770 028895 beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+0x5771 028896 beq lmp_start_encryption_req ,send_lmp_start_encryption 
+0x5772 028897 beq lmp_detach ,send_lmp_detach 
+0x5773 028898 beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+0x5774 028899 beq lmp_unit_key ,send_lmp_unit_key 
+0x5775 028901 beq lmp_incr_power_req ,send_lmp_inc_power 
+0x5776 028902 beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+0x5777 028903 beq lmp_max_power ,send_lmp_nopayload_reply 
+0x5778 028904 beq lmp_max_slot ,send_lmp_max_slot 
+0x5779 028905 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+0x577a 028906 beq lmp_min_power ,send_lmp_nopayload_reply 
+0x577b 028907 beq lmp_slot_offset ,send_lmp_slot_offset 
+0x577c 028908 beq lmp_switch_req ,send_lmp_switch_req 
+0x577d 028909 beq lmp_sniff_req ,send_lmp_sniff_req 
+0x577e 028910 beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+0x577f 028911 beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+0x5780 028912 beq lmp_unsniff_req ,send_lmp_unsniff_req 
+0x5781 028913 beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+0x5782 028914 beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+0x5783 028915 beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+0x5784 028916 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+0x5785 028917 beq lmp_dhkey_check ,send_lmp_dhkey_check 
+0x5786 028918 beq lmp_auto_rate ,send_lmp_auto_rate 
+0x5787 028919 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+0x5788 028921 beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+0x5789 028922 beq lmp_quality_of_service ,send_lmp_quality_of_service 
+0x578a 028923 beq lmp_test_activate ,send_lmp_test_activate 
+0x578b 028924 beq lmp_test_control ,send_lmp_test_control 
+:      028925 send_lmp_error:
+0x578c 028926 branch assert 
+0x578d 028927 rtn 
+:      028928 send_lmp_escape:
+0x578e 028929 beq lmp_ext_accepted ,send_lmpext_accepted 
+0x578f 028930 beq lmp_ext_features_req ,send_lmpext_features_req 
+0x5790 028931 beq lmp_ext_features_res ,send_lmpext_features_res 
+0x5791 028932 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+0x5792 028933 beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+0x5793 028934 beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+0x5794 028935 beq lmp_io_cap_req ,send_lmp_io_cap_req 
+0x5795 028936 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+0x5796 028937 beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+0x5797 028938 beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+0x5798 028939 beq lmp_ping_res ,send_lmpext_ping_res 
+0x5799 028940 branch assert 
+:      028946 send_lmp_accepted:
+0x579a 028947 force 2 ,pdata 
+0x579b 028948 call msg_send_lmp 
+0x579c 028949 fetch 1 ,mem_lmi_opcode 
+0x579d 028950 istore 1 ,contw 
+0x579e 028951 call send_lmp_follow 
+0x579f 028952 bpatchx patch23_2 ,mem_patch23 
+0x57a0 028953 fetch 1 ,mem_lmi_opcode 
+0x57a1 028954 beq lmp_in_rand ,send_lmp_accepted_inrand 
+0x57a2 028955 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+0x57a3 028956 beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+0x57a4 028957 beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+0x57a5 028958 beq lmp_host_connection_req ,send_lmp_accepted_connection 
+0x57a6 028959 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+0x57a7 028960 beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+0x57a8 028961 rtn 
+:      028963 send_create_conn_start_l2cap_timer_sm:
+0x57a9 028964 fetch 1 ,mem_conn_sm 
+0x57aa 028965 rtn blank 
+0x57ab 028966 jam conn_sm_wait_done ,mem_conn_sm 
+0x57ac 028967 setarg timer_enpt_waite 
+0x57ad 028968 arg enpt_delay_timer ,queue 
+0x57ae 028969 branch timer_init 
+:      028971 send_lmp_accept_sniff_req:
+0x57af 028972 branch sniff_init 
+:      028973 send_lmp_not_accepted:
+0x57b0 028974 force 3 ,pdata 
+0x57b1 028975 call msg_send_lmp 
+0x57b2 028976 fetch 1 ,mem_lmi_opcode 
+0x57b3 028977 beq lmp_au_rand ,send_not_accept_aurand 
+0x57b4 028978 istore 1 ,contw 
+0x57b5 028979 fetch 1 ,mem_lmo_reason 
+0x57b6 028980 istore 1 ,contw 
+0x57b7 028981 branch send_lmp_follow 
+:      028983 send_not_accept_aurand:
+0x57b8 028984 istore 1 ,contw 
+0x57b9 028985 fetch 1 ,mem_lmo_reason 
+0x57ba 028986 istore 1 ,contw 
+0x57bb 028987 arg mem_sres_tid ,temp 
+0x57bc 028988 branch special_tid_store 
+:      028990 send_lmpext_accepted:
+0x57bd 028991 force 4 ,queue 
+0x57be 028992 call send_lmpext 
+0x57bf 028993 setarg lmp_escape 
+0x57c0 028994 istore 1 ,contw 
+0x57c1 028995 fetch 1 ,mem_lmi_opcode 
+0x57c2 028996 set0 7 ,pdata 
+0x57c3 028997 istore 1 ,contw 
+0x57c4 028998 fetch 1 ,mem_lmi_opcode 
+0x57c5 028999 branch send_lmp_follow 
+:      029001 send_lmpext_not_accepted:
+0x57c6 029002 force 5 ,queue 
+0x57c7 029003 call send_lmpext 
+0x57c8 029004 setarg lmp_escape 
+0x57c9 029005 istore 1 ,contw 
+0x57ca 029006 fetch 1 ,mem_lmi_opcode 
+0x57cb 029007 set0 7 ,pdata 
+0x57cc 029008 istore 1 ,contw 
+0x57cd 029009 fetch 1 ,mem_lmo_reason 
+0x57ce 029010 istore 1 ,contw 
+0x57cf 029011 branch send_lmp_follow 
+:      029014 send_lmp_accepted_inrand:
+0x57d0 029015 call clear_linkkey 
+0x57d1 029016 call tid_check 
+0x57d2 029017 rtn true 
+0x57d3 029018 branch lmp_generate_key 
+:      029020 send_lmp_accepted_enc_mode:
+0x57d4 029021 fetch 1 ,mem_op 
+0x57d5 029022 bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+0x57d6 029023 rtnbit0 op_stop_enc 
+0x57d7 029024 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x57d8 029025 set0 op_stop_enc ,pdata 
+0x57d9 029026 call tid_reply 
+0x57da 029027 branch send_lmp_accepted_enc_exit 
+:      029028 send_lmp_accepted_enc_start:
+0x57db 029029 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x57dc 029030 set0 op_start_enc ,pdata 
+:      029031 send_lmp_accepted_enc_exit:
+0x57dd 029032 store 1 ,mem_op 
+0x57de 029033 rtn 
+:      029035 send_lmp_accepted_enc_key:
+0x57df 029036 call check_localsm 
+0x57e0 029037 branch lmp_start_encryption ,true 
+0x57e1 029038 rtn 
+:      029040 send_lmp_accepted_connection:
+0x57e2 029041 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+0x57e3 029043 fetch 1 ,mem_lmp_conn_state 
+0x57e4 029044 set1 received_conn_req ,pdata 
+0x57e5 029045 store 1 ,mem_lmp_conn_state 
+0x57e6 029046 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x57e7 029047 branch ui_ipc_send_event 
+:      029050 send_lmp_accept_dhkey_check:
+0x57e8 029051 rtn 
+:      029056 send_lmpext_ping_res:
+0x57e9 029057 force 2 ,queue 
+0x57ea 029058 call send_lmpext 
+0x57eb 029059 branch send_lmp_reply 
+:      029061 send_lmpext_features_res:
+0x57ec 029062 copy pdata ,rega 
+0x57ed 029063 call check_ssp_enable 
+0x57ee 029064 fetch 1 ,mem_ext_features_page 
+0x57ef 029065 beq 1 ,send_lmpext_features_res1 
+0x57f0 029066 beq 2 ,send_lmpext_features_res2 
+0x57f1 029067 rtn 
+:      029069 send_lmpext_features_res1:
+0x57f2 029070 copy rega ,pdata 
+0x57f3 029071 force 12 ,queue 
+0x57f4 029072 call send_lmpext 
+0x57f5 029073 setarg 0x01 
+0x57f6 029074 istore 1 ,contw 
+0x57f7 029075 fetch 2 ,mem_lmpext_ssp_enable 
+0x57f8 029076 istore 9 ,contw 
+0x57f9 029077 branch send_lmp_reply 
+:      029079 send_lmpext_features_res2:
+0x57fa 029080 copy rega ,pdata 
+0x57fb 029081 force 12 ,queue 
+0x57fc 029082 call send_lmpext 
+0x57fd 029083 setarg 0x02 
+0x57fe 029084 istore 1 ,contw 
+0x57ff 029085 setarg 0x010002 
+0x5800 029086 istore 9 ,contw 
+0x5801 029087 branch send_lmp_reply 
+:      029089 check_ssp_enable:
+0x5802 029090 fetch 1 ,mem_ssp_enable 
+0x5803 029091 branch ssp_disable ,blank 
+0x5804 029092 call ssp_enable 
+0x5805 029093 branch check_br_sc_enable 
+:      029095 ssp_disable:
+0x5806 029096 fetch 1 ,mem_features + 6 
+0x5807 029097 set0 param_featrue_ssp ,pdata 
+0x5808 029098 store 1 ,mem_features + 6 
+0x5809 029099 setarg 0x1 
+0x580a 029100 store 2 ,mem_lmpext_ssp_enable 
+0x580b 029101 branch sp_clear_flags 
+:      029104 ssp_enable:
+0x580c 029105 bpatchx patch23_3 ,mem_patch23 
+0x580d 029106 fetch 1 ,mem_features + 6 
+0x580e 029107 set1 param_featrue_ssp ,pdata 
+0x580f 029108 store 1 ,mem_features + 6 
+0x5810 029109 setarg param_lmpext_ssp_enable 
+0x5811 029110 store 2 ,mem_lmpext_ssp_enable 
+0x5812 029111 rtn 
+:      029113 check_br_sc_enable:
+0x5813 029114 fetch 1 ,mem_secure_connections_enable 
+0x5814 029115 bbit1 secure_connections_br_bit ,br_sc_enable 
+0x5815 029116 rtn 
+:      029118 br_sc_enable:
+0x5816 029119 setarg 0x0902 
+0x5817 029120 store 2 ,mem_lmpext_ssp_enable 
+0x5818 029121 rtn 
+:      029123 send_lmpext_io_cap_res:
+0x5819 029124 force 5 ,queue 
+0x581a 029125 call send_lmpext 
+0x581b 029126 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+0x581c 029127 istore 3 ,contw 
+0x581d 029128 call send_lmp_reply 
+0x581e 029129 jam flag_pairing_state_pairing ,mem_flag_pairing_state 
+0x581f 029130 fetch 1 ,mem_lmp_io_cap_payload_iocap 
+0x5820 029131 beq io_capability_display_yesno ,responder_iocap_display_yesno 
+0x5821 029132 beq io_capability_keyboard_only ,responder_iocap_keyboard_only 
+0x5822 029133 beq io_capability_no_input_no_output ,responder_iocap_no_input_no_output 
+0x5823 029134 rtn 
+:      029136 responder_iocap_keyboard_only:
+0x5824 029137 fetch 1 ,mem_sp_iocap_remote 
+0x5825 029138 beq io_capability_display_only ,responder_iocap_keyboard_only_initiator_iocap_display_only 
+0x5826 029139 beq io_capability_display_yesno ,responder_iocap_keyboard_only_initiator_iocap_display_yesno 
+0x5827 029140 beq io_capability_keyboard_only ,responder_iocap_keyboard_only_initiator_iocap_keyboard_only 
+0x5828 029141 beq io_capability_no_input_no_output ,responder_iocap_keyboard_only_initiator_iocap_no_input_no_output 
+0x5829 029142 rtn 
+:      029145 responder_iocap_display_yesno:
+0x582a 029146 fetch 1 ,mem_sp_iocap_remote 
+0x582b 029147 beq io_capability_display_only ,responder_iocap_display_yesno_initiator_iocap_display_only 
+0x582c 029148 beq io_capability_display_yesno ,responder_iocap_display_yesno_initiator_iocap_display_yesno 
+0x582d 029149 beq io_capability_keyboard_only ,responder_iocap_display_yesno_initiator_iocap_keyboard_only 
+0x582e 029150 beq io_capability_no_input_no_output ,responder_iocap_display_yesno_initiator_iocap_no_input_no_output 
+0x582f 029151 rtn 
+:      029154 responder_iocap_no_input_no_output:
+0x5830 029155 fetch 1 ,mem_sp_iocap_remote 
+0x5831 029156 beq io_capability_display_only ,responder_iocap_no_input_no_output_initiator_iocap_display_only 
+0x5832 029157 beq io_capability_display_yesno ,responder_iocap_no_input_no_output_initiator_iocap_display_yesno 
+0x5833 029158 beq io_capability_keyboard_only ,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only 
+0x5834 029159 beq io_capability_no_input_no_output ,responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output 
+0x5835 029160 rtn 
+:      029162 responder_iocap_keyboard_only_initiator_iocap_no_input_no_output:
+:      029163 responder_iocap_display_yesno_initiator_iocap_no_input_no_output:
+:      029164 responder_iocap_display_yesno_initiator_iocap_display_only:
+:      029165 responder_iocap_no_input_no_output_initiator_iocap_display_only:
+:      029166 responder_iocap_no_input_no_output_initiator_iocap_display_yesno:
+:      029167 responder_iocap_no_input_no_output_initiator_iocap_keyboard_only:
+:      029168 responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output:
+:      029169 set_ssp_mode_justwork:
+0x5836 029170 jam ssp_mode_just_work_flag ,mem_ssp_mode_flag 
+0x5837 029171 fetch 1 ,mem_classic_bt_flag 
+0x5838 029172 bbit1 flag_ssp_reject_justwork ,app_bt_disconnect 
+0x5839 029173 rtn 
+:      029175 responder_iocap_display_yesno_initiator_iocap_display_yesno:
+:      029176 set_ssp_mode_numeric_comparison:
+0x583a 029177 jam ssp_mode_ssp_pin_flag ,mem_ssp_mode_flag 
+0x583b 029178 rtn 
+:      029180 responder_iocap_keyboard_only_initiator_iocap_display_yesno:
+:      029181 responder_iocap_keyboard_only_initiator_iocap_keyboard_only:
+:      029182 responder_iocap_keyboard_only_initiator_iocap_display_only:
+:      029183 responder_iocap_display_yesno_initiator_iocap_keyboard_only:
+:      029184 set_ssp_mode_passkey:
+0x583c 029185 jam ssp_mode_passkey_entry_flag ,mem_ssp_mode_flag 
+0x583d 029186 rtn 
+:      029189 classic_bt_set_reject_justwork_flag:
+0x583e 029190 arg flag_ssp_reject_justwork ,queue 
+0x583f 029191 branch classic_bluetooth_set_flag 
+:      029193 classic_bt_clr_reject_justwork_flag:
+0x5840 029194 arg flag_ssp_reject_justwork ,queue 
+0x5841 029195 branch classic_bluetooth_clr_flag 
+:      029197 classic_bluetooth_set_flag:
+0x5842 029198 fetch 1 ,mem_classic_bt_flag 
+0x5843 029199 qset1 pdata 
+0x5844 029200 store 1 ,mem_classic_bt_flag 
+0x5845 029201 rtn 
+:      029203 classic_bluetooth_clr_flag:
+0x5846 029204 fetch 1 ,mem_classic_bt_flag 
+0x5847 029205 qset0 pdata 
+0x5848 029206 store 1 ,mem_classic_bt_flag 
+0x5849 029207 rtn 
+:      029210 send_lmp_io_cap_req:
+0x584a 029211 force 5 ,queue 
+0x584b 029212 call send_lmpext 
+0x584c 029213 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+0x584d 029214 istore 3 ,contw 
+0x584e 029215 branch send_lmp_request 
+:      029218 send_lmpext_sniff_subrating_req:
+0x584f 029220 rtn 
+:      029221 send_lmpext_sniff_subrating_res:
+0x5850 029222 force 9 ,queue 
+0x5851 029223 call send_lmpext 
+0x5852 029224 fetch 1 ,mem_subsniff_rate 
+0x5853 029225 istore 1 ,contw 
+0x5854 029226 fetch 2 ,mem_subsniff_tcmax 
+0x5855 029227 istore 2 ,contw 
+0x5856 029228 fetch 4 ,mem_subsniff_instant 
+0x5857 029229 istore 4 ,contw 
+0x5858 029230 branch send_lmp_reply 
+:      029232 send_lmp_name_res:
+0x5859 029233 force 17 ,pdata 
+0x585a 029234 call msg_send_lmp 
+0x585b 029235 fetch 1 ,mem_lmi_opcode 
+0x585c 029236 copy pdata ,temp 
+0x585d 029237 beq 0x00 ,send_lmp_name_res_offset_ok 
+0x585e 029238 beq 0x0e ,send_lmp_name_res_offset_ok 
+0x585f 029239 beq 0x1c ,send_lmp_name_res_offset_ok 
+0x5860 029240 rtn 
+:      029241 send_lmp_name_res_offset_ok:
+0x5861 029242 istore 1 ,contw 
+0x5862 029243 fetch 1 ,mem_local_name_length 
+0x5863 029244 istore 1 ,contw 
+0x5864 029245 arg 14 ,loopcnt 
+0x5865 029246 setarg mem_local_name 
+0x5866 029247 iadd temp ,contr 
+0x5867 029248 call memcpy 
+0x5868 029249 branch send_lmp_reply 
+:      029252 send_lmp_timing_accuracy_res:
+0x5869 029253 force 3 ,pdata 
+0x586a 029254 call msg_send_lmp 
+0x586b 029255 setarg 0x0114 
+0x586c 029256 istore 2 ,contw 
+0x586d 029257 branch send_lmp_reply 
+:      029259 send_lmp_clkoffset_res:
+0x586e 029261 force 3 ,pdata 
+0x586f 029262 call msg_send_lmp 
+0x5870 029263 fetch 4 ,mem_clke_bt 
+0x5871 029264 isub clkn_bt ,pdata 
+0x5872 029265 branch send_lmp_clkoffset_res_master ,master 
+0x5873 029266 sub pdata ,0 ,pdata 
+:      029267 send_lmp_clkoffset_res_master:
+0x5874 029269 rshift2 pdata ,pdata 
+0x5875 029270 set0 15 ,pdata 
+0x5876 029271 istore 2 ,contw 
+0x5877 029272 branch send_lmp_reply 
+:      029274 send_lmp_version_res:
+0x5878 029275 force 6 ,pdata 
+0x5879 029276 call msg_send_lmp 
+0x587a 029277 fetch 5 ,mem_lmp_version 
+0x587b 029278 istore 5 ,contw 
+0x587c 029279 branch send_lmp_reply 
+:      029281 send_lmp_features_res:
+0x587d 029282 force 9 ,pdata 
+0x587e 029283 call msg_send_lmp 
+0x587f 029284 fetch 8 ,mem_features 
+0x5880 029285 istore 8 ,contw 
+0x5881 029286 branch send_lmp_reply 
+:      029293 send_lmpext_features_req:
+0x5882 029294 call check_ssp_enable 
+0x5883 029295 fetch 1 ,mem_lmp_to_send 
+0x5884 029296 force 12 ,queue 
+0x5885 029297 call send_lmpext 
+0x5886 029298 setarg 0x01 
+0x5887 029299 istore 1 ,contw 
+0x5888 029300 fetch 2 ,mem_lmpext_ssp_enable 
+0x5889 029301 istore 2 ,contw 
+0x588a 029302 setarg 0 
+0x588b 029303 istore 3 ,contw 
+0x588c 029304 setarg 0x00 
+0x588d 029305 istore 4 ,contw 
+0x588e 029306 branch send_lmp_request 
+:      029308 send_lmpext_packet_type_table_req:
+0x588f 029309 force 3 ,queue 
+0x5890 029310 call send_lmpext 
+0x5891 029311 fetch 1 ,mem_ptt 
+0x5892 029312 istore 1 ,contw 
+0x5893 029313 disable user 
+0x5894 029314 call send_lmp_request 
+0x5895 029315 nrtn user 
+0x5896 029316 nrtn master 
+0x5897 029317 fetch 1 ,mem_afh_cfg 
+0x5898 029318 rtnbit0 afh_cfg_on 
+0x5899 029319 call afh_init 
+0x589a 029320 branch afh_open_all_channels 
+:      029323 afh_init:
+0x589b 029324 jam 0x3 ,mem_afh_cfg 
+0x589c 029325 setarg 0 
+0x589d 029326 store 4 ,mem_afh_timer 
+0x589e 029327 arg mem_afh_map_lo ,contw 
+0x589f 029328 call afh_reset_map 
+0x58a0 029329 arg mem_afh_map_new ,contw 
+0x58a1 029330 call afh_reset_map 
+0x58a2 029331 arg mem_afh_classify_channel_map ,contw 
+0x58a3 029332 call afh_reset_map 
+0x58a4 029333 branch afh_clear_error_counter 
+:      029334 afh_open_all_channels:
+0x58a5 029335 arg mem_afh_map_new ,contw 
+0x58a6 029336 call afh_reset_map 
+0x58a7 029337 call afh_clear_error_counter 
+0x58a8 029338 branch afh_set_send_flag 
+:      029341 afh_reset_map:
+0x58a9 029342 setarg 0xffffff 
+0x58aa 029343 istore 3 ,contw 
+0x58ab 029344 istore 3 ,contw 
+0x58ac 029345 istore 3 ,contw 
+0x58ad 029346 setarg 0x7f 
+0x58ae 029347 istore 1 ,contw 
+0x58af 029348 rtn 
+:      029349 afh_clear_error_counter:
+0x58b0 029350 setarg 0 
+0x58b1 029351 store 2 ,mem_afh_error_total 
+0x58b2 029352 rtn 
+:      029353 afh_set_send_flag:
+0x58b3 029354 fetch 1 ,mem_afh_cfg 
+0x58b4 029355 set1 send_lmp_set_afh ,pdata 
+0x58b5 029356 store 1 ,mem_afh_cfg 
+0x58b6 029357 rtn 
+:      029360 send_lmpext_pause_encryption_req:
+0x58b7 029361 force 2 ,queue 
+0x58b8 029362 call send_lmpext 
+0x58b9 029363 nbranch send_lmp_reply ,master 
+0x58ba 029365 branch send_lmp_request 
+:      029369 send_lmp_detach:
+0x58bb 029370 force 2 ,pdata 
+0x58bc 029371 call msg_send_lmp 
+0x58bd 029372 fetch 1 ,mem_disconn_reason_send 
+0x58be 029373 istore 1 ,contw 
+0x58bf 029374 call send_lmp_request 
+:      029375 prepare_disconnect:
+0x58c0 029376 fetch 1 ,mem_op 
+0x58c1 029377 set1 op_disconn ,pdata 
+0x58c2 029378 store 1 ,mem_op 
+0x58c3 029379 jam 50 ,mem_conn_timer 
+0x58c4 029380 rtn 
+:      029383 send_lmp_no_payload:
+0x58c5 029384 force 1 ,pdata 
+0x58c6 029385 call msg_send_lmp 
+0x58c7 029386 branch send_lmp_request 
+:      029387 send_lmp_nopayload_reply:
+0x58c8 029388 force 1 ,pdata 
+0x58c9 029389 call msg_send_lmp 
+0x58ca 029390 branch send_lmp_reply 
+:      029393 send_lmp_encryption_mode_req:
+0x58cb 029394 force 2 ,pdata 
+0x58cc 029395 call msg_send_lmp 
+0x58cd 029396 fetch 1 ,mem_state_map 
+0x58ce 029397 isolate0 smap_encryption ,pdata 
+0x58cf 029398 setflag true ,0 ,pdata 
+0x58d0 029399 and_into 1 ,pdata 
+0x58d1 029400 istore 1 ,contw 
+0x58d2 029401 branch send_lmp_request 
+:      029404 send_lmp_superto:
+0x58d3 029405 force 3 ,pdata 
+0x58d4 029406 call msg_send_lmp 
+0x58d5 029407 fetch 2 ,mem_supervision_to 
+0x58d6 029408 istore 2 ,contw 
+0x58d7 029409 branch send_lmp_request 
+:      029411 send_lmp_name_req:
+0x58d8 029412 jam 250 ,mem_conn_timer 
+0x58d9 029413 force 2 ,pdata 
+0x58da 029414 call msg_send_lmp 
+0x58db 029415 fetch 1 ,mem_name_offset 
+0x58dc 029416 istore 1 ,contw 
+0x58dd 029417 branch send_lmp_request 
+:      029419 send_lmp_test_control:
+0x58de 029420 force 10 ,pdata 
+0x58df 029421 call msg_send_lmp 
+0x58e0 029422 arg mem_temp_payload ,contr 
+0x58e1 029423 force 9 ,loopcnt 
+:      029424 send_lmp_test_control_loop:
+0x58e2 029425 ifetch 1 ,contr 
+0x58e3 029426 xor_into 0x55 ,pdata 
+0x58e4 029427 istore 1 ,contw 
+0x58e5 029428 loop send_lmp_test_control_loop 
+0x58e6 029429 branch send_lmp_request 
+:      029431 send_lmp_quality_of_service_req:
+0x58e7 029432 branch send_lmp_request 
+:      029433 send_lmp_unit_key:
+0x58e8 029434 branch send_lmp_request 
+:      029436 send_lmp_slot_offset:
+0x58e9 029437 rtn master 
+0x58ea 029438 call calc_slot_offset 
+0x58eb 029439 force 9 ,pdata 
+0x58ec 029440 call msg_send_lmp 
+0x58ed 029441 fetch 2 ,mem_slot_offset 
+0x58ee 029442 istore 2 ,contw 
+0x58ef 029443 fetch 3 ,mem_lap 
+0x58f0 029444 istore 3 ,contw 
+0x58f1 029445 fetch 1 ,mem_uap 
+0x58f2 029446 istore 1 ,contw 
+0x58f3 029447 fetch 2 ,mem_nap 
+0x58f4 029448 istore 2 ,contw 
+0x58f5 029449 bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+0x58f6 029450 set0 mark_switch_initiated ,mark 
+0x58f7 029451 call send_lmp_request 
+0x58f8 029452 jam lmp_switch_req ,mem_lmo_opcode2 
+0x58f9 029453 rtn 
+:      029454 send_lmp_slot_offset_reply:
+0x58fa 029455 call send_lmp_reply 
+0x58fb 029456 jam lmp_accepted ,mem_lmo_opcode2 
+0x58fc 029457 jam lmp_switch_req ,mem_lmi_opcode2 
+0x58fd 029458 rtn 
+:      029460 send_lmp_switch_req:
+0x58fe 029461 arg 0x200 ,temp 
+0x58ff 029462 branch switch_on_native ,master 
+0x5900 029463 deposit clke_bt 
+0x5901 029464 branch switch_slack 
+:      029465 switch_on_native:
+0x5902 029466 deposit clkn_bt 
+:      029467 switch_slack:
+0x5903 029468 deposit bt_clk 
+0x5904 029469 iadd temp ,pdata 
+0x5905 029470 and_into 0x1fc ,pdata 
+0x5906 029471 store 4 ,mem_sniff_anchor 
+0x5907 029472 force 5 ,pdata 
+0x5908 029473 call msg_send_lmp 
+0x5909 029474 fetch 4 ,mem_sniff_anchor 
+0x590a 029475 rshift pdata ,pdata 
+0x590b 029476 istore 4 ,contw 
+0x590c 029477 branch send_lmp_request 
+:      029479 send_lmp_sniff_req:
+0x590d 029480 force 10 ,pdata 
+0x590e 029481 call msg_send_lmp 
+0x590f 029482 arg mem_sniff_payload ,contr 
+0x5910 029483 ifetch 9 ,contr 
+0x5911 029484 istore 9 ,contw 
+0x5912 029485 branch send_lmp_request 
+:      029488 send_lmp_timing_accuracy_req:
+0x5913 029490 force 3 ,pdata 
+0x5914 029491 call msg_send_lmp 
+0x5915 029492 setarg 0x0114 
+0x5916 029493 istore 2 ,contw 
+0x5917 029494 branch send_lmp_request 
+:      029496 send_lmp_unsniff_req:
+0x5918 029498 force 1 ,pdata 
+0x5919 029499 call msg_send_lmp 
+0x591a 029508 branch send_lmp_request 
+:      029511 send_lmp_max_slot:
+0x591b 029512 force 2 ,pdata 
+0x591c 029513 call msg_send_lmp 
+0x591d 029514 fetch 1 ,mem_max_slot 
+0x591e 029515 istore 1 ,contw 
+0x591f 029516 branch send_lmp_request 
+:      029519 send_lmp_max_slot_req:
+0x5920 029520 force 2 ,pdata 
+0x5921 029521 call msg_send_lmp 
+0x5922 029522 setarg 0x05 
+0x5923 029523 istore 1 ,contw 
+0x5924 029524 branch send_lmp_request 
+:      029527 send_lmp_inc_power:
+0x5925 029528 force 2 ,pdata 
+0x5926 029529 call msg_send_lmp 
+0x5927 029530 setarg 0x00 
+0x5928 029531 istore 1 ,contw 
+0x5929 029532 branch send_lmp_request 
+:      029535 send_lmp_setup_complete_by_module:
+0x592a 029536 jam lmp_max_slot_req ,mem_lmo_opcode2 
+0x592b 029537 rtn 
+:      029538 send_lmp_setup_complete:
+0x592c 029539 fetch 1 ,mem_device_option 
+0x592d 029540 sub pdata ,dvc_op_module ,null 
+0x592e 029541 call send_lmp_setup_complete_by_module ,zero 
+0x592f 029542 fetch 1 ,mem_state 
+0x5930 029543 set1 state_conn_comp ,pdata 
+0x5931 029544 store 1 ,mem_state 
+0x5932 029545 copy clkn_bt ,pdata 
+0x5933 029546 store 4 ,mem_aurand_send_delay_time 
+0x5934 029547 fetch 1 ,mem_lmp_conn_state 
+0x5935 029548 bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+0x5936 029549 set1 sent_setup_complete ,pdata 
+0x5937 029550 store 1 ,mem_lmp_conn_state 
+0x5938 029551 jam bt_evt_setup_complete ,mem_fifo_temp 
+0x5939 029552 call ui_ipc_send_event 
+0x593a 029553 force 1 ,pdata 
+0x593b 029554 call msg_send_lmp 
+0x593c 029555 branch send_lmp_request 
+:      029556 send_lmp_setup_complete_has_sent:
+0x593d 029557 jam 0 ,mem_lmp_to_send 
+0x593e 029558 rtn 
+:      029560 send_lmp_version_req:
+0x593f 029561 force 6 ,pdata 
+0x5940 029562 call msg_send_lmp 
+0x5941 029563 fetch 5 ,mem_lmp_version 
+0x5942 029564 istore 5 ,contw 
+0x5943 029565 branch send_lmp_request 
+:      029567 send_lmp_features_req:
+0x5944 029568 force 9 ,pdata 
+0x5945 029569 call msg_send_lmp 
+0x5946 029570 fetch 8 ,mem_features 
+0x5947 029571 istore 8 ,contw 
+0x5948 029572 branch send_lmp_request 
+:      029574 sp_master_send_io_cap_get:
+0x5949 029575 jam sp_flag_commit ,mem_master_sp_flag 
+0x594a 029576 fetch 1 ,mem_sp_local_key_invalid 
+0x594b 029577 rtnne sp_key_valid 
+0x594c 029578 jam sp_master_stat_start_done ,mem_master_sp_state 
+0x594d 029579 rtn 
+:      029581 sp_master_send_io_cap_send:
+0x594e 029582 call tid_initiate 
+0x594f 029583 jam lmp_io_cap_req ,mem_lmo_opcode2 
+0x5950 029584 jam sp_stat_key_send ,mem_master_sp_state 
+0x5951 029585 rtn 
+:      029588 sp_master_send_lmp_encapsulated_header:
+0x5952 029589 call tid_initiate 
+0x5953 029590 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x5954 029591 jam sp_stat_random_send ,mem_master_sp_state 
+0x5955 029592 rtn 
+:      029594 sp_master_commitment_compare:
+0x5956 029595 arg mem_sp_calc_result_high ,rega 
+0x5957 029596 arg mem_sp_confirm_remote ,regb 
+0x5958 029597 arg 16 ,loopcnt 
+0x5959 029598 call string_compare 
+0x595a 029599 branch sp_master_commitment_compare_success ,zero 
+0x595b 029600 jam sp_stat_null ,mem_master_sp_state 
+0x595c 029601 call master_clear_mem_master_sp_flag 
+0x595d 029602 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x595e 029603 branch lmp_reject_pdu_not_allowed 
+:      029605 sp_master_commitment_compare_success:
+0x595f 029606 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x5960 029607 call master_set_mem_master_sp_flag 
+0x5961 029608 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x5962 029609 branch accept_lmp_msg 
+:      029613 sp_master_send_lmp_simple_pairing_number:
+0x5963 029614 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x5964 029615 rtn 
+:      029619 sp_send_lmp_encapsulated_header:
+0x5965 029622 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x5966 029624 rtn 
+:      029630 send_lmp_encapsulated_header:
+0x5967 029631 jam 0 ,mem_sp_local_key_send_count 
+0x5968 029632 force 4 ,pdata 
+0x5969 029633 call msg_send_lmp 
+0x596a 029634 fetch 3 ,mem_encapsulated_major_type 
+0x596b 029635 istore 3 ,contw 
+0x596c 029636 call check_localsm 
+0x596d 029637 branch send_lmp_request ,true 
+0x596e 029638 branch send_lmp_reply 
+:      029641 send_lmp_encapsulated_payload:
+0x596f 029642 fetch 1 ,mem_encapsulated_minor_type 
+0x5970 029643 beq encapsulated_minor_type_p256 ,send_lmp_encapsulated_payload_256 
+0x5971 029644 beq encapsulated_minor_type_p192 ,send_lmp_encapsulated_payload_192 
+0x5972 029645 rtn 
+:      029647 send_lmp_encapsulated_payload_256:
+0x5973 029648 force 17 ,pdata 
+0x5974 029649 call msg_send_lmp 
+0x5975 029650 fetch 1 ,mem_sp_local_key_send_count 
+0x5976 029651 arg mem_sc_pubkey_local_x_256 ,contr 
+0x5977 029652 branch send_lmp_encapsulated_payload_common 
+:      029654 send_lmp_encapsulated_payload_192:
+0x5978 029655 force 17 ,pdata 
+0x5979 029656 call msg_send_lmp 
+0x597a 029657 fetch 1 ,mem_sp_local_key_send_count 
+0x597b 029658 arg mem_sp_pubkey_local ,contr 
+:      029659 send_lmp_encapsulated_payload_common:
+0x597c 029660 iadd contr ,contr 
+0x597d 029661 ifetch 8 ,contr 
+0x597e 029662 istore 8 ,contw 
+0x597f 029663 ifetch 8 ,contr 
+0x5980 029664 istore 8 ,contw 
+0x5981 029665 fetch 1 ,mem_sp_local_key_send_count 
+0x5982 029666 increase 16 ,pdata 
+0x5983 029667 store 1 ,mem_sp_local_key_send_count 
+0x5984 029668 call check_localsm 
+0x5985 029669 branch send_lmp_request ,true 
+0x5986 029670 branch send_lmp_reply 
+:      029673 sp_send_lmp_simple_pairing_comfirm:
+0x5987 029674 jam sp_stat_random_recv ,mem_sp_state 
+0x5988 029675 jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+0x5989 029676 rtn 
+:      029677 send_lmp_simple_pairing_comfirm:
+0x598a 029680 force 17 ,pdata 
+0x598b 029681 call msg_send_lmp 
+0x598c 029682 arg mem_sp_calc_result_high ,contr 
+0x598d 029683 ifetch 8 ,contr 
+0x598e 029684 istore 8 ,contw 
+0x598f 029685 ifetch 8 ,contr 
+0x5990 029686 istore 8 ,contw 
+0x5991 029687 branch send_lmp_reply 
+:      029689 sp_send_lmp_simple_pairing_number:
+0x5992 029690 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x5993 029691 rtn 
+:      029693 send_lmp_simple_pairing_number:
+0x5994 029695 call check_localsm 
+0x5995 029696 call sp_local_random_key_generator ,true 
+0x5996 029697 force 17 ,pdata 
+0x5997 029698 call msg_send_lmp 
+0x5998 029699 arg mem_sp_random_local ,contr 
+0x5999 029700 ifetch 8 ,contr 
+0x599a 029701 istore 8 ,contw 
+0x599b 029702 ifetch 8 ,contr 
+0x599c 029703 istore 8 ,contw 
+0x599d 029704 call check_localsm 
+0x599e 029705 nbranch send_lmp_reply ,true 
+0x599f 029706 branch send_lmp_request ,true 
+:      029708 master_sp_sm_end:
+0x59a0 029710 jam sp_stat_done ,mem_master_sp_state 
+:      029711 sp_aurand_send:
+0x59a1 029712 call tid_initiate 
+0x59a2 029713 jam lmp_au_rand ,mem_lmo_opcode2 
+0x59a3 029714 call check_localsm_master 
+0x59a4 029715 branch sp_master_key_prarm_push ,true 
+0x59a5 029716 branch sp_link_key_prarm_push 
+:      029717 master_sp_send_lmp_dhkey_check:
+0x59a6 029718 call tid_reply 
+:      029719 sp_send_lmp_dhkey_check:
+0x59a7 029720 jam lmp_dhkey_check ,mem_lmo_opcode2 
+0x59a8 029721 rtn 
+:      029722 send_lmp_dhkey_check:
+0x59a9 029724 force 17 ,pdata 
+0x59aa 029725 call msg_send_lmp 
+0x59ab 029726 arg mem_sp_calc_result_high ,contr 
+0x59ac 029727 ifetch 8 ,contr 
+0x59ad 029728 istore 8 ,contw 
+0x59ae 029729 ifetch 8 ,contr 
+0x59af 029730 istore 8 ,contw 
+0x59b0 029731 call check_localsm 
+0x59b1 029732 nbranch send_lmp_reply ,true 
+0x59b2 029733 branch send_lmp_request ,true 
+:      029735 send_lmp_enc_key_size_mask_res:
+0x59b3 029736 force 3 ,pdata 
+0x59b4 029737 call msg_send_lmp 
+0x59b5 029738 setarg 0xfffe 
+0x59b6 029739 istore 2 ,contw 
+0x59b7 029740 branch send_lmp_reply 
+:      029742 send_lmp_auto_rate:
+0x59b8 029743 branch send_lmp_request 
+:      029744 send_lmp_clkoffset_req:
+0x59b9 029745 branch send_lmp_request 
+:      029746 send_lmp_quality_of_service:
+0x59ba 029747 branch send_lmp_request 
+:      029748 send_lmp_test_activate:
+0x59bb 029749 branch send_lmp_request 
+:      029754 send_lmp_comb_key:
+0x59bc 029755 call generate_random_number 
+0x59bd 029756 arg mem_lap ,rega 
+0x59be 029757 call generate_linkkey 
+0x59bf 029758 force 17 ,pdata 
+0x59c0 029759 call msg_send_lmp 
+0x59c1 029760 arg mem_kinit ,rega 
+0x59c2 029761 arg mem_random_number ,regb 
+0x59c3 029762 call xor16 
+0x59c4 029763 nbranch send_lmp_follow ,master 
+0x59c5 029764 branch send_lmp_tid 
+:      029766 send_lmp_inrand:
+0x59c6 029767 call generate_random_number 
+0x59c7 029768 arg mem_plap ,rega 
+0x59c8 029769 call generate_kinit 
+:      029770 send_lmp_rand:
+0x59c9 029771 force 17 ,pdata 
+0x59ca 029772 call msg_send_lmp 
+0x59cb 029773 arg mem_random_number ,contr 
+0x59cc 029774 call memcpy16 
+0x59cd 029775 fetch 1 ,mem_conn_sm 
+0x59ce 029776 beq conn_sm_auth_wait ,send_lmp_request 
+0x59cf 029777 beq conn_sm_pairing_wait ,send_lmp_request 
+0x59d0 029778 branch send_lmp_tid 
+:      029780 send_lmp_aurand:
+0x59d1 029781 fetch 1 ,mem_encapsulated_minor_type 
+0x59d2 029782 beq encapsulated_minor_type_p256 ,send_lmp_aurand_256 
+0x59d3 029784 fetch 1 ,mem_pairing_auth 
+0x59d4 029785 branch send_lmp_aurand_notpairing ,blank 
+:      029786 send_lmp_aurand2:
+0x59d5 029787 call check_localsm 
+0x59d6 029788 call tid_initiate ,true 
+0x59d7 029789 ncall tid_reply ,true 
+0x59d8 029790 branch send_lmp_aurand_common 
+:      029791 send_lmp_aurand_notpairing:
+0x59d9 029792 call tid_initiate 
+:      029793 send_lmp_aurand_common:
+0x59da 029794 call generate_random_number 
+0x59db 029795 branch send_lmp_rand 
+:      029797 send_lmp_aurand_256:
+0x59dc 029798 jam lmp_sres ,mem_lmo_opcode2 
+0x59dd 029799 branch send_lmp_aurand2 
+:      029801 send_lmp_sres:
+0x59de 029802 fetch 1 ,mem_encapsulated_minor_type 
+0x59df 029803 beq encapsulated_minor_type_p256 ,send_lmp_sres_256 
+0x59e0 029805 arg mem_lap ,rega 
+0x59e1 029806 call function_e1 
+0x59e2 029807 force 5 ,pdata 
+0x59e3 029808 call msg_send_lmp 
+0x59e4 029809 fetch 4 ,mem_input_store 
+0x59e5 029810 istore 4 ,contw 
+0x59e6 029811 arg mem_sres_tid ,temp 
+0x59e7 029812 call special_tid_store 
+0x59e8 029813 call copy_aco 
+0x59e9 029814 call check_localsm 
+0x59ea 029815 branch send_lmp_sres_master ,true 
+0x59eb 029816 jam done_encryp ,mem_wait_encryption 
+0x59ec 029817 fetch 1 ,mem_pairing_auth 
+0x59ed 029818 rtn blank 
+0x59ee 029819 jam lmp_au_rand ,mem_lmo_opcode2 
+:      029820 send_lmp_sres_master:
+0x59ef 029821 fetch 1 ,mem_link_key_exists 
+0x59f0 029822 rtn blank 
+:      029823 send_lmp_sres_startenc:
+0x59f1 029824 call check_localsm 
+0x59f2 029825 nbranch send_lmp_sres_startenc_slave ,true 
+0x59f3 029826 rtn 
+:      029828 send_lmp_sres_startenc_slave:
+0x59f4 029829 rtnmark0 mark_slave_in_rand_accepted 
+0x59f5 029830 set0 mark_slave_in_rand_accepted ,mark 
+0x59f6 029831 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x59f7 029832 rtn 
+:      029834 send_lmp_sres_256:
+0x59f8 029835 call function_h4 
+0x59f9 029836 call function_h5 
+0x59fa 029837 force 5 ,pdata 
+0x59fb 029838 call msg_send_lmp 
+0x59fc 029839 fetch 4 ,memb 
+0x59fd 029840 istore 4 ,contw 
+0x59fe 029841 arg mem_sres_tid ,temp 
+0x59ff 029842 call special_tid_store 
+0x5a00 029843 call copy_aco_256 
+0x5a01 029844 call check_localsm 
+0x5a02 029845 branch send_lmp_sres_master ,true 
+0x5a03 029846 jam done_encryp ,mem_wait_encryption 
+0x5a04 029847 fetch 1 ,mem_pairing_auth 
+0x5a05 029848 rtn blank 
+0x5a06 029849 branch send_lmp_sres_master 
+:      029851 copy_aco_256:
+0x5a07 029852 fetch 8 ,mem_sp_calc_result_high 
+0x5a08 029853 store 8 ,mem_ccm_iv 
+0x5a09 029854 rtn 
+:      029856 send_lmp_start_encryption:
+0x5a0a 029857 call generate_random_number 
+0x5a0b 029858 call function_e3 
+0x5a0c 029859 force 17 ,pdata 
+0x5a0d 029860 call msg_send_lmp 
+0x5a0e 029861 arg mem_random_number ,contr 
+0x5a0f 029862 call memcpy16 
+0x5a10 029863 branch send_lmp_tid 
+:      029865 send_lmp_stop_encryption_req:
+0x5a11 029866 force 1 ,pdata 
+0x5a12 029867 call msg_send_lmp 
+0x5a13 029868 branch send_lmp_tid 
+:      029870 send_lmp_encryption_key_size_req:
+0x5a14 029871 force 2 ,pdata 
+0x5a15 029872 call msg_send_lmp 
+0x5a16 029873 force 16 ,pdata 
+0x5a17 029874 istore 1 ,contw 
+0x5a18 029875 store 1 ,mem_key_size 
+0x5a19 029876 branch send_lmp_tid 
+:      029878 msg_send_lmp:
+0x5a1a 029880 lshift3 pdata ,pdata 
+0x5a1b 029881 or_into 0x07 ,pdata 
+0x5a1c 029882 store 1 ,mem_lmo_header_length 
+0x5a1d 029883 arg 17 ,loopcnt 
+0x5a1e 029884 arg mem_lmo_payload ,contw 
+0x5a1f 029885 call clear_mem 
+0x5a20 029886 arg mem_lmo_payload ,contw 
+0x5a21 029887 rtn 
+:      029889 send_lmpext:
+0x5a22 029890 and pdata ,0x7f ,rega 
+0x5a23 029891 jam lmp_escape ,mem_lmp_to_send 
+0x5a24 029892 deposit queue 
+0x5a25 029893 call msg_send_lmp 
+0x5a26 029894 deposit rega 
+0x5a27 029895 istore 1 ,contw 
+0x5a28 029896 rtn 
+:      029898 send_lmp_follow:
+0x5a29 029899 fetch 1 ,mem_lmp_to_send 
+0x5a2a 029900 lshift pdata ,pdata 
+0x5a2b 029901 fetcht 1 ,mem_state_map 
+0x5a2c 029902 isolate1 smap_lmptid ,temp 
+0x5a2d 029903 setflag true ,0 ,pdata 
+0x5a2e 029904 branch send_lmp_exit 
+:      029907 send_lmp_tid:
+0x5a2f 029908 fetcht 1 ,mem_state_map 
+0x5a30 029909 and_into 1 ,temp 
+0x5a31 029910 branch send_lmp_end 
+:      029912 send_lmp_reply:
+0x5a32 029913 force 0 ,temp 
+0x5a33 029914 branch send_lmp_end 
+:      029916 send_lmp_request:
+0x5a34 029917 force 1 ,temp 
+:      029918 send_lmp_end:
+0x5a35 029919 fetch 1 ,mem_lmp_to_send 
+0x5a36 029920 lshift pdata ,pdata 
+0x5a37 029921 setflag master ,0 ,pdata 
+0x5a38 029922 ixor temp ,pdata 
+:      029923 send_lmp_exit:
+0x5a39 029924 store 1 ,mem_lmo_header_opcode 
+0x5a3a 029925 store 1 ,mem_lmo_header_opcode_x 
+0x5a3b 029926 jam 0 ,mem_lmp_to_send 
+0x5a3c 029927 call lmo_fifo_process_lmo0empty 
+0x5a3d 029928 enable user 
+0x5a3e 029929 rtn 
+:      029932 lmo_fifo_check:
+0x5a3f 029933 fetch 1 ,mem_lmo_opcode2 
+0x5a40 029934 rtn blank 
+0x5a41 029935 call lmo_fifo_process 
+0x5a42 029936 fetch 1 ,mem_lmo_opcode2 
+0x5a43 029937 rtn 
+:      029939 lmo_fifo_process:
+0x5a44 029940 bpatchx patch23_4 ,mem_patch23 
+0x5a45 029941 fetch 1 ,mem_lmp_to_send 
+0x5a46 029942 branch lmo_fifo_process_lmo0empty ,blank 
+0x5a47 029943 fetch 1 ,mem_lmo_opcode1 
+0x5a48 029944 nrtn blank 
+0x5a49 029945 branch lmo_fifo_process_lmo2to1 
+:      029946 lmo_fifo_process_lmo0empty:
+0x5a4a 029947 fetch 1 ,mem_lmo_opcode1 
+0x5a4b 029948 branch lmo_fifo_process_lmo1_empty ,blank 
+0x5a4c 029949 fetch 3 ,mem_lmo_opcode1 
+0x5a4d 029950 store 3 ,mem_lmp_to_send 
+0x5a4e 029951 fetcht 1 ,mem_lmo_tid1 
+0x5a4f 029952 fetch 1 ,mem_state_map 
+0x5a50 029953 set0 smap_lmptid ,pdata 
+0x5a51 029954 ior temp ,pdata 
+0x5a52 029955 store 1 ,mem_state_map 
+0x5a53 029956 jam 0 ,mem_lmo_opcode1 
+:      029957 lmo_fifo_process_lmo2to1:
+0x5a54 029958 fetch 1 ,mem_lmo_opcode2 
+0x5a55 029959 rtn blank 
+0x5a56 029960 fetch 4 ,mem_lmo_opcode2 
+0x5a57 029961 store 4 ,mem_lmo_opcode1 
+0x5a58 029962 jam 0 ,mem_lmo_opcode2 
+0x5a59 029963 rtn 
+:      029964 lmo_fifo_process_lmo1_empty:
+0x5a5a 029965 fetch 1 ,mem_lmo_opcode2 
+0x5a5b 029966 rtn blank 
+0x5a5c 029967 fetch 3 ,mem_lmo_opcode2 
+0x5a5d 029968 store 3 ,mem_lmp_to_send 
+0x5a5e 029969 fetcht 1 ,mem_lmo_tid2 
+0x5a5f 029970 fetch 1 ,mem_state_map 
+0x5a60 029971 set0 smap_lmptid ,pdata 
+0x5a61 029972 ior temp ,pdata 
+0x5a62 029973 store 1 ,mem_state_map 
+0x5a63 029974 jam 0 ,mem_lmo_opcode2 
+0x5a64 029975 rtn 
+:      029978 special_tid_store:
+0x5a65 029979 bpatchx patch23_5 ,mem_patch23 
+0x5a66 029980 fetch 1 ,mem_state_map 
+0x5a67 029981 copy pdata ,regc 
+0x5a68 029982 ifetch 1 ,temp 
+0x5a69 029983 call pop_tid_follow 
+0x5a6a 029984 call send_lmp_follow 
+0x5a6b 029985 copy regc ,pdata 
+0x5a6c 029986 store 1 ,mem_state_map 
+0x5a6d 029987 rtn 
+:      029989 tid_reply:
+0x5a6e 029990 fetcht 1 ,mem_state_map 
+0x5a6f 029991 set0 smap_lmptidinit ,temp 
+0x5a70 029992 storet 1 ,mem_state_map 
+0x5a71 029993 rtn 
+:      029995 tid_initiate:
+0x5a72 029996 fetcht 1 ,mem_state_map 
+0x5a73 029997 set1 smap_lmptidinit ,temp 
+0x5a74 029998 storet 1 ,mem_state_map 
+0x5a75 029999 rtn 
+:      030002 tid_check:
+0x5a76 030003 nsetflag master ,smap_lmptid ,pdata 
+0x5a77 030004 fetcht 1 ,mem_state_map 
+0x5a78 030005 ixor temp ,pdata 
+0x5a79 030006 isolate1 smap_lmptid ,pdata 
+0x5a7a 030007 rtn 
+:      030010 tid_set_reply:
+0x5a7b 030011 fetch 1 ,mem_state_map 
+0x5a7c 030012 setflag master ,smap_lmptid ,pdata 
+0x5a7d 030013 store 1 ,mem_state_map 
+0x5a7e 030014 rtn 
+:      030017 check_localsm:
+0x5a7f 030018 fetch 1 ,mem_sp_localsm 
+0x5a80 030019 compare local_statemachine ,pdata ,0x7f 
+0x5a81 030020 rtn 
+:      030021 setlocalsm_master:
+0x5a82 030022 fetch 1 ,mem_sp_localsm 
+0x5a83 030023 set1 7 ,pdata 
+0x5a84 030024 store 1 ,mem_sp_localsm 
+0x5a85 030025 rtn 
+:      030026 setlocalsm_slave:
+0x5a86 030027 fetch 1 ,mem_sp_localsm 
+0x5a87 030028 set0 7 ,pdata 
+0x5a88 030029 store 1 ,mem_sp_localsm 
+0x5a89 030030 rtn 
+:      030031 check_localsm_master:
+0x5a8a 030032 fetch 1 ,mem_sp_localsm 
+0x5a8b 030033 isolate1 7 ,pdata 
+0x5a8c 030034 store 1 ,mem_sp_localsm 
+0x5a8d 030035 rtn 
+:      030037 generate_random_number:
+0x5a8e 030039 arg mem_random_number ,contw 
+:      030040 generate_random:
+0x5a8f 030041 force 16 ,loopcnt 
+:      030042 generate_random_another:
+:      030043 generate_random_loop:
+0x5a90 030044 random pdata 
+0x5a91 030045 istore 1 ,contw 
+0x5a92 030046 loop generate_random_another 
+0x5a93 030047 rtn 
+:      030049 generate_linkkey:
+0x5a94 030050 call function_e21 
+0x5a95 030051 arg mem_link_key ,rega 
+0x5a96 030052 arg mem_input_store ,regb 
+0x5a97 030053 ifetch 8 ,rega 
+0x5a98 030054 fetcht 1 ,mem_state 
+0x5a99 030055 nsetflag blank ,state_combkey ,temp 
+0x5a9a 030056 storet 1 ,mem_state 
+0x5a9b 030057 copy rega ,contw 
+0x5a9c 030058 call xor16 
+0x5a9d 030059 branch generate_linkkey_continue 
+:      030065 process_conn_sm:
+0x5a9e 030067 bpatchx patch23_6 ,mem_patch23 
+0x5a9f 030069 call lmo_fifo_check 
+0x5aa0 030070 nrtn blank 
+:      030071 process_conn_sm_continue:
+0x5aa1 030072 fetch 1 ,mem_conn_sm 
+0x5aa2 030073 rtn blank 
+0x5aa3 030077 beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+0x5aa4 030078 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+0x5aa5 030079 beq conn_sm_send_features ,host_create_conn_send_features 
+0x5aa6 030080 beq conn_sm_wait_features_res ,host_create_conn_waiting 
+0x5aa7 030081 beq conn_sm_send_switch ,host_create_conn_send_switch 
+0x5aa8 030082 beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+0x5aa9 030083 beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+0x5aaa 030084 beq conn_sm_encrypt ,host_create_conn_encrypt 
+0x5aab 030085 beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+0x5aac 030086 beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+0x5aad 030087 beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+0x5aae 030088 beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+0x5aaf 030089 beq conn_sm_detach_delay ,host_create_conn_master_detach 
+0x5ab0 030090 beq conn_sm_send_version ,host_create_conn_send_version 
+0x5ab1 030091 beq conn_sm_wait_version ,host_create_conn_waiting 
+0x5ab2 030092 beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+0x5ab3 030093 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+0x5ab4 030094 beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+0x5ab5 030095 beq conn_sm_pairing ,host_create_conn_pairing 
+0x5ab6 030096 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+0x5ab7 030097 beq conn_sm_auth ,host_create_conn_auth 
+0x5ab8 030098 beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+0x5ab9 030099 beq conn_sm_done ,host_create_conn_done 
+0x5aba 030100 beq conn_sm_wait_done ,host_create_conn_done_wait 
+0x5abb 030101 jam conn_sm_standby ,mem_conn_sm 
+0x5abc 030103 rtn 
+:      030104 host_create_conn_done:
+0x5abd 030105 fetch 1 ,mem_lmp_conn_state 
+0x5abe 030106 rtnbit0 received_setup_complete 
+0x5abf 030107 rtnbit0 sent_setup_complete 
+0x5ac0 030108 jam conn_sm_standby ,mem_conn_sm 
+0x5ac1 030109 call host_conn_judge_encrypt 
+0x5ac2 030110 branch scheduler_start_upper_sm 
+:      030112 host_conn_judge_encrypt:
+0x5ac3 030113 fetch 1 ,mem_connection_options 
+0x5ac4 030114 rtnbit0 connection_encrypt 
+0x5ac5 030115 jam conn_sm_encrypt_wait ,mem_conn_sm 
+0x5ac6 030116 rtn 
+:      030118 host_create_conn_done_wait:
+0x5ac7 030119 arg enpt_delay_timer ,queue 
+0x5ac8 030120 call timer_check 
+0x5ac9 030121 nrtn blank 
+0x5aca 030122 jam conn_sm_done ,mem_conn_sm 
+0x5acb 030123 rtn 
+:      030125 host_create_conn_auth:
+0x5acc 030126 fetch 1 ,mem_connection_options 
+0x5acd 030127 set0 connection_auth ,pdata 
+0x5ace 030128 store 1 ,mem_connection_options 
+0x5acf 030129 jam conn_sm_auth_wait ,mem_conn_sm 
+0x5ad0 030130 jam lmp_au_rand ,mem_lmo_opcode2 
+0x5ad1 030131 rtn 
+:      030132 host_create_conn_auth_wait:
+0x5ad2 030133 rtn 
+:      030134 host_create_conn_pairing:
+0x5ad3 030135 fetch 1 ,mem_pincode_state 
+0x5ad4 030136 rtnne pincode_state_pincode_ready 
+0x5ad5 030137 call host_auth 
+0x5ad6 030138 jam conn_sm_pairing_wait ,mem_conn_sm 
+0x5ad7 030139 rtn 
+:      030141 host_create_conn_pairing_wait:
+0x5ad8 030142 rtn 
+:      030143 host_creat_conn_send_feat_ext:
+0x5ad9 030144 jam conn_sm_wait_features_ext ,mem_conn_sm 
+0x5ada 030145 jam lmp_ext_features_req ,mem_lmo_opcode2 
+0x5adb 030146 rtn 
+:      030147 host_create_conn_send_version:
+0x5adc 030148 jam conn_sm_wait_version ,mem_conn_sm 
+0x5add 030149 jam lmp_version_req ,mem_lmo_opcode2 
+0x5ade 030150 rtn 
+:      030152 host_creat_conn_wait_switch:
+0x5adf 030153 fetch 1 ,mem_switch_flag 
+0x5ae0 030154 rtneq switch_flag_init 
+0x5ae1 030155 beq switch_flag_accept ,host_create_conn_switch_accept 
+0x5ae2 030156 arg switch_wait_timer ,queue 
+0x5ae3 030157 call timer_check 
+0x5ae4 030158 nrtn blank 
+0x5ae5 030159 jam switch_flag_init ,mem_switch_flag 
+0x5ae6 030160 branch host_create_conn_switch 
+:      030161 host_create_conn_switch_accept:
+0x5ae7 030162 rtn master 
+0x5ae8 030163 branch host_create_conn_auth_pair 
+:      030165 host_create_conn_send_features:
+0x5ae9 030166 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x5aea 030167 jam lmp_features_req ,mem_lmo_opcode2 
+0x5aeb 030168 rtn 
+:      030169 host_create_conn_send_switch:
+0x5aec 030170 jam lmp_switch_req ,mem_lmo_opcode2 
+0x5aed 030171 set1 mark_switch_initiated ,mark 
+0x5aee 030172 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x5aef 030173 setarg 0x1ff 
+0x5af0 030174 store 2 ,mem_soft_timer 
+0x5af1 030175 rtn 
+:      030177 host_create_conn_send_conn_req:
+0x5af2 030178 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x5af3 030179 setarg 0xff 
+0x5af4 030180 store 2 ,mem_soft_timer 
+0x5af5 030181 set0 mark_reconn_recieve_switch ,mark 
+0x5af6 030182 jam lmp_host_connection_req ,mem_lmo_opcode2 
+0x5af7 030183 branch init_lmp_reinit 
+:      030184 host_create_conn_wait_accept:
+0x5af8 030185 rtnmark1 mark_reconn_recieve_switch 
+0x5af9 030186 fetch 2 ,mem_soft_timer 
+0x5afa 030187 increase -1 ,pdata 
+0x5afb 030188 branch host_create_conn_resend ,zero 
+0x5afc 030189 store 2 ,mem_soft_timer 
+0x5afd 030190 rtn 
+:      030191 host_create_conn_resend:
+0x5afe 030192 jam conn_sm_send_switch ,mem_conn_sm 
+0x5aff 030193 rtn 
+:      030194 host_create_conn_waiting:
+0x5b00 030196 rtn 
+:      030198 host_create_conn_switch:
+0x5b01 030199 fetch 1 ,mem_lmp_conn_state 
+0x5b02 030200 rtnbit0 sent_setup_complete 
+0x5b03 030201 rtnbit0 received_setup_complete 
+0x5b04 030202 fetch 1 ,mem_connection_options 
+0x5b05 030203 set0 connection_switch ,pdata 
+0x5b06 030204 store 1 ,mem_connection_options 
+0x5b07 030205 jam lmp_switch_req ,mem_lmo_opcode2 
+0x5b08 030206 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+0x5b09 030207 rtn 
+:      030209 host_create_conn_send_setup_complete:
+0x5b0a 030210 jam conn_sm_wait_setup_complete ,mem_conn_sm 
+0x5b0b 030211 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5b0c 030212 rtn 
+:      030214 host_create_conn_wait_setup_complete:
+0x5b0d 030215 fetch 1 ,mem_lmp_conn_state 
+0x5b0e 030216 rtnbit0 received_setup_complete 
+0x5b0f 030217 jam conn_sm_standby ,mem_conn_sm 
+0x5b10 030219 rtn 
+:      030220 host_create_conn_wait_setup_complete_rtn:
+0x5b11 030221 jam conn_sm_auth_pair ,mem_conn_sm 
+0x5b12 030222 rtn 
+:      030224 host_create_conn_master_detach:
+0x5b13 030225 fetch 2 ,mem_soft_timer 
+0x5b14 030226 increase -1 ,pdata 
+0x5b15 030227 branch host_create_conn_send_detach ,blank 
+0x5b16 030228 store 2 ,mem_soft_timer 
+0x5b17 030229 rtn 
+:      030230 host_create_conn_send_detach:
+0x5b18 030231 jam lmp_detach ,mem_lmo_opcode2 
+0x5b19 030232 jam local_host ,mem_disconn_reason_send 
+0x5b1a 030233 jam 0 ,mem_conn_sm 
+0x5b1b 030234 rtn 
+:      030235 host_create_conn_auth_pair:
+0x5b1c 030237 fetch 1 ,mem_connection_options 
+0x5b1d 030238 bbit1 connection_switch ,host_create_conn_switch 
+0x5b1e 030239 bbit1 connection_auth ,host_create_conn_auth_pair_true 
+:      030240 host_create_conn_sm_done:
+0x5b1f 030241 jam conn_sm_done ,mem_conn_sm 
+0x5b20 030242 rtn 
+:      030243 host_create_conn_auth_pair_true:
+0x5b21 030244 fetch 1 ,mem_link_key_exists 
+0x5b22 030245 branch host_create_conn_auth_pair_nokey ,blank 
+0x5b23 030246 fetch 1 ,mem_lmp_conn_state 
+0x5b24 030247 rtnbit0 sent_setup_complete 
+0x5b25 030248 rtnbit0 received_setup_complete 
+0x5b26 030249 fetch 4 ,mem_aurand_send_delay_time 
+0x5b27 030250 arg 100 ,temp 
+0x5b28 030251 iadd temp ,temp 
+0x5b29 030252 copy clkn_bt ,pdata 
+0x5b2a 030253 isub temp ,null 
+0x5b2b 030254 nrtn positive 
+0x5b2c 030255 branch host_create_conn_auth 
+:      030257 host_create_conn_auth_pair_nokey:
+0x5b2d 030258 jam conn_sm_pairing ,mem_conn_sm 
+0x5b2e 030259 jam 4 ,mem_pin_length 
+0x5b2f 030260 setarg 0x3030 
+0x5b30 030261 store 2 ,mem_pin 
+0x5b31 030262 istore 2 ,contw 
+0x5b32 030263 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x5b33 030264 branch host_create_conn_pairing 
+:      030266 host_create_conn_auth_pair_wait:
+0x5b34 030267 rtn 
+:      030268 host_create_conn_encrypt:
+0x5b35 030269 fetch 1 ,mem_connection_options 
+0x5b36 030270 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+0x5b37 030271 jam conn_sm_done ,mem_conn_sm 
+0x5b38 030272 rtn 
+:      030274 host_create_conn_encrypt_start:
+0x5b39 030275 fetch 1 ,mem_connection_options 
+0x5b3a 030276 set0 connection_encrypt ,pdata 
+0x5b3b 030277 store 1 ,mem_connection_options 
+0x5b3c 030278 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x5b3d 030279 rtn 
+:      030281 host_create_conn_encrypt_wait:
+0x5b3e 030282 fetch 1 ,mem_wait_encryption 
+0x5b3f 030283 rtn blank 
+0x5b40 030284 jam conn_sm_standby ,mem_conn_sm 
+0x5b41 030285 branch host_create_conn_encrypt_start 
+:      030287 host_create_conn_encrypt_wait_clear:
+0x5b42 030288 jam conn_sm_send_setup_complete ,mem_conn_sm 
+0x5b43 030289 rtn 
+:      030291 host_auth:
+0x5b44 030292 fetch 1 ,mem_op 
+0x5b45 030293 bbit1 op_inrand_req ,remote_auth 
+0x5b46 030294 call tid_initiate 
+0x5b47 030295 jam lmp_in_rand ,mem_lmo_opcode2 
+0x5b48 030296 branch cmd_exit 
+:      030297 remote_auth:
+0x5b49 030298 fetch 1 ,mem_op 
+0x5b4a 030299 set0 op_inrand_req ,pdata 
+0x5b4b 030300 store 1 ,mem_op 
+0x5b4c 030301 call lmp_accept_inrand 
+0x5b4d 030302 call tid_set_reply 
+0x5b4e 030303 branch cmd_exit 
+:      030305 pincode_reinit:
+0x5b4f 030306 setarg 4 
+0x5b50 030307 store 1 ,mem_pin_length 
+0x5b51 030308 setarg 0x3030 
+0x5b52 030309 istore 2 ,contw 
+0x5b53 030310 istore 2 ,contw 
+0x5b54 030311 rtn 
+:      030318 twspi_reset:
+0x5b55 030319 bpatchx patch23_7 ,mem_patch23 
+0x5b56 030320 and_into 0xff ,pdata 
+0x5b57 030321 arg core_gpio_conf ,contw 
+0x5b58 030322 iadd contw ,contw 
+0x5b59 030323 copy contw ,rega 
+0x5b5a 030324 arg gpcfg_output_low ,temp 
+0x5b5b 030325 istoret 1 ,contw 
+0x5b5c 030326 call twspi_disable 
+0x5b5d 030327 nop 30 
+0x5b5e 030328 copy rega ,contw 
+0x5b5f 030329 arg gpcfg_output_high ,temp 
+0x5b60 030330 istoret 1 ,contw 
+0x5b61 030331 branch twspi_enable 
+:      030333 twspi_disable:
+0x5b62 030334 fetch 1 ,core_aes_en 
+0x5b63 030335 and_into 0xfb ,pdata 
+0x5b64 030336 store 1 ,core_aes_en 
+0x5b65 030337 rtn 
+:      030339 twspi_enable:
+0x5b66 030340 fetch 1 ,core_aes_en 
+0x5b67 030341 or_into 0x04 ,pdata 
+0x5b68 030342 store 1 ,core_aes_en 
+0x5b69 030343 rtn 
+:      030347 aes_disable:
+0x5b6a 030348 fetch 1 ,core_aes_en 
+0x5b6b 030349 and_into 0xfd ,pdata 
+0x5b6c 030350 store 1 ,core_aes_en 
+0x5b6d 030351 rtn 
+:      030353 read_function_aes:
+0x5b6e 030354 nbranch read_function ,user 
+0x5b6f 030355 fetch 1 ,core_aes_en 
+0x5b70 030356 or_into 0x2 ,pdata 
+0x5b71 030357 store 1 ,core_aes_en 
+:      030358 read_function:
+0x5b72 030359 copy temp ,null 
+0x5b73 030360 branch read_fuction_zero ,zero 
+0x5b74 030361 copy regc ,pc 
+:      030362 read_fuction_zero:
+0x5b75 030363 isolate0 0 ,null 
+0x5b76 030364 branch set_ucode_status 
+:      030367 get_block_header:
+0x5b77 030368 force 4 ,temp 
+:      030369 get_block_header0:
+0x5b78 030370 arg mem_ucode_buf ,rega 
+0x5b79 030371 call aes_disable 
+0x5b7a 030372 call read_function 
+0x5b7b 030373 arg 0x55aa ,rega 
+0x5b7c 030374 fetch 2 ,mem_ucode_buf 
+0x5b7d 030375 ifetcht 2 ,contr 
+0x5b7e 030376 isub rega ,null 
+0x5b7f 030377 rtn 
+:      030380 read_first_block:
+0x5b80 030381 arg 2 ,temp 
+0x5b81 030382 arg mem_ucode_ptr ,rega 
+0x5b82 030383 call read_function 
+0x5b83 030384 fetch 2 ,mem_ucode_ptr 
+0x5b84 030385 store 2 ,mem_addr_mi 
+0x5b85 030386 call get_iv ,user 
+0x5b86 030387 rtn 
+:      030389 get_iv:
+0x5b87 030390 arg 16 ,temp 
+0x5b88 030391 arg mem_ucode_keybuf ,rega 
+0x5b89 030392 call aes_disable 
+0x5b8a 030393 call read_function 
+:      030394 set_iv:
+0x5b8b 030395 arg mem_ucode_keybuf ,contr 
+0x5b8c 030396 arg 16 ,loopcnt 
+0x5b8d 030397 call aes_load_data 
+0x5b8e 030398 call aes_init 
+0x5b8f 030399 call aes_clear_data 
+0x5b90 030400 branch do_aes_cbc 
+:      030402 load_storage:
+0x5b91 030403 setarg 0 
+0x5b92 030404 store 2 ,mem_queue 
+0x5b93 030405 disable match 
+0x5b94 030406 call get_block_header 
+0x5b95 030407 nrtn zero 
+0x5b96 030408 jam 0x80 ,core_ucode_ctrl 
+0x5b97 030409 jam 0 ,core_ucode_hi 
+0x5b98 030410 jam 0 ,core_ucode_low 
+0x5b99 030411 arg core_ucode_data ,rega 
+0x5b9a 030412 call read_function_aes 
+0x5b9b 030413 jam 0x0 ,core_ucode_ctrl 
+:      030414 load_storage_loop:
+0x5b9c 030415 arg 6 ,temp 
+0x5b9d 030416 call get_block_header0 
+0x5b9e 030417 nbranch load_data_checksum_compare ,zero 
+0x5b9f 030418 ifetch 2 ,contr 
+0x5ba0 030419 iforce rega 
+0x5ba1 030420 call read_function 
+0x5ba2 030421 call load_data_checksum_calc 
+0x5ba3 030422 branch load_storage_loop 
+:      030424 load_data_checksum:
+0x5ba4 030425 arg 0xaa55 ,rega 
+0x5ba5 030426 fetch 2 ,mem_ucode_buf 
+0x5ba6 030427 isub rega ,null 
+0x5ba7 030428 nrtn zero 
+0x5ba8 030429 arg 0x55aa ,rega 
+0x5ba9 030430 fetch 2 ,mem_ucode_len 
+0x5baa 030431 isub rega ,null 
+0x5bab 030432 nrtn zero 
+0x5bac 030433 fetch 2 ,mem_sched_addr 
+0x5bad 030434 store 2 ,mem_rega 
+0x5bae 030435 rtn 
+:      030438 load_data_checksum_calc:
+0x5baf 030439 fetch 2 ,mem_queue 
+0x5bb0 030440 arg 6 ,loopcnt 
+0x5bb1 030441 arg mem_ucode_buf ,contr 
+0x5bb2 030442 call cal_sum 
+0x5bb3 030443 fetchr loopcnt ,2 ,mem_ucode_len 
+0x5bb4 030444 copy rega ,contr 
+0x5bb5 030445 call cal_sum 
+0x5bb6 030446 store 2 ,mem_queue 
+0x5bb7 030447 rtn 
+:      030449 load_data_checksum_compare:
+0x5bb8 030450 call load_data_checksum 
+0x5bb9 030451 branch load_storage_loop ,zero 
+0x5bba 030452 fetch 2 ,mem_rega 
+0x5bbb 030453 fetcht 2 ,mem_queue 
+0x5bbc 030454 isub temp ,null 
+0x5bbd 030455 nrtn zero 
+0x5bbe 030456 enable match 
+0x5bbf 030457 rtn 
+:      030460 load_storage_efuse:
+0x5bc0 030461 fetch 1 ,mem_tmp_buffer + efuse_offset_offset 
+0x5bc1 030462 arg mem_tmp_buffer ,contr 
+0x5bc2 030463 iadd contr ,contr 
+0x5bc3 030464 jam 0x80 ,core_ucode_ctrl 
+0x5bc4 030465 jam 0 ,core_ucode_hi 
+0x5bc5 030466 jam 0 ,core_ucode_low 
+0x5bc6 030467 arg core_ucode_data ,rega 
+0x5bc7 030468 ifetchr loopcnt ,1 ,contr 
+0x5bc8 030469 sub loopcnt ,0 ,null 
+0x5bc9 030470 ncall load_efuse_read_code ,zero 
+0x5bca 030471 jam 0x0 ,core_ucode_ctrl 
+:      030472 load_storage_efuse_loop:
+0x5bcb 030473 ifetch 1 ,contr 
+0x5bcc 030474 rtn blank 
+0x5bcd 030475 copy pdata ,loopcnt 
+0x5bce 030476 ifetchr regb ,2 ,contr 
+0x5bcf 030477 copy regb ,contw 
+0x5bd0 030478 call memcpy_loop 
+0x5bd1 030479 branch load_storage_efuse_loop 
+:      030481 load_efuse_read_code_loop:
+0x5bd2 030482 ifetch 1 ,contr 
+0x5bd3 030483 istore 1 ,rega 
+0x5bd4 030484 loop load_efuse_read_code_loop 
+0x5bd5 030485 rtn 
+:      030488 load_efuse_read_code:
+0x5bd6 030489 call enable_user2 
+0x5bd7 030490 copy loopcnt ,temp 
+0x5bd8 030491 nbranch load_efuse_read_code_loop ,user 
+:      030492 load_efuse_read_code_loop_enc:
+0x5bd9 030493 sub temp ,0 ,null 
+0x5bda 030494 rtn zero 
+0x5bdb 030495 call load_efuse_store_code 
+0x5bdc 030496 call do_aes_cbc 
+0x5bdd 030497 add temp ,-16 ,temp 
+0x5bde 030498 branch load_efuse_read_code_loop_enc ,positive 
+0x5bdf 030499 rtn 
+:      030502 load_efuse_store_code:
+0x5be0 030503 force regidx_result ,regext_index 
+0x5be1 030504 copy temp ,loopcnt 
+:      030505 load_efuse_store_code_loop:
+0x5be2 030506 ifetch 4 ,contr 
+0x5be3 030507 ixor regext ,pdata 
+0x5be4 030508 copy pdata ,regext 
+0x5be5 030509 istore 1 ,rega 
+0x5be6 030510 rshift8 pdata ,pdata 
+0x5be7 030511 istore 1 ,rega 
+0x5be8 030512 rshift8 pdata ,pdata 
+0x5be9 030513 istore 1 ,rega 
+0x5bea 030514 rshift8 pdata ,pdata 
+0x5beb 030515 istore 1 ,rega 
+0x5bec 030516 increase 1 ,regext_index 
+0x5bed 030517 compare 0 ,regext_index ,0x3 
+0x5bee 030518 rtn true 
+0x5bef 030519 add loopcnt ,-4 ,loopcnt 
+0x5bf0 030520 rtn zero 
+0x5bf1 030521 branch load_efuse_store_code_loop ,positive 
+0x5bf2 030522 rtn 
+:      030543 run_efuse_code:
+0x5bf3 030544 arg 0 ,pc 
+0x5bf4 030545 rtn 
+:      030548 loadcode:
+0x5bf5 030549 call clean_mem 
+0x5bf6 030550 jam 0x25 ,core_clkoff 
+0x5bf7 030552 enable user 
+0x5bf8 030553 jam 0 ,mem_loadcode_times 
+:      030554 load_efuse:
+0x5bf9 030555 call loadcode_timeout 
+0x5bfa 030556 nbranch loadcode_error ,positive 
+0x5bfb 030557 setarg 0 
+0x5bfc 030558 arg mem_tmp_buffer ,rega 
+0x5bfd 030559 arg 64 ,temp 
+0x5bfe 030560 call efuse_read_data 
+0x5bff 030561 call loadcode_efuse_check 
+0x5c00 030562 nbranch load_efuse ,user 
+0x5c01 030563 call app_read_efuse_app_vsel 
+0x5c02 030565 disable user 
+0x5c03 030566 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c04 030567 bbit0 ucode_flag_enc ,loadcode_efuse 
+0x5c05 030568 call regext_clear 
+0x5c06 030569 jam lock_otp ,core_misc_ctrl 
+0x5c07 030570 set1 mark_otp_encrypt ,mark 
+0x5c08 030571 force regidx_key ,regext_index 
+0x5c09 030572 call aes_clear 
+0x5c0a 030573 force regidx_key ,regext_index 
+0x5c0b 030574 fetchr regext ,4 ,mem_tmp_buffer + efuse_offset_key_addr 
+0x5c0c 030575 setarg 0xf1ab8f 
+0x5c0d 030576 store 4 ,mem_ucode_keybuf 
+0x5c0e 030577 lshift2 pdata ,pdata 
+0x5c0f 030578 istore 4 ,contw 
+0x5c10 030579 lshift pdata ,pdata 
+0x5c11 030580 istore 4 ,contw 
+0x5c12 030581 lshift2 pdata ,pdata 
+0x5c13 030582 istore 4 ,contw 
+0x5c14 030583 call aes_disable 
+0x5c15 030584 call set_iv 
+0x5c16 030585 enable user 
+:      030586 loadcode_efuse:
+0x5c17 030587 fetch 4 ,mem_tmp_buffer 
+0x5c18 030588 branch loadcode_iic ,blank 
+0x5c19 030589 store 3 ,mem_efuse_header 
+0x5c1a 030590 call disable_user2 
+0x5c1b 030591 call app_lpm_peripheral_lock_check 
+0x5c1c 030592 call load_storage_efuse 
+0x5c1d 030593 call run_efuse_code ,user2 
+:      030594 loadcode_iic:
+0x5c1e 030595 jam 0 ,mem_loadcode_times 
+:      030596 loadcode_iic_loop:
+0x5c1f 030597 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c20 030598 bbit1 ucode_flag_skip_eep ,loadcode_spi 
+0x5c21 030599 call loadcode_timeout 
+0x5c22 030600 nbranch loadcode_iic_eeprom_2k ,positive 
+0x5c23 030601 call iicd_load_gpio_init 
+0x5c24 030602 call clear_eeprom_size_2k 
+0x5c25 030603 call loadcode_iic_by_eeprom 
+0x5c26 030604 nbranch loadcode_iic_loop ,match 
+0x5c27 030605 fetch 1 ,mem_ucode_status 
+0x5c28 030606 bbit0 0 ,loadcode_iic_loop 
+0x5c29 030607 branch loadcode_hci 
+:      030609 loadcode_iic_eeprom_2k:
+0x5c2a 030610 jam 0 ,mem_loadcode_times 
+:      030611 loadcode_iic_eeprom_2k_loop:
+0x5c2b 030612 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c2c 030613 bbit1 ucode_flag_skip_eep ,loadcode_spi 
+0x5c2d 030614 call loadcode_timeout 
+0x5c2e 030615 nbranch loadcode_spi ,positive 
+0x5c2f 030616 call iicd_load_gpio_init 
+0x5c30 030617 call set_eeprom_size_2k 
+0x5c31 030618 call loadcode_iic_by_eeprom 
+0x5c32 030619 nbranch loadcode_iic_eeprom_2k_loop ,match 
+0x5c33 030620 fetch 1 ,mem_ucode_status 
+0x5c34 030621 bbit0 0 ,loadcode_iic_eeprom_2k_loop 
+0x5c35 030622 branch loadcode_hci 
+:      030624 iicd_load_gpio_init:
+0x5c36 030625 fetch 1 ,mem_eeprom_sda_gpio 
+0x5c37 030626 fetcht 1 ,mem_eeprom_scl_gpio 
+0x5c38 030627 isub temp ,null 
+0x5c39 030628 nbranch iicd_read_init_pin ,zero 
+:      030629 iicd_load_default_gpio:
+0x5c3a 030630 setarg 0x000102 
+0x5c3b 030631 store 3 ,mem_eeprom_wp_gpio 
+0x5c3c 030632 branch iicd_read_init_pin 
+:      030634 loadcode_spi:
+0x5c3d 030635 jam 0 ,mem_loadcode_times 
+:      030636 loadcode_spi_loop:
+0x5c3e 030637 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c3f 030638 bbit1 ucode_flag_skip_flash ,loadcode_hci 
+0x5c40 030639 call loadcode_timeout 
+0x5c41 030640 nbranch loadcode_hci ,positive 
+0x5c42 030641 call spid_init_flash 
+0x5c43 030642 nop 200 
+0x5c44 030643 call spid_flash_release_form_powerdown 
+0x5c45 030644 nop 100 
+0x5c46 030645 arg spid_load_flash ,regc 
+0x5c47 030646 call read_first_block 
+0x5c48 030647 call load_storage 
+0x5c49 030648 nbranch loadcode_spi_loop ,match 
+0x5c4a 030649 fetch 1 ,mem_ucode_status 
+0x5c4b 030650 bbit0 0 ,loadcode_spi_loop 
+:      030652 loadcode_hci:
+0x5c4c 030653 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c4d 030654 bbit0 ucode_flag_hci ,clear_key_buf 
+0x5c4e 030655 call clear_key_buf 
+0x5c4f 030656 branch hci_init 
+:      030658 clear_key_buf:
+0x5c50 030659 setarg 0 
+0x5c51 030660 store 4 ,mem_tmp_buffer + efuse_offset_key_addr 
+0x5c52 030661 store 8 ,mem_ucode_keybuf 
+0x5c53 030662 istore 8 ,contw 
+0x5c54 030663 force regidx_key ,regext_index 
+0x5c55 030664 call aes_clear 
+0x5c56 030665 jam 0x21 ,core_clkoff 
+0x5c57 030666 rtn 
+:      030672 loadcode_timeout:
+0x5c58 030673 call loadcode_error_delay 
+0x5c59 030674 fetch 1 ,mem_loadcode_times 
+0x5c5a 030675 increase 1 ,pdata 
+0x5c5b 030676 sub pdata ,3 ,null 
+0x5c5c 030677 store 1 ,mem_loadcode_times 
+0x5c5d 030678 rtn 
+:      030680 loadcode_error_delay:
+0x5c5e 030681 fetch 1 ,mem_loadcode_times 
+0x5c5f 030682 rtn blank 
+0x5c60 030683 fetch 1 ,mem_tmp_buffer + efuse_offset_loadcode_delay 
+0x5c61 030684 and_into 0x40 ,pdata 
+0x5c62 030685 rtn blank 
+0x5c63 030686 branch delay_50ms 
+:      030691 loadcode_efuse_check_xor:
+0x5c64 030692 rshift4 pdata ,temp 
+0x5c65 030693 and pdata ,0x0f ,pdata 
+0x5c66 030694 ixor temp ,pdata 
+0x5c67 030695 rtn 
+:      030697 loadcode_efuse_check:
+0x5c68 030698 fetch 4 ,mem_tmp_buffer 
+0x5c69 030699 rtn blank 
+0x5c6a 030700 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c6b 030701 call loadcode_efuse_check_xor 
+0x5c6c 030702 bne 0x0f ,disable_user 
+0x5c6d 030703 fetch 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+0x5c6e 030704 call loadcode_efuse_check_xor 
+0x5c6f 030705 bne 0x0f ,disable_user 
+:      030707 loadcode_efuse_check_sum:
+0x5c70 030708 fetch 1 ,mem_tmp_buffer 
+0x5c71 030709 ifetcht 1 ,contr 
+0x5c72 030710 iadd temp ,pdata 
+0x5c73 030711 ifetcht 1 ,contr 
+0x5c74 030712 iadd temp ,pdata 
+0x5c75 030713 ifetcht 1 ,contr 
+0x5c76 030714 iadd temp ,rega 
+0x5c77 030715 arg mem_tmp_buffer ,pdata 
+0x5c78 030716 iadd temp ,contr 
+0x5c79 030717 copy rega ,pdata 
+0x5c7a 030718 ifetchr loopcnt ,1 ,contr 
+0x5c7b 030719 iadd loopcnt ,pdata 
+0x5c7c 030720 call cal_sum 
+0x5c7d 030721 call loadcode_efuse_check_sum_loop 
+0x5c7e 030722 ifetcht 1 ,contr 
+0x5c7f 030723 and pdata ,0xff ,pdata 
+0x5c80 030724 isub temp ,null 
+0x5c81 030725 nbranch disable_user ,zero 
+0x5c82 030726 rtn 
+:      030728 loadcode_efuse_check_sum_loop:
+0x5c83 030729 ifetchr loopcnt ,1 ,contr 
+0x5c84 030730 sub loopcnt ,0 ,null 
+0x5c85 030731 rtn zero 
+0x5c86 030732 iadd loopcnt ,pdata 
+0x5c87 030733 increase 2 ,loopcnt 
+0x5c88 030734 call cal_sum 
+0x5c89 030735 branch loadcode_efuse_check_sum_loop 
+:      030737 loadcode_iic_by_eeprom:
+0x5c8a 030738 setarg 0x0 
+0x5c8b 030739 store 2 ,mem_addr_mi 
+0x5c8c 030740 arg iicd_read_eep ,regc 
+0x5c8d 030741 call iic_init_600khz 
+0x5c8e 030742 call read_first_block 
+0x5c8f 030743 branch load_storage 
+:      030754 loadcode_error:
+0x5c90 030755 call clear_key_buf 
+0x5c91 030756 branch app_lpm_mpu_lock_br_ble 
+:      030760 set_ucode_status:
+0x5c92 030761 fetch 1 ,mem_ucode_status 
+0x5c93 030762 lshift pdata ,pdata 
+0x5c94 030763 setflag true ,0 ,pdata 
+0x5c95 030764 isolate0 15 ,rega 
+0x5c96 030765 rtn true 
+0x5c97 030766 store 1 ,mem_ucode_status 
+0x5c98 030767 rtn 
+:      030770 decrypt_code:
+0x5c99 030771 fetch 1 ,core_aes_en 
+0x5c9a 030772 rtnbit0 1 
+0x5c9b 030773 branch decrypt_code_skip 
+:      030774 decrypt_code_loop:
+0x5c9c 030775 fetch 1 ,core_dma_status 
+0x5c9d 030776 qisolate1 pdata 
+0x5c9e 030777 rtn true 
+:      030778 decrypt_code_skip:
+0x5c9f 030779 fetch 1 ,core_misc_status 
+0x5ca0 030780 bbit0 1 ,decrypt_code_loop 
+0x5ca1 030781 call do_aes_cbc 
+0x5ca2 030782 branch decrypt_code_loop 
+:      030802 load_ucode:
+0x5ca3 030803 fetch 2 ,mem_patch_ptr 
+0x5ca4 030804 rtn blank 
+0x5ca5 030805 jam 0x80 ,core_ucode_ctrl 
+0x5ca6 030806 jam 0 ,core_ucode_hi 
+0x5ca7 030807 jam 0 ,core_ucode_low 
+0x5ca8 030808 fetcht 2 ,mem_patch_len 
+0x5ca9 030809 lshift2 temp ,loopcnt 
+0x5caa 030810 iforce contr 
+:      030811 load_ucode_loop:
+0x5cab 030812 ifetch 1 ,contr 
+0x5cac 030813 store 1 ,core_ucode_data 
+0x5cad 030814 loop load_ucode_loop 
+0x5cae 030815 jam 0x0 ,core_ucode_ctrl 
+0x5caf 030816 rtn 
+:      030821 app_read_efuse_app_vsel:
+0x5cb0 030822 fetch 1 ,mem_tmp_buffer + efuse_offset_app_vsel 
+0x5cb1 030823 and_into 0x0f ,pdata 
+0x5cb2 030824 isolate1 3 ,pdata 
+0x5cb3 030825 setflag true ,4 ,pdata 
+0x5cb4 030826 lshift pdata ,pdata 
+0x5cb5 030827 store 1 ,mem_lpm_ctrl3 
+0x5cb6 030828 branch lpm_write_sel_vdd 
+:      030830 app_read_efuse_sys_config:
+0x5cb7 030831 fetch 1 ,mem_tmp_buffer + efuse_offset_device_option 
+0x5cb8 030832 and_into 0x0f ,pdata 
+0x5cb9 030833 rtn blank 
+0x5cba 030834 store 1 ,mem_device_option 
+0x5cbb 030835 fetch 1 ,mem_tmp_buffer + efuse_offset_xtal_offset 
+0x5cbc 030836 store 1 ,mem_lpm_ctrim 
+0x5cbd 030837 fetch 1 ,mem_tmp_buffer + efuse_offset_xtal_cnt 
+0x5cbe 030838 store 1 ,mem_lpm_xtalcnt 
+0x5cbf 030839 rtn 
+:      030841 app_read_efuse_dig_aon_vsel:
+0x5cc0 030842 fetch 1 ,mem_tmp_buffer + efuse_offset_dig_aon_vsel 
+0x5cc1 030843 and_into 0x30 ,pdata 
+0x5cc2 030844 rshift4 pdata ,pdata 
+0x5cc3 030845 rtn blank 
+0x5cc4 030846 store 1 ,mem_dig_aon_vsel 
+0x5cc5 030847 rtn 
+:      030849 app_read_efuse_syn_afc_cfg1:
+0x5cc6 030850 fetch 1 ,mem_tmp_buffer + efuse_offset_tx_vco_current 
+0x5cc7 030851 and_into 0x0f ,pdata 
+0x5cc8 030852 rtn blank 
+0x5cc9 030853 store 1 ,mem_syn_afc_cfg1 
+0x5cca 030854 rtn 
+:      030856 app_read_efuse_rf_ldo_cfg1:
+0x5ccb 030857 fetch 1 ,mem_tmp_buffer + efuse_offset_ldo_cfg1 
+0x5ccc 030858 and_into 0x30 ,pdata 
+0x5ccd 030859 rshift4 pdata ,pdata 
+0x5cce 030860 rtn blank 
+0x5ccf 030861 store 1 ,mem_rf_ldo_cfg1 
+0x5cd0 030862 rtn 
+:      030864 app_read_efuse_rc_cal:
+0x5cd1 030865 fetch 1 ,mem_tmp_buffer + efuse_offset_rc_cal 
+0x5cd2 030866 rtn blank 
+0x5cd3 030867 store 1 ,mem_rc_cal 
+0x5cd4 030868 rtn 
+:      030870 app_read_efuse_agc:
+0x5cd5 030871 fetch 1 ,mem_tmp_buffer + efuse_offset_agc_sel 
+0x5cd6 030872 bbit1 7 ,app_disable_soft_agc 
+0x5cd7 030873 jam 0x88 ,mem_gain_table 
+0x5cd8 030874 jam 0x66 ,mem_gain_table + 1 
+0x5cd9 030875 jam 0x44 ,mem_gain_table + 2 
+0x5cda 030876 fetch 2 ,mem_tmp_buffer + efuse_offset_agc_table 
+0x5cdb 030877 rtn blank 
+0x5cdc 030878 store 2 ,mem_gain_table + 1 
+0x5cdd 030879 rtn 
+:      030881 app_disable_soft_agc:
+0x5cde 030882 jam 0xff ,mem_gain_fix 
+0x5cdf 030883 fetch 1 ,mem_tmp_buffer + efuse_offset_agc_sec_en 
+0x5ce0 030884 and_into 0x40 ,pdata 
+0x5ce1 030885 rshift3 pdata ,pdata 
+0x5ce2 030886 store 1 ,mem_gain_second_agc_en 
+0x5ce3 030887 rtn 
+:      030890 app_lpm_efuse_lock_prep:
+0x5ce4 030891 jam 0x73 ,0x8002 
+0x5ce5 030892 until null ,lpo_edge 
+0x5ce6 030893 until null ,lpo_edge 
+0x5ce7 030894 fetch 2 ,core_ucode_flag 
+0x5ce8 030895 set0 13 ,pdata 
+0x5ce9 030896 store 2 ,core_lpm_reg 
+0x5cea 030897 branch lpm_write2_ctrl_option 
+:      030901 app_lpm_peripheral_lock_check:
+0x5ceb 030902 fetch 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+0x5cec 030903 and pdata ,0x0f ,pdata 
+0x5ced 030904 beq dvc_op_module ,app_lpm_peripheral_lock_module 
+0x5cee 030905 beq dvc_op_hci ,app_lpm_peripheral_lock_hci 
+0x5cef 030906 beq dvc_op_dongle ,app_lpm_peripheral_lock_dongle 
+0x5cf0 030907 beq dvc_op_mouse ,app_lpm_peripheral_lock_mouse 
+0x5cf1 030908 beq dvc_op_shutter ,app_lpm_peripheral_lock_shutter 
+0x5cf2 030909 beq dvc_op_ali_mesh ,app_lpm_peripheral_lock_mesh 
+0x5cf3 030910 beq dvc_op_hci_boot ,app_lpm_peripheral_lock_hciboot 
+0x5cf4 030911 beq dvc_op_remote_car ,app_lpm_peripheral_lock_remote_car 
+0x5cf5 030912 beq dvc_op_car ,app_lpm_peripheral_lock_car 
+0x5cf6 030913 beq dvc_op_antilost ,app_lpm_peripheral_lock_antilost 
+0x5cf7 030914 rtn 
+:      030916 app_lpm_peripheral_lock_module:
+:      030917 app_lpm_peripheral_lock_hci:
+:      030918 app_lpm_peripheral_lock_hciboot:
+0x5cf8 030919 call app_lpm_efuse_lock_prep 
+0x5cf9 030920 call app_lpm_mpu_lock_mesh 
+0x5cfa 030921 branch lpm_write_lock 
+:      030923 app_lpm_peripheral_lock_dongle:
+0x5cfb 030924 call app_lpm_efuse_lock_prep 
+0x5cfc 030925 arg module_init ,pdata 
+0x5cfd 030926 arg ui_soft_switch_power_off ,temp 
+0x5cfe 030927 call app_mpu_s0_lock 
+0x5cff 030928 branch lpm_write_lock 
+:      030931 app_lpm_peripheral_lock_mouse:
+0x5d00 030932 call app_lpm_efuse_lock_prep 
+0x5d01 030933 arg antilost_init ,pdata 
+0x5d02 030934 arg module_set_state ,temp 
+0x5d03 030935 call app_mpu_s0_lock 
+0x5d04 030936 branch lpm_write_lock 
+:      030938 app_lpm_peripheral_lock_shutter:
+0x5d05 030939 call app_lpm_efuse_lock_prep 
+0x5d06 030940 arg antilost_init ,pdata 
+0x5d07 030941 arg remote_car_moto_data_enable_user ,temp 
+0x5d08 030942 call app_mpu_s0_lock 
+0x5d09 030943 branch lpm_write_lock 
+:      030945 app_lpm_peripheral_lock_mesh:
+0x5d0a 030946 call app_lpm_efuse_lock_prep 
+0x5d0b 030947 call app_lpm_mpu_lock_app 
+0x5d0c 030948 branch lpm_write_lock 
+:      030950 app_lpm_peripheral_lock_remote_car:
+0x5d0d 030951 call app_lpm_efuse_lock_prep 
+0x5d0e 030952 arg antilost_init ,pdata 
+0x5d0f 030953 arg mouse_low_voltage_led_no_enter_lpm_blink ,temp 
+0x5d10 030954 call app_mpu_s0_lock 
+0x5d11 030955 branch lpm_write_lock 
+:      030957 app_lpm_peripheral_lock_car:
+0x5d12 030958 call app_lpm_efuse_lock_prep 
+0x5d13 030959 arg dongle_init ,pdata 
+0x5d14 030960 arg ui_soft_switch_power_off ,temp 
+0x5d15 030961 call app_mpu_s0_lock 
+0x5d16 030962 branch lpm_write_lock 
+:      030964 app_lpm_peripheral_lock_antilost:
+0x5d17 030965 call app_lpm_efuse_lock_prep 
+0x5d18 030966 arg car_init ,pdata 
+0x5d19 030967 arg ui_soft_switch_power_off ,temp 
+0x5d1a 030968 call app_mpu_s0_lock 
+0x5d1b 030969 branch lpm_write_lock 
+:      030971 app_lpm_mpu_lock_mesh:
+0x5d1c 030972 arg ali_mesh_access_layer_resolve_message ,pdata 
+0x5d1d 030973 arg ali_mesh_upper_transport_layer_clear_tx_buffer ,temp 
+0x5d1e 030974 branch app_mpu_s0_lock 
+:      030978 app_lpm_mpu_lock_module:
+0x5d1f 030979 call app_lpm_efuse_lock_prep 
+0x5d20 030980 arg module_init ,pdata 
+0x5d21 030981 arg module_set_state ,temp 
+:      030982 app_mpu_s0_lock:
+0x5d22 030983 store 2 ,core_mpu_s0_saddr 
+0x5d23 030984 storet 2 ,core_mpu_s0_eaddr 
+0x5d24 030985 rtn 
+:      030987 app_lpm_mpu_lock_app:
+0x5d25 030988 arg antilost_init ,pdata 
+0x5d26 030989 arg ui_soft_switch_power_off ,temp 
+0x5d27 030990 branch app_mpu_s0_lock 
+:      030992 app_lpm_mpu_lock_br:
+0x5d28 030993 arg parse_lmp ,pdata 
+0x5d29 030994 arg remote_auth ,temp 
+0x5d2a 030995 branch app_mpu_s1_lock 
+:      030997 app_lpm_mpu_lock_ble:
+0x5d2b 030998 arg le_parse_att ,pdata 
+0x5d2c 030999 arg le_send_ll_one_lenth ,temp 
+:      031000 app_mpu_s1_lock:
+0x5d2d 031001 store 2 ,core_mpu_s1_saddr 
+0x5d2e 031002 storet 2 ,core_mpu_s1_eaddr 
+0x5d2f 031003 rtn 
+:      031005 app_lpm_mpu_lock_24g:
+0x5d30 031006 arg g24_prep ,pdata 
+0x5d31 031007 arg power_ctrl_pac_succ_cnt_reinit ,temp 
+0x5d32 031008 branch app_mpu_s1_lock 
+:      031010 app_lpm_mpu_lock_br_ble:
+0x5d33 031011 call app_lpm_mpu_lock_br 
+0x5d34 031012 arg le_parse_att ,pdata 
+0x5d35 031013 arg le_send_ll_one_lenth ,temp 
+0x5d36 031014 branch app_mpu_s0_lock 
+:      031016 app_lpm_mpu_mode_lock:
+0x5d37 031017 fetch 1 ,mem_tmp_buffer + efuse_offset_peripherals_lock 
+0x5d38 031018 and pdata ,0xc0 ,pdata 
+0x5d39 031019 beq 0xc0 ,app_lpm_mpu_lock_br_ble 
+0x5d3a 031020 bbit1 efuse_le_lock_bit ,app_lpm_mpu_lock_ble 
+0x5d3b 031021 bbit1 efuse_br_lock_bit ,app_lpm_mpu_lock_br 
+0x5d3c 031022 rtn 
+:      031025 lpm_write_lock:
+0x5d3d 031026 call app_lpm_mpu_mode_lock 
+0x5d3e 031027 fetch 1 ,mem_tmp_buffer + efuse_offset_peripherals_lock 
+0x5d3f 031028 and pdata ,0x1f ,rega 
+0x5d40 031029 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5d41 031030 and pdata ,0x0f ,pdata 
+0x5d42 031031 fetcht 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+0x5d43 031032 and temp ,0x0f ,temp 
+0x5d44 031033 lshift4 temp ,temp 
+0x5d45 031034 ior temp ,pdata 
+0x5d46 031035 lshift8 rega ,rega 
+0x5d47 031036 ior rega ,pdata 
+0x5d48 031037 set1 lpmreg_rom_lock_bit ,pdata 
+0x5d49 031038 set1 lpmreg_ice_mode_bit ,pdata 
+0x5d4a 031039 store 4 ,core_lpm_reg 
+0x5d4b 031040 call lpm_write2_ctrl_option 
+0x5d4c 031041 jam 8 ,core_encrypt 
+0x5d4d 031042 rtn 
+:      031048 lpm_write2_ctrl_option:
+0x5d4e 031049 setarg lpmreg_sel_option 
+:      031050 lpm_write2:
+0x5d4f 031051 until null ,lpo_edge 
+0x5d50 031052 store 1 ,core_lpm_wr2 
+0x5d51 031053 until null ,lpo_edge 
+0x5d52 031054 until null ,lpo_edge 
+0x5d53 031055 rtn 
+:      031066 spid_init:
+0x5d54 031067 bpatchx patch24_0 ,mem_patch24 
+:      031068 spid_init_common:
+0x5d55 031069 fetch 1 ,mem_spi_init_clk 
+0x5d56 031070 store 1 ,core_spid_ctrl 
+0x5d57 031071 fetch 1 ,mem_spi_init_delay_time 
+0x5d58 031072 store 1 ,core_spid_delay 
+0x5d59 031073 setarg mem_spid_tbuf 
+0x5d5a 031074 store 2 ,core_spid_txaddr 
+0x5d5b 031075 setarg mem_spid_rbuf 
+0x5d5c 031076 store 2 ,core_spid_rxaddr 
+0x5d5d 031077 branch twspi_disable 
+:      031080 twspi_write:
+:      031082 spid_write_reg:
+0x5d5e 031083 set1 7 ,pdata 
+0x5d5f 031084 store 2 ,mem_spid_tbuf 
+0x5d60 031085 bpatchx patch24_1 ,mem_patch24 
+0x5d61 031086 jam 2 ,core_spid_txlen 
+0x5d62 031087 jam 0 ,core_spid_rxlen 
+0x5d63 031088 jam spid_start ,core_misc_ctrl 
+0x5d64 031089 branch wait_spid_done 
+:      031092 twspi_read:
+:      031094 spid_read_reg:
+0x5d65 031095 force 1 ,temp 
+:      031096 spid_read_regs:
+0x5d66 031097 store 1 ,mem_spid_tbuf 
+0x5d67 031098 bpatchx patch24_2 ,mem_patch24 
+0x5d68 031099 jam 1 ,core_spid_txlen 
+0x5d69 031100 storet 2 ,core_spid_rxlen 
+0x5d6a 031101 jam spid_start ,core_misc_ctrl 
+0x5d6b 031102 call wait_spid_done 
+0x5d6c 031103 fetch 1 ,mem_spid_rbuf 
+0x5d6d 031104 rtn 
+:      031107 wait_spid_done:
+0x5d6e 031108 fetch 2 ,mem_afh_error_total 
+0x5d6f 031109 increase 1 ,pdata 
+0x5d70 031110 store 2 ,mem_afh_error_total 
+0x5d71 031111 fetch 1 ,core_dma_status 
+0x5d72 031112 bbit0 spid_done ,wait_spid_done 
+0x5d73 031113 rtn 
+:      031121 flash_write:
+0x5d74 031122 disable user 
+0x5d75 031123 copy pdata ,regb 
+0x5d76 031124 fetch 1 ,mem_spi_write_flash_sm 
+0x5d77 031125 rtnne flash_sm_no_buys 
+0x5d78 031126 enable user 
+0x5d79 031127 copy regb ,pdata 
+0x5d7a 031128 branch spid_flash_write_start 
+:      031131 flash_write_spi_sm_timer:
+0x5d7b 031132 fetch 1 ,mem_spi_write_flash_sm 
+0x5d7c 031133 beq flash_sm_start ,spid_flash_write_start 
+0x5d7d 031134 beq flash_sm_erase_sector ,spid_flash_erase_sector 
+0x5d7e 031135 beq flash_sm_wait_erase_sector ,spid_flash_wait_erase_sector 
+0x5d7f 031136 beq flash_sm_write_data ,spid_flash_write_data 
+0x5d80 031137 beq flash_sm_wait_write_data ,spid_flash_wait_write_data 
+0x5d81 031138 rtn 
+:      031140 spid_flash_write_start:
+0x5d82 031141 store 3 ,mem_spi_write_addr 
+0x5d83 031142 copy rega ,pdata 
+0x5d84 031143 store 2 ,mem_spi_write_ptr 
+0x5d85 031144 storet 2 ,mem_spi_write_len 
+0x5d86 031145 jam flash_sm_erase_sector ,mem_spi_write_flash_sm 
+0x5d87 031146 branch spid_init_flash 
+:      031147 spid_flash_erase_sector:
+0x5d88 031148 call spid_init_flash 
+0x5d89 031149 jam flash_sm_wait_erase_sector ,mem_spi_write_flash_sm 
+0x5d8a 031150 call spid_unlock_flash 
+0x5d8b 031151 arg mem_spid_tbuf ,rega 
+0x5d8c 031152 jam 4 ,core_spid_txlen 
+0x5d8d 031153 fetch 3 ,mem_spi_write_addr 
+0x5d8e 031154 arg flash_command_sector_erase ,temp 
+0x5d8f 031155 branch spid_write_flash_common 
+:      031157 spid_flash_wait_erase_sector:
+0x5d90 031158 call spid_init_flash 
+0x5d91 031159 call wait_spid_flash_done 
+0x5d92 031160 jam flash_sm_write_data ,mem_spi_write_flash_sm 
+0x5d93 031161 rtn 
+:      031164 spid_flash_write_data:
+0x5d94 031165 call spid_init_flash 
+0x5d95 031166 jam flash_sm_wait_write_data ,mem_spi_write_flash_sm 
+0x5d96 031167 call spid_unlock_flash 
+0x5d97 031168 call spid_flash_data_preserve 
+0x5d98 031169 call spid_write_flash 
+0x5d99 031170 branch spid_flash_data_recover 
+:      031171 spid_flash_wait_write_data:
+0x5d9a 031172 call spid_init_flash 
+0x5d9b 031173 call spid_unlock_flash 
+0x5d9c 031174 setarg flash_read_satus 
+0x5d9d 031175 call spid_read_reg 
+0x5d9e 031176 rtnbit1 flash_status_wip 
+0x5d9f 031177 jam flash_sm_no_buys ,mem_spi_write_flash_sm 
+0x5da0 031178 fetch 2 ,mem_cb_spi_flash_write_complate 
+0x5da1 031179 branch callback_func 
+:      031180 spid_flash_data_recover:
+0x5da2 031181 fetch 4 ,mem_temp 
+0x5da3 031182 fetcht 2 ,mem_spi_write_ptr 
+:      031183 spid_flash_data_recover_comm:
+0x5da4 031184 increase -4 ,temp 
+0x5da5 031185 istore 4 ,temp 
+0x5da6 031186 rtn 
+:      031187 spid_flash_data_preserve:
+0x5da7 031188 fetcht 2 ,mem_spi_write_ptr 
+0x5da8 031189 copy temp ,rega 
+0x5da9 031190 increase -4 ,temp 
+0x5daa 031191 ifetch 4 ,temp 
+0x5dab 031192 store 4 ,mem_temp 
+0x5dac 031193 fetcht 2 ,mem_spi_write_len 
+0x5dad 031194 fetch 3 ,mem_spi_write_addr 
+0x5dae 031195 rtn 
+:      031197 spid_init_flash:
+0x5daf 031198 call spi_gpio_init 
+0x5db0 031199 call twspi_disable 
+0x5db1 031200 setarg 0 
+0x5db2 031201 store 4 ,mem_spid_tbuf 
+0x5db3 031202 rtn 
+:      031204 spid_unlock_flash:
+0x5db4 031205 jam flash_command_write_enable ,mem_spid_tbuf 
+:      031206 spid_sendcmd_common:
+0x5db5 031207 setarg 0 
+0x5db6 031208 store 2 ,core_spid_rxlen 
+0x5db7 031209 setarg 1 
+0x5db8 031210 store 2 ,core_spid_txlen 
+0x5db9 031211 setarg mem_spid_tbuf 
+0x5dba 031212 store 2 ,core_spid_txaddr 
+0x5dbb 031213 jam spid_start ,core_misc_ctrl 
+0x5dbc 031214 branch wait_spid_done 
+:      031216 spid_flash_release_form_powerdown:
+0x5dbd 031217 jam flash_command_release_from_powerdown ,mem_spid_tbuf 
+0x5dbe 031218 branch spid_sendcmd_common 
+:      031220 spid_flash_powerdown:
+0x5dbf 031221 jam flash_command_powerdown ,mem_spid_tbuf 
+0x5dc0 031222 branch spid_sendcmd_common 
+:      031225 spid_write_flash:
+0x5dc1 031226 increase 4 ,temp 
+0x5dc2 031227 storet 2 ,core_spid_txlen 
+0x5dc3 031228 arg flash_command_write_data ,temp 
+0x5dc4 031229 increase -4 ,rega 
+:      031231 spid_write_flash_common:
+0x5dc5 031232 istoret 1 ,rega 
+0x5dc6 031233 rshift16 pdata ,temp 
+0x5dc7 031234 istoret 1 ,contw 
+0x5dc8 031235 rshift8 pdata ,temp 
+0x5dc9 031236 istoret 1 ,contw 
+0x5dca 031237 istore 1 ,contw 
+0x5dcb 031238 deposit rega 
+0x5dcc 031239 store 2 ,core_spid_txaddr 
+0x5dcd 031240 setarg 0 
+0x5dce 031241 store 2 ,core_spid_rxlen 
+0x5dcf 031242 jam spid_start ,core_misc_ctrl 
+0x5dd0 031243 call wait_spid_done 
+0x5dd1 031244 branch wait_spid_flash_done 
+:      031248 spid_read_flash:
+0x5dd2 031249 storet 2 ,core_spid_rxlen 
+0x5dd3 031250 rshift16 pdata ,temp 
+0x5dd4 031251 storet 1 ,mem_addr_hi 
+0x5dd5 031252 rshift8 pdata ,temp 
+0x5dd6 031253 storet 1 ,mem_addr_mi 
+0x5dd7 031254 store 1 ,mem_addr_lo 
+0x5dd8 031255 setarg 4 
+0x5dd9 031256 store 2 ,core_spid_txlen 
+0x5dda 031257 jam flash_command_read_data ,mem_spid_tbuf 
+0x5ddb 031258 setarg mem_spid_tbuf 
+0x5ddc 031259 store 2 ,core_spid_txaddr 
+0x5ddd 031260 deposit rega 
+0x5dde 031261 store 2 ,core_spid_rxaddr 
+0x5ddf 031262 fetch 1 ,core_spid_ctrl 
+0x5de0 031263 isolate0 15 ,rega 
+0x5de1 031264 setflag true ,6 ,pdata 
+0x5de2 031265 store 1 ,core_spid_ctrl 
+0x5de3 031266 jam spid_start ,core_misc_ctrl 
+:      031267 spid_read_flash_wait:
+0x5de4 031268 fetch 1 ,core_dma_status 
+0x5de5 031269 bbit1 7 ,spid_read_flash_wait 
+0x5de6 031270 arg spid_done ,queue 
+0x5de7 031271 branch wait_spid_done 
+:      031273 wait_spid_flash_done:
+0x5de8 031274 setarg 2000 
+0x5de9 031275 call sleep 
+0x5dea 031276 call spid_unlock_flash 
+0x5deb 031277 setarg mem_spid_rbuf 
+0x5dec 031278 store 2 ,core_spid_rxaddr 
+0x5ded 031279 setarg flash_read_satus 
+0x5dee 031280 call spid_read_reg 
+0x5def 031281 bbit1 flash_status_wip ,wait_spid_flash_done 
+0x5df0 031282 rtn 
+:      031286 spid_load_flash:
+0x5df1 031287 storet 2 ,core_spid_rxlen 
+0x5df2 031288 setarg 4 
+0x5df3 031289 store 2 ,core_spid_txlen 
+0x5df4 031290 jam 3 ,mem_spid_tbuf 
+0x5df5 031291 setarg mem_spid_tbuf 
+0x5df6 031292 store 2 ,core_spid_txaddr 
+0x5df7 031293 deposit rega 
+0x5df8 031294 store 2 ,core_spid_rxaddr 
+0x5df9 031295 fetch 1 ,core_spid_ctrl 
+0x5dfa 031296 isolate0 15 ,rega 
+0x5dfb 031297 setflag true ,6 ,pdata 
+0x5dfc 031298 store 1 ,core_spid_ctrl 
+0x5dfd 031299 jam spid_start ,core_misc_ctrl 
+:      031300 spi_load_flash_wait:
+0x5dfe 031301 fetch 1 ,core_dma_status 
+0x5dff 031302 bbit1 7 ,spi_load_flash_wait 
+0x5e00 031303 arg spid_done ,queue 
+0x5e01 031304 call decrypt_code 
+0x5e02 031305 call wait_spid_done 
+0x5e03 031306 isolate1 spid_crcok ,pdata 
+0x5e04 031307 call set_ucode_status 
+0x5e05 031308 fetch 1 ,mem_addr_hi 
+0x5e06 031309 lshift16 pdata ,regb 
+0x5e07 031310 fetch 1 ,mem_addr_mi 
+0x5e08 031311 lshift8 pdata ,pdata 
+0x5e09 031312 ior regb ,regb 
+0x5e0a 031313 fetch 1 ,mem_addr_lo 
+0x5e0b 031314 ior regb ,pdata 
+0x5e0c 031315 iadd temp ,pdata 
+0x5e0d 031316 store 1 ,mem_addr_lo 
+0x5e0e 031317 rshift8 pdata ,pdata 
+0x5e0f 031318 store 1 ,mem_addr_mi 
+0x5e10 031319 rshift8 pdata ,pdata 
+0x5e11 031320 store 1 ,mem_addr_hi 
+0x5e12 031321 rtn 
+:      031323 spi_gpio_init:
+0x5e13 031324 fetch 1 ,mem_spi_cs_gpio 
+0x5e14 031325 fetcht 1 ,mem_spi_so_gpio 
+0x5e15 031326 isub temp ,null 
+0x5e16 031327 nbranch spi_pin_set ,zero 
+0x5e17 031328 call spi_gpio_default_init 
+:      031330 spi_pin_set:
+0x5e18 031331 fetch 1 ,mem_spi_cs_gpio 
+0x5e19 031332 arg gpcfg_spid_ncs ,temp 
+0x5e1a 031333 call gpio_config_function_int 
+0x5e1b 031334 fetch 1 ,mem_spi_sclk_gpio 
+0x5e1c 031335 arg gpcfg_spid_sck ,temp 
+0x5e1d 031336 call gpio_config_function_int 
+0x5e1e 031337 fetch 1 ,mem_spi_si_gpio 
+0x5e1f 031338 arg gpcfg_spid_mosi ,temp 
+0x5e20 031339 call gpio_config_function_int 
+0x5e21 031340 fetch 1 ,mem_spi_so_gpio 
+0x5e22 031341 arg gpcfg_spid_miso ,temp 
+0x5e23 031342 branch gpio_config_function_int 
+:      031344 spi_gpio_default_init:
+0x5e24 031345 setarg 0x100d0e 
+0x5e25 031346 store 3 ,mem_spi_cs_gpio 
+0x5e26 031347 setarg 0x12110f 
+0x5e27 031348 istore 3 ,contw 
+0x5e28 031349 rtn 
+:      031354 soft_reset_chip:
+0x5e29 031355 jam 1 ,core_reset 
+0x5e2a 031356 rtn 
+:      031362 iic_init_600khz:
+0x5e2b 031363 jam 5 ,core_iicd_scl_low 
+0x5e2c 031364 jam 7 ,core_iicd_scl_high 
+0x5e2d 031365 jam 7 ,core_iicd_start_setup 
+0x5e2e 031366 jam 7 ,core_iicd_start_hold 
+0x5e2f 031367 jam 7 ,core_iicd_stop_setup 
+0x5e30 031368 jam 5 ,core_iicd_data_setup 
+0x5e31 031369 jam 0 ,core_iicd_data_hold 
+0x5e32 031370 rtn 
+:      031372 iic_init_360khz:
+0x5e33 031373 jam 12 ,core_iicd_scl_low 
+0x5e34 031374 jam 13 ,core_iicd_scl_high 
+0x5e35 031375 jam 13 ,core_iicd_start_setup 
+0x5e36 031376 jam 13 ,core_iicd_start_hold 
+0x5e37 031377 jam 13 ,core_iicd_stop_setup 
+0x5e38 031378 jam 12 ,core_iicd_data_setup 
+0x5e39 031379 jam 0 ,core_iicd_data_hold 
+0x5e3a 031380 rtn 
+:      031382 iicd_init_pin:
+0x5e3b 031383 call iicd_eeprom_write_enable 
+:      031384 iicd_init_pin_scl_sda:
+0x5e3c 031385 fetch 1 ,mem_eeprom_scl_gpio 
+0x5e3d 031386 arg gpcfg_iic_scl | gpcfg_pullup ,temp 
+0x5e3e 031387 call gpio_config_function_int 
+0x5e3f 031388 fetch 1 ,mem_eeprom_sda_gpio 
+0x5e40 031389 arg gpcfg_iic_sda | gpcfg_pullup ,temp 
+0x5e41 031390 branch gpio_config_function_int 
+:      031392 iicd_read_init_pin:
+0x5e42 031393 call iicd_eeprom_write_disable 
+0x5e43 031394 branch iicd_init_pin_scl_sda 
+:      031396 wait_iicd_done:
+0x5e44 031397 fetch 1 ,core_dma_status 
+0x5e45 031398 bbit0 iicd_done ,wait_iicd_done 
+0x5e46 031399 rtn 
+:      031402 iicd_read_data:
+0x5e47 031403 store 1 ,mem_iicd_addr 
+0x5e48 031404 setarg mem_iicd_addr 
+0x5e49 031405 store 2 ,core_iicd_txaddr 
+0x5e4a 031406 setarg 1 
+0x5e4b 031407 store 2 ,core_iicd_txlen 
+0x5e4c 031408 storet 2 ,core_iicd_rxlen 
+0x5e4d 031409 storer rega ,2 ,core_iicd_rxaddr 
+0x5e4e 031410 jam 1 ,core_iicd_ctrl 
+0x5e4f 031411 jam iicd_start ,core_misc_ctrl 
+0x5e50 031412 branch wait_iicd_done 
+:      031415 iic_write_data:
+0x5e51 031416 setarg 0 
+0x5e52 031417 store 2 ,core_iicd_rxlen 
+0x5e53 031418 store 2 ,core_iicd_rxaddr 
+0x5e54 031419 storet 2 ,core_iicd_txlen 
+0x5e55 031420 storer rega ,2 ,core_iicd_txaddr 
+0x5e56 031421 jam 1 ,core_iicd_ctrl 
+0x5e57 031422 jam iicd_start ,core_misc_ctrl 
+0x5e58 031423 branch wait_iicd_done 
+:      031425 set_eeprom_size_2k:
+0x5e59 031426 set1 mark_eeprom_size ,mark 
+0x5e5a 031427 jam 0x08 ,mem_eeprom_block_size 
+0x5e5b 031428 rtn 
+:      031430 clear_eeprom_size_2k:
+0x5e5c 031431 set0 mark_eeprom_size ,mark 
+0x5e5d 031432 jam 0x20 ,mem_eeprom_block_size 
+0x5e5e 031433 rtn 
+:      031436 iicd_read_eep_data_size_2k:
+0x5e5f 031437 fetch 1 ,mem_eeprom_base 
+0x5e60 031438 iadd regb ,pdata 
+0x5e61 031439 store 1 ,mem_addr_mi 
+0x5e62 031440 branch iicd_read_eep_size_2k 
+:      031442 iicd_read_eep_size_2k_lcadcode:
+0x5e63 031443 fetch 2 ,mem_addr_mi 
+0x5e64 031444 byteswap pdata ,pdata 
+0x5e65 031445 store 1 ,mem_addr_mi 
+:      031450 iicd_read_eep_size_2k:
+0x5e66 031451 setarg 3 
+0x5e67 031452 store 2 ,core_iicd_txlen 
+0x5e68 031453 jam 0xa0 ,mem_iicd_tbuf 
+0x5e69 031454 jam 0xa1 ,mem_iicd_tbuf + 2 
+0x5e6a 031455 branch iicd_read_eep_common 
+:      031461 iicd_write_protect_eep_data:
+0x5e6b 031462 storet 2 ,mem_temp 
+0x5e6c 031463 call iicd_eeprom_write_enable 
+0x5e6d 031464 fetcht 2 ,mem_temp 
+0x5e6e 031465 call iicd_write_eep_data 
+0x5e6f 031466 branch iicd_eeprom_write_disable 
+:      031468 iicd_eeprom_write_enable:
+0x5e70 031469 fetch 1 ,mem_eeprom_wp_gpio 
+0x5e71 031470 rtneq gpio_disable 
+0x5e72 031471 bbit0 6 ,iicd_wp_gpio_output_low 
+0x5e73 031472 setarg 150000 
+0x5e74 031473 call sleep 
+:      031474 iicd_wp_gpio_output_low:
+0x5e75 031475 fetcht 1 ,mem_eeprom_wp_gpio 
+0x5e76 031476 branch gpio_out_active 
+:      031478 iicd_eeprom_write_disable:
+0x5e77 031479 fetcht 1 ,mem_eeprom_wp_gpio 
+0x5e78 031480 branch gpio_out_inactive 
+:      031485 iicd_read_eep_data:
+0x5e79 031486 bpatchx patch24_3 ,mem_patch24 
+0x5e7a 031487 bmark1 mark_eeprom_size ,iicd_read_eep_data_size_2k 
+0x5e7b 031488 fetch 2 ,mem_eeprom_base 
+0x5e7c 031489 iadd regb ,pdata 
+0x5e7d 031490 byteswap pdata ,pdata 
+0x5e7e 031491 store 2 ,mem_addr_mi 
+:      031494 iicd_read_eep:
+0x5e7f 031495 bpatchx patch24_4 ,mem_patch24 
+0x5e80 031496 bmark1 mark_eeprom_size ,iicd_read_eep_size_2k_lcadcode 
+0x5e81 031497 setarg 4 
+0x5e82 031498 store 2 ,core_iicd_txlen 
+0x5e83 031499 jam 0xa0 ,mem_iicd_tbuf 
+0x5e84 031500 jam 0xa1 ,mem_iicd_tbuf + 3 
+:      031501 iicd_read_eep_common:
+0x5e85 031502 setarg mem_iicd_tbuf 
+0x5e86 031503 store 2 ,core_iicd_txaddr 
+0x5e87 031504 storet 2 ,core_iicd_rxlen 
+0x5e88 031505 storer rega ,2 ,core_iicd_rxaddr 
+0x5e89 031506 setarg 2 
+0x5e8a 031507 isolate0 15 ,rega 
+0x5e8b 031508 setflag true ,0 ,pdata 
+0x5e8c 031509 store 1 ,core_iicd_ctrl 
+0x5e8d 031510 jam iicd_start ,core_misc_ctrl 
+0x5e8e 031511 arg iicd_done ,queue 
+0x5e8f 031512 call decrypt_code 
+0x5e90 031513 call wait_iicd_done 
+0x5e91 031514 isolate1 iicd_crcok ,pdata 
+0x5e92 031515 call set_ucode_status 
+0x5e93 031516 bmark1 mark_eeprom_size ,iicd_read_eep_load_code_size_2k 
+0x5e94 031517 fetch 2 ,mem_addr_mi 
+0x5e95 031518 byteswap pdata ,pdata 
+0x5e96 031519 iadd temp ,pdata 
+0x5e97 031520 byteswap pdata ,pdata 
+0x5e98 031521 store 2 ,mem_addr_mi 
+0x5e99 031522 rtn 
+:      031524 iicd_read_eep_load_code_size_2k:
+0x5e9a 031525 fetch 1 ,mem_addr_mi 
+0x5e9b 031526 iadd temp ,pdata 
+0x5e9c 031527 byteswap pdata ,pdata 
+0x5e9d 031528 store 2 ,mem_addr_mi 
+0x5e9e 031529 rtn 
+:      031535 iicd_write_eep_data:
+0x5e9f 031536 fetch 2 ,mem_eeprom_base 
+0x5ea0 031537 iadd regb ,pdata 
+:      031540 iicd_write_ota_data:
+0x5ea1 031541 store 2 ,mem_pdatatemp 
+0x5ea2 031542 bpatchx patch24_5 ,mem_patch24 
+0x5ea3 031543 storet 2 ,mem_temp 
+0x5ea4 031544 storer rega ,2 ,mem_contr 
+:      031545 iicd_write_eep_loop:
+0x5ea5 031546 call iicd_eep_transparency 
+0x5ea6 031548 fetcht 2 ,mem_regb 
+0x5ea7 031549 fetchr rega ,2 ,mem_contr 
+0x5ea8 031550 fetch 2 ,mem_pdatatemp 
+0x5ea9 031552 call iicd_write_eep 
+0x5eaa 031554 fetch 2 ,mem_regb 
+0x5eab 031555 fetcht 2 ,mem_contr 
+0x5eac 031556 iadd temp ,temp 
+0x5ead 031557 storet 2 ,mem_contr 
+0x5eae 031558 fetcht 2 ,mem_pdatatemp 
+0x5eaf 031559 iadd temp ,temp 
+0x5eb0 031560 storet 2 ,mem_pdatatemp 
+0x5eb1 031561 fetch 2 ,mem_temp 
+0x5eb2 031562 nbranch iicd_write_eep_loop ,blank 
+0x5eb3 031563 rtn 
+:      031571 iicd_eep_transparency:
+0x5eb4 031572 bpatchx patch24_6 ,mem_patch24 
+0x5eb5 031573 fetch 1 ,mem_eeprom_block_size 
+0x5eb6 031574 increase -1 ,pdata 
+0x5eb7 031575 fetcht 2 ,mem_pdatatemp 
+0x5eb8 031576 ior temp ,pdata 
+0x5eb9 031577 increase 1 ,pdata 
+0x5eba 031578 store 3 ,mem_regc 
+0x5ebb 031580 fetch 2 ,mem_temp 
+0x5ebc 031581 iadd temp ,pdata 
+0x5ebd 031583 fetcht 3 ,mem_regc 
+0x5ebe 031584 isub temp ,pdata 
+0x5ebf 031585 nbranch iicd_eep_deal_short_packet ,positive 
+0x5ec0 031586 store 2 ,mem_temp 
+0x5ec1 031587 fetch 3 ,mem_regc 
+0x5ec2 031588 fetcht 2 ,mem_pdatatemp 
+0x5ec3 031589 isub temp ,pdata 
+0x5ec4 031590 store 2 ,mem_regb 
+0x5ec5 031591 rtn 
+:      031592 iicd_eep_deal_short_packet:
+0x5ec6 031593 fetch 2 ,mem_temp 
+0x5ec7 031594 store 2 ,mem_regb 
+0x5ec8 031595 setarg 0 
+0x5ec9 031596 store 2 ,mem_temp 
+0x5eca 031597 rtn 
+:      031599 iicd_write_eep_size_2k:
+0x5ecb 031600 copy regb ,pdata 
+0x5ecc 031601 increase 2 ,temp 
+0x5ecd 031602 storet 2 ,core_iicd_txlen 
+0x5ece 031603 increase -2 ,rega 
+0x5ecf 031604 ifetcht 3 ,rega 
+0x5ed0 031605 copy temp ,regb 
+0x5ed1 031606 arg 0xa0 ,temp 
+0x5ed2 031607 istoret 1 ,rega 
+0x5ed3 031608 istore 1 ,contw 
+0x5ed4 031609 branch iicd_write_eep_common 
+:      031612 iicd_write_eep:
+0x5ed5 031613 copy pdata ,regb 
+0x5ed6 031614 bpatchx patch24_7 ,mem_patch24 
+0x5ed7 031615 bmark1 mark_eeprom_size ,iicd_write_eep_size_2k 
+0x5ed8 031616 copy regb ,pdata 
+0x5ed9 031617 increase 3 ,temp 
+0x5eda 031618 storet 2 ,core_iicd_txlen 
+0x5edb 031619 increase -3 ,rega 
+0x5edc 031620 ifetcht 3 ,rega 
+0x5edd 031621 copy temp ,regb 
+0x5ede 031622 arg 0xa0 ,temp 
+0x5edf 031623 istoret 1 ,rega 
+0x5ee0 031624 byteswap pdata ,pdata 
+0x5ee1 031625 istore 2 ,contw 
+:      031626 iicd_write_eep_common:
+0x5ee2 031627 storer rega ,2 ,core_iicd_txaddr 
+0x5ee3 031628 setarg 0 
+0x5ee4 031629 store 2 ,core_iicd_rxlen 
+0x5ee5 031630 jam 1 ,core_iicd_ctrl 
+0x5ee6 031631 jam iicd_start ,core_misc_ctrl 
+0x5ee7 031632 call wait_iicd_done 
+0x5ee8 031633 istorer regb ,3 ,rega 
+:      031634 iic_check_eeprom_standby:
+0x5ee9 031635 bpatchx patch25_0 ,mem_patch25 
+0x5eea 031636 jam 0 ,mem_iicd_tbuf + 3 
+:      031637 iic_check_eeprom_standby_wait:
+0x5eeb 031638 setarg 1 
+0x5eec 031639 store 2 ,core_iicd_txlen 
+0x5eed 031640 jam 0xa0 ,mem_iicd_tbuf 
+0x5eee 031641 setarg mem_iicd_tbuf 
+0x5eef 031642 store 2 ,core_iicd_txaddr 
+0x5ef0 031643 setarg 0 
+0x5ef1 031644 store 2 ,core_iicd_rxlen 
+0x5ef2 031645 store 2 ,core_iicd_rxaddr 
+0x5ef3 031646 setarg 3 
+0x5ef4 031647 store 1 ,core_iicd_ctrl 
+0x5ef5 031648 jam iicd_start ,core_misc_ctrl 
+0x5ef6 031649 call wait_iicd_done 
+0x5ef7 031650 fetch 1 ,core_dma_status 
+0x5ef8 031651 rtnbit0 iicd_ack 
+0x5ef9 031652 nop 1500 
+0x5efa 031653 fetch 1 ,mem_iicd_tbuf + 3 
+0x5efb 031654 increase 1 ,pdata 
+0x5efc 031655 store 1 ,mem_iicd_tbuf + 3 
+0x5efd 031656 sub pdata ,40 ,null 
+0x5efe 031657 nrtn positive 
+0x5eff 031658 branch iic_check_eeprom_standby_wait 
+:      031662 efuse_read_data:
+0x5f00 031663 copy temp ,loopcnt 
+0x5f01 031664 copy pdata ,temp 
+0x5f02 031665 bpatchx patch25_1 ,mem_patch25 
+0x5f03 031666 lshift3 temp ,temp 
+0x5f04 031667 call efuse_vdd_on 
+0x5f05 031668 jam 0x80 ,core_efuse_ctrl 
+:      031669 efuse_read_loop:
+0x5f06 031670 jam 0x86 ,core_efuse_ctrl 
+0x5f07 031671 storet 2 ,core_efuse_addr 
+0x5f08 031672 increase 8 ,temp 
+0x5f09 031673 jam 0x87 ,core_efuse_ctrl 
+0x5f0a 031674 fetch 1 ,core_efuse_rdata 
+0x5f0b 031675 istore 1 ,rega 
+0x5f0c 031676 increase 1 ,rega 
+0x5f0d 031677 loop efuse_read_loop 
+0x5f0e 031678 jam 0x86 ,core_efuse_ctrl 
+0x5f0f 031679 jam 0x80 ,core_efuse_ctrl 
+0x5f10 031680 jam 0x0 ,core_efuse_ctrl 
+0x5f11 031681 branch efuse_vdd_off 
+:      031684 efuse_program:
+0x5f12 031685 call efuse_vdd_fsource_on 
+0x5f13 031686 jam 0x80 ,core_efuse_ctrl 
+0x5f14 031687 lshift3 temp ,temp 
+0x5f15 031688 copy rega ,contr 
+:      031689 efuse_program_loop:
+0x5f16 031690 ifetch 1 ,contr 
+0x5f17 031691 arg 8 ,regb 
+:      031692 efuse_program_bit_loop:
+0x5f18 031693 and pdata ,1 ,null 
+0x5f19 031694 ncall efuse_program_bit ,zero 
+0x5f1a 031695 rshift pdata ,pdata 
+0x5f1b 031696 increase 1 ,temp 
+0x5f1c 031697 increase -1 ,regb 
+0x5f1d 031698 nbranch efuse_program_bit_loop ,zero 
+0x5f1e 031699 loop efuse_program_loop 
+0x5f1f 031700 jam 0x80 ,core_efuse_ctrl 
+0x5f20 031701 jam 0x0 ,core_efuse_ctrl 
+0x5f21 031702 branch efuse_vdd_off 
+:      031705 efuse_pa_vdd_set:
+0x5f22 031706 fetch 2 ,core_rf_ldo_cfg8 
+0x5f23 031707 store 2 ,mem_pdatatemp 
+0x5f24 031708 jam 0x6a ,core_rf_ldo_cfg8 
+0x5f25 031709 jam 0x0b ,core_rf_ldo_cfg9 
+0x5f26 031710 rtn 
+:      031712 efuse_pa_vdd_recover:
+0x5f27 031713 fetch 2 ,mem_pdatatemp 
+0x5f28 031714 store 2 ,core_rf_ldo_cfg8 
+0x5f29 031715 rtn 
+:      031717 efuse_lna_pa_ldo_on:
+0x5f2a 031718 call efuse_pa_vdd_set 
+0x5f2b 031719 fetch 1 ,core_rf_ldo_en0 
+0x5f2c 031720 set1 1 ,pdata 
+0x5f2d 031721 store 1 ,core_rf_ldo_en0 
+0x5f2e 031722 nop 200 
+0x5f2f 031723 fetch 1 ,core_rf_ldo_en1 
+0x5f30 031724 set1 0 ,pdata 
+0x5f31 031725 store 1 ,core_rf_ldo_en1 
+0x5f32 031726 nop 2000 
+0x5f33 031727 rtn 
+:      031729 efuse_vdd_fsource_on:
+0x5f34 031730 call efuse_lna_pa_ldo_on 
+0x5f35 031731 fetch 1 ,core_rf_ldo_en1 
+0x5f36 031732 set0 5 ,pdata 
+0x5f37 031733 set1 4 ,pdata 
+0x5f38 031734 set1 3 ,pdata 
+0x5f39 031735 store 1 ,core_rf_ldo_en1 
+0x5f3a 031736 nop 500 
+0x5f3b 031737 rtn 
+:      031739 efuse_vdd_on:
+0x5f3c 031740 call efuse_lna_pa_ldo_on 
+0x5f3d 031741 fetch 1 ,core_rf_ldo_en1 
+0x5f3e 031742 set1 5 ,pdata 
+0x5f3f 031743 set1 4 ,pdata 
+0x5f40 031744 set0 3 ,pdata 
+0x5f41 031745 store 1 ,core_rf_ldo_en1 
+0x5f42 031746 nop 500 
+0x5f43 031747 rtn 
+:      031749 efuse_vdd_off:
+0x5f44 031750 bpatchx patch25_2 ,mem_patch25 
+0x5f45 031751 fetch 1 ,core_rf_ldo_en1 
+0x5f46 031752 set0 5 ,pdata 
+0x5f47 031753 set0 4 ,pdata 
+0x5f48 031754 set0 3 ,pdata 
+0x5f49 031755 set0 0 ,pdata 
+0x5f4a 031756 store 1 ,core_rf_ldo_en1 
+0x5f4b 031757 nop 200 
+0x5f4c 031758 fetch 1 ,core_rf_ldo_en0 
+0x5f4d 031759 set0 1 ,pdata 
+0x5f4e 031760 store 1 ,core_rf_ldo_en0 
+0x5f4f 031761 branch efuse_pa_vdd_recover 
+:      031763 efuse_program_bit:
+0x5f50 031764 jam 0x80 ,core_efuse_ctrl 
+0x5f51 031765 nop 10 
+0x5f52 031766 storet 2 ,core_efuse_addr 
+0x5f53 031767 jam 0x81 ,core_efuse_ctrl 
+0x5f54 031768 nop 110 
+0x5f55 031769 rtn 
+:      031772 uarta_init_dma_mem:
+0x5f56 031773 call enable_user 
+0x5f57 031774 branch uart_init_dma_mem 
+:      031775 uartb_init_dma_mem:
+0x5f58 031776 call disable_user 
+0x5f59 031777 branch uart_init_dma_mem 
+:      031778 uart_init_dma_mem:
+0x5f5a 031779 rshift16 pdata ,temp 
+0x5f5b 031780 call uarta_init_rx ,user 
+0x5f5c 031781 ncall uartb_init_rx ,user 
+0x5f5d 031782 rshift32 pdata ,pdata 
+0x5f5e 031783 rshift16 pdata ,temp 
+0x5f5f 031784 call uarta_init_tx ,user 
+0x5f60 031785 ncall uartb_init_tx ,user 
+0x5f61 031786 nbranch uartb_init_dma_turn_on_clk ,user 
+0x5f62 031787 fetch 2 ,core_clkoff 
+0x5f63 031788 set0 clock_off_uart ,pdata 
+0x5f64 031789 store 2 ,core_clkoff 
+0x5f65 031790 rtn 
+:      031791 uartb_init_dma_turn_on_clk:
+0x5f66 031792 fetch 2 ,core_clkoff 
+0x5f67 031793 set0 clock_off_uartb ,pdata 
+0x5f68 031794 store 2 ,core_clkoff 
+0x5f69 031795 rtn 
+:      031798 uarta_init_baud_rate:
+0x5f6a 031799 store uart_baud_len ,core_uart_baud 
+0x5f6b 031800 rtn 
+:      031803 uartb_init_baud_rate:
+0x5f6c 031804 store uart_baud_len ,core_uartb_baud 
+0x5f6d 031805 rtn 
+:      031807 uarta_calc_baud_rate_config:
+0x5f6e 031808 call uart_calc_baud_rate_config 
+0x5f6f 031809 branch uarta_init_baud_rate 
+:      031811 uartb_calc_baud_rate_config:
+0x5f70 031812 call uart_calc_baud_rate_config 
+0x5f71 031813 branch uartb_init_baud_rate 
+:      031815 uart_calc_baud_rate_config:
+0x5f72 031816 call uart_calc_baud_rate_config_choice_uart_clock 
+0x5f73 031817 idiv temp 
+0x5f74 031818 call wait_div_end 
+0x5f75 031819 quotient pdata 
+0x5f76 031820 rtn 
+:      031822 uart_calc_baud_rate_config_choice_uart_clock:
+0x5f77 031823 fetch 1 ,core_uart_clksel 
+0x5f78 031824 bbit0 uart_clock_select_bit ,uart_calc_baud_rate_config_choice_uart_clock_crystal 
+0x5f79 031825 setarg uart_clock_freq_48m 
+0x5f7a 031826 rtn 
+:      031827 uart_calc_baud_rate_config_choice_uart_clock_crystal:
+0x5f7b 031828 setarg uart_clock_freq_24m 
+0x5f7c 031829 rtn 
+:      031831 uart_clock_select_main_freq_crystal:
+0x5f7d 031832 fetch 1 ,core_uart_clksel 
+0x5f7e 031833 and pdata ,uart_clock_select_crystal ,pdata 
+0x5f7f 031834 store 1 ,core_uart_clksel 
+0x5f80 031835 rtn 
+:      031837 uart_clock_select_main_freq_dpll:
+0x5f81 031838 fetch 1 ,core_uart_clksel 
+0x5f82 031839 or pdata ,uart_clock_select_dpll ,pdata 
+0x5f83 031840 store 1 ,core_uart_clksel 
+0x5f84 031841 rtn 
+:      031845 uarta_init_tx:
+0x5f85 031846 store 2 ,core_uart_tsaddr 
+0x5f86 031847 store 2 ,core_uart_twptr 
+0x5f87 031848 storet 2 ,core_uart_teaddr 
+0x5f88 031849 rtn 
+:      031852 uartb_init_tx:
+0x5f89 031853 store 2 ,core_uartb_tsaddr 
+0x5f8a 031854 store 2 ,core_uartb_twptr 
+0x5f8b 031855 storet 2 ,core_uartb_teaddr 
+0x5f8c 031856 rtn 
+:      031859 uarta_init_rx:
+0x5f8d 031860 store 2 ,core_uart_rsaddr 
+0x5f8e 031861 store 2 ,core_uart_rrptr 
+0x5f8f 031862 storet 2 ,core_uart_readdr 
+0x5f90 031863 rtn 
+:      031866 uartb_init_rx:
+0x5f91 031867 store 2 ,core_uartb_rsaddr 
+0x5f92 031868 store 2 ,core_uartb_rrptr 
+0x5f93 031869 storet 2 ,core_uartb_readdr 
+0x5f94 031870 rtn 
+:      031873 uarta_prepare_tx:
+0x5f95 031874 fetchr contus ,2 ,core_uart_tsaddr 
+0x5f96 031875 fetchr contue ,2 ,core_uart_teaddr 
+0x5f97 031876 fetchr contu ,2 ,core_uart_twptr 
+0x5f98 031877 rtn 
+:      031879 uartb_prepare_tx:
+0x5f99 031880 fetchr contus ,2 ,core_uartb_tsaddr 
+0x5f9a 031881 fetchr contue ,2 ,core_uartb_teaddr 
+0x5f9b 031882 fetchr contu ,2 ,core_uartb_twptr 
+0x5f9c 031883 rtn 
+:      031885 uarta_prepare_rx:
+0x5f9d 031886 fetchr contus ,2 ,core_uart_rsaddr 
+0x5f9e 031887 fetchr contue ,2 ,core_uart_readdr 
+0x5f9f 031888 fetchr contu ,2 ,core_uart_rrptr 
+0x5fa0 031889 rtn 
+:      031891 uartb_prepare_rx:
+0x5fa1 031892 fetchr contus ,2 ,core_uartb_rsaddr 
+0x5fa2 031893 fetchr contue ,2 ,core_uartb_readdr 
+0x5fa3 031894 fetchr contu ,2 ,core_uartb_rrptr 
+0x5fa4 031895 rtn 
+:      031897 uarta_send:
+0x5fa5 031898 storer contu ,2 ,core_uart_twptr 
+0x5fa6 031899 rtn 
+:      031901 uartb_send:
+0x5fa7 031902 storer contu ,2 ,core_uartb_twptr 
+0x5fa8 031903 rtn 
+:      031905 uarta_rxdone:
+0x5fa9 031906 storer contu ,2 ,core_uart_rrptr 
+0x5faa 031907 rtn 
+:      031909 uartb_rxdone:
+0x5fab 031910 storer contu ,2 ,core_uartb_rrptr 
+0x5fac 031911 rtn 
+:      031913 uarta_clear_current_rx:
+0x5fad 031914 call uarta_prepare_rx 
+0x5fae 031915 fetch 2 ,core_uart_rxitems 
+0x5faf 031916 iadd contu ,contu 
+0x5fb0 031917 branch uarta_rxdone 
+:      031919 uartb_clear_current_rx:
+0x5fb1 031920 call uartb_prepare_rx 
+0x5fb2 031921 fetch 2 ,core_uartb_rxitems 
+0x5fb3 031922 iadd contu ,contu 
+0x5fb4 031923 branch uartb_rxdone 
+:      031925 uarta_prepare_tx_register_push:
+0x5fb5 031926 call uart_register_push 
+0x5fb6 031927 branch uarta_prepare_tx 
+:      031929 uartb_prepare_tx_register_push:
+0x5fb7 031930 call uart_register_push 
+0x5fb8 031931 branch uartb_prepare_tx 
+:      031933 uarta_send_register_pop:
+0x5fb9 031934 call uarta_send 
+0x5fba 031935 branch uart_register_pop 
+:      031937 uartb_send_register_pop:
+0x5fbb 031938 call uartb_send 
+0x5fbc 031939 branch uart_register_pop 
+:      031942 uart_register_push:
+0x5fbd 031943 storer contu ,2 ,mem_contu 
+0x5fbe 031944 storer contus ,2 ,mem_contue 
+0x5fbf 031945 storer contue ,2 ,mem_contus 
+0x5fc0 031946 rtn 
+:      031948 uart_register_pop:
+0x5fc1 031949 fetchr contu ,2 ,mem_contu 
+0x5fc2 031950 fetchr contus ,2 ,mem_contue 
+0x5fc3 031951 fetchr contue ,2 ,mem_contus 
+0x5fc4 031952 rtn 
+:      031955 uart_copy_tx_bytes_fast:
+0x5fc5 031956 deposit loopcnt 
+0x5fc6 031957 rtn blank 
+:      031958 uart_copy_tx_bytes_fast_loop:
+0x5fc7 031959 increase -8 ,loopcnt 
+0x5fc8 031960 call uart_tx_8_bytes ,positive 
+0x5fc9 031961 rtn zero 
+0x5fca 031962 branch uart_copy_tx_bytes_fast_loop ,positive 
+0x5fcb 031963 increase 8 ,loopcnt 
+:      031964 uart_copy_tx_bytes_fast_loop_four:
+0x5fcc 031965 increase -4 ,loopcnt 
+0x5fcd 031966 call uart_tx_4_bytes ,positive 
+0x5fce 031967 rtn zero 
+0x5fcf 031968 branch uart_copy_tx_bytes_fast_loop_four ,positive 
+0x5fd0 031969 increase 4 ,loopcnt 
+0x5fd1 031970 branch uart_copy_tx_bytes 
+:      031972 uart_tx_16_bytes:
+0x5fd2 031973 call uart_tx_8_bytes 
+:      031974 uart_tx_8_bytes:
+0x5fd3 031975 ifetch 8 ,contr 
+0x5fd4 031976 istore 8 ,contu 
+0x5fd5 031977 rtn 
+:      031979 uart_tx_4_bytes:
+0x5fd6 031980 ifetch 4 ,contr 
+0x5fd7 031981 istore 4 ,contu 
+0x5fd8 031982 rtn 
+:      031984 uart_copy_tx_bytes:
+0x5fd9 031985 deposit loopcnt 
+0x5fda 031986 rtn blank 
+:      031987 uart_copy_tx_bytes_loop:
+0x5fdb 031988 ifetch 1 ,contr 
+0x5fdc 031989 istore 1 ,contu 
+0x5fdd 031990 loop uart_copy_tx_bytes_loop 
+0x5fde 031991 rtn 
+:      031993 uart_copy_rx_bytes_fast:
+0x5fdf 031994 deposit loopcnt 
+0x5fe0 031995 rtn blank 
+:      031996 uart_copy_rx_bytes_fast_loop:
+0x5fe1 031997 increase -8 ,loopcnt 
+0x5fe2 031998 call uart_rx_8_bytes ,positive 
+0x5fe3 031999 rtn zero 
+0x5fe4 032000 branch uart_copy_rx_bytes_fast_loop ,positive 
+0x5fe5 032001 increase 8 ,loopcnt 
+:      032002 uart_copy_rx_bytes_fast_loop_four:
+0x5fe6 032003 increase -4 ,loopcnt 
+0x5fe7 032004 call uart_rx_4_bytes ,positive 
+0x5fe8 032005 rtn zero 
+0x5fe9 032006 branch uart_copy_rx_bytes_fast_loop_four ,positive 
+0x5fea 032007 increase 4 ,loopcnt 
+0x5feb 032008 branch uart_copy_rx_bytes 
+:      032010 uart_rx_16_bytes:
+0x5fec 032011 call uart_rx_8_bytes 
+:      032012 uart_rx_8_bytes:
+0x5fed 032013 ifetch 8 ,contu 
+0x5fee 032014 istore 8 ,contw 
+0x5fef 032015 rtn 
+:      032017 uart_rx_4_bytes:
+0x5ff0 032018 ifetch 4 ,contu 
+0x5ff1 032019 istore 4 ,contw 
+0x5ff2 032020 rtn 
+:      032023 uart_copy_rx_bytes:
+0x5ff3 032024 deposit loopcnt 
+0x5ff4 032025 rtn blank 
+:      032026 uart_copy_rx_bytes_loop:
+0x5ff5 032027 ifetch 1 ,contu 
+0x5ff6 032028 istore 1 ,contw 
+0x5ff7 032029 loop uart_copy_rx_bytes_loop 
+0x5ff8 032030 rtn 
+:      032035 app_store_nvram_event:
+0x5ff9 032036 jam bt_evt_store_nvram ,mem_fifo_temp 
+0x5ffa 032037 branch ui_ipc_send_event 
+:      032039 check_51cmd_store_reconn_info:
+:      032040 check_51cmd_update_device_record:
+0x5ffb 032041 bpatchx patch25_3 ,mem_patch25 
+0x5ffc 032042 fetch 1 ,mem_nv_data_number 
+0x5ffd 032043 rtn blank 
+0x5ffe 032044 call check_nvram 
+0x5fff 032045 call init_device_list ,zero 
+0x6000 032046 call disable_user2 
+0x6001 032047 call nvram_find_addr_from_bd_list 
+:      032048 write_device_record:
+0x6002 032049 fetch 1 ,mem_nv_data_number 
+0x6003 032050 icopy regc 
+0x6004 032051 fetcht 2 ,mem_nv_data_ptr 
+0x6005 032052 storet 2 ,mem_list_item_ptr 
+:      032053 write_device_loop_find:
+0x6006 032054 copy regc ,pdata 
+0x6007 032055 branch app_store_nvram_event ,blank 
+0x6008 032056 increase -1 ,regc 
+0x6009 032057 copy temp ,rega 
+0x600a 032058 ifetch 1 ,rega 
+0x600b 032059 fetcht 1 ,mem_select_list_item 
+0x600c 032060 isub temp ,null 
+0x600d 032061 call set_index_finded_device ,zero 
+0x600e 032062 branch write_device_loop_find0 ,positive 
+0x600f 032063 ifetch 1 ,rega 
+0x6010 032064 increase 1 ,pdata 
+0x6011 032065 istore 1 ,rega 
+:      032066 write_device_loop_find0:
+0x6012 032067 fetcht 2 ,mem_list_item_ptr 
+0x6013 032068 increase nv_data_len ,temp 
+0x6014 032069 storet 2 ,mem_list_item_ptr 
+0x6015 032070 branch write_device_loop_find 
+:      032072 set_index_finded_device:
+0x6016 032073 setarg 0 
+0x6017 032074 istore 1 ,rega 
+0x6018 032075 fetch 1 ,mem_temp_reconn_record 
+0x6019 032076 istore 1 ,contw 
+0x601a 032077 bne rec_3_mode ,set_index_finded_device_ble_mode 
+0x601b 032078 arg mem_link_key ,regb 
+:      032079 set_index_find_device_master_addr:
+0x601c 032080 ifetch 6 ,contr 
+0x601d 032081 istore 8 ,contw 
+0x601e 032082 setarg 0 
+0x601f 032083 istore 8 ,contw 
+0x6020 032084 copy regb ,contr 
+:      032085 store_rec_data_common:
+0x6021 032086 call memcpy16 
+0x6022 032087 force 1 ,null 
+0x6023 032088 rtn 
+:      032090 set_index_finded_device_ble_mode:
+0x6024 032091 beq rec_4_mode_random_resolvable_private_address ,set_index_finded_device_irk 
+0x6025 032092 beq rec_4_mode_random_non_resolvable_private_address ,set_index_finded_device_ediv 
+0x6026 032093 arg mem_le_ltk ,regb 
+0x6027 032094 branch set_index_find_device_master_addr 
+:      032096 set_index_finded_device_irk:
+0x6028 032097 arg mem_le_irk ,contr 
+0x6029 032098 call memcpy16 
+:      032099 store_ble_rec_data_common:
+0x602a 032100 arg mem_le_ltk ,contr 
+0x602b 032101 branch store_rec_data_common 
+:      032103 set_index_finded_device_ediv:
+0x602c 032104 arg mem_le_rand ,contr 
+0x602d 032105 call memcpy16 
+0x602e 032106 branch store_ble_rec_data_common 
+:      032111 nvram_find_addr_from_bd_list:
+0x602f 032112 call disable_user 
+0x6030 032113 fetch 1 ,mem_nv_data_number 
+0x6031 032114 rtn blank 
+0x6032 032115 bpatchx patch25_4 ,mem_patch25 
+0x6033 032116 fetch 2 ,mem_ui_state_map 
+0x6034 032117 bbit1 ui_state_bt_connected ,find_addr_from_bd_list_spp_mode 
+0x6035 032118 rtnbit0 ui_state_ble_connected 
+:      032119 find_addr_from_bd_list_ble_mode:
+0x6036 032120 fetch 1 ,mem_le_conn_peer_addr_type 
+0x6037 032121 beq master_public_addr ,find_addr_from_bd_list_public_device_addr 
+0x6038 032122 fetch 1 ,mem_le_plap + 5 
+0x6039 032123 compare 0xc0 ,pdata ,0xc0 
+0x603a 032124 branch find_addr_from_bd_list_static_addr ,true 
+0x603b 032125 compare 0x40 ,pdata ,0xc0 
+0x603c 032126 branch find_addr_from_bd_list_random_addr ,true 
+0x603d 032127 branch find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy 
+:      032129 find_addr_from_bd_list_static_addr:
+0x603e 032130 branch find_addr_from_bd_list_static_addr_reconnect ,user2 
+0x603f 032131 fetch 1 ,mem_le_preq_init_key_distribution 
+0x6040 032132 bbit0 le_initator_irk_bit ,find_addr_from_bd_list_public_device_addr 
+0x6041 032133 branch find_addr_from_bd_list_static_addr_sc_or_legacy 
+:      032135 find_addr_from_bd_list_static_addr_reconnect:
+0x6042 032136 call find_addr_from_bd_list_public_device_addr 
+0x6043 032137 rtn user 
+0x6044 032138 branch find_addr_from_bd_list_static_addr_sc_or_legacy 
+:      032141 find_addr_from_bd_list_static_addr_sc_or_legacy:
+:      032142 find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy:
+0x6045 032143 fetch 1 ,mem_le_pairing_mode 
+0x6046 032144 bbit1 le_pairing_mode_secure_connect_bit ,find_addr_from_bd_list_random_non_resolvable_private_address_sc 
+0x6047 032145 branch find_addr_from_bd_list_random_non_resolvable_private_address 
+:      032147 find_addr_from_bd_list_static_addr_sc:
+:      032148 find_addr_from_bd_list_random_non_resolvable_private_address_sc:
+0x6048 032149 fetch 6 ,mem_le_plap 
+0x6049 032150 store 8 ,mem_le_rand 
+0x604a 032151 branch find_addr_from_bd_list_random_non_resolvable_private_address 
+:      032154 find_addr_from_bd_list_public_device_addr:
+0x604b 032155 jam rec_4_mode_static_address ,mem_temp_reconn_record 
+0x604c 032156 fetch 6 ,mem_le_plap 
+0x604d 032157 branch find_addr_from_bd_list_common 
+:      032159 find_addr_from_bd_list_random_non_resolvable_private_address:
+0x604e 032160 jam rec_4_mode_random_non_resolvable_private_address ,mem_temp_reconn_record 
+0x604f 032161 branch find_addr_from_bd_list_common 
+:      032164 find_addr_from_bd_list_random_addr:
+0x6050 032165 jam rec_4_mode_random_resolvable_private_address ,mem_temp_reconn_record 
+0x6051 032166 branch find_addr_from_bd_list_common 
+:      032169 find_addr_from_bd_list_spp_mode:
+0x6052 032170 jam rec_3_mode ,mem_temp_reconn_record 
+0x6053 032171 fetch 6 ,mem_plap 
+:      032172 find_addr_from_bd_list_common:
+0x6054 032173 store 6 ,mem_temp_lap 
+0x6055 032174 fetch 2 ,mem_nv_data_ptr 
+0x6056 032175 ifetcht 1 ,pdata 
+0x6057 032176 pincrease 1 
+0x6058 032177 store 2 ,mem_list_item_ptr 
+0x6059 032178 storet 1 ,mem_select_list_item 
+0x605a 032179 fetch 1 ,mem_nv_data_number 
+0x605b 032180 icopy regc 
+:      032181 nvram_find_addr_from_list:
+0x605c 032182 fetch 2 ,mem_list_item_ptr 
+0x605d 032183 copy pdata ,rega 
+0x605e 032184 call nvram_find_addr_from_list_compare 
+0x605f 032185 rtn user 
+0x6060 032186 fetcht 2 ,mem_list_item_ptr 
+0x6061 032187 increase nv_data_len ,temp 
+0x6062 032188 storet 2 ,mem_list_item_ptr 
+0x6063 032189 increase -1 ,temp 
+0x6064 032190 ifetch 1 ,temp 
+0x6065 032191 store 1 ,mem_select_list_item 
+0x6066 032192 increase -1 ,regc 
+0x6067 032193 nbranch nvram_find_addr_from_list ,zero 
+0x6068 032194 fetch 1 ,mem_nv_data_number 
+0x6069 032195 pincrease decreased_one 
+0x606a 032196 store 1 ,mem_select_list_item 
+0x606b 032197 rtn 
+:      032198 nvram_find_addr_from_list_compare:
+0x606c 032199 fetch 1 ,mem_temp_reconn_record 
+0x606d 032200 bne rec_3_mode ,find_addr_from_list_compare_ble_mode 
+:      032201 find_master_addr_from_list_compare:
+0x606e 032202 arg mem_temp_reconn_record ,regb 
+0x606f 032203 arg 7 ,loopcnt 
+0x6070 032204 call string_compare 
+0x6071 032205 branch enable_user ,zero 
+0x6072 032206 rtn 
+:      032208 find_addr_from_list_compare_ble_mode:
+0x6073 032209 beq rec_4_mode_random_resolvable_private_address ,find_irk_form_list_compare 
+0x6074 032210 beq rec_4_mode_random_non_resolvable_private_address ,find_ediv_form_list_compare 
+0x6075 032211 branch find_master_addr_from_list_compare 
+:      032213 find_irk_form_list_compare:
+0x6076 032214 ifetcht 1 ,rega 
+0x6077 032215 isub temp ,null 
+0x6078 032216 nrtn zero 
+0x6079 032217 arg mem_le_prand ,contw 
+0x607a 032218 arg 16 ,loopcnt 
+0x607b 032219 call clear_mem 
+0x607c 032220 fetch 3 ,mem_le_plap + 3 
+0x607d 032221 store 3 ,mem_le_prand 
+0x607e 032222 call genernate_master_macaddress 
+0x607f 032223 fetch 2 ,mem_le_aes_128 + 13 
+0x6080 032224 byteswap pdata ,pdata 
+0x6081 032225 lshift8 pdata ,temp 
+0x6082 032226 ifetch 1 ,contr 
+0x6083 032227 iadd temp ,pdata 
+0x6084 032228 fetcht 3 ,mem_le_plap 
+0x6085 032229 isub temp ,null 
+0x6086 032230 branch enable_user ,zero 
+0x6087 032231 rtn 
+:      032234 genernate_master_macaddress:
+0x6088 032235 arg mem_le_prand ,contr 
+0x6089 032236 call load_data128 
+0x608a 032238 ifetch 1 ,rega 
+0x608b 032239 call load_regext 
+0x608c 032240 force 0x38 ,aes_ctrl 
+0x608d 032241 force 0x0 ,aes_ctrl 
+0x608e 032242 call wait_aes 
+0x608f 032243 arg mem_le_aes_128 ,contw 
+0x6090 032244 branch store_aes_result 
+:      032246 find_ediv_form_list_compare:
+0x6091 032247 ifetcht 1 ,rega 
+0x6092 032248 isub temp ,null 
+0x6093 032249 nrtn zero 
+0x6094 032250 copy contr ,rega 
+0x6095 032251 add contr ,8 ,regc 
+0x6096 032252 arg mem_le_rand ,regb 
+0x6097 032253 arg 8 ,loopcnt 
+0x6098 032254 call string_compare 
+0x6099 032255 branch enable_user ,zero 
+0x609a 032256 copy regc ,rega 
+0x609b 032257 arg mem_le_irk ,regb 
+0x609c 032258 arg 8 ,loopcnt 
+0x609d 032259 call string_compare 
+0x609e 032260 branch enable_user ,zero 
+0x609f 032261 rtn 
+:      032263 check_nvram:
+0x60a0 032264 fetch 2 ,mem_nv_data_ptr 
+0x60a1 032265 ifetcht 1 ,pdata 
+0x60a2 032266 pincrease nv_data_len 
+0x60a3 032267 ifetch 1 ,pdata 
+0x60a4 032268 isub temp ,null 
+0x60a5 032269 rtn 
+:      032271 init_device_list:
+0x60a6 032272 fetch 1 ,mem_nv_data_number 
+0x60a7 032273 icopy loopcnt 
+0x60a8 032274 fetcht 2 ,mem_nv_data_ptr 
+0x60a9 032275 setarg 0 
+:      032276 init_device_list_loop:
+0x60aa 032277 istore 1 ,temp 
+0x60ab 032278 increase nv_data_len ,temp 
+0x60ac 032279 pincrease 1 
+0x60ad 032280 loop init_device_list_loop 
+0x60ae 032281 rtn 
+:      032283 load_device_list:
+0x60af 032284 bpatchx patch25_5 ,mem_patch25 
+0x60b0 032285 call enable_user2 
+0x60b1 032286 call nvram_find_addr_from_bd_list 
+0x60b2 032287 fetch 1 ,mem_state 
+0x60b3 032288 setflag user ,state_combkey ,pdata 
+0x60b4 032289 store 1 ,mem_state 
+0x60b5 032290 nbranch clear_key_exists ,user 
+0x60b6 032291 add rega ,10 ,contr 
+0x60b7 032292 arg mem_link_key ,contw 
+0x60b8 032293 call memcpy16 
+0x60b9 032294 branch check_link_key_load 
+:      032295 clear_key_exists:
+0x60ba 032296 jam 0 ,mem_link_key_exists 
+0x60bb 032297 rtn 
+:      032299 load_device_list_mode_4:
+0x60bc 032302 call enable_user2 
+0x60bd 032303 call nvram_find_addr_from_bd_list 
+0x60be 032304 nbranch clear_ltk_exists ,user 
+0x60bf 032305 fetch 2 ,mem_list_item_ptr 
+0x60c0 032306 add pdata ,1 ,contr 
+0x60c1 032307 arg mem_le_irk ,contw 
+0x60c2 032308 call memcpy16 
+0x60c3 032309 arg mem_le_ltk ,contw 
+0x60c4 032310 call memcpy16 
+0x60c5 032311 jam 1 ,mem_ltk_exists 
+0x60c6 032312 rtn 
+:      032314 clear_ltk_exists:
+0x60c7 032315 jam 0 ,mem_ltk_exists 
+0x60c8 032316 rtn 
+:      032319 eeprom_store_le_reconn_info:
+0x60c9 032320 jam rec_4_mode ,mem_record_bt_mode 
+0x60ca 032321 branch eeprom_store_reconn_info 
+:      032322 eeprom_store_bd_reconn_info:
+0x60cb 032323 jam rec_3_mode ,mem_record_bt_mode 
+:      032324 eeprom_store_reconn_info:
+0x60cc 032325 fetch 1 ,mem_device_option 
+0x60cd 032326 beq dvc_op_module ,check_51cmd_update_device_record 
+0x60ce 032327 beq dvc_op_mouse ,mouse_store_remote_bdaddr 
+0x60cf 032328 rtn 
+:      032331 check_link_key_load:
+0x60d0 032332 fetch 8 ,mem_link_key 
+0x60d1 032333 fetcht 8 ,mem_link_key + 8 
+0x60d2 032334 ior temp ,pdata 
+0x60d3 032335 rtn blank 
+0x60d4 032336 jam 1 ,mem_link_key_exists 
+0x60d5 032337 rtn 
+:      032344 gpio_set_wake_by_current_state:
+0x60d6 032345 bpatchx patch25_6 ,mem_patch25 
+0x60d7 032346 set1 gpio_active_bit ,temp 
+0x60d8 032347 call gpio_get_bit 
+0x60d9 032348 nsetflag true ,gpio_active_bit ,temp 
+:      032351 gpio_set_wake:
+0x60da 032352 bpatchx patch25_7 ,mem_patch25 
+0x60db 032353 sub temp ,ui_button_gpio_disable ,null 
+0x60dc 032354 rtn zero 
+0x60dd 032355 isolate0 gpio_active_bit ,temp 
+0x60de 032356 and temp ,0x1f ,queue 
+0x60df 032357 fetch 4 ,mem_gpio_wakeup_low 
+0x60e0 032358 qsetflag true ,pdata 
+0x60e1 032359 store 4 ,mem_gpio_wakeup_low 
+0x60e2 032360 fetch 4 ,mem_gpio_wakeup_high 
+0x60e3 032361 nqsetflag true ,pdata 
+0x60e4 032362 store 4 ,mem_gpio_wakeup_high 
+0x60e5 032363 rtn 
+:      032366 gpio_clr_wake:
+0x60e6 032367 bpatchx patch26_0 ,mem_patch26 
+0x60e7 032368 sub temp ,ui_button_gpio_disable ,null 
+0x60e8 032369 rtn zero 
+0x60e9 032370 isolate0 gpio_active_bit ,temp 
+0x60ea 032371 and temp ,0x1f ,queue 
+0x60eb 032372 fetch 4 ,mem_gpio_wakeup_low 
+0x60ec 032373 qset0 pdata 
+0x60ed 032374 store 4 ,mem_gpio_wakeup_low 
+0x60ee 032375 fetch 4 ,mem_gpio_wakeup_high 
+0x60ef 032376 qset0 pdata 
+0x60f0 032377 store 4 ,mem_gpio_wakeup_high 
+0x60f1 032378 rtn 
+:      032380 gpio_config_input_nowake:
+0x60f2 032381 call gpio_clr_wake 
+0x60f3 032382 branch gpio_config_input_without_wake 
+:      032385 gpio_config_input:
+0x60f4 032386 sub temp ,ui_button_gpio_disable ,null 
+0x60f5 032387 rtn zero 
+0x60f6 032388 ncall gpio_set_wake ,wake 
+:      032389 gpio_config_input_without_wake:
+0x60f7 032390 call gpio_addr 
+0x60f8 032391 setarg 0 
+0x60f9 032392 isolate1 gpio_active_bit ,temp 
+0x60fa 032393 nsetflag true ,6 ,pdata 
+0x60fb 032394 setflag true ,7 ,pdata 
+0x60fc 032395 branch gpio_write 
+:      032398 gpio_get_bit:
+0x60fd 032399 arg core_gpio_in ,contw 
+0x60fe 032400 and temp ,0x07 ,queue 
+0x60ff 032401 rshift3 temp ,pdata 
+0x6100 032402 and_into 3 ,pdata 
+0x6101 032403 iadd contw ,contw 
+0x6102 032404 ifetch 1 ,contw 
+0x6103 032405 isolate1 gpio_active_bit ,temp 
+0x6104 032406 branch gpio_get_bit_reverse ,true 
+0x6105 032407 qisolate0 pdata 
+0x6106 032408 rtn 
+:      032409 gpio_get_bit_reverse:
+0x6107 032410 qisolate1 pdata 
+0x6108 032411 rtn 
+:      032414 gpio_out_inactive:
+0x6109 032415 sub temp ,ui_button_gpio_disable ,null 
+0x610a 032416 rtn zero 
+0x610b 032417 isolate1 gpio_active_bit ,null 
+0x610c 032418 branch gpio_out_flag 
+:      032420 gpio_config_output:
+:      032421 gpio_out_active:
+0x610d 032422 sub temp ,ui_button_gpio_disable ,null 
+0x610e 032423 rtn zero 
+0x610f 032424 isolate0 gpio_active_bit ,null 
+:      032427 gpio_out_flag:
+0x6110 032428 setarg 0 
+0x6111 032429 nsetflag true ,gpio_active_bit ,pdata 
+0x6112 032430 ixor temp ,temp 
+:      032433 gpio_out:
+0x6113 032434 call gpio_addr 
+0x6114 032435 setarg gpcfg_output_high 
+0x6115 032436 isolate1 gpio_active_bit ,temp 
+0x6116 032437 setflag true ,0 ,pdata 
+0x6117 032438 branch gpio_write 
+:      032441 gpio_check_active:
+0x6118 032442 call gpio_addr 
+0x6119 032443 ifetch 1 ,contw 
+0x611a 032444 bbit1 0 ,gpio_check_active_high 
+0x611b 032445 isolate0 gpio_active_bit ,temp 
+0x611c 032446 rtn 
+:      032447 gpio_check_active_high:
+0x611d 032448 isolate1 gpio_active_bit ,temp 
+0x611e 032449 rtn 
+:      032454 gpio_write:
+0x611f 032455 istore 1 ,contw 
+0x6120 032456 rtn 
+:      032458 gpio_set_high_impedance:
+0x6121 032459 call gpio_addr 
+0x6122 032460 setarg gpcfg_high_impedance 
+0x6123 032461 branch gpio_write 
+:      032463 gpio_addr:
+0x6124 032464 and temp ,0x3f ,pdata 
+0x6125 032465 arg core_gpio_conf ,contw 
+0x6126 032466 iadd contw ,contw 
+0x6127 032467 rtn 
+:      032469 gpio_config_param:
+0x6128 032470 and pdata ,0xff ,temp 
+0x6129 032471 rshift8 pdata ,pdata 
+0x612a 032472 branch gpio_config_function_int 
+:      032475 gpio_config_function:
+0x612b 032476 rtnbit0 gpio_active_bit 
+:      032477 gpio_config_function_int:
+0x612c 032478 and_into 0x3f ,pdata 
+0x612d 032479 arg core_gpio_conf ,contw 
+0x612e 032480 iadd contw ,contw 
+0x612f 032481 istoret 1 ,contw 
+0x6130 032482 rtn 
+:      032485 gpio_get_config:
+0x6131 032486 and_into 0x3f ,temp 
+0x6132 032487 setarg core_gpio_conf 
+0x6133 032488 iadd temp ,contr 
+0x6134 032489 ifetch 1 ,contr 
+0x6135 032490 rtn 
+:      032494 gpio_set_before_lpm:
+0x6136 032495 arg 20 ,loopcnt 
+0x6137 032496 arg core_gpio_conf ,contr 
+:      032497 setgpio_loop:
+0x6138 032498 copy contr ,contw 
+0x6139 032499 ifetch 1 ,contr 
+0x613a 032500 beq gpcfg_qspi_ncs ,setgpio_pullup 
+0x613b 032501 beq gpcfg_qspi_sck ,setgpio_pullup 
+0x613c 032502 beq gpcfg_qspi_io0 ,setgpio_pullup 
+0x613d 032503 beq gpcfg_qspi_io1 ,setgpio_pullup 
+0x613e 032504 beq gpcfg_qspi_io2 ,setgpio_pullup 
+0x613f 032505 beq gpcfg_qspi_io3 ,setgpio_pullup 
+0x6140 032506 beq gpcfg_spid_miso ,setgpio_pullup 
+0x6141 032507 beq gpcfg_spid_ncs ,setgpio_pullup 
+0x6142 032508 beq gpcfg_spid_sck ,setgpio_pullup 
+0x6143 032509 beq gpcfg_spid_mosi ,setgpio_pullup 
+0x6144 032510 beq gpcfg_spid_sdio ,setgpio_pullup 
+0x6145 032511 beq gpcfg_iic_scl ,setgpio_pullup 
+0x6146 032512 beq gpcfg_iic_sda ,setgpio_pullup 
+0x6147 032513 beq gpcfg_input ,setgpio_pullup 
+:      032514 setgpio_loop_end:
+0x6148 032515 loop setgpio_loop 
+0x6149 032516 rtn 
+:      032517 setgpio_pullup:
+0x614a 032518 setarg gpcfg_pullup 
+0x614b 032519 istore 1 ,contw 
+0x614c 032520 branch setgpio_loop_end 
+:      032521 setgpio_pulldown:
+0x614d 032522 setarg gpcfg_pulldown 
+0x614e 032523 istore 1 ,contw 
+0x614f 032524 branch setgpio_loop_end 
+:      032530 adc_init_data:
+0x6150 032531 bpatchx patch26_1 ,mem_patch26 
+:      032532 adc_init_cal_data:
+0x6151 032533 fetch 8 ,mem_tmp_buffer + efuse_offset_adc 
+0x6152 032534 branch adc_init_cal_data_default ,blank 
+0x6153 032535 arg mem_tmp_buffer + efuse_offset_adc ,contr 
+0x6154 032536 arg mem_3v_adc_io_data ,contw 
+0x6155 032537 arg 3 ,loopcnt 
+:      032538 adc_init_cal_data_loop:
+0x6156 032539 ifetch 3 ,contr 
+0x6157 032540 lshift4 pdata ,temp 
+0x6158 032541 istoret 2 ,contw 
+0x6159 032542 rshift8 pdata ,temp 
+0x615a 032543 istoret 2 ,contw 
+0x615b 032544 loop adc_init_cal_data_loop 
+0x615c 032545 rtn 
+:      032547 adc_init_cal_data_default:
+0x615d 032548 setarg 0x469a 
+0x615e 032549 store 2 ,mem_3v_adc_io_data 
+0x615f 032550 setarg 0xab77 
+0x6160 032551 store 2 ,mem_1v_adc_io_data 
+0x6161 032552 setarg 0x73d0 
+0x6162 032553 store 2 ,mem_3v_adc_vinlpm_data 
+0x6163 032554 setarg 0x9658 
+0x6164 032555 store 2 ,mem_2v_adc_vinlpm_data 
+0x6165 032556 rtn 
+:      032558 enable_adc:
+0x6166 032559 bpatchx patch26_2 ,mem_patch26 
+0x6167 032560 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0x6168 032561 jam 0x3d ,core_rf_ldo_cfg6 
+0x6169 032562 jam 0xaa ,core_rf_ldo_cfg5 
+0x616a 032563 jam 0x0c ,core_rf_ldo_en0 
+0x616b 032564 fetch 1 ,core_clkpll_cfg6 
+0x616c 032565 set1 7 ,pdata 
+0x616d 032566 store 1 ,core_clkpll_cfg6 
+0x616e 032567 jam 0x04 ,core_rf_ldo_en1 
+0x616f 032568 nop 60 
+0x6170 032569 jam 0 ,core_syn_en 
+0x6171 032570 jam 6 ,core_rx_en0 
+0x6172 032571 call read_adc_mode 
+0x6173 032572 store 1 ,core_gpadc_ctrl 
+0x6174 032573 jam 0x03 ,core_sum_ctrl 
+0x6175 032574 nop 60 
+0x6176 032575 fetch 1 ,core_sum_en 
+0x6177 032576 set1 7 ,pdata 
+0x6178 032577 store 1 ,core_sum_en 
+0x6179 032578 nop 1000 
+0x617a 032579 fetch 2 ,core_adc_sum 
+0x617b 032580 store 2 ,mem_adc_current_value 
+0x617c 032581 fetch 1 ,core_sum_en 
+0x617d 032582 set0 7 ,pdata 
+0x617e 032583 store 1 ,core_sum_en 
+0x617f 032584 jam 0 ,core_gpadc_ctrl 
+0x6180 032585 storer regb ,1 ,core_rf_ldo_cfg6 
+0x6181 032586 rtn 
+:      032589 read_adc_mode:
+0x6182 032590 fetch 1 ,mem_adc_config_flag 
+0x6183 032591 beq adc_config_vinlpm ,adc_mode_vdcdc 
+0x6184 032592 beq adc_config_hvin ,adc_adc_mode_vbat 
+:      032594 adc_check_gpio:
+0x6185 032595 fetch 1 ,mem_adc_channel 
+0x6186 032596 lshift3 pdata ,pdata 
+0x6187 032597 or pdata ,7 ,pdata 
+0x6188 032598 rtn 
+:      032600 adc_mode_vdcdc:
+0x6189 032601 setarg 0x57 
+0x618a 032602 rtn 
+:      032604 adc_adc_mode_vbat:
+0x618b 032605 setarg 0x4f 
+0x618c 032606 rtn 
+:      032608 vdd_calculate_by_mode:
+0x618d 032609 bpatchx patch26_3 ,mem_patch26 
+0x618e 032610 fetch 1 ,mem_adc_config_flag 
+0x618f 032611 beq adc_config_vinlpm ,vdd_calculate_vinlpm 
+0x6190 032612 beq adc_config_hvin ,vdd_calculate_hvin 
+0x6191 032613 beq adc_config_gpio ,vdd_calculate_io 
+0x6192 032614 rtn 
+:      032616 vdd_calculate_vinlpm:
+0x6193 032617 setarg 100 
+0x6194 032618 store 2 ,mem_reference_voltage 
+0x6195 032619 fetcht 2 ,mem_3v_adc_vinlpm_data 
+0x6196 032620 fetch 2 ,mem_2v_adc_vinlpm_data 
+0x6197 032621 arg 300 ,regc 
+0x6198 032622 branch vdd_calculate 
+:      032624 vdd_calculate_hvin:
+0x6199 032625 setarg 100 
+0x619a 032626 store 2 ,mem_reference_voltage 
+0x619b 032627 fetcht 2 ,mem_3v_adc_hvin_data 
+0x619c 032628 fetch 2 ,mem_2v_adc_hvin_data 
+0x619d 032629 arg 300 ,regc 
+0x619e 032630 branch vdd_calculate 
+:      032632 vdd_calculate_io:
+0x619f 032633 setarg 200 
+0x61a0 032634 store 2 ,mem_reference_voltage 
+0x61a1 032635 fetcht 2 ,mem_3v_adc_io_data 
+0x61a2 032636 fetch 2 ,mem_1v_adc_io_data 
+0x61a3 032637 arg 300 ,regc 
+:      032639 vdd_calculate:
+0x61a4 032640 isub temp ,rega 
+0x61a5 032641 fetch 2 ,mem_adc_current_value 
+0x61a6 032642 isub temp ,pdata 
+0x61a7 032643 nbranch vdd_calculate1 ,positive 
+0x61a8 032644 fetcht 2 ,mem_reference_voltage 
+0x61a9 032645 imul32 temp ,regb 
+0x61aa 032646 copy regc ,pdata 
+0x61ab 032647 imul32 rega ,pdata 
+0x61ac 032648 isub regb ,pdata 
+:      032649 vdd_calculate2:
+0x61ad 032650 idiv rega 
+0x61ae 032651 call wait_div_end 
+0x61af 032652 quotient pdata 
+0x61b0 032653 rtn 
+:      032655 vdd_calculate1:
+0x61b1 032656 copy temp ,pdata 
+0x61b2 032657 fetcht 2 ,mem_adc_current_value 
+0x61b3 032658 isub temp ,pdata 
+0x61b4 032659 fetcht 2 ,mem_reference_voltage 
+0x61b5 032660 imul32 temp ,regb 
+0x61b6 032661 copy regc ,pdata 
+0x61b7 032662 imul32 rega ,pdata 
+0x61b8 032663 iadd regb ,pdata 
+0x61b9 032664 branch vdd_calculate2 
+:      032668 adc_bat_percent_lowpower_out:
+0x61ba 032669 ifetch 8 ,rega 
+0x61bb 032670 store 8 ,mem_pdatatemp 
+0x61bc 032671 fetch 2 ,mem_pdatatemp 
+0x61bd 032672 fetcht 2 ,mem_pdatatemp + 2 
+0x61be 032673 isub temp ,rega 
+0x61bf 032674 fetch 2 ,mem_pdatatemp + 6 
+0x61c0 032675 isub temp ,regb 
+0x61c1 032676 fetcht 2 ,mem_pdatatemp + 4 
+0x61c2 032677 isub temp ,null 
+0x61c3 032678 ncall adc_set_low_power_flag ,positive 
+0x61c4 032679 mul32 regb ,100 ,pdata 
+0x61c5 032680 idiv rega 
+0x61c6 032681 call wait_div_end 
+0x61c7 032682 quotient pdata 
+0x61c8 032683 call adc_set_no_power_flag ,blank 
+0x61c9 032684 rtn 
+:      032685 adc_set_low_power_flag:
+0x61ca 032686 fetch 1 ,mem_adc_power_flag 
+0x61cb 032687 set1 0 ,pdata 
+0x61cc 032688 store 1 ,mem_adc_power_flag 
+0x61cd 032689 rtn 
+:      032691 adc_clear_low_power_flag:
+0x61ce 032692 fetch 1 ,mem_adc_power_flag 
+0x61cf 032693 set0 0 ,pdata 
+0x61d0 032694 store 1 ,mem_adc_power_flag 
+0x61d1 032695 rtn 
+:      032697 adc_set_no_power_flag:
+0x61d2 032698 fetcht 1 ,mem_adc_power_flag 
+0x61d3 032699 set1 1 ,temp 
+0x61d4 032700 storet 1 ,mem_adc_power_flag 
+0x61d5 032701 rtn 
+:      032703 adc_clear_no_power_flag:
+0x61d6 032704 fetcht 1 ,mem_adc_power_flag 
+0x61d7 032705 set0 1 ,temp 
+0x61d8 032706 storet 1 ,mem_adc_power_flag 
+0x61d9 032707 rtn 
+:      032712 keyscan_key_init:
+0x61da 032713 fetch 2 ,mem_key_num_ptr 
+0x61db 032714 ifetch 1 ,pdata 
+:      032715 keyscan_key_init_next:
+0x61dc 032716 rtn blank 
+0x61dd 032717 copy pdata ,loopcnt 
+0x61de 032719 fetch 2 ,mem_keyscan_ptr 
+0x61df 032720 increase 3 ,pdata 
+0x61e0 032721 copy pdata ,rega 
+:      032722 keyscan_key_init_lp1:
+0x61e1 032723 ifetcht 1 ,rega 
+0x61e2 032724 call gpio_config_input 
+0x61e3 032725 increase key_conf_struct_len ,rega 
+0x61e4 032726 loop keyscan_key_init_lp1 
+:      032727 keyscan_key_init_end:
+0x61e5 032728 rtn 
+:      032730 keyscan_scan_key:
+0x61e6 032731 fetch 2 ,mem_keyscan_ptr 
+0x61e7 032732 increase 3 ,pdata 
+0x61e8 032733 copy pdata ,rega 
+0x61e9 032735 force 0 ,regb 
+0x61ea 032736 setarg 0 
+0x61eb 032737 store 2 ,mem_key_value_temp 
+:      032738 keyscan_scan_key_lp1:
+0x61ec 032739 ifetcht 1 ,rega 
+0x61ed 032740 call gpio_get_bit 
+0x61ee 032741 bpatchx patch26_4 ,mem_patch26 
+0x61ef 032742 fetch 2 ,mem_key_value_temp 
+0x61f0 032743 copy regb ,queue 
+0x61f1 032744 qsetflag true ,pdata 
+0x61f2 032745 store 2 ,mem_key_value_temp 
+0x61f3 032746 increase key_conf_struct_len ,rega 
+0x61f4 032747 increase 1 ,regb 
+0x61f5 032748 fetch 2 ,mem_key_num_ptr 
+0x61f6 032749 ifetch 1 ,pdata 
+:      032750 keyscan_scan_key_lp1_next:
+0x61f7 032751 ixor regb ,null 
+0x61f8 032752 nbranch keyscan_scan_key_lp1 ,zero 
+0x61f9 032753 fetch 2 ,mem_key_value_temp 
+0x61fa 032754 fetcht 2 ,mem_key_value_retention 
+0x61fb 032755 ixor temp ,null 
+0x61fc 032756 rtn zero 
+0x61fd 032757 enable user 
+0x61fe 032758 rtn 
+:      032760 keyscan_process_lpm_before:
+0x61ff 032761 fetch 2 ,mem_key_num_ptr 
+0x6200 032762 ifetch 1 ,pdata 
+:      032763 keyscan_process_lpm_before_next:
+0x6201 032764 rtn blank 
+0x6202 032765 copy pdata ,loopcnt 
+0x6203 032766 fetch 2 ,mem_keyscan_ptr 
+0x6204 032767 increase 3 ,pdata 
+0x6205 032768 copy pdata ,rega 
+:      032769 keyscan_process_lpm_before_lp1:
+0x6206 032770 ifetcht 1 ,rega 
+0x6207 032771 call gpio_set_wake_by_current_state 
+0x6208 032772 increase key_conf_struct_len ,rega 
+0x6209 032773 loop keyscan_process_lpm_before_lp1 
+:      032774 keyscan_process_lpm_before_end:
+0x620a 032775 rtn 
+:      032777 keyscan_key_process:
+0x620b 032778 arg key_scan_timer ,queue 
+0x620c 032779 call timer_check 
+0x620d 032780 nrtn blank 
+0x620e 032781 setarg 0x20 
+0x620f 032782 arg key_scan_timer ,queue 
+0x6210 032783 call timer_init 
+0x6211 032784 disable user 
+0x6212 032785 call keyscan_process_lpm_before 
+0x6213 032786 bpatchx patch26_5 ,mem_patch26 
+0x6214 032787 fetch 2 ,mem_key_num_ptr 
+0x6215 032788 ifetch 1 ,pdata 
+:      032789 keyscan_key_process_next:
+0x6216 032790 rtn blank 
+0x6217 032791 call keyscan_scan_key 
+0x6218 032792 nbranch lpm_button_clean_wake_lock ,user 
+0x6219 032793 call lpm_button_get_wake_lock 
+0x621a 032794 disable user 
+0x621b 032795 fetch 2 ,mem_key_value_temp 
+0x621c 032796 store 2 ,mem_key_value_temp4 
+0x621d 032797 jam 0 ,mem_key_value_temp6 
+0x621e 032798 force 0 ,queue 
+:      032799 keyscan_key_lp1:
+0x621f 032800 fetch 2 ,mem_key_value_retention 
+0x6220 032801 rshift pdata ,temp 
+0x6221 032802 storet 2 ,mem_key_value_retention 
+0x6222 032803 and pdata ,0x01 ,pdata 
+0x6223 032804 fetcht 2 ,mem_key_value_temp4 
+0x6224 032805 and temp ,0x01 ,rega 
+0x6225 032806 rshift temp ,temp 
+0x6226 032807 storet 2 ,mem_key_value_temp4 
+0x6227 032808 ixor rega ,null 
+0x6228 032809 ncall keyscan_send_key_data ,zero 
+0x6229 032810 fetch 2 ,mem_key_num_ptr 
+0x622a 032811 ifetch 1 ,pdata 
+:      032812 keyscan_key_lp1_next:
+0x622b 032813 fetcht 1 ,mem_key_value_temp6 
+0x622c 032814 increase 1 ,temp 
+0x622d 032815 storet 1 ,mem_key_value_temp6 
+0x622e 032816 copy temp ,queue 
+0x622f 032817 ixor queue ,null 
+0x6230 032818 nbranch keyscan_key_lp1 ,zero 
+0x6231 032819 fetch 2 ,mem_key_value_temp 
+0x6232 032820 store 2 ,mem_key_value_retention 
+0x6233 032821 rtn 
+:      032822 keyscan_send_key_data:
+0x6234 032823 bpatchx patch26_6 ,mem_patch26 
+0x6235 032824 fetch 2 ,mem_keyscan_ptr 
+0x6236 032825 increase 1 ,pdata 
+0x6237 032826 ifetch 2 ,pdata 
+0x6238 032827 branch callback_func 
+:      032833 pwm_init:
+0x6239 032834 fetch 1 ,core_clksel 
+0x623a 032835 ior rega ,pdata 
+0x623b 032836 store 1 ,core_clksel 
+0x623c 032837 fetch 2 ,core_clkoff 
+0x623d 032838 set0 clock_off_pwm ,pdata 
+0x623e 032839 store 2 ,core_clkoff 
+:      032840 delay_nop100:
+0x623f 032841 nop 100 
+0x6240 032842 rtn 
+:      032844 pwm_clk_set:
+0x6241 032845 fetch 1 ,core_clksel 
+0x6242 032846 bbit1 6 ,pwm_24m_clk_set 
+0x6243 032847 bbit1 7 ,pwm_33k_clk_set 
+:      032848 pwm_12m_clk_set:
+0x6244 032849 setarg pwm_12mhz 
+0x6245 032850 rtn 
+:      032851 pwm_24m_clk_set:
+0x6246 032852 setarg pwm_24mhz 
+0x6247 032853 rtn 
+:      032854 pwm_33k_clk_set:
+0x6248 032855 setarg pwm_33khz 
+0x6249 032856 rtn 
+:      032857 pwm_cont_set:
+0x624a 032858 fetch 1 ,mem_pdatatemp + 1 
+0x624b 032859 bbit1 4 ,pwm_cont_set1 
+0x624c 032860 bbit0 4 ,pwm_cont_set0 
+0x624d 032861 rtn 
+:      032862 pwm_cont_set1:
+0x624e 032863 enable user 
+0x624f 032864 and pdata ,0x0f ,queue 
+0x6250 032865 call pwm_set_value 
+0x6251 032866 quotient regb 
+0x6252 032867 copy temp ,pdata 
+0x6253 032868 isub regb ,rega 
+0x6254 032869 rtn 
+:      032871 pwm_cont_set0:
+0x6255 032872 disable user 
+0x6256 032873 and pdata ,0x0f ,queue 
+0x6257 032874 call pwm_set_value 
+0x6258 032875 quotient rega 
+0x6259 032876 copy temp ,pdata 
+0x625a 032877 isub rega ,regb 
+0x625b 032878 rtn 
+:      032880 pwm_set_value:
+0x625c 032881 fetch 1 ,core_pwm_init 
+0x625d 032882 qsetflag user ,pdata 
+0x625e 032883 store 1 ,core_pwm_init 
+0x625f 032884 rtn 
+:      032886 pwm_out_set:
+0x6260 032887 fetcht 3 ,mem_pdatatemp + 2 
+0x6261 032888 call pwm_clk_set 
+0x6262 032889 idiv temp 
+0x6263 032890 call wait_div_end 
+0x6264 032891 quotient temp 
+0x6265 032892 fetch 1 ,mem_pdatatemp + 5 
+0x6266 032893 imul32 temp ,pdata 
+0x6267 032894 div pdata ,100 
+0x6268 032895 call wait_div_end 
+0x6269 032896 call pwm_cont_set 
+0x626a 032897 fetch 1 ,mem_pdatatemp + 1 
+0x626b 032898 call pwm_duty_cycle_set 
+0x626c 032899 fetch 1 ,mem_pdatatemp 
+0x626d 032900 fetcht 1 ,mem_pdatatemp + 1 
+0x626e 032901 and_into 0x0f ,temp 
+0x626f 032902 lshift8 temp ,temp 
+0x6270 032903 ior temp ,pdata 
+0x6271 032904 branch pwm_enable 
+:      032907 pwm_duty_cycle_set:
+0x6272 032908 and_into 0x0f ,pdata 
+0x6273 032909 arg core_pwm_pcnt0 ,contw 
+0x6274 032910 mul32 pdata ,4 ,pdata 
+0x6275 032911 iadd contw ,contw 
+0x6276 032912 copy rega ,pdata 
+0x6277 032913 istore 2 ,contw 
+0x6278 032914 copy regb ,pdata 
+0x6279 032915 istore 2 ,contw 
+0x627a 032916 rtn 
+:      032920 pwm_enable:
+0x627b 032921 enable user 
+0x627c 032922 call pwm_srst_set 
+0x627d 032923 branch pwm_gpio_set 
+:      032924 pwm_disable:
+0x627e 032925 disable user 
+0x627f 032926 call pwm_select_channel 
+:      032927 pwm_gpio_set:
+0x6280 032928 copy temp ,pdata 
+0x6281 032929 lshift8 pdata ,pdata 
+0x6282 032930 add queue ,gpcfg_pwm_out0 ,temp 
+0x6283 032931 ior temp ,pdata 
+0x6284 032932 call gpio_config_param 
+:      032933 pwm_set_select:
+0x6285 032934 fetch 1 ,core_pwm_en 
+0x6286 032935 jam 0x00 ,core_pwm_en 
+0x6287 032936 nop 1200 
+0x6288 032937 qsetflag user ,pdata 
+0x6289 032938 store 1 ,core_pwm_en 
+0x628a 032939 rtn 
+:      032940 pwm_select_channel:
+0x628b 032941 copy pdata ,temp 
+0x628c 032942 rshift8 pdata ,pdata 
+0x628d 032943 copy pdata ,queue 
+0x628e 032944 rtn 
+:      032947 pwm_srst_powerdown:
+0x628f 032948 disable user 
+:      032949 pwm_srst_set:
+0x6290 032950 call pwm_select_channel 
+0x6291 032951 fetch 1 ,core_pwm_srst 
+0x6292 032952 nqsetflag user ,pdata 
+0x6293 032953 store 1 ,core_pwm_srst 
+0x6294 032954 branch pwm_gpio_set 
+:      032959 wdt_init_config:
+0x6295 032960 arg 0x2710 ,temp 
+0x6296 032961 imul32 temp ,pdata 
+0x6297 032962 arg 0x1312d ,temp 
+0x6298 032963 idiv temp 
+0x6299 032964 call wait_div_end 
+0x629a 032965 quotient temp 
+0x629b 032966 setarg 2048 
+0x629c 032967 isub temp ,pdata 
+0x629d 032968 copy pdata ,temp 
+0x629e 032969 and_into 0x0f ,temp 
+0x629f 032970 storet 1 ,core_write_wdt2 
+0x62a0 032971 copy pdata ,temp 
+0x62a1 032972 rshift4 temp ,temp 
+0x62a2 032973 storet 1 ,core_write_wdt 
+0x62a3 032974 rtn 
+:      032976 wdt_set_enable:
+0x62a4 032977 enable user2 
+0x62a5 032978 branch wdt_init_set 
+:      032979 wdt_set_disable:
+0x62a6 032980 disable user2 
+:      032981 wdt_init_set:
+0x62a7 032982 fetch 1 ,core_config 
+0x62a8 032983 setflag user2 ,3 ,pdata 
+0x62a9 032984 store 1 ,core_config 
+0x62aa 032985 rtn 
+:      032989 nec61212_init:
+0x62ab 032990 arg fun_nec_enable | fun_nec_clk_divide_24 ,temp 
+:      032993 nec_init_config:
+0x62ac 032994 store 4 ,core_nec_start_addr 
+0x62ad 032995 store 2 ,core_nec_rptr 
+0x62ae 032996 storet 1 ,core_nec_control 
+0x62af 032997 rtn 
+:      033000 nec_check_rxbuff_size:
+0x62b0 033001 fetch 2 ,core_nec_rxitem 
+0x62b1 033002 rtn 
+:      033004 nec_prepare_read:
+0x62b2 033005 fetchr contu ,2 ,core_nec_rptr 
+0x62b3 033006 fetchr contus ,2 ,core_nec_start_addr 
+0x62b4 033007 fetchr contue ,2 ,core_nec_end_addr 
+0x62b5 033008 rtn 
+:      033010 nec_read_done:
+0x62b6 033011 storer contu ,2 ,core_nec_rptr 
+0x62b7 033012 rtn 
+:      033019 nec_parse_nec61212:
+0x62b8 033020 call enable_user 
+0x62b9 033021 arg 0 ,rege 
+0x62ba 033022 call nec_check_rxbuff_size 
+0x62bb 033023 beq 2 ,nec_parse_nec61212_check_timeout 
+0x62bc 033024 sub pdata ,4 ,null 
+0x62bd 033025 rtn positive 
+0x62be 033026 call nec_prepare_read 
+0x62bf 033027 ifetcht 2 ,contu 
+0x62c0 033028 setarg nec61212_data2repeat_time 
+0x62c1 033029 call nec_check_pulse_range_legal_default_deviation 
+0x62c2 033030 nbranch nec_parse_nec61212_check_repeat_data ,positive 
+0x62c3 033031 copy regd ,temp 
+0x62c4 033032 setarg nec61212_repeat2repeat_time 
+0x62c5 033033 call nec_check_pulse_range_legal_default_deviation 
+0x62c6 033034 nbranch nec_parse_nec61212_check_repeat_data ,positive 
+0x62c7 033036 copy regd ,temp 
+0x62c8 033037 setarg nec61212_boot_code_start_time 
+0x62c9 033038 call nec_check_pulse_range_legal_default_deviation 
+0x62ca 033039 branch nec_parse_nec61212_error_data ,positive 
+0x62cb 033040 ifetcht 2 ,contu 
+0x62cc 033041 setarg nec61212_boot_code_end_time 
+0x62cd 033042 call nec_check_pulse_range_legal_default_deviation 
+0x62ce 033043 branch nec_parse_nec61212_error_data ,positive 
+0x62cf 033044 call nec_check_rxbuff_size 
+0x62d0 033045 sub pdata ,133 ,null 
+0x62d1 033046 rtn positive 
+0x62d2 033047 arg 32 ,loopcnt 
+:      033048 nec_parse_nec61212_data:
+0x62d3 033049 ifetcht 2 ,contu 
+0x62d4 033050 setarg nec61212_data_bit_1_start_time 
+0x62d5 033051 call nec_check_pulse_range_legal_default_deviation 
+0x62d6 033052 branch nec_parse_nec61212_error_data ,positive 
+0x62d7 033053 ifetcht 2 ,contu 
+0x62d8 033054 setarg nec61212_data_bit_1_end_time 
+0x62d9 033055 call nec_check_pulse_range_legal_default_deviation 
+0x62da 033056 nbranch nec_parse_nec61212_add_bit1 ,positive 
+0x62db 033057 copy regd ,temp 
+0x62dc 033058 setarg nec61212_data_bit_0_end_time 
+0x62dd 033059 call nec_check_pulse_range_legal_default_deviation 
+0x62de 033060 nbranch nec_parse_nec61212_add_bit0 ,positive 
+:      033063 nec_parse_nec61212_error_data:
+0x62df 033064 copy regd ,temp 
+0x62e0 033065 setarg nec61212_timeout_time 
+0x62e1 033066 isub temp ,null 
+0x62e2 033067 branch nec_parse_nec61212_check_timeout_cb ,zero 
+0x62e3 033068 branch nec_read_done 
+:      033070 nec_parse_nec61212_add_bit1:
+0x62e4 033071 set1 32 ,rege 
+:      033072 nec_parse_nec61212_add_bit0:
+0x62e5 033073 rshift rege ,rege 
+0x62e6 033074 loop nec_parse_nec61212_data 
+0x62e7 033075 branch nec_parse_nec61212_check_stop_bit 
+:      033077 nec_parse_nec61212_check_repeat_data:
+0x62e8 033078 call nec_check_rxbuff_size 
+0x62e9 033079 sub pdata ,7 ,null 
+0x62ea 033080 rtn positive 
+0x62eb 033081 ifetcht 2 ,contu 
+0x62ec 033082 setarg nec61212_repeat_start_time 
+0x62ed 033083 call nec_check_pulse_range_legal_default_deviation 
+0x62ee 033084 branch nec_parse_nec61212_error_data ,positive 
+0x62ef 033085 ifetcht 2 ,contu 
+0x62f0 033086 setarg nec61212_repeat_end_time 
+0x62f1 033087 call nec_check_pulse_range_legal_default_deviation 
+0x62f2 033088 branch nec_parse_nec61212_error_data ,positive 
+:      033089 nec_parse_nec61212_check_stop_bit:
+0x62f3 033090 ifetcht 2 ,contu 
+0x62f4 033091 setarg nec61212_stop_time 
+0x62f5 033092 call nec_check_pulse_range_legal_default_deviation 
+0x62f6 033093 branch nec_parse_nec61212_error_data ,positive 
+0x62f7 033094 call nec_read_done 
+0x62f8 033095 copy regc ,pdata 
+0x62f9 033096 branch callback_func 
+:      033098 nec_parse_nec61212_check_timeout:
+0x62fa 033099 call nec_prepare_read 
+0x62fb 033100 ifetcht 2 ,contu 
+0x62fc 033101 setarg nec61212_timeout_time 
+0x62fd 033102 isub temp ,null 
+0x62fe 033103 nrtn zero 
+:      033104 nec_parse_nec61212_check_timeout_cb:
+0x62ff 033105 call nec_read_done 
+0x6300 033106 call disable_user 
+0x6301 033107 copy regc ,pdata 
+0x6302 033108 branch callback_func 
+:      033115 nec_check_pulse_range_legal_default_deviation:
+0x6303 033116 fetchr regb ,1 ,mem_nec_decode_error_value 
+:      033125 nec_check_pulse_range_legal:
+0x6304 033126 copy temp ,regd 
+0x6305 033127 imul32 regb ,regb 
+0x6306 033128 lshift temp ,temp 
+0x6307 033129 isub temp ,rega 
+0x6308 033130 ncall nec_check_pulse_range_legal_data_negative ,positive 
+0x6309 033131 mul32 rega ,100 ,pdata 
+0x630a 033132 isub regb ,null 
+0x630b 033133 rtn 
+:      033135 nec_check_pulse_range_legal_data_negative:
+0x630c 033136 sub rega ,0 ,rega 
+0x630d 033137 rtn 
+:      033141 select_system_clk_24m:
+0x630e 033142 jam system_clk_24m ,mem_system_clk 
+0x630f 033143 jam clksel_dpll_24m ,core_clksel 
+0x6310 033144 setarg 7499 
+0x6311 033145 store 2 ,core_halfslot 
+:      033146 calc_new_param:
+0x6312 033147 arg 11 ,loopcnt 
+0x6313 033148 arg mem_param_tx_setup ,rega 
+:      033149 calc_new_param_loop:
+0x6314 033150 ifetch 2 ,rega 
+0x6315 033151 lshift pdata ,pdata 
+0x6316 033152 istore 2 ,rega 
+0x6317 033153 increase 2 ,rega 
+0x6318 033154 loop calc_new_param_loop 
+0x6319 033155 rtn 
+:      033157 calc_new_le_time:
+0x631a 033158 lshift stop_watch ,stop_watch 
+0x631b 033159 rtn 
+:      033161 select_system_clk_12m_xtal:
+0x631c 033162 jam clksel_xtal ,core_clksel 
+:      033163 select_system_clk_12m_common:
+0x631d 033164 jam system_clk_12m ,mem_system_clk 
+0x631e 033165 setarg 3749 
+0x631f 033166 store 2 ,core_halfslot 
+0x6320 033167 rtn 
+:      033169 select_system_clk_12m_dpll:
+0x6321 033170 jam clksel_dpll ,core_clksel 
+0x6322 033171 branch select_system_clk_12m_common 
+:      033180 rfcomm_init:
+0x6323 033181 rtn wake 
+0x6324 033182 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6325 033183 jam bits9600 ,memremoterpnbitrate 
+0x6326 033184 jam databits8 ,memremoteprndatabits 
+0x6327 033185 jam 0x11 ,memremoteprnxon 
+0x6328 033186 jam 0x13 ,memremoteprnxoff 
+0x6329 033187 setarg 0 
+0x632a 033188 store 3 ,memremoteprnstopbit 
+0x632b 033189 store 1 ,mem_spp_state 
+0x632c 033190 jam 0 ,memui_reconnect_mode 
+:      033192 rfcomm_init_spp:
+0x632d 033193 setarg 0 
+0x632e 033194 store 1 ,mem_spp_state 
+0x632f 033195 store 1 ,mem_remote_spp_channel 
+0x6330 033196 store 1 ,mem_pn_dlci 
+0x6331 033197 fetch 1 ,mem_rfcomm_credit_flag 
+0x6332 033198 beq credit_enable ,rfcomm_init_spp_with_credit 
+0x6333 033199 jam 0x50 ,mem_credit_given 
+0x6334 033200 rtn 
+:      033202 rfcomm_init_spp_with_credit:
+0x6335 033203 jam 0x00 ,mem_credit_given 
+0x6336 033204 rtn 
+:      033206 set_cr_bit:
+0x6337 033207 or_into 0x02 ,temp 
+0x6338 033208 rtn 
+:      033220 rfcomm_calculate_fcs_sabm:
+0x6339 033221 copy temp ,pdata 
+0x633a 033222 reverse pdata ,pdata 
+0x633b 033223 store 1 ,memfcstemp3 
+0x633c 033224 force ini_tx_sabm ,pdata 
+0x633d 033225 reverse pdata ,pdata 
+0x633e 033226 store 1 ,memfcstemp2 
+0x633f 033227 force 0x01 ,pdata 
+0x6340 033228 reverse pdata ,pdata 
+0x6341 033229 store 1 ,memfcstemp1 
+0x6342 033230 call caculate_fcs 
+0x6343 033231 copy temp ,pdata 
+0x6344 033232 rtn 
+:      033233 rfcomm_calculate_fcs_ua:
+0x6345 033234 reverse pdata ,pdata 
+0x6346 033235 store 1 ,memfcstemp3 
+0x6347 033236 force rsp_tx_ua ,pdata 
+0x6348 033237 reverse pdata ,pdata 
+0x6349 033238 store 1 ,memfcstemp2 
+0x634a 033239 force 0x01 ,pdata 
+0x634b 033240 reverse pdata ,pdata 
+0x634c 033241 store 1 ,memfcstemp1 
+0x634d 033242 branch caculate_fcs 
+:      033244 rfcomm_calculate_fcs_dlci0:
+0x634e 033245 fetch 1 ,mem_rfcomm_initiator 
+0x634f 033246 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+0x6350 033247 setarg 0x70 
+0x6351 033248 rtn 
+:      033249 rfcomm_calculate_fcs_dlci0_res:
+0x6352 033250 setarg 0xaa 
+0x6353 033251 rtn 
+:      033253 rfcomm_save_fcs_uih:
+0x6354 033254 reverse pdata ,pdata 
+0x6355 033255 store 1 ,memfcstemp3 
+0x6356 033256 force rsp_rx_uih ,pdata 
+0x6357 033257 call caculate_uihdata_fcs 
+0x6358 033258 fetcht 2 ,mem_contw_temp 
+0x6359 033259 copy temp ,contw 
+0x635a 033260 istore 1 ,contw 
+0x635b 033261 copy contw ,temp 
+0x635c 033262 storet 2 ,mem_contw_temp 
+0x635d 033263 force rsp_rx_uih_wdata ,pdata 
+0x635e 033264 call caculate_uihdata_fcs 
+0x635f 033265 fetcht 2 ,mem_contw_temp 
+0x6360 033266 copy temp ,contw 
+0x6361 033267 istore 1 ,contw 
+0x6362 033268 rtn 
+:      033277 caculate_uihdata_fcs:
+0x6363 033278 reverse pdata ,pdata 
+0x6364 033279 store 1 ,memfcstemp2 
+0x6365 033280 fetch 2 ,memfcstemp2 
+0x6366 033281 lshift8 pdata ,pdata 
+0x6367 033282 store 3 ,mem_mod2div_temp 
+0x6368 033283 arg 0x107 ,rega 
+0x6369 033284 arg 0xf ,regb 
+0x636a 033285 call mod2div 
+0x636b 033286 xor_into 0xd7 ,pdata 
+0x636c 033287 invert pdata ,pdata 
+0x636d 033288 reverse pdata ,pdata 
+0x636e 033289 rtn 
+:      033299 caculate_fcs:
+0x636f 033300 fetch 3 ,memfcstemp1 
+0x6370 033301 store 3 ,mem_mod2div_temp 
+0x6371 033302 arg 0x107 ,rega 
+0x6372 033303 arg 0xf ,regb 
+0x6373 033304 call mod2div 
+0x6374 033305 lshift8 pdata ,pdata 
+0x6375 033306 arg 0x7 ,regb 
+0x6376 033307 call mod2div 
+0x6377 033308 xor_into 0x2b ,pdata 
+0x6378 033309 invert pdata ,pdata 
+0x6379 033310 reverse pdata ,pdata 
+0x637a 033311 copy pdata ,temp 
+0x637b 033312 rtn 
+:      033314 mod2div:
+0x637c 033315 arg 0 ,regc 
+0x637d 033316 copy regb ,loopcnt 
+0x637e 033317 call right_shift_n 
+0x637f 033318 icopy temp 
+:      033319 mod2div_loop:
+0x6380 033324 copy temp ,pdata 
+0x6381 033325 lshift regc ,regc 
+0x6382 033326 bbit0 8 ,mod2div_not_enough_reduction 
+0x6383 033327 ixor rega ,temp 
+0x6384 033328 increase 1 ,regc 
+:      033329 mod2div_not_enough_reduction:
+0x6385 033330 lshift temp ,temp 
+0x6386 033331 fetch 3 ,mem_mod2div_temp 
+0x6387 033332 increase -1 ,regb 
+0x6388 033333 compare 0xff ,regb ,0xff 
+0x6389 033334 branch mod2div_end ,true 
+0x638a 033335 copy regb ,loopcnt 
+0x638b 033336 call right_shift_n 
+0x638c 033337 isolate1 0 ,pdata 
+0x638d 033338 setflag true ,0 ,temp 
+0x638e 033339 branch mod2div_loop 
+:      033340 mod2div_end:
+0x638f 033342 rshift temp ,pdata 
+0x6390 033343 rtn 
+:      033345 get_rfcomm_snd_adss:
+0x6391 033346 fetcht 1 ,mem_pn_dlci 
+:      033347 dlci_to_address_cmd:
+0x6392 033349 lshift2 temp ,temp 
+0x6393 033350 set1 rfcomm_address_ext_len ,temp 
+0x6394 033351 fetch 1 ,mem_rfcomm_initiator 
+0x6395 033352 ncall set_cr_bit ,blank 
+0x6396 033353 storet 1 ,mem_rfcomm_send_adss 
+0x6397 033354 rtn 
+:      033356 channel_to_dlci:
+0x6398 033358 lshift temp ,temp 
+0x6399 033359 fetch 1 ,mem_rfcomm_initiator 
+0x639a 033360 setflag blank ,0 ,temp 
+0x639b 033362 rtn 
+:      033363 rfcomm_rx_process_dlci0_sabm:
+0x639c 033364 fetcht 1 ,mem_current_channel 
+0x639d 033365 jam 0xd7 ,mem_current_fcs 
+0x639e 033366 call rfcomm_send_ua 
+0x639f 033367 fetch 1 ,mem_rfcomm_state 
+0x63a0 033368 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x63a1 033369 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x63a2 033370 store 1 ,mem_rfcomm_state 
+0x63a3 033371 jam 0 ,mem_rfcomm_initiator 
+0x63a4 033372 branch rfcomm_rx_process_end 
+:      033373 rfcomm_rx_process_dlci0_ua:
+0x63a5 033374 fetch 1 ,mem_rfcomm_state 
+0x63a6 033375 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x63a7 033376 store 1 ,mem_rfcomm_state 
+0x63a8 033377 branch rfcomm_rx_process_end 
+:      033380 rfcomm_rx_process:
+0x63a9 033381 bpatchx patch26_7 ,mem_patch26 
+0x63aa 033382 fetch 1 ,memui_reconnect_mode 
+0x63ab 033383 beq no_reconnection ,rfcomm_rx_process_remote_page 
+0x63ac 033384 branch rfcomm_rx_process_reconn 
+:      033386 rfcomm_rx_process_remote_page:
+0x63ad 033387 fetch 2 ,mem_l2cap_payload_ptr 
+0x63ae 033388 copy pdata ,contr 
+0x63af 033389 call get_rfcomm_head_struct 
+0x63b0 033390 fetch 1 ,mem_current_channel 
+0x63b1 033391 beq 0 ,parse_dlci0_rp 
+0x63b2 033392 branch parse_uih_rp 
+:      033393 parse_dlci0_rp:
+0x63b3 033394 bpatchx patch27_0 ,mem_patch27 
+0x63b4 033395 fetch 1 ,mem_current_frame_type 
+0x63b5 033396 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x63b6 033397 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x63b7 033398 beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+0x63b8 033399 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn_send_event 
+0x63b9 033400 rtn 
+:      033403 parse_dlci0_rp_uih:
+0x63ba 033404 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x63bb 033405 copy pdata ,contr 
+0x63bc 033406 call get_rfcomm_uih_head_struct 
+0x63bd 033407 fetch 1 ,mem_uih_cmd_type 
+0x63be 033408 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+0x63bf 033409 beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+0x63c0 033410 beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+0x63c1 033411 beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+0x63c2 033412 beq uih_param_cmd_remove_port ,parse_dlci0_rp_uih_cmd_port 
+0x63c3 033413 branch rfcomm_rx_process_end 
+:      033415 parse_dlci0_rp_uih_pn_cmd:
+0x63c4 033416 call parse_dlci0_rp_uih_pn_res_common 
+0x63c5 033418 branch parse_dlci0_rp_uih_pn_cmd_spp 
+:      033420 parse_dlci0_rp_uih_pn_cmd_spp:
+0x63c6 033421 fetch 1 ,mem_spp_state 
+0x63c7 033422 set1 rfcomm_channel_state_pn_cmd ,pdata 
+0x63c8 033423 set1 rfcomm_channel_state_pn_res ,pdata 
+0x63c9 033424 store 1 ,mem_spp_state 
+0x63ca 033425 call rfcomm_send_param_neg_res 
+0x63cb 033426 branch rfcomm_rx_process_end 
+:      033428 parse_dlci0_rp_uih_pn_res:
+0x63cc 033429 call parse_dlci0_rp_uih_pn_res_common 
+0x63cd 033430 branch rfcomm_rx_process_end 
+:      033432 parse_dlci0_rp_uih_pn_res_common:
+0x63ce 033433 call get_param_payload_ptr 
+0x63cf 033434 branch get_rfcomm_prarmer_negotiation 
+:      033436 get_rfcomm_param_modem_status:
+0x63d0 033437 call get_param_payload_ptr 
+0x63d1 033438 ifetch 1 ,contr 
+0x63d2 033439 rshift3 pdata ,pdata 
+0x63d3 033440 store 1 ,mem_ms_channel 
+0x63d4 033441 ifetch 1 ,contr 
+0x63d5 033442 store 1 ,mem_ms_param 
+0x63d6 033443 rtn 
+:      033446 get_rfcomm_head_struct:
+0x63d7 033447 ifetch 1 ,contr 
+0x63d8 033448 store 1 ,mem_current_adss 
+0x63d9 033449 rshift3 pdata ,pdata 
+0x63da 033450 store 1 ,mem_current_channel 
+0x63db 033451 ifetch 1 ,contr 
+0x63dc 033452 store 1 ,mem_current_frame_type 
+:      033453 get_rfcomm_current_length:
+0x63dd 033454 call get_rfcomm_length_common 
+0x63de 033455 storet 2 ,mem_current_length 
+0x63df 033456 copy contr ,pdata 
+0x63e0 033457 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x63e1 033458 rtn 
+:      033460 get_rfcomm_uih_head_struct:
+0x63e2 033461 ifetch 1 ,contr 
+0x63e3 033462 rshift pdata ,pdata 
+0x63e4 033463 store 1 ,mem_uih_cmd_type 
+0x63e5 033464 call get_rfcomm_length_common 
+0x63e6 033465 storet 2 ,mem_uih_length 
+0x63e7 033466 copy contr ,pdata 
+0x63e8 033467 store 2 ,mem_param_payload_ptr 
+0x63e9 033468 rtn 
+:      033471 get_param_payload_ptr:
+0x63ea 033472 fetch 2 ,mem_param_payload_ptr 
+0x63eb 033473 copy pdata ,contr 
+0x63ec 033474 rtn 
+:      033476 get_rfcomm_length_common:
+0x63ed 033477 ifetch 1 ,contr 
+0x63ee 033478 copy pdata ,temp 
+0x63ef 033479 rshift temp ,temp 
+0x63f0 033480 rtnbit1 0 
+0x63f1 033481 ifetch 1 ,contr 
+0x63f2 033482 lshift3 pdata ,pdata 
+0x63f3 033483 lshift4 pdata ,pdata 
+0x63f4 033484 iadd temp ,temp 
+0x63f5 033485 rtn 
+:      033487 get_rfcomm_prarmer_negotiation:
+0x63f6 033488 ifetch 1 ,contr 
+0x63f7 033489 store 1 ,mem_pn_dlci 
+0x63f8 033490 ifetch 1 ,contr 
+0x63f9 033491 store 1 ,mem_pn_credit_flow_type_info 
+0x63fa 033492 ifetch 1 ,contr 
+0x63fb 033493 store 1 ,mem_pn_priority 
+0x63fc 033494 ifetch 1 ,contr 
+0x63fd 033495 store 1 ,mem_pn_acknowledg_timer 
+0x63fe 033496 ifetch 2 ,contr 
+0x63ff 033497 store 2 ,mem_pn_max_frame_size 
+0x6400 033498 ifetch 1 ,contr 
+0x6401 033499 store 1 ,mem_pn_max_retrans 
+0x6402 033500 ifetch 1 ,contr 
+0x6403 033501 store 1 ,mem_remote_credits 
+0x6404 033502 rtn 
+:      033505 parse_dlci0_rp_uih_ms_cmd:
+0x6405 033506 call get_rfcomm_param_modem_status 
+0x6406 033508 branch parse_dlci0_rp_uih_ms_cmd_spp 
+:      033510 parse_dlci0_rp_uih_ms_cmd_spp:
+0x6407 033511 fetch 1 ,mem_spp_state 
+0x6408 033512 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6409 033513 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x640a 033514 store 1 ,mem_spp_state 
+0x640b 033515 fetcht 1 ,mem_pn_dlci 
+0x640c 033516 lshift2 temp ,temp 
+0x640d 033517 or_into 3 ,temp 
+0x640e 033518 call rfcomm_send_modem_status_res 
+0x640f 033519 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+0x6410 033520 branch rfcomm_rx_process_end 
+:      033522 parse_dlci0_rp_uih_ms_res:
+0x6411 033523 jam bt_evt_spp_connected ,mem_fifo_temp 
+0x6412 033524 call ui_ipc_send_event 
+0x6413 033525 call get_rfcomm_param_modem_status 
+0x6414 033526 fetch 1 ,mem_ms_channel 
+0x6415 033527 sub pdata ,1 ,null 
+0x6416 033528 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+0x6417 033529 branch assert 
+:      033530 parse_dlci0_rp_uih_ms_res_spp:
+0x6418 033531 fetch 1 ,mem_spp_state 
+0x6419 033532 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x641a 033533 store 1 ,mem_spp_state 
+0x641b 033534 branch rfcomm_rx_process_end 
+:      033536 parse_dlci0_rp_uih_cmd_port:
+0x641c 033537 call get_param_payload_ptr 
+0x641d 033538 ifetch 1 ,contr 
+0x641e 033539 store 1 ,mem_rpn_dlci 
+0x641f 033540 call l2cap_malloc_rfcomm_channel 
+0x6420 033541 call l2cap_get_rfcomm_tx_buff 
+0x6421 033542 setarg 0x000e 
+0x6422 033543 istore 2 ,contw 
+0x6423 033544 fetch 2 ,mem_rfcomm_remote_cid 
+0x6424 033545 istore 2 ,contw 
+0x6425 033546 fetch 1 ,mem_rfcomm_initiator 
+0x6426 033548 lshift pdata ,pdata 
+0x6427 033549 set1 0 ,pdata 
+0x6428 033550 istore 1 ,contw 
+0x6429 033551 bpatchx patch27_1 ,mem_patch27 
+0x642a 033552 setarg 0x15ef 
+0x642b 033553 istore 2 ,contw 
+0x642c 033554 setarg 0x1191 
+0x642d 033555 istore 2 ,contw 
+0x642e 033558 fetch 1 ,mem_rpn_dlci 
+0x642f 033559 istore 1 ,contw 
+0x6430 033560 setarg 0x000007 
+0x6431 033561 istore 5 ,contw 
+0x6432 033564 setarg 0x01 
+0x6433 033565 istore 2 ,contw 
+0x6434 033568 call rfcomm_calculate_fcs_dlci0 
+0x6435 033569 istore 1 ,contw 
+0x6436 033570 rtn 
+:      033574 parse_uih_rp:
+0x6437 033575 branch parse_uih_rp_spp 
+:      033577 parse_uih_rp_spp:
+0x6438 033578 bpatchx patch27_2 ,mem_patch27 
+0x6439 033579 fetch 1 ,mem_current_frame_type 
+0x643a 033580 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+0x643b 033581 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+0x643c 033582 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x643d 033583 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x643e 033584 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+0x643f 033585 rtn 
+:      033586 parse_uih_rp_spp_ua:
+0x6440 033587 fetch 1 ,mem_spp_state 
+0x6441 033588 set1 rfcomm_channel_state_ua ,pdata 
+0x6442 033589 store 1 ,mem_spp_state 
+0x6443 033590 branch rfcomm_rx_process_end 
+:      033591 parse_uih_rp_spp_sabm:
+0x6444 033592 fetch 1 ,mem_spp_state 
+0x6445 033593 set1 rfcomm_channel_state_ua ,pdata 
+0x6446 033594 set1 rfcomm_channel_state_sabm ,pdata 
+0x6447 033595 store 1 ,mem_spp_state 
+0x6448 033596 fetch 1 ,mem_current_adss 
+0x6449 033597 call rfcomm_calculate_fcs_ua 
+0x644a 033598 store 1 ,mem_current_fcs 
+0x644b 033599 call rfcomm_send_ua 
+0x644c 033600 fetch 1 ,mem_current_adss 
+0x644d 033601 rshift2 pdata ,pdata 
+0x644e 033602 store 1 ,mem_pn_dlci 
+0x644f 033603 lshift2 pdata ,pdata 
+0x6450 033604 set0 rfcomm_address_cr ,pdata 
+0x6451 033605 set1 rfcomm_address_ext_len ,pdata 
+0x6452 033606 arg mem_hiufcs_spp ,temp 
+0x6453 033607 storet 2 ,mem_contw_temp 
+0x6454 033608 call rfcomm_save_fcs_uih 
+0x6455 033609 branch rfcomm_rx_process_end 
+:      033611 parse_uih_spp_uih_credits:
+0x6456 033612 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6457 033613 copy pdata ,contr 
+0x6458 033614 increase 1 ,pdata 
+0x6459 033615 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x645a 033616 ifetch 1 ,contr 
+0x645b 033617 fetcht 1 ,mem_remote_credits 
+0x645c 033618 iadd temp ,pdata 
+0x645d 033619 store 1 ,mem_remote_credits 
+:      033620 parse_uih_spp_uih:
+0x645e 033621 call rfcomm_increase_credit_given 
+:      033622 parse_uih_spp_uih_cont:
+0x645f 033623 call get_rfcomm_snd_adss 
+0x6460 033624 call rfcomm_send_uih_without_payload 
+0x6461 033625 call spp_process_rx_data 
+0x6462 033626 branch rfcomm_rx_process_end 
+:      033628 parse_uih_rp_spp_disconn_send_event:
+0x6463 033629 jam bt_evt_spp_disconnected ,mem_fifo_temp 
+0x6464 033630 call ui_ipc_send_event 
+:      033631 parse_uih_rp_spp_disconn:
+0x6465 033632 call rfcomm_init_spp 
+0x6466 033633 fetch 1 ,mem_current_adss 
+0x6467 033634 call rfcomm_calculate_fcs_ua 
+0x6468 033635 store 1 ,mem_current_fcs 
+0x6469 033636 call rfcomm_send_ua 
+0x646a 033637 branch rfcomm_rx_process_end 
+:      033642 rfcomm_rx_process_reconn:
+0x646b 033643 fetch 2 ,mem_l2cap_payload_ptr 
+0x646c 033644 copy pdata ,contr 
+0x646d 033645 call get_rfcomm_head_struct 
+0x646e 033646 fetch 1 ,mem_current_channel 
+0x646f 033647 beq 0 ,parse_dlci0_reconn 
+0x6470 033648 branch parse_uih_reconn 
+:      033650 parse_dlci0_reconn:
+0x6471 033651 bpatchx patch27_3 ,mem_patch27 
+0x6472 033652 fetch 1 ,mem_current_frame_type 
+0x6473 033653 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6474 033654 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6475 033655 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+0x6476 033656 branch rfcomm_rx_process_end 
+:      033657 parse_dlci0_reconn_uih:
+0x6477 033658 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6478 033659 copy pdata ,contr 
+0x6479 033660 call get_rfcomm_uih_head_struct 
+0x647a 033661 fetch 1 ,mem_uih_cmd_type 
+0x647b 033662 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+0x647c 033663 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+0x647d 033664 beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+0x647e 033665 beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+0x647f 033666 branch rfcomm_rx_process_end 
+:      033668 parse_dlci0_reconn_uih_pn_cmd:
+0x6480 033669 call parse_dlci0_rp_uih_pn_res_common 
+0x6481 033670 fetch 1 ,mem_pn_dlci 
+0x6482 033671 rshift pdata ,pdata 
+0x6483 033672 fetcht 1 ,mem_remote_spp_channel 
+0x6484 033673 isub temp ,null 
+0x6485 033674 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+0x6486 033675 branch assert 
+:      033676 parse_dlci0_reconn_uih_pn_cmd_spp:
+0x6487 033677 fetch 1 ,mem_spp_state 
+0x6488 033678 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6489 033679 store 1 ,mem_spp_state 
+0x648a 033680 branch rfcomm_rx_process_end 
+:      033682 parse_dlci0_reconn_uih_ms_cmd:
+0x648b 033683 call get_rfcomm_param_modem_status 
+0x648c 033684 fetch 1 ,mem_ms_channel 
+0x648d 033685 fetcht 1 ,mem_remote_spp_channel 
+0x648e 033686 isub temp ,null 
+0x648f 033687 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+0x6490 033688 branch assert 
+0x6491 033689 branch rfcomm_rx_process_end 
+:      033690 parse_dlci0_reconn_uih_ms_cmd_spp:
+0x6492 033691 fetch 1 ,mem_spp_state 
+0x6493 033692 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6494 033693 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6495 033694 store 1 ,mem_spp_state 
+0x6496 033695 fetcht 1 ,mem_pn_dlci 
+0x6497 033696 lshift2 temp ,temp 
+0x6498 033697 or_into 3 ,temp 
+0x6499 033698 call rfcomm_send_modem_status_res 
+0x649a 033699 branch rfcomm_rx_process_end 
+:      033701 parse_dlci0_reconn_uih_ms_res:
+0x649b 033702 call get_rfcomm_param_modem_status 
+0x649c 033703 fetch 1 ,mem_ms_channel 
+0x649d 033704 fetcht 1 ,mem_remote_spp_channel 
+0x649e 033705 isub temp ,null 
+0x649f 033706 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+0x64a0 033707 branch assert 
+:      033708 parse_dlci0_reconn_uih_ms_res_spp:
+0x64a1 033709 fetch 1 ,mem_spp_state 
+0x64a2 033710 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x64a3 033711 store 1 ,mem_spp_state 
+0x64a4 033712 branch rfcomm_rx_process_end 
+:      033714 parse_uih_reconn:
+0x64a5 033715 fetch 1 ,mem_current_channel 
+0x64a6 033716 fetcht 1 ,mem_remote_spp_channel 
+0x64a7 033717 isub temp ,null 
+0x64a8 033718 branch parse_uih_reconn_spp ,zero 
+0x64a9 033719 branch assert 
+0x64aa 033720 branch rfcomm_rx_process_end 
+:      033722 parse_uih_reconn_spp:
+0x64ab 033723 fetch 1 ,mem_current_frame_type 
+0x64ac 033724 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+0x64ad 033725 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x64ae 033726 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x64af 033727 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+:      033728 parse_uih_reconn_spp_ua:
+0x64b0 033729 fetch 1 ,mem_spp_state 
+0x64b1 033730 set1 rfcomm_channel_state_ua ,pdata 
+0x64b2 033731 store 1 ,mem_spp_state 
+0x64b3 033732 branch rfcomm_rx_process_end 
+:      033733 parse_uih_reconn_spp_sabm:
+0x64b4 033734 branch parse_uih_reconn_spp_sabm 
+:      033735 parse_uih_reconn_spp_disconn:
+0x64b5 033736 branch parse_uih_rp_spp_disconn 
+:      033737 rfcomm_rx_process_end:
+0x64b6 033738 rtn 
+:      033740 rfcomm_send_more_pkt:
+0x64b7 033741 fetch 1 ,mem_rfcomm_send_more_pkt 
+0x64b8 033742 rtn blank 
+0x64b9 033743 beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+0x64ba 033744 branch assert 
+:      033746 rfcomm_send_more_pkt_msc_cmd_spp:
+0x64bb 033747 jam 0 ,mem_rfcomm_send_more_pkt 
+0x64bc 033748 call l2cap_malloc_rfcomm_channel 
+0x64bd 033749 arg spp_slave_channel ,temp 
+0x64be 033750 fetcht 1 ,mem_pn_dlci 
+0x64bf 033751 lshift2 temp ,temp 
+:      033752 rfcomm_send_more_pkt_msc_cmd_spp0:
+0x64c0 033753 or_into 0x03 ,temp 
+0x64c1 033754 arg 0xaa ,rega 
+0x64c2 033755 call rfcomm_send_modem_status_cmd 
+0x64c3 033756 call l2cap_get_rfcomm_tx_buff 
+0x64c4 033757 copy contw ,contr 
+0x64c5 033758 ifetch 2 ,contr 
+0x64c6 033759 branch assert ,blank 
+0x64c7 033760 rtn 
+:      033762 rfcomm_send_sabm:
+0x64c8 033763 call l2cap_get_rfcomm_tx_buff 
+0x64c9 033764 setarg 0x0004 
+0x64ca 033765 istore 2 ,contw 
+0x64cb 033766 fetch 2 ,mem_rfcomm_remote_cid 
+0x64cc 033767 istore 2 ,contw 
+0x64cd 033768 fetch 1 ,mem_current_adss 
+0x64ce 033769 istore 1 ,contw 
+0x64cf 033770 bpatchx patch27_4 ,mem_patch27 
+0x64d0 033771 setarg 0x013f 
+0x64d1 033772 istore 2 ,contw 
+0x64d2 033773 fetch 1 ,mem_current_fcs 
+0x64d3 033774 istore 1 ,contw 
+0x64d4 033775 rtn 
+:      033776 rfcomm_send_ua:
+0x64d5 033777 call l2cap_malloc_rfcomm_channel 
+0x64d6 033778 call l2cap_get_rfcomm_tx_buff 
+0x64d7 033779 setarg 0x0004 
+0x64d8 033780 istore 2 ,contw 
+0x64d9 033781 fetch 2 ,mem_rfcomm_remote_cid 
+0x64da 033782 istore 2 ,contw 
+0x64db 033783 fetch 1 ,mem_current_adss 
+0x64dc 033784 istore 1 ,contw 
+0x64dd 033785 bpatchx patch27_5 ,mem_patch27 
+0x64de 033786 setarg 0x0173 
+0x64df 033787 istore 2 ,contw 
+0x64e0 033788 fetch 1 ,mem_current_fcs 
+0x64e1 033789 istore 1 ,contw 
+0x64e2 033790 rtn 
+:      033791 rfcomm_send_param_neg_cmd:
+0x64e3 033792 call l2cap_get_rfcomm_tx_buff 
+0x64e4 033793 setarg 0x000e 
+0x64e5 033794 istore 2 ,contw 
+0x64e6 033795 fetch 2 ,mem_rfcomm_remote_cid 
+0x64e7 033796 istore 2 ,contw 
+0x64e8 033797 fetch 1 ,mem_rfcomm_initiator 
+0x64e9 033798 lshift pdata ,pdata 
+0x64ea 033799 set1 0 ,pdata 
+0x64eb 033800 istore 1 ,contw 
+0x64ec 033801 bpatchx patch27_6 ,mem_patch27 
+0x64ed 033802 setarg 0x15ef 
+0x64ee 033803 istore 2 ,contw 
+0x64ef 033804 setarg 0x1183 
+0x64f0 033805 istore 2 ,contw 
+0x64f1 033806 copy temp ,pdata 
+0x64f2 033807 istore 1 ,contw 
+0x64f3 033808 setarg 0x0000f0 
+0x64f4 033809 istore 3 ,contw 
+0x64f5 033810 setarg rfcomm_max_frame_size 
+0x64f6 033811 istore 2 ,contw 
+0x64f7 033812 setarg 0 
+0x64f8 033813 istore 1 ,contw 
+0x64f9 033814 setarg 0x01 
+0x64fa 033815 istore 1 ,contw 
+0x64fb 033816 call rfcomm_calculate_fcs_dlci0 
+0x64fc 033817 istore 1 ,contw 
+0x64fd 033818 jam 0x10 ,mem_credit_given 
+0x64fe 033819 rtn 
+:      033820 rfcomm_send_param_neg_res:
+0x64ff 033821 call l2cap_malloc_rfcomm_channel 
+0x6500 033822 call l2cap_get_rfcomm_tx_buff 
+0x6501 033823 setarg 0x000e 
+0x6502 033824 istore 2 ,contw 
+0x6503 033825 fetch 2 ,mem_rfcomm_remote_cid 
+0x6504 033826 istore 2 ,contw 
+0x6505 033827 fetch 1 ,mem_rfcomm_initiator 
+0x6506 033828 lshift pdata ,pdata 
+0x6507 033829 set1 0 ,pdata 
+0x6508 033830 istore 1 ,contw 
+0x6509 033831 bpatchx patch27_7 ,mem_patch27 
+0x650a 033832 setarg 0x15ef 
+0x650b 033833 istore 2 ,contw 
+0x650c 033834 setarg 0x1181 
+0x650d 033835 istore 2 ,contw 
+0x650e 033836 fetch 1 ,mem_pn_dlci 
+0x650f 033837 istore 1 ,contw 
+0x6510 033838 setarg 0x0000e0 
+0x6511 033839 istore 3 ,contw 
+0x6512 033840 fetch 2 ,mem_rfcomm_max_frame_size 
+0x6513 033841 istore 2 ,contw 
+0x6514 033842 setarg 0x00 
+0x6515 033843 istore 1 ,contw 
+0x6516 033844 fetch 1 ,mem_rfcomm_credit_init_data 
+0x6517 033845 istore 1 ,contw 
+0x6518 033846 call rfcomm_calculate_fcs_dlci0 
+0x6519 033847 istore 1 ,contw 
+0x651a 033848 rtn 
+:      033849 rfcomm_send_modem_status_cmd:
+0x651b 033850 call l2cap_get_rfcomm_tx_buff 
+0x651c 033851 setarg 0x0008 
+0x651d 033852 istore 2 ,contw 
+0x651e 033853 fetch 2 ,mem_rfcomm_remote_cid 
+0x651f 033854 istore 2 ,contw 
+0x6520 033855 fetch 1 ,mem_rfcomm_initiator 
+0x6521 033856 lshift pdata ,pdata 
+0x6522 033857 set1 0 ,pdata 
+0x6523 033858 istore 1 ,contw 
+0x6524 033859 bpatchx patch28_0 ,mem_patch28 
+0x6525 033860 setarg 0x09ef 
+0x6526 033861 istore 2 ,contw 
+0x6527 033862 setarg 0x05e3 
+0x6528 033863 istore 2 ,contw 
+0x6529 033864 copy temp ,pdata 
+0x652a 033865 istore 1 ,contw 
+0x652b 033866 setarg 0x8d 
+0x652c 033867 istore 1 ,contw 
+0x652d 033868 call rfcomm_calculate_fcs_dlci0 
+0x652e 033869 istore 1 ,contw 
+0x652f 033870 rtn 
+:      033872 rfcomm_send_modem_status_res:
+0x6530 033873 call l2cap_malloc_rfcomm_channel 
+0x6531 033874 call l2cap_get_rfcomm_tx_buff 
+0x6532 033875 setarg 0x0008 
+0x6533 033876 istore 2 ,contw 
+0x6534 033877 fetch 2 ,mem_rfcomm_remote_cid 
+0x6535 033878 istore 2 ,contw 
+0x6536 033879 copy temp ,timeup 
+0x6537 033880 fetch 1 ,mem_rfcomm_initiator 
+0x6538 033881 lshift pdata ,pdata 
+0x6539 033882 set1 0 ,pdata 
+0x653a 033883 istore 1 ,contw 
+0x653b 033884 bpatchx patch28_1 ,mem_patch28 
+0x653c 033885 setarg 0x09ef 
+0x653d 033886 istore 2 ,contw 
+0x653e 033887 setarg 0x05e1 
+0x653f 033888 istore 2 ,contw 
+0x6540 033889 copy timeup ,pdata 
+0x6541 033890 istore 1 ,contw 
+0x6542 033891 setarg 0x8d 
+0x6543 033892 istore 1 ,contw 
+0x6544 033893 call rfcomm_calculate_fcs_dlci0 
+0x6545 033894 istore 1 ,contw 
+0x6546 033895 rtn 
+:      033897 rfcomm_send_uih_without_payload:
+0x6547 033898 bpatchx patch28_2 ,mem_patch28 
+0x6548 033899 fetch 1 ,mem_credit_given 
+0x6549 033900 rtn blank 
+0x654a 033901 fetch 2 ,core_uart_rxitems 
+0x654b 033902 nrtn blank 
+0x654c 033903 copy rega ,pdata 
+0x654d 033904 store 1 ,mem_pdatatemp + 1 
+0x654e 033905 storet 1 ,mem_pdatatemp 
+0x654f 033906 call l2cap_malloc_is_fifo_full 
+0x6550 033907 nrtn blank 
+0x6551 033908 call l2cap_malloc_rfcomm_channel 
+0x6552 033909 call l2cap_get_rfcomm_tx_buff 
+0x6553 033910 setarg 0x05 
+0x6554 033911 istore 2 ,contw 
+0x6555 033912 fetch 2 ,mem_rfcomm_remote_cid 
+0x6556 033913 istore 2 ,contw 
+0x6557 033914 fetch 1 ,mem_rfcomm_send_adss 
+0x6558 033915 istore 1 ,contw 
+0x6559 033916 setarg 0x01ff 
+0x655a 033917 istore 2 ,contw 
+0x655b 033918 fetch 1 ,mem_credit_given 
+0x655c 033919 istore 1 ,contw 
+0x655d 033920 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x655e 033921 istore 1 ,contw 
+0x655f 033922 jam 0 ,mem_credit_given 
+0x6560 033923 rtn 
+:      033925 rfcomm_increase_credit_given:
+0x6561 033926 bpatchx patch28_3 ,mem_patch28 
+0x6562 033927 fetch 1 ,mem_rfcomm_credit_flag 
+0x6563 033928 rtneq credit_enable 
+0x6564 033929 fetch 2 ,mem_current_length 
+0x6565 033930 rtn blank 
+0x6566 033931 fetch 1 ,mem_credit_given 
+0x6567 033932 increase 1 ,pdata 
+0x6568 033933 store 1 ,mem_credit_given 
+0x6569 033934 rtn 
+:      033936 spp_process_rx_data:
+0x656a 033937 fetch 2 ,mem_cb_receive_spp_data 
+0x656b 033938 branch callback_func 
+:      033940 spp_tx_rfcomm_packet:
+0x656c 033941 bpatchx patch28_4 ,mem_patch28 
+0x656d 033943 fetch 1 ,mem_remote_credits 
+0x656e 033944 rtn blank 
+0x656f 033945 increase -1 ,pdata 
+0x6570 033946 store 1 ,mem_remote_credits 
+0x6571 033947 fetch 2 ,mem_pn_max_frame_size 
+0x6572 033948 fetcht 2 ,mem_current_packet_length 
+0x6573 033949 isub temp ,null 
+0x6574 033950 branch ssp_tx_rfcomm_from_uart ,positive 
+0x6575 033951 store 2 ,mem_current_packet_length 
+:      033952 ssp_tx_rfcomm_from_uart:
+0x6576 033953 fetch 1 ,mem_credit_given 
+0x6577 033954 branch ssp_tx_rfcomm_from_uart_without_credit ,blank 
+0x6578 033955 jam 1 ,mem_rfcomm_send_offset 
+0x6579 033956 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x657a 033957 store 1 ,mem_rfcomm_send_fcs 
+0x657b 033958 setarg rsp_rx_uih_wdata 
+0x657c 033959 store 1 ,mem_rfcomm_send_frame_type 
+0x657d 033960 branch ssp_tx_rfcomm_from_uart_common 
+:      033961 ssp_tx_rfcomm_from_uart_without_credit:
+0x657e 033962 jam 0 ,mem_rfcomm_send_offset 
+0x657f 033963 fetch 1 ,mem_hiufcs_spp 
+0x6580 033964 store 1 ,mem_rfcomm_send_fcs 
+0x6581 033965 setarg rsp_tx_uih 
+0x6582 033966 store 1 ,mem_rfcomm_send_frame_type 
+:      033967 ssp_tx_rfcomm_from_uart_common:
+0x6583 033968 bpatchx patch28_5 ,mem_patch28 
+0x6584 033969 fetch 2 ,mem_current_packet_length 
+0x6585 033970 sub pdata ,127 ,null 
+0x6586 033971 branch ssp_tx_rfcomm_from_uart_common0 ,positive 
+0x6587 033972 fetch 1 ,mem_rfcomm_send_offset 
+0x6588 033973 increase 1 ,pdata 
+0x6589 033974 store 1 ,mem_rfcomm_send_offset 
+:      033975 ssp_tx_rfcomm_from_uart_common0:
+0x658a 033976 call get_rfcomm_snd_adss 
+0x658b 033977 fetch 2 ,mem_current_packet_length 
+0x658c 033978 increase 8 ,pdata 
+0x658d 033979 fetcht 1 ,mem_rfcomm_send_offset 
+0x658e 033980 iadd temp ,rega 
+0x658f 033982 call l2cap_malloc 
+0x6590 033983 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x6591 033984 increase 4 ,pdata 
+0x6592 033985 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x6593 033986 copy pdata ,contw 
+0x6594 033987 fetch 1 ,mem_rfcomm_send_adss 
+0x6595 033988 istore 1 ,contw 
+0x6596 033989 fetch 1 ,mem_rfcomm_send_frame_type 
+0x6597 033990 istore 1 ,contw 
+0x6598 033991 call ssp_tx_write_length 
+0x6599 033992 call ssp_tx_write_given_credit 
+0x659a 033993 bpatchx patch28_6 ,mem_patch28 
+0x659b 033994 fetch 2 ,mem_nl_rx_data_src 
+0x659c 033995 copy pdata ,contu 
+0x659d 033996 fetch 2 ,mem_current_packet_length 
+0x659e 033997 copy pdata ,loopcnt 
+0x659f 033998 call uart_copy_rx_bytes_fast 
+0x65a0 033999 copy contw ,temp 
+0x65a1 034000 copy contu ,pdata 
+0x65a2 034001 store 2 ,mem_nl_rx_data_src 
+0x65a3 034002 copy temp ,contw 
+0x65a4 034003 fetch 1 ,mem_rfcomm_send_fcs 
+0x65a5 034004 istore 1 ,contw 
+0x65a6 034005 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x65a7 034006 copy pdata ,contw 
+0x65a8 034007 fetch 2 ,mem_current_packet_length 
+0x65a9 034008 fetcht 1 ,mem_rfcomm_send_offset 
+0x65aa 034009 iadd temp ,pdata 
+0x65ab 034010 increase 4 ,pdata 
+0x65ac 034011 istore 2 ,contw 
+0x65ad 034012 fetch 2 ,mem_rfcomm_remote_cid 
+0x65ae 034013 istore 2 ,contw 
+0x65af 034014 jam 0 ,mem_credit_given 
+0x65b0 034015 fetch 2 ,mem_nl_rx_len_all 
+0x65b1 034016 beq 0 ,module_hci_command_tx_spp_tx_complete 
+0x65b2 034017 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x65b3 034018 rtn 
+:      034020 ssp_tx_write_length:
+0x65b4 034021 bpatchx patch28_7 ,mem_patch28 
+0x65b5 034022 fetch 2 ,mem_current_packet_length 
+0x65b6 034023 sub pdata ,0x7f ,null 
+0x65b7 034024 nbranch ssp_tx_write_long_packet ,positive 
+0x65b8 034025 lshift pdata ,pdata 
+0x65b9 034026 set1 0 ,pdata 
+0x65ba 034027 istore 1 ,contw 
+0x65bb 034028 rtn 
+:      034029 ssp_tx_write_long_packet:
+0x65bc 034030 fetch 2 ,mem_current_packet_length 
+0x65bd 034031 rshift3 pdata ,pdata 
+0x65be 034032 rshift4 pdata ,temp 
+0x65bf 034033 and_into 0x7f ,pdata 
+0x65c0 034034 lshift pdata ,pdata 
+0x65c1 034035 set0 0 ,pdata 
+0x65c2 034036 istore 1 ,contw 
+0x65c3 034037 istoret 1 ,contw 
+0x65c4 034038 rtn 
+:      034039 ssp_tx_write_given_credit:
+0x65c5 034040 fetch 1 ,mem_credit_given 
+0x65c6 034041 rtn blank 
+0x65c7 034042 istore 1 ,contw 
+0x65c8 034043 rtn 
+:      034048 scheduler_process:
+0x65c9 034049 bpatchx patch29_0 ,mem_patch29 
+0x65ca 034050 call check_51cmd 
+0x65cb 034051 call app_process_bb_event 
+0x65cc 034052 call process_conn_sm 
+0x65cd 034054 bpatchx patch29_1 ,mem_patch29 
+0x65ce 034055 call sp_calc_sequence 
+0x65cf 034056 call simple_pairing_sequence 
+0x65d0 034057 call master_simple_paring_sequence 
+0x65d1 034060 call l2cap_malloc_is_fifo_full 
+0x65d2 034061 nrtn blank 
+0x65d3 034063 call l2cap_call_proc_sigal_pending 
+0x65d4 034064 call l2cap_malloc_is_fifo_full 
+0x65d5 034065 nrtn blank 
+0x65d6 034066 bpatchx patch29_2 ,mem_patch29 
+0x65d7 034068 call process_upper_sm 
+0x65d8 034069 call l2cap_send_config_req 
+0x65d9 034070 call rfcomm_send_more_pkt 
+:      034071 scheduler_process0:
+0x65da 034072 call scheduler_tx_disconnect_hid 
+0x65db 034073 bpatchx patch29_3 ,mem_patch29 
+0x65dc 034076 branch app_process_bt 
+:      034078 scheduler_tx_disconnect_hid:
+0x65dd 034079 fetch 1 ,mem_control_tasks 
+0x65de 034080 bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+0x65df 034081 bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+0x65e0 034082 rtn 
+:      034084 scheduler_tx_l2cap_pkt:
+0x65e1 034085 bpatchx patch29_4 ,mem_patch29 
+0x65e2 034086 call l2cap_malloc_is_fifo_empty 
+0x65e3 034087 rtn blank 
+0x65e4 034088 fetch 1 ,mem_op 
+0x65e5 034089 rtnbit1 op_txl2cap 
+0x65e6 034090 call l2cap_malloc_fifo_out 
+0x65e7 034091 store 2 ,mem_txptr 
+0x65e8 034092 copy pdata ,contr 
+0x65e9 034093 ifetch 2 ,contr 
+0x65ea 034094 increase 4 ,pdata 
+0x65eb 034095 store 2 ,mem_tx_len 
+0x65ec 034096 jam 6 ,mem_tx_lch 
+0x65ed 034097 bpatchx patch29_5 ,mem_patch29 
+0x65ee 034098 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x65ef 034099 branch scheduler_tx_l2cap_start_pkt ,blank 
+0x65f0 034100 fetch 1 ,mem_op 
+0x65f1 034101 rtnbit0 op_pkt_comp 
+0x65f2 034102 set0 op_pkt_comp ,pdata 
+0x65f3 034103 store 1 ,mem_op 
+0x65f4 034104 jam 5 ,mem_tx_lch 
+0x65f5 034105 fetcht 2 ,mem_l2cap_tx_multi_offset 
+0x65f6 034106 fetch 2 ,mem_txptr 
+0x65f7 034107 iadd temp ,pdata 
+0x65f8 034108 store 2 ,mem_txptr 
+0x65f9 034109 fetch 2 ,mem_tx_len 
+0x65fa 034110 isub temp ,pdata 
+0x65fb 034111 store 2 ,mem_tx_len 
+:      034112 scheduler_tx_l2cap_start_pkt:
+0x65fc 034113 fetch 2 ,mem_tx_len 
+0x65fd 034114 branch assert ,blank 
+0x65fe 034115 arg l2cap_max_pkt_len ,temp 
+0x65ff 034116 isub temp ,pdata 
+0x6600 034117 branch scheduler_tx_l2cap_last_pkt ,zero 
+0x6601 034118 nbranch scheduler_tx_l2cap_last_pkt ,positive 
+0x6602 034119 storet 2 ,mem_tx_len 
+0x6603 034120 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6604 034121 iadd temp ,pdata 
+0x6605 034122 store 2 ,mem_l2cap_tx_multi_offset 
+0x6606 034123 branch scheduler_tx_l2cap_pkt_end 
+:      034124 scheduler_tx_l2cap_last_pkt:
+0x6607 034125 setarg 0 
+0x6608 034126 store 2 ,mem_l2cap_tx_multi_offset 
+:      034127 scheduler_tx_l2cap_pkt_end:
+0x6609 034128 fetch 1 ,mem_op 
+0x660a 034129 set1 op_txl2cap ,pdata 
+0x660b 034130 store 1 ,mem_op 
+0x660c 034131 rtn 
+:      034133 scheduler_start_upper_sm:
+0x660d 034134 fetch 1 ,mem_ui_profile_supported 
+0x660e 034135 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+0x660f 034136 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+0x6610 034137 rtn 
+:      034138 scheduler_start_upper_sm_hid:
+0x6611 034139 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6612 034140 rtn 
+:      034142 process_upper_sm:
+0x6613 034143 fetch 1 ,memui_reconnect_mode 
+0x6614 034144 nbranch process_upper_sm_reconn ,blank 
+:      034145 process_upper_sm_remote_page:
+0x6615 034146 fetch 1 ,mem_upper_sm_remote_page 
+0x6616 034148 rtn blank 
+0x6617 034150 jam 0 ,mem_upper_sm_remote_page 
+:      034151 process_upper_sm_rp_wait:
+0x6618 034152 rtn 
+:      034155 process_upper_sm_reconn:
+0x6619 034156 bpatchx patch29_6 ,mem_patch29 
+0x661a 034157 fetch 1 ,mem_upper_sm_reconn 
+0x661b 034158 rtn blank 
+0x661c 034159 beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+0x661d 034160 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+0x661e 034161 beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+0x661f 034162 beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+0x6620 034163 beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+0x6621 034164 beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+0x6622 034165 beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+0x6623 034166 beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+0x6624 034167 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+0x6625 034168 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+0x6626 034169 beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+0x6627 034170 beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+0x6628 034171 beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+0x6629 034172 beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+0x662a 034173 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+0x662b 034174 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+0x662c 034175 beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+0x662d 034176 beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+0x662e 034177 beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+0x662f 034178 beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+0x6630 034179 beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+0x6631 034180 beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+0x6632 034181 beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+0x6633 034182 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+0x6634 034183 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+0x6635 034184 beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+0x6636 034185 beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+0x6637 034186 beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+:      034187 process_upper_sm_reconn_wait:
+0x6638 034188 rtn 
+:      034189 process_upper_sm_reconn_sdp_conn:
+0x6639 034190 call upper_sm_send_sdp_conn 
+0x663a 034191 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+0x663b 034192 fetch 1 ,mem_sdp_state 
+0x663c 034193 set1 l2cap_channel_state_conn_req ,pdata 
+0x663d 034194 store 1 ,mem_sdp_state 
+0x663e 034195 rtn 
+:      034196 process_upper_sm_reconn_sdp_cfg:
+0x663f 034197 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6640 034198 fetch 1 ,mem_sdp_state 
+0x6641 034199 rtnbit1 l2cap_channel_state_snd_cfg_req 
+0x6642 034200 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6643 034201 call upper_sm_send_sdp_cfg 
+0x6644 034202 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6645 034203 fetch 1 ,mem_sdp_state 
+0x6646 034204 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6647 034205 store 1 ,mem_sdp_state 
+0x6648 034206 rtn 
+:      034207 process_upper_sm_reconn_ss_spp:
+0x6649 034208 call l2cap_malloc_is_fifo_empty 
+0x664a 034209 nrtn blank 
+0x664b 034210 call upper_sm_send_ss_spp 
+0x664c 034211 jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+0x664d 034212 rtn 
+:      034213 process_upper_sm_reconn_sdp_disconn:
+0x664e 034214 call upper_sm_send_sdp_disconn 
+0x664f 034215 jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+0x6650 034216 rtn 
+:      034217 process_upper_sm_reconn_hid_ctrl_conn:
+0x6651 034218 call upper_sm_send_hid_ctrl_conn 
+0x6652 034219 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+0x6653 034220 fetch 1 ,mem_hid_control_state 
+0x6654 034221 set1 l2cap_channel_state_conn_req ,pdata 
+0x6655 034222 store 1 ,mem_hid_control_state 
+0x6656 034223 rtn 
+:      034224 process_upper_sm_reconn_hid_ctrl_cfg:
+0x6657 034225 call upper_sm_send_hid_ctrl_cfg 
+0x6658 034226 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+0x6659 034227 fetch 1 ,mem_hid_control_state 
+0x665a 034228 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x665b 034229 store 1 ,mem_hid_control_state 
+0x665c 034230 rtn 
+:      034231 process_upper_sm_reconn_hid_int_conn:
+0x665d 034232 call upper_sm_send_hid_int_conn 
+0x665e 034233 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+0x665f 034234 fetch 1 ,mem_hid_interrupt_state 
+0x6660 034235 set1 l2cap_channel_state_conn_req ,pdata 
+0x6661 034236 store 1 ,mem_hid_interrupt_state 
+0x6662 034237 rtn 
+:      034238 process_upper_sm_reconn_hid_int_cfg:
+0x6663 034239 call upper_sm_send_hid_int_cfg 
+0x6664 034240 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+0x6665 034241 fetch 1 ,mem_hid_interrupt_state 
+0x6666 034242 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6667 034243 store 1 ,mem_hid_interrupt_state 
+0x6668 034244 rtn 
+:      034245 process_upper_sm_reconn_rfcomm_conn:
+0x6669 034246 call upper_sm_send_rfcomm_conn 
+0x666a 034247 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+0x666b 034248 fetch 1 ,mem_rfcomm_state 
+0x666c 034249 set1 l2cap_channel_state_conn_req ,pdata 
+0x666d 034250 store 1 ,mem_rfcomm_state 
+0x666e 034251 rtn 
+:      034252 process_upper_sm_reconn_rfcomm_cfg:
+0x666f 034253 call upper_sm_send_rfcomm_cfg 
+0x6670 034254 jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+0x6671 034255 fetch 1 ,mem_rfcomm_state 
+0x6672 034256 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6673 034257 store 1 ,mem_rfcomm_state 
+0x6674 034258 rtn 
+:      034259 process_upper_sm_reconn_rfcomm_sabm:
+0x6675 034260 call upper_sm_send_rfcomm_sabm 
+0x6676 034261 jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+0x6677 034262 fetch 1 ,mem_rfcomm_state 
+0x6678 034263 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6679 034264 store 1 ,mem_rfcomm_state 
+0x667a 034265 rtn 
+:      034266 process_upper_sm_reconn_spp_cmd_pn:
+0x667b 034267 call upper_sm_send_spp_cmd_pn 
+0x667c 034268 fetch 1 ,mem_spp_state 
+0x667d 034269 set1 rfcomm_channel_state_pn_cmd ,pdata 
+0x667e 034270 store 1 ,mem_spp_state 
+0x667f 034271 jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+0x6680 034272 rtn 
+:      034273 process_upper_sm_reconn_spp_sabm:
+0x6681 034274 call upper_sm_send_spp_sabm 
+0x6682 034275 fetch 1 ,mem_spp_state 
+0x6683 034276 set1 rfcomm_channel_state_sabm ,pdata 
+0x6684 034277 store 1 ,mem_spp_state 
+0x6685 034278 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+0x6686 034279 fetch 1 ,mem_remote_spp_channel 
+0x6687 034280 lshift3 pdata ,pdata 
+0x6688 034281 or_into 3 ,pdata 
+0x6689 034282 arg mem_hiufcs_spp ,temp 
+0x668a 034283 storet 2 ,mem_contw_temp 
+0x668b 034284 branch rfcomm_save_fcs_uih 
+:      034285 process_upper_sm_reconn_spp_cmd_ms:
+0x668c 034286 call upper_sm_send_spp_cmd_ms 
+0x668d 034287 fetch 1 ,mem_spp_state 
+0x668e 034288 set1 rfcomm_channel_state_snd_ms_cmd ,pdata 
+0x668f 034289 store 1 ,mem_spp_state 
+0x6690 034290 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+0x6691 034291 rtn 
+:      034293 process_upper_sm_reconn_sdp_conn_wait:
+0x6692 034294 fetch 1 ,mem_sdp_state 
+0x6693 034295 rtnbit0 l2cap_channel_state_conn_res 
+0x6694 034296 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6695 034297 branch process_upper_sm_reconn 
+:      034298 process_upper_sm_reconn_sdp_cfg_wait:
+0x6696 034299 fetch 1 ,mem_sdp_state 
+0x6697 034300 rtnne l2cap_channel_setup_complete 
+0x6698 034301 jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+:      034302 process_upper_sm_reconn_ss_spp_wait:
+0x6699 034303 fetch 1 ,mem_message_to_uppersm 
+0x669a 034304 rtnne recieve_ss_reasult_hf 
+0x669b 034305 jam 0 ,mem_message_to_uppersm 
+0x669c 034306 jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+0x669d 034307 branch process_upper_sm_reconn 
+:      034308 process_upper_sm_reconn_sdp_disconn_wait:
+0x669e 034309 fetch 1 ,mem_sdp_state 
+0x669f 034310 nrtn blank 
+0x66a0 034311 fetch 1 ,mem_ui_profile_supported 
+0x66a1 034312 bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+0x66a2 034313 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x66a3 034314 branch process_upper_sm_reconn_termination 
+:      034315 process_upper_sm_reconn_hid_ctrl_conn_wait:
+0x66a4 034316 fetch 1 ,mem_hid_control_state 
+0x66a5 034317 rtnbit0 l2cap_channel_state_conn_res 
+0x66a6 034318 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+0x66a7 034319 branch process_upper_sm_reconn 
+:      034320 process_upper_sm_reconn_hid_ctrl_cfg_wait:
+0x66a8 034321 fetch 1 ,mem_hid_control_state 
+0x66a9 034322 rtnne l2cap_channel_setup_complete 
+0x66aa 034323 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+0x66ab 034324 branch process_upper_sm_reconn 
+:      034325 process_upper_sm_reconn_hid_int_conn_wait:
+0x66ac 034326 fetch 1 ,mem_hid_interrupt_state 
+0x66ad 034327 rtnbit0 l2cap_channel_state_conn_res 
+0x66ae 034328 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+0x66af 034329 branch process_upper_sm_reconn 
+:      034330 process_upper_sm_reconn_hid_int_cfg_wait:
+0x66b0 034331 fetch 1 ,mem_hid_interrupt_state 
+0x66b1 034332 rtnne l2cap_channel_setup_complete 
+0x66b2 034333 fetch 1 ,mem_ui_profile_supported 
+0x66b3 034334 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x66b4 034335 branch process_upper_sm_reconn_termination 
+:      034336 process_upper_sm_reconn_rfcomm_conn_wait:
+0x66b5 034337 fetch 1 ,mem_rfcomm_state 
+0x66b6 034338 rtnbit0 l2cap_channel_state_conn_res 
+0x66b7 034339 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+0x66b8 034340 branch process_upper_sm_reconn 
+:      034341 process_upper_sm_reconn_rfcomm_cfg_wait:
+0x66b9 034342 fetch 1 ,mem_rfcomm_state 
+0x66ba 034343 rtnne l2cap_channel_setup_complete 
+0x66bb 034344 jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+0x66bc 034345 branch process_upper_sm_reconn 
+:      034346 process_upper_sm_reconn_rfcomm_sabm_wait:
+0x66bd 034347 fetch 1 ,mem_rfcomm_state 
+0x66be 034348 rtnne l2cap_channel_rfcomm_dlci0_opened 
+0x66bf 034349 fetch 1 ,mem_ui_profile_supported 
+0x66c0 034350 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+0x66c1 034351 branch process_upper_sm_reconn_termination 
+:      034352 process_upper_sm_reconn_spp_cmd_pn_wait:
+0x66c2 034353 fetch 1 ,mem_spp_state 
+0x66c3 034354 rtnbit0 rfcomm_channel_state_pn_res 
+0x66c4 034355 jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+0x66c5 034356 branch process_upper_sm_reconn 
+:      034357 process_upper_sm_reconn_spp_sabm_wait:
+0x66c6 034358 fetch 1 ,mem_spp_state 
+0x66c7 034359 rtnbit0 rfcomm_channel_state_ua 
+0x66c8 034360 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+0x66c9 034361 branch process_upper_sm_reconn 
+:      034362 process_upper_sm_reconn_spp_cmd_ms_wait:
+0x66ca 034363 fetch 1 ,mem_spp_state 
+0x66cb 034364 rtnne rfcomm_channel_setup_complete 
+0x66cc 034365 branch process_upper_sm_reconn_termination 
+:      034367 process_upper_sm_reconn_setup_hid:
+0x66cd 034368 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x66ce 034369 branch process_upper_sm_reconn 
+:      034371 process_upper_sm_reconn_setup_rfcomm:
+0x66cf 034372 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+0x66d0 034373 branch process_upper_sm_reconn 
+:      034374 process_upper_sm_reconn_setup_spp:
+0x66d1 034375 jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+0x66d2 034376 branch process_upper_sm_reconn 
+:      034380 process_upper_sm_reconn_termination:
+0x66d3 034381 jam 0 ,mem_upper_sm_reconn 
+0x66d4 034382 rtn 
+:      034383 upper_sm_send_sdp_conn:
+0x66d5 034384 bpatchx patch29_7 ,mem_patch29 
+0x66d6 034385 call l2cap_malloc_signal_channel 
+0x66d7 034386 setarg psm_sdp 
+0x66d8 034387 copy pdata ,temp 
+0x66d9 034388 setarg l2cap_sdp_channel 
+0x66da 034389 copy pdata ,timeup 
+0x66db 034390 branch ml2cap_send_signal_connect_req 
+:      034392 upper_sm_send_sdp_cfg:
+0x66dc 034393 bpatchx patch2a_0 ,mem_patch2a 
+0x66dd 034394 call l2cap_malloc_signal_channel 
+0x66de 034395 fetch 2 ,mem_sdp_remote_cid 
+0x66df 034396 copy pdata ,temp 
+0x66e0 034397 branch ml2cap_send_signal_config_req 
+:      034399 upper_sm_send_sdp_disconn:
+0x66e1 034400 bpatchx patch2a_1 ,mem_patch2a 
+0x66e2 034401 call l2cap_malloc_signal_channel 
+0x66e3 034402 fetch 2 ,mem_sdp_remote_cid 
+0x66e4 034403 copy pdata ,temp 
+0x66e5 034404 arg l2cap_sdp_channel ,timeup 
+0x66e6 034405 call ml2cap_send_signal_disconn_req 
+0x66e7 034406 fetch 1 ,mem_sdp_state 
+0x66e8 034407 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x66e9 034408 store 1 ,mem_sdp_state 
+0x66ea 034409 rtn 
+:      034411 upper_sm_send_ss_spp:
+0x66eb 034412 bpatchx patch2a_2 ,mem_patch2a 
+0x66ec 034413 call l2cap_malloc_sdp_channel 
+0x66ed 034414 call sdp_send_spp_request 
+0x66ee 034415 branch msdp_send_req_done 
+:      034417 upper_sm_send_rfcomm_conn:
+0x66ef 034418 bpatchx patch2a_3 ,mem_patch2a 
+0x66f0 034419 call l2cap_malloc_signal_channel 
+0x66f1 034420 setarg psm_rfcomm 
+0x66f2 034421 copy pdata ,temp 
+0x66f3 034422 setarg l2cap_rfcomm_channel 
+0x66f4 034423 copy pdata ,timeup 
+0x66f5 034424 branch ml2cap_send_signal_connect_req 
+:      034426 upper_sm_send_rfcomm_cfg:
+0x66f6 034427 bpatchx patch2a_4 ,mem_patch2a 
+0x66f7 034428 call l2cap_malloc_signal_channel 
+0x66f8 034429 fetch 2 ,mem_rfcomm_remote_cid 
+0x66f9 034430 copy pdata ,temp 
+0x66fa 034431 branch ml2cap_send_signal_config_req 
+:      034433 upper_sm_send_hid_ctrl_conn:
+0x66fb 034434 bpatchx patch2a_5 ,mem_patch2a 
+0x66fc 034435 call l2cap_malloc_signal_channel 
+0x66fd 034436 setarg psm_hid_control 
+0x66fe 034437 copy pdata ,temp 
+0x66ff 034438 setarg l2cap_hid_control_channel 
+0x6700 034439 copy pdata ,timeup 
+0x6701 034440 branch ml2cap_send_signal_connect_req 
+:      034442 upper_sm_send_hid_ctrl_cfg:
+0x6702 034443 bpatchx patch2a_6 ,mem_patch2a 
+0x6703 034444 call l2cap_malloc_signal_channel 
+0x6704 034445 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x6705 034446 copy pdata ,temp 
+0x6706 034447 branch ml2cap_send_signal_config_req 
+:      034449 upper_sm_send_hid_int_conn:
+0x6707 034450 bpatchx patch2a_7 ,mem_patch2a 
+0x6708 034451 call l2cap_malloc_signal_channel 
+0x6709 034452 setarg psm_hid_interrupt 
+0x670a 034453 copy pdata ,temp 
+0x670b 034454 setarg l2cap_hid_interrupt_channel 
+0x670c 034455 copy pdata ,timeup 
+0x670d 034456 branch ml2cap_send_signal_connect_req 
+:      034458 upper_sm_send_hid_int_cfg:
+0x670e 034459 bpatchx patch2b_0 ,mem_patch2b 
+0x670f 034460 call l2cap_malloc_signal_channel 
+0x6710 034461 fetch 2 ,mem_hid_int_remote_cid 
+0x6711 034462 copy pdata ,temp 
+0x6712 034463 branch ml2cap_send_signal_config_req 
+:      034465 upper_sm_send_rfcomm_sabm:
+0x6713 034466 bpatchx patch2b_1 ,mem_patch2b 
+0x6714 034467 call l2cap_malloc_rfcomm_channel 
+0x6715 034469 jam 3 ,mem_current_adss 
+0x6716 034470 jam 0x1c ,mem_current_fcs 
+0x6717 034471 call rfcomm_send_sabm 
+0x6718 034472 jam 1 ,mem_rfcomm_initiator 
+0x6719 034473 rtn 
+:      034475 upper_sm_send_spp_cmd_pn:
+0x671a 034476 bpatchx patch2b_2 ,mem_patch2b 
+0x671b 034477 call l2cap_malloc_rfcomm_channel 
+0x671c 034478 fetcht 1 ,mem_remote_spp_channel 
+0x671d 034479 call channel_to_dlci 
+0x671e 034480 storet 1 ,mem_pn_dlci 
+0x671f 034481 branch rfcomm_send_param_neg_cmd 
+:      034483 upper_sm_send_spp_sabm:
+0x6720 034484 bpatchx patch2b_3 ,mem_patch2b 
+0x6721 034485 call l2cap_malloc_rfcomm_channel 
+0x6722 034486 fetcht 1 ,mem_pn_dlci 
+0x6723 034487 call dlci_to_address_cmd 
+0x6724 034488 call rfcomm_calculate_fcs_sabm 
+0x6725 034489 store 1 ,mem_current_fcs 
+0x6726 034490 fetcht 1 ,mem_pn_dlci 
+0x6727 034491 call dlci_to_address_cmd 
+0x6728 034492 storet 1 ,mem_current_adss 
+0x6729 034493 branch rfcomm_send_sabm 
+:      034495 upper_sm_send_spp_cmd_ms:
+0x672a 034496 bpatchx patch2b_4 ,mem_patch2b 
+0x672b 034497 call l2cap_malloc_rfcomm_channel 
+0x672c 034498 fetcht 1 ,mem_pn_dlci 
+0x672d 034499 call dlci_to_address_cmd 
+0x672e 034500 branch rfcomm_send_modem_status_cmd 
+:      034513 sdp_process:
+0x672f 034514 bpatchx patch2b_5 ,mem_patch2b 
+0x6730 034515 fetch 2 ,mem_l2cap_payload_ptr 
+0x6731 034516 iforce contr 
+0x6732 034519 ifetch 1 ,contr 
+0x6733 034520 copy pdata ,regb 
+0x6734 034521 store 1 ,mem_sdp_pduid 
+0x6735 034522 ifetch 2 ,contr 
+0x6736 034523 store 2 ,mem_sdp_transactionid 
+0x6737 034524 ifetch 1 ,contr 
+0x6738 034525 lshift8 pdata ,timeup 
+0x6739 034526 ifetch 1 ,contr 
+0x673a 034527 iadd timeup ,timeup 
+0x673b 034528 bpatchx patch2b_6 ,mem_patch2b 
+0x673c 034529 copy contr ,temp 
+0x673d 034530 arg 4 ,loopcnt 
+0x673e 034531 arg mem_sdp_handle_list ,contw 
+0x673f 034532 call memset0 
+0x6740 034533 copy temp ,contr 
+0x6741 034534 deposit regb 
+0x6742 034535 beq sdp_error_res ,sdp_process_error_res 
+0x6743 034536 beq sdp_search_req ,sdp_process_ss_req 
+0x6744 034537 beq sdp_search_res ,sdp_process_ss_res 
+0x6745 034538 beq sdp_attribute_req ,sdp_process_sa_req 
+0x6746 034539 beq sdp_attribute_res ,sdp_process_sa_res 
+0x6747 034540 beq sdp_searchattrib_req ,sdp_process_ssa_req 
+0x6748 034541 beq sdp_searchattrib_res ,sdp_process_ssa_res 
+0x6749 034542 branch sdp_insufficient_resource 
+:      034553 sdp_process_ss_req:
+0x674a 034554 bpatchx patch2b_7 ,mem_patch2b 
+0x674b 034555 call ask_serviceclassid 
+0x674c 034556 compare 1 ,temp ,0xff 
+0x674d 034557 branch ss_empty_rsp ,true 
+0x674e 034558 compare 0xff ,temp ,0xff 
+0x674f 034559 branch sdp_invalid_request_syntax ,true 
+0x6750 034561 ifetch 2 ,contr 
+0x6751 034562 store 2 ,mem_sdp_record_maxcnt 
+0x6752 034563 increase -2 ,timeup 
+0x6753 034565 increase -1 ,timeup 
+0x6754 034566 nbranch sdp_invalid_pdu_size ,zero 
+0x6755 034567 arg mem_sdp_uuid_search_ptr ,timeup 
+0x6756 034568 ifetch 2 ,timeup 
+0x6757 034569 rtn blank 
+0x6758 034570 call search_all_uuid 
+0x6759 034571 call l2cap_get_sdp_tx_payload 
+0x675a 034572 force 3 ,pdata 
+0x675b 034573 istore 1 ,contw 
+0x675c 034574 fetch 2 ,mem_sdp_transactionid 
+0x675d 034575 istore 2 ,contw 
+0x675e 034576 lshift2 queue ,pdata 
+0x675f 034577 add pdata ,5 ,pdata 
+0x6760 034578 add pdata ,5 ,regc 
+0x6761 034579 byteswap pdata ,pdata 
+0x6762 034580 istore 2 ,contw 
+0x6763 034581 deposit queue 
+0x6764 034582 byteswap pdata ,pdata 
+0x6765 034583 istore 2 ,contw 
+0x6766 034584 istore 2 ,contw 
+0x6767 034585 arg mem_sdp_handle_list ,contr 
+0x6768 034586 copy queue ,loopcnt 
+0x6769 034587 branch ss_req_blank ,zero 
+:      034588 ss_req_loop:
+0x676a 034589 ifetch 4 ,contr 
+0x676b 034590 istore 4 ,contw 
+0x676c 034591 loop ss_req_loop 
+:      034592 ss_req_blank:
+0x676d 034593 force 0 ,pdata 
+0x676e 034594 istore 1 ,contw 
+0x676f 034595 deposit regc 
+0x6770 034596 store 2 ,mem_sdp_tx_pkt_length 
+0x6771 034598 rtn 
+:      034609 sdp_process_sa_req:
+0x6772 034610 bpatchx patch2c_0 ,mem_patch2c 
+0x6773 034611 ifetch 4 ,contr 
+0x6774 034612 store 4 ,mem_sdp_record_handle 
+0x6775 034613 increase -4 ,timeup 
+0x6776 034614 call sdp_store_maxbyte 
+0x6777 034615 store 2 ,mem_sdp_attribute_maxbyte 
+0x6778 034616 increase -2 ,timeup 
+0x6779 034617 call dataelementtype6 
+0x677a 034618 branch sdp_invalid_request_syntax ,zero 
+0x677b 034619 compare 5 ,rega ,0xff 
+0x677c 034621 branch sa_judge_wholerange ,true 
+:      034622 sa_isnot_wholerange:
+0x677d 034623 arg mem_sdp_attrib_list ,contw 
+0x677e 034624 force 0 ,queue 
+0x677f 034625 branch sa_req_loop 
+:      034626 sa_judge_wholerange:
+0x6780 034627 ifetch 1 ,contr 
+0x6781 034628 bne sdp_attribute_range ,sdp_invalid_request_syntax 
+0x6782 034629 ifetch 2 ,contr 
+0x6783 034630 nbranch sa_judge_wholerange_false1 ,blank 
+0x6784 034631 ifetch 1 ,contr 
+0x6785 034632 bne 0xff ,sa_judge_wholerange_false2 
+0x6786 034633 ifetch 1 ,contr 
+0x6787 034634 bne 0xff ,sa_judge_wholerange_false3 
+0x6788 034635 branch sa_req_all 
+:      034636 sa_judge_wholerange_false3:
+0x6789 034637 increase -5 ,contr 
+0x678a 034638 branch sa_isnot_wholerange 
+:      034639 sa_judge_wholerange_false2:
+0x678b 034640 increase -4 ,contr 
+0x678c 034641 branch sa_isnot_wholerange 
+:      034642 sa_judge_wholerange_false1:
+0x678d 034643 increase -3 ,contr 
+0x678e 034644 branch sa_isnot_wholerange 
+:      034645 sa_req_loop:
+0x678f 034646 ifetch 1 ,contr 
+0x6790 034647 beq sdp_attribute_id ,sa_req_one_id 
+0x6791 034648 beq sdp_attribute_range ,sa_req_range 
+:      034649 sa_req_range:
+0x6792 034650 ifetch 2 ,contr 
+0x6793 034651 istore 2 ,contw 
+0x6794 034652 increase 1 ,queue 
+0x6795 034653 byteswap pdata ,regb 
+0x6796 034654 ifetch 2 ,contr 
+0x6797 034655 byteswap pdata ,pdata 
+:      034656 sa_req_range_id_increase:
+0x6798 034657 increase 1 ,regb 
+0x6799 034658 isub regb ,null 
+0x679a 034659 nbranch sa_req_range_id_finish ,positive 
+0x679b 034660 copy pdata ,regc 
+0x679c 034661 byteswap regb ,pdata 
+0x679d 034662 istore 2 ,contw 
+0x679e 034663 increase 1 ,queue 
+0x679f 034664 copy regc ,pdata 
+0x67a0 034665 branch sa_req_range_id_increase 
+:      034666 sa_req_range_id_finish:
+0x67a1 034667 increase -5 ,timeup 
+0x67a2 034668 increase -5 ,rega 
+0x67a3 034669 branch sa_req_check_next_id 
+:      034670 sa_req_one_id:
+0x67a4 034671 ifetch 2 ,contr 
+0x67a5 034672 istore 2 ,contw 
+0x67a6 034673 increase 1 ,queue 
+0x67a7 034674 increase -3 ,timeup 
+0x67a8 034675 increase -3 ,rega 
+:      034676 sa_req_check_next_id:
+0x67a9 034677 nbranch sdp_invalid_request_syntax ,positive 
+0x67aa 034678 nbranch sa_req_loop ,zero 
+0x67ab 034679 increase -1 ,timeup 
+0x67ac 034680 nbranch sdp_invalid_request_syntax ,zero 
+0x67ad 034682 call l2cap_get_sdp_tx_payload 
+0x67ae 034683 increase 10 ,contw 
+0x67af 034684 arg mem_sdp_attrib_list ,rega 
+:      034685 sa_req_handle_attributelist_next:
+0x67b0 034686 copy queue ,pdata 
+0x67b1 034687 branch sa_req_handle_attributelist_end ,blank 
+0x67b2 034688 ifetch 2 ,rega 
+0x67b3 034689 branch sa_req_handle_attributelist_end ,blank 
+0x67b4 034690 iforce regb 
+0x67b5 034691 fetch 4 ,mem_sdp_record_handle 
+0x67b6 034692 iforce temp 
+0x67b7 034693 call search_handle_attrib 
+0x67b8 034694 copy contr ,pdata 
+0x67b9 034695 branch sa_req_handle_attributelist_notfound ,blank 
+0x67ba 034696 increase -3 ,contr 
+0x67bb 034697 ifetch 3 ,contr 
+0x67bc 034698 istore 3 ,contw 
+0x67bd 034699 call sdp_data_len 
+0x67be 034700 iforce loopcnt 
+0x67bf 034701 call memcpy 
+:      034702 sa_req_handle_attributelist_notfound:
+0x67c0 034703 increase 2 ,rega 
+0x67c1 034704 increase -1 ,queue 
+0x67c2 034705 branch sa_req_handle_attributelist_next 
+:      034707 sa_req_handle_attributelist_end:
+0x67c3 034708 arg sdp_attribute_res ,rega 
+0x67c4 034709 call ssa_req_range_lastfreg_common 
+0x67c5 034710 fetch 2 ,mem_sdp_tx_pkt_length 
+0x67c6 034711 beq 11 ,sa_empty_rsp 
+0x67c7 034712 branch ssa_req_range_attrbutes_length_no_continue 
+:      034715 sdp_store_continue_common:
+0x67c8 034716 ifetch 1 ,contr 
+0x67c9 034717 beq 0 ,sdp_store_continue_0byte 
+0x67ca 034718 beq 1 ,sdp_store_continue_1byte 
+0x67cb 034719 beq 2 ,sdp_store_continue_2byte 
+:      034720 sdp_store_continue_0byte:
+0x67cc 034721 increase -1 ,timeup 
+0x67cd 034722 branch sdp_store_continue_end 
+:      034723 sdp_store_continue_1byte:
+0x67ce 034724 ifetch 1 ,contr 
+0x67cf 034725 increase -2 ,timeup 
+0x67d0 034726 branch sdp_store_continue_end 
+:      034727 sdp_store_continue_2byte:
+0x67d1 034728 ifetch 2 ,contr 
+0x67d2 034729 byteswap pdata ,pdata 
+0x67d3 034730 increase -3 ,timeup 
+:      034731 sdp_store_continue_end:
+0x67d4 034732 store 2 ,mem_sdp_continue_byte 
+0x67d5 034733 rtn 
+:      034735 sa_req_all:
+0x67d6 034736 increase -5 ,timeup 
+0x67d7 034737 call sdp_store_continue_common 
+0x67d8 034738 nbranch sdp_invalid_pdu_size ,zero 
+0x67d9 034739 fetcht 4 ,mem_sdp_record_handle 
+0x67da 034740 call search_handle 
+0x67db 034741 nbranch sdp_invalid_service_record_handle ,zero 
+0x67dc 034742 copy contr ,rega 
+0x67dd 034743 call l2cap_get_sdp_tx_payload 
+0x67de 034744 copy rega ,contr 
+0x67df 034745 increase 3 ,contw 
+0x67e0 034746 copy contr ,timeup 
+0x67e1 034747 call sdp_get_data 
+0x67e2 034748 copy pdata ,rega 
+0x67e3 034750 fetch 2 ,mem_sdp_continue_byte 
+0x67e4 034751 copy pdata ,regb 
+0x67e5 034752 copy rega ,pdata 
+0x67e6 034753 isub regb ,regb 
+0x67e7 034754 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x67e8 034755 isub regb ,null 
+0x67e9 034756 nbranch sa_req_all_fragment_sdp ,positive 
+0x67ea 034758 disable user 
+0x67eb 034759 fetch 2 ,mem_sdp_continue_byte 
+0x67ec 034760 branch sa_req_all_fisrt_fragment ,blank 
+0x67ed 034761 iadd timeup ,contr 
+0x67ee 034762 increase 3 ,regb 
+0x67ef 034763 copy regb ,loopcnt 
+0x67f0 034764 copy loopcnt ,pdata 
+0x67f1 034765 increase 3 ,pdata 
+0x67f2 034766 byteswap pdata ,pdata 
+0x67f3 034767 istore 2 ,contw 
+0x67f4 034768 copy loopcnt ,pdata 
+0x67f5 034769 byteswap pdata ,pdata 
+0x67f6 034770 istore 2 ,contw 
+0x67f7 034771 branch sa_req_all_answer_attributelist_full_loop 
+:      034772 sa_req_all_fisrt_fragment:
+0x67f8 034773 add rega ,6 ,loopcnt 
+0x67f9 034774 branch sa_req_all_parlength_continue_byte ,user 
+0x67fa 034775 byteswap loopcnt ,pdata 
+0x67fb 034776 branch sa_req_all_parlength_continue_byte_end 
+:      034777 sa_req_all_parlength_continue_byte:
+0x67fc 034778 copy loopcnt ,pdata 
+0x67fd 034779 increase 2 ,pdata 
+0x67fe 034780 byteswap pdata ,pdata 
+:      034781 sa_req_all_parlength_continue_byte_end:
+0x67ff 034782 istore 2 ,contw 
+0x6800 034783 increase -3 ,loopcnt 
+0x6801 034784 byteswap loopcnt ,pdata 
+0x6802 034785 istore 2 ,contw 
+0x6803 034786 copy timeup ,contr 
+0x6804 034787 branch sa_req_all_answer_attributelist_full_loop 
+:      034788 sa_req_all_fragment_sdp:
+0x6805 034789 enable user 
+0x6806 034791 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6807 034792 copy pdata ,rega 
+0x6808 034793 copy rega ,loopcnt 
+0x6809 034794 fetch 2 ,mem_sdp_continue_byte 
+0x680a 034795 branch sa_req_all_fisrt_fragment ,blank 
+0x680b 034796 iadd timeup ,contr 
+0x680c 034797 copy rega ,pdata 
+0x680d 034798 increase 5 ,pdata 
+0x680e 034799 byteswap pdata ,pdata 
+0x680f 034800 istore 2 ,contw 
+0x6810 034801 copy rega ,pdata 
+0x6811 034802 byteswap pdata ,pdata 
+0x6812 034803 istore 2 ,contw 
+:      034804 sa_req_all_answer_attributelist_full_loop:
+0x6813 034805 call memcpy 
+0x6814 034806 nbranch sa_req_all_last_frag_continue ,user 
+0x6815 034807 force 2 ,pdata 
+0x6816 034808 istore 1 ,contw 
+0x6817 034809 copy contr ,pdata 
+0x6818 034810 isub timeup ,pdata 
+0x6819 034811 byteswap pdata ,pdata 
+0x681a 034812 istore 2 ,contw 
+0x681b 034813 branch sa_req_all_frag_end 
+:      034814 sa_req_all_last_frag_continue:
+0x681c 034815 force 0 ,pdata 
+0x681d 034816 istore 1 ,contw 
+:      034817 sa_req_all_frag_end:
+0x681e 034818 arg sdp_attribute_res ,rega 
+0x681f 034819 branch ssa_req_range_common 
+:      034830 sdp_process_ssa_req:
+0x6820 034831 bpatchx patch2c_1 ,mem_patch2c 
+0x6821 034832 call ask_serviceclassid 
+0x6822 034833 compare 0xff ,temp ,0xff 
+0x6823 034834 branch sdp_invalid_request_syntax ,true 
+0x6824 034835 call sdp_store_maxbyte 
+0x6825 034836 store 2 ,mem_sdp_attribute_maxbyte 
+0x6826 034837 increase -2 ,timeup 
+0x6827 034838 call dataelementtype6 
+0x6828 034839 arg mem_sdp_attrib_list ,contw 
+0x6829 034840 force 0 ,queue 
+:      034841 ssa_req_loop:
+0x682a 034842 ifetch 1 ,contr 
+0x682b 034843 beq sdp_attribute_range ,ssa_req_range 
+0x682c 034844 ifetch 2 ,contr 
+0x682d 034845 istore 2 ,contw 
+0x682e 034846 increase 1 ,queue 
+0x682f 034847 increase -3 ,timeup 
+0x6830 034848 increase -3 ,rega 
+0x6831 034849 nbranch sdp_invalid_request_syntax ,positive 
+0x6832 034850 nbranch ssa_req_loop ,zero 
+0x6833 034851 increase -1 ,timeup 
+0x6834 034852 nbranch sdp_invalid_request_syntax ,zero 
+0x6835 034853 call l2cap_get_sdp_tx_payload 
+0x6836 034854 increase 13 ,contw 
+0x6837 034855 fetch 2 ,mem_sdp_uuid_search_ptr 
+0x6838 034856 iforce regc 
+0x6839 034857 arg mem_sdp_attrib_list ,rega 
+:      034858 ssa_req_attributelist_next:
+0x683a 034859 ifetch 2 ,rega 
+0x683b 034860 branch ssa_req_attributelist_end ,blank 
+0x683c 034861 iforce regb 
+0x683d 034862 call search_attrib 
+0x683e 034863 branch ssa_req_attributelist_notfound ,blank 
+0x683f 034864 increase -3 ,contr 
+0x6840 034865 ifetch 3 ,contr 
+0x6841 034866 istore 3 ,contw 
+0x6842 034867 call sdp_data_len 
+0x6843 034868 iforce loopcnt 
+0x6844 034869 call memcpy 
+:      034870 ssa_req_attributelist_notfound:
+0x6845 034871 increase 2 ,rega 
+0x6846 034872 branch ssa_req_attributelist_next 
+:      034874 ssa_req_attributelist_end:
+0x6847 034875 call ssa_req_range_lastfreg 
+0x6848 034876 fetch 2 ,mem_sdp_tx_pkt_length 
+0x6849 034877 beq 14 ,ssa_empty_rsp 
+0x684a 034878 call ssa_req_range_attrbutes_length_no_continue 
+0x684b 034879 branch ssa_req_range_attrbutes_length_no_continue 
+:      034882 sdp_store_maxbyte:
+0x684c 034883 ifetch 2 ,contr 
+0x684d 034884 byteswap pdata ,pdata 
+0x684e 034885 increase -3 ,pdata 
+0x684f 034886 arg 200 ,temp 
+0x6850 034887 isub temp ,null 
+0x6851 034888 nrtn positive 
+0x6852 034889 setarg 200 
+0x6853 034890 rtn 
+:      034893 ssa_req_range:
+0x6854 034894 increase 4 ,contr 
+0x6855 034895 increase -5 ,timeup 
+0x6856 034896 increase -5 ,rega 
+0x6857 034897 nbranch sdp_invalid_request_syntax ,zero 
+0x6858 034898 call sdp_store_continue_common 
+0x6859 034899 nbranch sdp_invalid_pdu_size ,zero 
+0x685a 034900 arg mem_sdp_uuid_search_ptr ,timeup 
+0x685b 034901 call search_all_uuid 
+0x685c 034902 deposit queue 
+0x685d 034903 branch ssa_empty_rsp ,blank 
+0x685e 034904 store 1 ,mem_handle_humber 
+0x685f 034906 copy regb ,pdata 
+0x6860 034907 store 2 ,mem_sdp_all_length 
+0x6861 034908 arg 0 ,queue 
+0x6862 034909 arg 0 ,rega 
+0x6863 034910 call l2cap_get_sdp_tx_payload 
+0x6864 034911 increase 10 ,contw 
+:      034912 ssa_req_range_find_handle:
+0x6865 034913 call ssa_req_range_get_length 
+0x6866 034914 nbranch assert ,user 
+0x6867 034915 copy contr ,timeup 
+0x6868 034916 copy pdata ,regc 
+0x6869 034917 iadd rega ,rega 
+0x686a 034920 fetch 2 ,mem_sdp_continue_byte 
+0x686b 034921 copy pdata ,regb 
+0x686c 034922 branch ssa_req_range_first_freg ,blank 
+:      034923 ssa_req_range_later_freg_with_continue:
+0x686d 034924 copy rega ,pdata 
+0x686e 034925 isub regb ,regb 
+0x686f 034926 branch ssa_req_range_next_handle ,zero 
+0x6870 034927 nbranch ssa_req_range_next_handle ,positive 
+0x6871 034928 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6872 034929 isub regb ,null 
+0x6873 034930 branch ssa_req_range_maxbyte_with_continue ,zero 
+0x6874 034931 nbranch ssa_req_range_maxbyte_with_continue ,positive 
+:      034934 ssa_req_range_send_not_maxbyte:
+0x6875 034935 copy regb ,loopcnt 
+0x6876 034936 call ssa_req_range_maxbyte_with_continue_cpy 
+0x6877 034937 fetch 1 ,mem_handle_humber 
+0x6878 034938 increase 1 ,queue 
+0x6879 034939 isub queue ,null 
+0x687a 034940 branch ssa_req_range_lastfreg ,zero 
+0x687b 034941 branch ssa_req_range_freg_with_continue 
+:      034943 ssa_req_range_maxbyte_with_continue:
+0x687c 034944 copy pdata ,loopcnt 
+0x687d 034945 call ssa_req_range_maxbyte_with_continue_cpy 
+0x687e 034946 branch ssa_req_range_freg_with_continue 
+:      034948 ssa_req_range_maxbyte_with_continue_cpy:
+0x687f 034949 increase -3 ,contw 
+0x6880 034950 copy loopcnt ,temp 
+0x6881 034951 copy regc ,pdata 
+0x6882 034952 isub regb ,pdata 
+0x6883 034953 iadd timeup ,contr 
+0x6884 034954 branch memcpy 
+:      034956 ssa_req_range_next_handle:
+0x6885 034957 fetch 1 ,mem_handle_humber 
+0x6886 034958 increase 1 ,queue 
+0x6887 034959 isub queue ,null 
+0x6888 034960 rtn zero 
+0x6889 034961 branch ssa_req_range_find_handle 
+:      034963 ssa_req_range_get_length:
+0x688a 034964 call disable_user 
+0x688b 034965 arg mem_sdp_handle_list ,contr 
+0x688c 034966 lshift2 queue ,pdata 
+0x688d 034967 iadd contr ,contr 
+0x688e 034968 ifetcht 4 ,contr 
+0x688f 034969 call search_handle 
+0x6890 034970 nrtn zero 
+0x6891 034971 call sdp_data_len 
+0x6892 034972 branch enable_user 
+:      034974 ssa_req_range_first_freg:
+0x6893 034975 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6894 034976 isub rega ,null 
+0x6895 034977 nbranch ssa_req_range_firstfreg_maxbyte_with_continue ,positive 
+0x6896 034978 copy rega ,loopcnt 
+0x6897 034979 copy loopcnt ,temp 
+0x6898 034980 copy timeup ,contr 
+0x6899 034981 call memcpy 
+0x689a 034982 fetch 2 ,mem_sdp_all_length 
+0x689b 034983 isub rega ,null 
+0x689c 034984 branch ssa_req_range_freg_no_continue ,zero 
+:      034985 ssa_req_range_firstfreg_not_maxbyte_with_continue:
+0x689d 034986 call ssa_req_range_freg_with_continue 
+0x689e 034987 branch ssa_req_range_attrbutes_length 
+:      034989 ssa_req_range_freg_no_continue:
+0x689f 034990 call ssa_req_range_lastfreg 
+0x68a0 034991 branch ssa_req_range_attrbutes_length 
+:      034993 ssa_req_range_lastfreg:
+0x68a1 034994 arg sdp_searchattrib_res ,rega 
+:      034995 ssa_req_range_lastfreg_common:
+0x68a2 034996 force 0 ,pdata 
+0x68a3 034997 istore 1 ,contw 
+0x68a4 034998 call ssa_req_range_common 
+0x68a5 034999 fetcht 2 ,mem_sdp_tx_pkt_length 
+0x68a6 035000 increase -5 ,temp 
+0x68a7 035001 byteswap temp ,pdata 
+0x68a8 035002 istore 2 ,contw 
+0x68a9 035003 increase -3 ,temp 
+0x68aa 035004 byteswap temp ,pdata 
+0x68ab 035005 istore 2 ,contw 
+0x68ac 035006 rtn 
+:      035008 ssa_req_range_firstfreg_maxbyte_with_continue:
+0x68ad 035009 copy pdata ,loopcnt 
+0x68ae 035010 copy loopcnt ,temp 
+0x68af 035011 copy timeup ,contr 
+0x68b0 035012 call memcpy 
+0x68b1 035013 call ssa_req_range_freg_with_continue 
+:      035014 ssa_req_range_attrbutes_length:
+0x68b2 035015 setarg 0x36 
+0x68b3 035016 istore 1 ,contw 
+0x68b4 035017 fetch 2 ,mem_sdp_all_length 
+0x68b5 035018 byteswap pdata ,pdata 
+0x68b6 035019 istore 2 ,contw 
+0x68b7 035020 rtn 
+:      035022 ssa_req_range_attrbutes_length_no_continue:
+0x68b8 035023 setarg 0x36 
+0x68b9 035024 istore 1 ,contw 
+0x68ba 035025 increase -3 ,temp 
+0x68bb 035026 byteswap temp ,pdata 
+0x68bc 035027 istore 2 ,contw 
+0x68bd 035028 rtn 
+:      035030 ssa_req_range_freg_with_continue:
+0x68be 035031 arg sdp_searchattrib_res ,rega 
+0x68bf 035032 setarg 2 
+0x68c0 035033 istore 1 ,contw 
+0x68c1 035034 fetch 2 ,mem_sdp_continue_byte 
+0x68c2 035035 iadd temp ,temp 
+0x68c3 035036 byteswap temp ,pdata 
+0x68c4 035037 istore 2 ,contw 
+0x68c5 035038 call ssa_req_range_common 
+0x68c6 035039 fetcht 2 ,mem_sdp_tx_pkt_length 
+0x68c7 035040 increase -5 ,temp 
+0x68c8 035041 byteswap temp ,pdata 
+0x68c9 035042 istore 2 ,contw 
+0x68ca 035043 increase -5 ,temp 
+0x68cb 035044 byteswap temp ,pdata 
+0x68cc 035045 istore 2 ,contw 
+0x68cd 035046 rtn 
+:      035048 ssa_req_range_common:
+0x68ce 035049 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x68cf 035050 isub contw ,pdata 
+0x68d0 035051 sub pdata ,0 ,pdata 
+0x68d1 035052 store 2 ,mem_sdp_tx_pkt_length 
+0x68d2 035053 call l2cap_get_sdp_tx_payload 
+0x68d3 035054 copy rega ,pdata 
+0x68d4 035055 istore 1 ,contw 
+0x68d5 035056 fetch 2 ,mem_sdp_transactionid 
+0x68d6 035057 istore 2 ,contw 
+0x68d7 035058 rtn 
+:      035071 sdp_process_ssa_res:
+:      035072 sdp_process_ss_res:
+:      035073 sdp_process_sa_res:
+:      035074 sdp_process_error_res:
+0x68d8 035075 rtn 
+:      035079 sdp_invalid_service_record_handle:
+0x68d9 035080 setarg 0x0200 
+0x68da 035081 store 2 ,mem_sdp_error_code 
+0x68db 035082 branch sdp_error_response 
+:      035083 sdp_invalid_pdu_size:
+0x68dc 035084 setarg 0x0400 
+0x68dd 035085 store 2 ,mem_sdp_error_code 
+0x68de 035086 branch sdp_error_response 
+:      035087 sdp_insufficient_resource:
+0x68df 035088 setarg 0x0600 
+0x68e0 035089 store 2 ,mem_sdp_error_code 
+0x68e1 035090 branch sdp_error_response 
+:      035091 sdp_invalid_request_syntax:
+0x68e2 035092 setarg 0x0300 
+0x68e3 035093 store 2 ,mem_sdp_error_code 
+:      035094 sdp_error_response:
+0x68e4 035095 call l2cap_get_sdp_tx_payload 
+0x68e5 035096 istore 1 ,contw 
+0x68e6 035097 fetch 2 ,mem_sdp_transactionid 
+0x68e7 035098 istore 2 ,contw 
+0x68e8 035099 setarg 0x0200 
+0x68e9 035100 istore 2 ,contw 
+0x68ea 035101 fetch 2 ,mem_sdp_error_code 
+0x68eb 035102 istore 2 ,contw 
+0x68ec 035103 jam 7 ,mem_sdp_tx_pkt_length 
+0x68ed 035104 rtn 
+:      035109 ask_serviceclassid:
+0x68ee 035110 arg 0 ,regb 
+0x68ef 035111 force 0 ,temp 
+0x68f0 035112 arg mem_sdp_uuid_search_ptr ,contw 
+0x68f1 035113 call dataelementtype6 
+0x68f2 035114 branch asksrv_error ,zero 
+:      035115 classidloop:
+0x68f3 035116 increase 1 ,regb 
+0x68f4 035117 ifetch 1 ,contr 
+0x68f5 035118 increase -1 ,rega 
+0x68f6 035119 increase -1 ,timeup 
+0x68f7 035120 compare 0x18 ,pdata ,0xf8 
+0x68f8 035121 nbranch asksrv_error ,true 
+0x68f9 035122 compare 0x04 ,pdata ,0x07 
+0x68fa 035123 nbranch cmp032 ,true 
+0x68fb 035124 force 1 ,temp 
+:      035125 skip2bytes:
+0x68fc 035126 ifetch 1 ,contr 
+0x68fd 035127 increase -1 ,rega 
+0x68fe 035128 increase -1 ,timeup 
+0x68ff 035129 bne 0x00 ,frstbwrong 
+0x6900 035130 ifetch 1 ,contr 
+0x6901 035131 increase -1 ,rega 
+0x6902 035132 increase -1 ,timeup 
+0x6903 035133 beq 0x00 ,cmpuuid 
+0x6904 035134 branch scndbwrong 
+:      035135 frstbwrong:
+0x6905 035136 increase 1 ,contr 
+0x6906 035137 increase -1 ,rega 
+0x6907 035138 increase -1 ,timeup 
+:      035139 scndbwrong:
+0x6908 035140 increase 2 ,contr 
+0x6909 035141 increase -2 ,rega 
+0x690a 035142 increase -2 ,timeup 
+0x690b 035143 compare 0x00 ,temp ,0xff 
+0x690c 035144 branch loopornot ,true 
+0x690d 035145 increase 12 ,contr 
+0x690e 035146 increase -12 ,rega 
+0x690f 035147 increase -12 ,timeup 
+0x6910 035148 branch loopornot 
+:      035149 cmp032:
+0x6911 035150 compare 0x02 ,pdata ,0x07 
+0x6912 035151 nbranch cmp016 ,true 
+0x6913 035152 branch skip2bytes 
+:      035153 cmp016:
+0x6914 035154 compare 0x01 ,pdata ,0x07 
+0x6915 035155 nbranch asksrv_error ,true 
+:      035156 cmpuuid:
+0x6916 035157 increase -2 ,rega 
+0x6917 035158 increase -2 ,timeup 
+0x6918 035159 ifetch 2 ,contr 
+0x6919 035160 sub regb ,4 ,null 
+0x691a 035161 branch uuidsize ,zero 
+0x691b 035162 istore 2 ,contw 
+:      035163 uuidsize:
+0x691c 035164 compare 0x00 ,temp ,0xff 
+0x691d 035165 branch loopornot ,true 
+0x691e 035166 copy contr ,temp 
+0x691f 035167 ifetch 1 ,contr 
+0x6920 035168 bne 0x00 ,wrong12b 
+0x6921 035169 ifetch 1 ,contr 
+0x6922 035170 bne 0x00 ,wrong12b 
+0x6923 035171 ifetch 1 ,contr 
+0x6924 035172 bne 0x10 ,wrong12b 
+0x6925 035173 ifetch 1 ,contr 
+0x6926 035174 bne 0x00 ,wrong12b 
+0x6927 035175 ifetch 1 ,contr 
+0x6928 035176 bne 0x80 ,wrong12b 
+0x6929 035177 ifetch 1 ,contr 
+0x692a 035178 bne 0x00 ,wrong12b 
+0x692b 035179 ifetch 1 ,contr 
+0x692c 035180 bne 0x00 ,wrong12b 
+0x692d 035181 ifetch 1 ,contr 
+0x692e 035182 bne 0x80 ,wrong12b 
+0x692f 035183 ifetch 1 ,contr 
+0x6930 035184 bne 0x5f ,wrong12b 
+0x6931 035185 ifetch 1 ,contr 
+0x6932 035186 bne 0x9b ,wrong12b 
+0x6933 035187 ifetch 1 ,contr 
+0x6934 035188 bne 0x34 ,wrong12b 
+0x6935 035189 ifetch 1 ,contr 
+0x6936 035190 beq 0xfb ,chck12dn 
+:      035191 wrong12b:
+0x6937 035192 copy temp ,contr 
+:      035193 wrong12b1:
+0x6938 035194 increase 12 ,contr 
+0x6939 035195 force 0x00 ,queue 
+0x693a 035196 force 0x00 ,temp 
+0x693b 035197 branch chck12dn 
+:      035199 chck12dn:
+0x693c 035200 increase -12 ,timeup 
+0x693d 035201 increase -12 ,rega 
+:      035202 loopornot:
+0x693e 035203 force 0x00 ,temp 
+0x693f 035204 compare 0x00 ,rega ,0xff 
+0x6940 035205 nbranch classidloop ,true 
+0x6941 035206 force 0 ,pdata 
+0x6942 035207 istore 2 ,contw 
+0x6943 035208 rtn 
+:      035209 asksrv_error:
+0x6944 035210 arg 0xff ,temp 
+0x6945 035211 rtn 
+:      035221 dataelementtype6:
+0x6946 035222 bpatchx patch2c_4 ,mem_patch2c 
+0x6947 035223 ifetch 1 ,contr 
+0x6948 035224 increase -1 ,timeup 
+0x6949 035225 compare 0x30 ,pdata ,0xf8 
+0x694a 035226 nbranch dsize_error ,true 
+0x694b 035227 compare 0x07 ,pdata ,0x07 
+0x694c 035228 branch dsize32 ,true 
+0x694d 035229 compare 0x06 ,pdata ,0x07 
+0x694e 035230 branch dsize16 ,true 
+0x694f 035231 compare 0x05 ,pdata ,0x07 
+0x6950 035232 nbranch dsize_error ,true 
+0x6951 035234 ifetch 1 ,contr 
+0x6952 035235 copy pdata ,rega 
+0x6953 035236 increase -1 ,timeup 
+0x6954 035237 branch dsize 
+:      035238 dsize32:
+0x6955 035239 increase 2 ,contr 
+0x6956 035240 increase -2 ,timeup 
+:      035241 dsize16:
+0x6957 035242 ifetch 2 ,contr 
+0x6958 035243 byteswap pdata ,rega 
+0x6959 035244 increase -2 ,timeup 
+:      035245 dsize:
+0x695a 035246 force 0x01 ,pdata 
+0x695b 035247 rtn 
+:      035248 dsize_error:
+0x695c 035249 force 0x00 ,pdata 
+0x695d 035250 rtn 
+:      035260 ss_empty_rsp:
+0x695e 035261 setarg sdp_search_res 
+0x695f 035262 store 1 ,mem_sdp_pduid 
+0x6960 035263 branch empty_response 
+:      035264 sa_empty_rsp:
+0x6961 035265 setarg sdp_attribute_res 
+0x6962 035266 store 1 ,mem_sdp_pduid 
+0x6963 035267 branch empty_response 
+:      035268 ssa_empty_rsp:
+0x6964 035269 setarg sdp_searchattrib_res 
+0x6965 035270 store 1 ,mem_sdp_pduid 
+:      035271 empty_response:
+0x6966 035272 call l2cap_get_sdp_tx_payload 
+0x6967 035275 fetch 1 ,mem_sdp_pduid 
+0x6968 035276 copy pdata ,regb 
+0x6969 035277 istore 1 ,contw 
+0x696a 035278 fetch 2 ,mem_sdp_transactionid 
+0x696b 035279 istore 2 ,contw 
+0x696c 035280 setarg 0x0500 
+0x696d 035281 istore 2 ,contw 
+0x696e 035282 compare sdp_attribute_res ,regb ,0xff 
+0x696f 035283 branch fullsearch ,true 
+0x6970 035284 compare sdp_searchattrib_res ,regb ,0xff 
+0x6971 035285 branch fullsearch ,true 
+0x6972 035286 setarg 0x000000 
+0x6973 035287 istore 5 ,contw 
+0x6974 035288 branch outempty 
+:      035290 fullsearch:
+0x6975 035291 setarg 0x350200 
+0x6976 035292 istore 5 ,contw 
+:      035293 outempty:
+0x6977 035294 jam 10 ,mem_sdp_tx_pkt_length 
+0x6978 035295 rtn 
+:      035298 sdp_data_len:
+0x6979 035299 call store_contw 
+0x697a 035300 call store_contr 
+0x697b 035301 call sdp_get_data 
+0x697c 035302 call get_contw 
+0x697d 035303 call get_contr 
+0x697e 035304 copy temp ,pdata 
+0x697f 035305 rtn 
+:      035308 sdp_get_data:
+0x6980 035309 ifetch 1 ,contr 
+0x6981 035310 and pdata ,0x7 ,loopcnt 
+0x6982 035311 rshift3 pdata ,pdata 
+0x6983 035312 bne 0 ,sdp_get_data_type_not0 
+:      035313 sdp_get_data_type0:
+0x6984 035314 force 1 ,pdata 
+0x6985 035315 force 1 ,temp 
+0x6986 035316 rtn 
+:      035318 sdp_get_data_type_not0_sizeindex01234:
+0x6987 035319 call left_shift_n 
+0x6988 035320 add pdata ,1 ,temp 
+0x6989 035321 rtn 
+:      035322 sdp_get_data_type_not0:
+0x698a 035323 deposit loopcnt 
+0x698b 035324 sub pdata ,4 ,null 
+0x698c 035325 branch sdp_get_data_type_not0_sizeindex01234 ,positive 
+0x698d 035326 beq 5 ,sdp_get_data_type_not0_sizeindex5 
+0x698e 035327 beq 6 ,sdp_get_data_type_not0_sizeindex6 
+0x698f 035328 beq 7 ,sdp_get_data_type_not0_sizeindex7 
+0x6990 035329 rtn 
+:      035331 sdp_get_data_type_not0_sizeindex5:
+0x6991 035332 ifetch 1 ,contr 
+0x6992 035333 add pdata ,2 ,temp 
+0x6993 035334 rtn 
+:      035335 sdp_get_data_type_not0_sizeindex6:
+0x6994 035336 ifetch 2 ,contr 
+0x6995 035337 byteswap pdata ,pdata 
+0x6996 035338 add pdata ,3 ,temp 
+0x6997 035339 rtn 
+:      035340 sdp_get_data_type_not0_sizeindex7:
+0x6998 035341 ifetch 2 ,contr 
+0x6999 035342 byteswap pdata ,pdata 
+0x699a 035343 ifetcht 2 ,contr 
+0x699b 035344 byteswap temp ,temp 
+0x699c 035345 lshift16 temp ,temp 
+0x699d 035346 iadd temp ,pdata 
+0x699e 035347 add pdata ,5 ,temp 
+0x699f 035348 rtn 
+:      035350 search_all_uuid:
+0x69a0 035351 bpatchx patch2c_5 ,mem_patch2c 
+0x69a1 035352 force 0 ,queue 
+0x69a2 035353 arg 0 ,regb 
+0x69a3 035354 arg mem_sdp_handle_list ,contw 
+:      035355 search_all_uuid_llop:
+0x69a4 035356 ifetch 2 ,timeup 
+0x69a5 035357 rtn blank 
+0x69a6 035358 call search_uuid 
+0x69a7 035359 copy queue ,pdata 
+0x69a8 035360 rtneq sdp_max_handle_number 
+0x69a9 035361 increase 2 ,timeup 
+0x69aa 035362 branch search_all_uuid_llop 
+:      035364 search_uuid:
+0x69ab 035366 iforce regc 
+0x69ac 035368 fetch 2 ,mem_ui_uuid_table 
+0x69ad 035369 iforce contr 
+:      035370 search_uuid_next:
+0x69ae 035371 copy queue ,pdata 
+0x69af 035372 rtneq sdp_max_handle_number 
+0x69b0 035373 disable user 
+0x69b1 035374 ifetch 1 ,contr 
+0x69b2 035375 rtn blank 
+0x69b3 035376 iforce loopcnt 
+:      035377 search_uuid_loop:
+0x69b4 035378 ifetch 2 ,contr 
+0x69b5 035379 isub regc ,null 
+0x69b6 035380 nbranch search_uuid_not_found ,zero 
+0x69b7 035381 enable user 
+:      035382 search_uuid_not_found:
+0x69b8 035383 loop search_uuid_loop 
+0x69b9 035384 ifetcht 4 ,contr 
+0x69ba 035385 copy contr ,rega 
+0x69bb 035386 nbranch search_uuid_nomatch ,user 
+0x69bc 035387 arg mem_sdp_handle_list ,contr 
+0x69bd 035388 arg sdp_max_handle_number ,loopcnt 
+:      035389 search_uuid_check_same_handle:
+0x69be 035390 ifetch 4 ,contr 
+0x69bf 035391 branch search_uuid_store_handle ,blank 
+0x69c0 035392 isub temp ,null 
+0x69c1 035393 branch search_uuid_nomatch ,zero 
+0x69c2 035394 loop search_uuid_check_same_handle 
+0x69c3 035395 rtn 
+:      035396 search_uuid_store_handle:
+0x69c4 035397 istoret 4 ,contw 
+0x69c5 035398 increase 1 ,queue 
+0x69c6 035399 copy rega ,contr 
+0x69c7 035400 call sdp_data_len 
+0x69c8 035401 iadd regb ,regb 
+0x69c9 035402 iadd contr ,contr 
+0x69ca 035403 branch search_uuid_next 
+:      035404 search_uuid_nomatch:
+0x69cb 035405 copy rega ,contr 
+0x69cc 035406 call sdp_get_data 
+0x69cd 035407 iadd contr ,contr 
+0x69ce 035408 branch search_uuid_next 
+:      035410 search_handle:
+0x69cf 035411 bpatchx patch2c_6 ,mem_patch2c 
+0x69d0 035412 fetch 2 ,mem_ui_uuid_table 
+0x69d1 035413 iforce contr 
+:      035414 search_handle_loop:
+0x69d2 035415 ifetch 1 ,contr 
+0x69d3 035416 branch disable_zero ,blank 
+0x69d4 035417 lshift pdata ,pdata 
+0x69d5 035418 iadd contr ,contr 
+0x69d6 035419 ifetch 4 ,contr 
+0x69d7 035420 isub temp ,null 
+0x69d8 035421 rtn zero 
+0x69d9 035422 deposit contw 
+0x69da 035423 store 2 ,mem_contw 
+0x69db 035424 storet 8 ,mem_temp 
+0x69dc 035425 call sdp_get_data 
+0x69dd 035426 iadd contr ,contr 
+0x69de 035427 copy contr ,pdata 
+0x69df 035428 fetcht 2 ,mem_contw 
+0x69e0 035429 copy temp ,contw 
+0x69e1 035430 fetcht 8 ,mem_temp 
+0x69e2 035431 copy pdata ,contr 
+0x69e3 035432 branch search_handle_loop 
+:      035434 search_attrib:
+0x69e4 035435 bpatchx patch2c_7 ,mem_patch2c 
+0x69e5 035436 fetch 2 ,mem_ui_uuid_table 
+0x69e6 035437 iforce contr 
+:      035438 search_attrib_next:
+0x69e7 035439 ifetch 1 ,contr 
+0x69e8 035440 branch search_attrib_end ,blank 
+0x69e9 035441 iforce loopcnt 
+:      035442 search_attrib_loop:
+0x69ea 035443 ifetch 2 ,contr 
+0x69eb 035444 isub regc ,null 
+0x69ec 035445 branch search_attrib_found_uuid ,zero 
+0x69ed 035446 loop search_attrib_loop 
+0x69ee 035447 increase 4 ,contr 
+0x69ef 035448 call sdp_get_data 
+0x69f0 035449 iadd contr ,contr 
+0x69f1 035450 branch search_attrib_next 
+:      035451 search_attrib_found_uuid:
+0x69f2 035452 increase -1 ,loopcnt 
+0x69f3 035453 lshift loopcnt ,pdata 
+0x69f4 035454 iadd contr ,contr 
+0x69f5 035455 increase 4 ,contr 
+0x69f6 035456 call sdp_get_data 
+0x69f7 035457 iadd contr ,timeup 
+:      035458 search_attrib_loop_attribs:
+0x69f8 035459 increase 1 ,contr 
+0x69f9 035460 ifetch 2 ,contr 
+0x69fa 035461 isub regb ,null 
+0x69fb 035465 branch disable_blank ,zero 
+0x69fc 035466 call sdp_data_len 
+0x69fd 035467 iadd contr ,contr 
+0x69fe 035468 deposit timeup 
+0x69ff 035469 isub contr ,null 
+0x6a00 035470 branch search_attrib_end ,zero 
+0x6a01 035471 branch search_attrib_loop_attribs 
+:      035472 search_attrib_end:
+0x6a02 035473 force 0 ,contr 
+0x6a03 035474 force 0 ,pdata 
+0x6a04 035475 rtn 
+:      035481 search_handle_attrib:
+0x6a05 035482 bpatchx patch2d_0 ,mem_patch2d 
+0x6a06 035483 fetch 2 ,mem_ui_uuid_table 
+0x6a07 035484 iforce contr 
+:      035485 search_handle_attrib_next:
+0x6a08 035486 ifetch 1 ,contr 
+0x6a09 035487 branch search_handle_attrib_end ,blank 
+0x6a0a 035488 lshift pdata ,pdata 
+0x6a0b 035489 iadd contr ,contr 
+0x6a0c 035490 ifetch 4 ,contr 
+0x6a0d 035491 isub temp ,null 
+0x6a0e 035492 branch search_handl_attrib_found_handle ,zero 
+0x6a0f 035493 call sdp_get_data 
+0x6a10 035494 iadd contr ,contr 
+0x6a11 035495 branch search_handle_attrib_next 
+:      035496 search_handl_attrib_found_handle:
+0x6a12 035497 call sdp_get_data 
+0x6a13 035498 iadd contr ,timeup 
+:      035499 search_handle_attrib_loop_attribs:
+0x6a14 035500 increase 1 ,contr 
+0x6a15 035501 ifetch 2 ,contr 
+0x6a16 035502 isub regb ,null 
+0x6a17 035503 rtn zero 
+0x6a18 035504 call sdp_data_len 
+0x6a19 035505 iadd contr ,contr 
+0x6a1a 035506 deposit timeup 
+0x6a1b 035507 isub contr ,null 
+0x6a1c 035508 branch search_handle_attrib_end ,zero 
+0x6a1d 035509 branch search_handle_attrib_loop_attribs 
+:      035510 search_handle_attrib_end:
+0x6a1e 035511 force 0 ,contr 
+0x6a1f 035512 rtn 
+:      035516 search_rfcomm_cn:
+0x6a20 035517 arg 0x0400 ,regb 
+0x6a21 035518 call search_handl_attrib_found_handle 
+0x6a22 035519 arg 0x0300 ,regb 
+0x6a23 035520 call search_uuid_in_data 
+0x6a24 035521 nrtn user 
+0x6a25 035522 sub rega ,3 ,null 
+0x6a26 035523 branch disable_user ,positive 
+0x6a27 035524 ifetch 1 ,contr 
+0x6a28 035525 bne 0x08 ,disable_user 
+0x6a29 035526 ifetch 1 ,contr 
+0x6a2a 035527 rtn 
+:      035532 search_uuid_in_data:
+0x6a2b 035533 bpatchx patch2d_1 ,mem_patch2d 
+0x6a2c 035534 call sdp_get_data 
+0x6a2d 035535 copy pdata ,rega 
+:      035536 search_uuid_in_data_loop:
+0x6a2e 035537 ifetch 1 ,contr 
+0x6a2f 035538 and pdata ,0x7 ,loopcnt 
+0x6a30 035539 rshift3 pdata ,pdata 
+0x6a31 035540 sub pdata ,3 ,null 
+0x6a32 035541 branch search_uuid_in_data_found_uuid ,zero 
+0x6a33 035542 copy loopcnt ,pdata 
+0x6a34 035543 beq 5 ,search_uuid_in_data_found_element_index5 
+0x6a35 035544 beq 6 ,search_uuid_in_data_found_element_index6 
+0x6a36 035545 beq 7 ,search_uuid_in_data_found_element_index7 
+0x6a37 035546 increase -1 ,contr 
+0x6a38 035547 call sdp_get_data 
+0x6a39 035548 iadd contr ,contr 
+0x6a3a 035549 copy rega ,pdata 
+0x6a3b 035550 isub temp ,rega 
+0x6a3c 035551 branch disable_user ,zero 
+0x6a3d 035552 branch search_uuid_in_data_loop 
+:      035554 search_uuid_in_data_found_element_index5:
+0x6a3e 035555 increase -2 ,rega 
+0x6a3f 035556 increase 1 ,contr 
+0x6a40 035557 branch search_uuid_in_data_loop 
+:      035558 search_uuid_in_data_found_element_index6:
+0x6a41 035559 increase -3 ,rega 
+0x6a42 035560 increase 2 ,contr 
+0x6a43 035561 branch search_uuid_in_data_loop 
+:      035562 search_uuid_in_data_found_element_index7:
+0x6a44 035563 increase -5 ,rega 
+0x6a45 035564 increase 4 ,contr 
+0x6a46 035565 branch search_uuid_in_data_loop 
+:      035567 search_uuid_in_data_found_uuid:
+0x6a47 035568 increase -1 ,rega 
+0x6a48 035569 copy loopcnt ,pdata 
+0x6a49 035570 beq 1 ,search_uuid_in_data_type_uuid_16 
+0x6a4a 035571 beq 2 ,search_uuid_in_data_type_uuid_32 
+0x6a4b 035572 beq 4 ,search_uuid_in_data_type_uuid_128 
+0x6a4c 035573 branch disable_user 
+:      035574 search_uuid_in_data_type_uuid_128:
+0x6a4d 035575 increase -12 ,rega 
+:      035576 search_uuid_in_data_type_uuid_32:
+0x6a4e 035577 ifetch 2 ,contr 
+0x6a4f 035578 increase -2 ,rega 
+:      035579 search_uuid_in_data_type_uuid_16:
+0x6a50 035580 ifetch 2 ,contr 
+0x6a51 035581 isub regb ,null 
+0x6a52 035582 branch enable_user ,zero 
+0x6a53 035583 increase -2 ,rega 
+0x6a54 035584 branch disable_user ,zero 
+0x6a55 035585 branch search_uuid_in_data_loop 
+:      035589 sdp_send_spp_request:
+0x6a56 035590 call l2cap_get_sdp_tx_payload 
+0x6a57 035591 copy pdata ,contw 
+0x6a58 035592 setarg 6 
+0x6a59 035593 istore 1 ,contw 
+0x6a5a 035594 setarg sdp_tid_spp 
+0x6a5b 035595 istore 2 ,contw 
+0x6a5c 035596 setarg 0x0f00 
+0x6a5d 035597 istore 2 ,contw 
+0x6a5e 035598 setarg 0x1a0535 
+0x6a5f 035599 istore 3 ,contw 
+0x6a60 035600 setarg 0x0111 
+0x6a61 035601 lshift16 pdata ,pdata 
+0x6a62 035602 istore 4 ,contw 
+0x6a63 035603 setarg 0x2600 
+0x6a64 035604 istore 2 ,contw 
+0x6a65 035605 setarg 0x0335 
+0x6a66 035606 istore 2 ,contw 
+0x6a67 035607 setarg 0x0009 
+0x6a68 035608 istore 2 ,contw 
+0x6a69 035609 setarg 0x0004 
+0x6a6a 035610 istore 2 ,contw 
+0x6a6b 035611 jam 0x14 ,mem_sdp_tx_pkt_length 
+0x6a6c 035612 rtn 
+:      035616 function_g2:
+0x6a6d 035617 bpatchx patch2d_2 ,mem_patch2d 
+0x6a6e 035618 jam 80 ,mem_aes_cmac_data_length 
+0x6a6f 035619 arg memdat ,contw 
+0x6a70 035620 arg mem_le_srand ,contr 
+0x6a71 035621 call memcpy16 
+0x6a72 035622 arg mem_sc_pubkey_local_x_256 ,contr 
+0x6a73 035623 call memcpy32 
+0x6a74 035624 arg mem_le_pubkey_remote_x_256 ,contr 
+0x6a75 035625 call memcpy32 
+0x6a76 035626 call inverse_memdat 
+0x6a77 035627 arg mem_le_mrand ,contr 
+0x6a78 035628 call store_inverse_k 
+0x6a79 035629 call function_aes_cmac 
+0x6a7a 035631 arg mem_aes_cmac_temp ,contw 
+0x6a7b 035632 call load_inverse_result 
+0x6a7c 035633 setarg 1000000 
+0x6a7d 035634 copy pdata ,rega 
+0x6a7e 035635 fetch 4 ,mem_aes_cmac_temp 
+0x6a7f 035636 idiv rega 
+0x6a80 035637 call wait_div_end 
+0x6a81 035638 remainder pdata 
+0x6a82 035639 store 4 ,mem_gkey 
+0x6a83 035641 rtn 
+:      035643 function_f6_eb:
+0x6a84 035644 jam 65 ,mem_aes_cmac_data_length 
+0x6a85 035645 arg memdat ,contw 
+0x6a86 035646 call store_addr_common_a 
+0x6a87 035647 call store_addr_common_b 
+0x6a88 035648 fetch 3 ,mem_le_pres + 1 
+0x6a89 035649 istore 3 ,contw 
+0x6a8a 035652 call get_r 
+0x6a8b 035654 arg mem_le_mrand ,contr 
+0x6a8c 035655 call memcpy16 
+0x6a8d 035656 arg mem_le_srand ,contr 
+0x6a8e 035657 call memcpy16 
+0x6a8f 035658 call inverse_memdat 
+0x6a90 035659 arg mem_le_mackey ,contr 
+0x6a91 035660 arg mem_aes_cmac_k ,contw 
+0x6a92 035661 call memcpy16 
+0x6a93 035663 branch function_aes_cmac 
+:      035667 get_r:
+0x6a94 035668 fetch 4 ,mem_le_tk 
+0x6a95 035669 istore 4 ,contw 
+0x6a96 035670 call memset0_4 
+0x6a97 035671 branch memset0_8 
+:      035673 function_f6_ea:
+0x6a98 035674 bpatchx patch2d_3 ,mem_patch2d 
+0x6a99 035675 jam 65 ,mem_aes_cmac_data_length 
+0x6a9a 035676 arg memdat ,contw 
+0x6a9b 035677 call store_addr_common_b 
+0x6a9c 035678 call store_addr_common_a 
+0x6a9d 035679 fetch 3 ,mem_le_preq + 1 
+0x6a9e 035680 istore 3 ,contw 
+0x6a9f 035683 call get_r 
+0x6aa0 035684 arg mem_le_srand ,contr 
+0x6aa1 035685 call memcpy16 
+0x6aa2 035686 arg mem_le_mrand ,contr 
+0x6aa3 035687 call memcpy16 
+0x6aa4 035688 call inverse_memdat 
+0x6aa5 035689 arg mem_le_mackey ,contr 
+0x6aa6 035690 arg mem_aes_cmac_k ,contw 
+0x6aa7 035691 call memcpy16 
+0x6aa8 035693 call function_aes_cmac 
+0x6aa9 035694 arg mem_aes_cmac_temp ,contw 
+0x6aaa 035695 branch load_inverse_result 
+:      035697 function_f5:
+0x6aab 035698 jam 32 ,mem_aes_cmac_data_length 
+0x6aac 035699 arg mem_le_dhkey_256 ,contr 
+0x6aad 035700 arg memdat ,contw 
+0x6aae 035701 call memcpy32 
+0x6aaf 035702 call inverse_memdat 
+0x6ab0 035703 arg mem_le_slat ,contr 
+0x6ab1 035704 call store_inverse_k 
+0x6ab2 035705 call function_aes_cmac 
+0x6ab3 035706 arg mem_aes_cmac_k ,contw 
+0x6ab4 035707 call store_aes_result 
+0x6ab5 035708 arg 1 ,temp 
+0x6ab6 035709 call function_f5_common 
+0x6ab7 035710 arg mem_le_ltk ,contw 
+0x6ab8 035711 call load_inverse_result 
+0x6ab9 035712 arg 0 ,temp 
+0x6aba 035713 call function_f5_common 
+0x6abb 035714 arg mem_le_mackey ,contw 
+0x6abc 035716 branch store_aes_result 
+:      035719 function_f5_common:
+0x6abd 035720 bpatchx patch2d_4 ,mem_patch2d 
+0x6abe 035721 jam 53 ,mem_aes_cmac_data_length 
+0x6abf 035722 setarg 0x100 
+0x6ac0 035723 store 2 ,memdat 
+0x6ac1 035724 call store_addr_common_b 
+0x6ac2 035725 call store_addr_common_a 
+0x6ac3 035726 arg mem_le_srand ,contr 
+0x6ac4 035727 call memcpy16 
+0x6ac5 035728 arg mem_le_mrand ,contr 
+0x6ac6 035729 call memcpy16 
+0x6ac7 035731 setarg 0x6c65 
+0x6ac8 035732 istore 2 ,contw 
+0x6ac9 035733 setarg 0x6274 
+0x6aca 035734 istore 2 ,contw 
+0x6acb 035735 istoret 1 ,contw 
+0x6acc 035736 call inverse_memdat 
+0x6acd 035737 branch function_aes_cmac 
+:      035739 store_addr_common_b:
+0x6ace 035740 fetch 6 ,mem_le_lap 
+0x6acf 035741 istore 6 ,contw 
+0x6ad0 035742 fetch 1 ,mem_le_conn_own_addr_type 
+0x6ad1 035743 istore 1 ,contw 
+0x6ad2 035744 rtn 
+:      035746 store_addr_common_a:
+0x6ad3 035747 fetch 6 ,mem_le_plap 
+0x6ad4 035748 istore 6 ,contw 
+0x6ad5 035753 fetch 1 ,mem_le_conn_peer_addr_type 
+0x6ad6 035754 istore 1 ,contw 
+0x6ad7 035755 rtn 
+:      035757 function_f4_ca:
+0x6ad8 035758 jam 65 ,mem_aes_cmac_data_length 
+0x6ad9 035759 fetch 1 ,mem_passkey_1bit 
+0x6ada 035760 store 1 ,memdat 
+0x6adb 035761 arg mem_sc_pubkey_local_x_256 ,contr 
+0x6adc 035762 call memcpy32 
+0x6add 035763 arg mem_le_pubkey_remote_x_256 ,contr 
+0x6ade 035764 call memcpy32 
+0x6adf 035765 call inverse_memdat 
+0x6ae0 035766 arg mem_le_mrand ,contr 
+0x6ae1 035767 call store_inverse_k 
+0x6ae2 035768 branch function_aes_cmac 
+:      035771 function_f4_cb:
+0x6ae3 035772 jam 65 ,mem_aes_cmac_data_length 
+0x6ae4 035773 fetch 1 ,mem_passkey_1bit 
+0x6ae5 035774 store 1 ,memdat 
+0x6ae6 035775 arg mem_le_pubkey_remote_x_256 ,contr 
+0x6ae7 035776 call memcpy32 
+0x6ae8 035777 arg mem_sc_pubkey_local_x_256 ,contr 
+0x6ae9 035778 call memcpy32 
+0x6aea 035779 call inverse_memdat 
+0x6aeb 035780 arg mem_le_srand ,contr 
+0x6aec 035781 call store_inverse_k 
+0x6aed 035782 branch function_aes_cmac 
+:      035784 function_aes_cmac:
+0x6aee 035785 bpatchx patch2d_5 ,mem_patch2d 
+0x6aef 035786 call function_aes_cmac_generate_subkey 
+0x6af0 035790 fetch 1 ,mem_aes_cmac_data_length 
+0x6af1 035791 copy pdata ,temp 
+:      035792 function_ceil16:
+0x6af2 035793 increase 15 ,pdata 
+0x6af3 035794 rshift4 pdata ,pdata 
+0x6af4 035795 copy pdata ,regb 
+0x6af5 035796 branch function_aes_cmac_set_flag_0_balnk ,blank 
+0x6af6 035797 and temp ,0x0f ,pdata 
+0x6af7 035798 nbranch function_aes_cmac_set_flag_0 ,blank 
+0x6af8 035800 arg mem_aes_cmac_k1 ,regc 
+0x6af9 035801 arg memdat ,pdata 
+0x6afa 035802 increase -16 ,pdata 
+0x6afb 035805 iadd temp ,rega 
+0x6afc 035806 arg mem_aes_cmac_m_last ,contw 
+0x6afd 035807 arg 4 ,loopcnt 
+0x6afe 035808 call xor_loop 
+0x6aff 035812 branch function_aes_cmac_aes 
+:      035814 function_aes_cmac_set_flag_0_balnk:
+0x6b00 035815 arg 1 ,regb 
+0x6b01 035816 arg 0 ,rega 
+0x6b02 035818 branch function_aes_cmac_set_flag_0_common 
+:      035821 function_aes_cmac_set_flag_0:
+0x6b03 035823 and temp ,0x0f ,rega 
+:      035824 function_aes_cmac_set_flag_0_common:
+0x6b04 035825 arg memdat ,pdata 
+0x6b05 035826 iadd temp ,pdata 
+0x6b06 035827 isub rega ,contr 
+0x6b07 035829 arg mem_aes_cmac_temp ,contw 
+0x6b08 035830 call function_aes_cmac_padding 
+0x6b09 035832 arg mem_aes_cmac_k2 ,regc 
+0x6b0a 035833 arg mem_aes_cmac_temp ,rega 
+0x6b0b 035834 arg mem_aes_cmac_m_last ,contw 
+0x6b0c 035835 arg 4 ,loopcnt 
+0x6b0d 035836 call xor_loop 
+:      035843 function_aes_cmac_aes:
+0x6b0e 035848 call aes_clear_data 
+0x6b0f 035849 call aes_init 
+0x6b10 035852 arg memdat ,contr 
+:      035853 function_aes_cmac_aes_loop:
+0x6b11 035855 increase -1 ,regb 
+0x6b12 035856 deposit regb 
+0x6b13 035857 branch function_aes_cmac_aes_loop_end ,blank 
+0x6b14 035858 call load_data128 
+0x6b15 035859 call do_aes_cbc 
+0x6b16 035860 branch function_aes_cmac_aes_loop 
+:      035862 function_aes_cmac_aes_loop_end:
+0x6b17 035863 arg mem_aes_cmac_temp ,contw 
+0x6b18 035864 call store_aes_result 
+0x6b19 035865 arg mem_aes_cmac_m_last ,contr 
+0x6b1a 035866 call load_data128 
+0x6b1b 035867 call aes_init 
+0x6b1c 035868 arg mem_aes_cmac_temp ,contr 
+0x6b1d 035869 call load_data128 
+0x6b1e 035870 branch do_aes_cbc 
+:      035874 load_inverse_result:
+0x6b1f 035876 copy contw ,rega 
+0x6b20 035877 call store_aes_result 
+0x6b21 035879 arg 16 ,loopcnt 
+0x6b22 035880 branch inverse_data 
+:      035882 store_inverse_k:
+0x6b23 035883 arg mem_aes_cmac_k ,contw 
+0x6b24 035884 call memcpy16 
+:      035885 inverse_k:
+0x6b25 035886 arg 16 ,loopcnt 
+0x6b26 035887 arg mem_aes_cmac_k ,rega 
+0x6b27 035888 branch inverse_data 
+:      035890 inverse_memdat:
+0x6b28 035891 fetch 1 ,mem_aes_cmac_data_length 
+0x6b29 035892 copy pdata ,loopcnt 
+0x6b2a 035893 arg memdat ,rega 
+0x6b2b 035894 branch inverse_data 
+:      035896 bn_lshift_0_inverse:
+0x6b2c 035897 ifetch 1 ,rega 
+0x6b2d 035898 lshift pdata ,pdata 
+0x6b2e 035899 isolate1 0 ,regc 
+0x6b2f 035900 setflag true ,0 ,pdata 
+0x6b30 035901 isolate1 8 ,pdata 
+0x6b31 035902 setflag true ,0 ,regc 
+0x6b32 035903 istore 1 ,rega 
+0x6b33 035904 increase -1 ,rega 
+0x6b34 035905 loop bn_lshift_0_inverse 
+0x6b35 035906 rtn 
+:      035908 function_aes_cmac_k1_inverse:
+0x6b36 035909 arg mem_aes_cmac_k1 ,rega 
+:      035910 function_aes_cmac_inverse_common:
+0x6b37 035911 increase 15 ,rega 
+0x6b38 035912 force 16 ,loopcnt 
+0x6b39 035913 force 0 ,regc 
+0x6b3a 035914 branch bn_lshift_0_inverse 
+:      035916 function_aes_cmac_k2_inverse:
+0x6b3b 035917 arg mem_aes_cmac_k2 ,rega 
+0x6b3c 035918 branch function_aes_cmac_inverse_common 
+:      035921 function_aes_cmac_generate_subkey:
+0x6b3d 035922 arg mem_aes_cmac_k ,contr 
+0x6b3e 035923 call load_key 
+0x6b3f 035926 force regidx_xor ,regext_index 
+0x6b40 035927 call aes_clear 
+0x6b41 035928 call aes_clear_data 
+0x6b42 035929 call do_aes_ocb 
+0x6b43 035934 arg mem_aes_cmac_k1 ,contw 
+0x6b44 035935 call store_aes_result 
+:      035936 function_aes_cmac_k1:
+0x6b45 035937 bpatchx patch2d_6 ,mem_patch2d 
+0x6b46 035938 fetch 1 ,mem_aes_cmac_k1 
+0x6b47 035939 isolate1 7 ,pdata 
+0x6b48 035940 nbranch function_aes_cmac_k1_0 ,true 
+0x6b49 035941 call function_aes_cmac_k1_inverse 
+0x6b4a 035944 arg mem_aes_cmac_k1 ,regc 
+0x6b4b 035946 arg mem_aes_cmac_k1 ,contw 
+0x6b4c 035949 call function_aes_cmac_xor_rb 
+0x6b4d 035950 branch function_aes_cmac_k2 
+:      035951 function_aes_cmac_k1_0:
+0x6b4e 035952 call function_aes_cmac_k1_inverse 
+:      035953 function_aes_cmac_k2:
+0x6b4f 035955 arg mem_aes_cmac_k1 ,contr 
+0x6b50 035956 arg mem_aes_cmac_k2 ,contw 
+0x6b51 035957 call memcpy16 
+0x6b52 035958 fetch 1 ,mem_aes_cmac_k2 
+0x6b53 035959 isolate1 7 ,pdata 
+0x6b54 035960 nbranch function_aes_cmac_k2_inverse ,true 
+0x6b55 035961 call function_aes_cmac_k2_inverse 
+0x6b56 035963 arg mem_aes_cmac_k2 ,regc 
+0x6b57 035965 arg mem_aes_cmac_k2 ,contw 
+:      035971 function_aes_cmac_xor_rb:
+0x6b58 035972 arg 3 ,loopcnt 
+:      035973 function_aes_cmac_xor_rb_loop:
+0x6b59 035974 arg 0 ,temp 
+0x6b5a 035975 call function_aes_cmac_xor_loop_common 
+0x6b5b 035976 increase 4 ,regc 
+0x6b5c 035977 loop function_aes_cmac_xor_rb_loop 
+0x6b5d 035978 arg 0x8700 ,temp 
+0x6b5e 035979 lshift16 temp ,temp 
+:      035980 function_aes_cmac_xor_loop_common:
+0x6b5f 035981 ifetch 4 ,regc 
+0x6b60 035982 ixor temp ,pdata 
+0x6b61 035983 istore 4 ,contw 
+0x6b62 035984 rtn 
+:      035990 function_aes_cmac_padding:
+0x6b63 035991 bpatchx patch2d_7 ,mem_patch2d 
+0x6b64 035992 arg 16 ,loopcnt 
+0x6b65 035993 arg 0 ,pdata 
+:      035994 function_aes_cmac_padding_loop:
+0x6b66 035995 isub rega ,null 
+0x6b67 035996 branch function_aes_cmac_padding_beq_length ,zero 
+0x6b68 035997 branch function_aes_cmac_padding_big_length ,positive 
+0x6b69 035998 ifetcht 1 ,contr 
+0x6b6a 035999 istoret 1 ,contw 
+:      036000 function_aes_cmac_padding_loop2:
+0x6b6b 036001 increase 1 ,pdata 
+0x6b6c 036002 loop function_aes_cmac_padding_loop 
+0x6b6d 036003 rtn 
+:      036004 function_aes_cmac_padding_beq_length:
+0x6b6e 036005 arg 0x80 ,temp 
+:      036006 function_aes_cmac_padding_common:
+0x6b6f 036007 istoret 1 ,contw 
+0x6b70 036008 branch function_aes_cmac_padding_loop2 
+:      036010 function_aes_cmac_padding_big_length:
+0x6b71 036011 arg 0 ,temp 
+0x6b72 036012 branch function_aes_cmac_padding_common 
+:      036015 generate_kinit:
+0x6b73 036016 call function_e22 
+0x6b74 036017 arg mem_input_store ,contr 
+0x6b75 036018 arg mem_kinit ,contw 
+0x6b76 036019 branch memcpy16 
+:      036022 function_e21:
+0x6b77 036023 disable user 
+0x6b78 036024 call function_expand 
+0x6b79 036025 arg mem_random_number ,contr 
+0x6b7a 036026 arg mem_x ,contw 
+0x6b7b 036027 force 15 ,loopcnt 
+0x6b7c 036028 call memcpy 
+0x6b7d 036029 ifetch 1 ,contr 
+0x6b7e 036030 xor_into 6 ,pdata 
+0x6b7f 036031 istore 1 ,contw 
+0x6b80 036032 setarg mem_y 
+0x6b81 036033 store 2 ,memp_ar_input 
+0x6b82 036034 setarg mem_x 
+0x6b83 036035 store 2 ,memp_ar_key 
+0x6b84 036036 set1 mark_ar2 ,mark 
+0x6b85 036037 branch function_ar 
+:      036041 function_e22:
+0x6b86 036042 fetcht 1 ,mem_pin_length 
+0x6b87 036043 force 16 ,regb 
+0x6b88 036044 add temp ,6 ,regc 
+0x6b89 036045 sub regc ,16 ,null 
+0x6b8a 036046 branch function_e22_pin_init ,positive 
+0x6b8b 036047 force 16 ,regc 
+:      036048 function_e22_pin_init:
+0x6b8c 036049 arg mem_x ,contw 
+:      036050 function_e22_genx_pin:
+0x6b8d 036051 arg mem_pin ,contr 
+0x6b8e 036052 copy temp ,loopcnt 
+0x6b8f 036053 disable user 
+:      036054 function_e22_genx_loop:
+0x6b90 036055 ifetch 1 ,contr 
+0x6b91 036056 istore 1 ,contw 
+0x6b92 036057 increase -1 ,regb 
+0x6b93 036058 branch function_e22_genx_end ,zero 
+0x6b94 036059 loop function_e22_genx_loop 
+0x6b95 036060 branch function_e22_genx_pin ,user 
+0x6b96 036061 enable user 
+0x6b97 036062 force 6 ,loopcnt 
+0x6b98 036063 copy rega ,contr 
+0x6b99 036064 branch function_e22_genx_loop 
+:      036065 function_e22_genx_end:
+0x6b9a 036066 arg mem_random_number ,contr 
+0x6b9b 036067 arg mem_y ,contw 
+0x6b9c 036068 call memcpy16 
+0x6b9d 036069 fetch 1 ,mem_y15 
+0x6b9e 036070 ixor regc ,pdata 
+0x6b9f 036071 store 1 ,mem_y15 
+0x6ba0 036072 setarg mem_y 
+0x6ba1 036073 store 2 ,memp_ar_input 
+0x6ba2 036074 setarg mem_x 
+0x6ba3 036075 store 2 ,memp_ar_key 
+0x6ba4 036076 set1 mark_ar2 ,mark 
+0x6ba5 036077 branch function_ar 
+:      036082 function_e1:
+0x6ba6 036083 disable user 
+0x6ba7 036084 call function_expand 
+0x6ba8 036085 branch function_hash 
+:      036087 function_e3:
+0x6ba9 036088 arg mem_aco ,rega 
+0x6baa 036089 enable user 
+0x6bab 036090 call function_expand 
+0x6bac 036091 call function_hash 
+0x6bad 036092 arg mem_input_store ,contr 
+0x6bae 036093 arg mem_kc ,contw 
+0x6baf 036094 branch memcpy16 
+:      036097 function_hash:
+0x6bb0 036098 setarg mem_random_number 
+0x6bb1 036099 store 2 ,memp_ar_input 
+0x6bb2 036100 setarg mem_link_key 
+0x6bb3 036101 store 2 ,memp_ar_key 
+0x6bb4 036102 set0 mark_ar2 ,mark 
+0x6bb5 036103 call function_ar 
+0x6bb6 036104 arg mem_input_store ,rega 
+0x6bb7 036105 arg mem_random_number ,regb 
+0x6bb8 036106 arg mem_x ,contw 
+0x6bb9 036107 call xor16 
+0x6bba 036108 arg mem_x ,rega 
+0x6bbb 036109 arg mem_y ,regb 
+0x6bbc 036110 copy regb ,contw 
+0x6bbd 036111 enable user 
+0x6bbe 036112 call add16 
+0x6bbf 036113 call key_offset 
+0x6bc0 036114 setarg mem_y 
+0x6bc1 036115 store 2 ,memp_ar_input 
+0x6bc2 036116 setarg mem_x 
+0x6bc3 036117 store 2 ,memp_ar_key 
+0x6bc4 036118 set1 mark_ar2 ,mark 
+0x6bc5 036119 branch function_ar 
+:      036123 function_ar:
+0x6bc6 036124 jam 0 ,mem_ar_hround 
+0x6bc7 036125 fetch 2 ,memp_ar_key 
+0x6bc8 036126 iforce contr 
+0x6bc9 036127 arg mem_key_store ,contw 
+0x6bca 036128 call memcpy16 
+0x6bcb 036129 fetch 2 ,memp_ar_input 
+0x6bcc 036130 iforce contr 
+0x6bcd 036131 arg mem_input_store ,contw 
+0x6bce 036132 call memcpy16 
+:      036134 function_ar_loop:
+0x6bcf 036135 call key_scheduling 
+0x6bd0 036136 disable user 
+0x6bd1 036137 bmark0 mark_ar2 ,function_ar_original 
+0x6bd2 036138 fetch 1 ,mem_ar_hround 
+0x6bd3 036139 bne 4 ,function_ar_original 
+0x6bd4 036140 fetch 2 ,memp_ar_input 
+0x6bd5 036141 iforce regb 
+0x6bd6 036142 call xor_mod32_ar2 
+:      036143 function_ar_original:
+0x6bd7 036144 call xor_mod32 
+0x6bd8 036145 call el_boxes 
+0x6bd9 036146 fetch 1 ,mem_ar_hround 
+0x6bda 036147 increase 1 ,pdata 
+0x6bdb 036148 store 1 ,mem_ar_hround 
+0x6bdc 036150 call key_scheduling 
+0x6bdd 036151 enable user 
+0x6bde 036152 call xor_mod32 
+0x6bdf 036153 call pht 
+0x6be0 036154 call permute 
+0x6be1 036155 call pht 
+0x6be2 036156 call permute 
+0x6be3 036157 call pht 
+0x6be4 036158 call permute 
+0x6be5 036159 call pht 
+0x6be6 036160 fetch 1 ,mem_ar_hround 
+0x6be7 036161 increase 1 ,pdata 
+0x6be8 036162 store 1 ,mem_ar_hround 
+0x6be9 036163 bne 16 ,function_ar_loop 
+0x6bea 036164 call key_scheduling 
+0x6beb 036165 disable user 
+0x6bec 036166 branch xor_mod32 
+:      036170 key_scheduling:
+0x6bed 036171 fetch 1 ,mem_ar_hround 
+0x6bee 036172 arg mem_key_store ,contr 
+0x6bef 036173 branch key_sched_zero ,blank 
+0x6bf0 036174 iforce regb 
+0x6bf1 036175 force 17 ,loopcnt 
+0x6bf2 036176 copy contr ,contw 
+:      036177 key_rotateloop:
+0x6bf3 036178 ifetch 1 ,contr 
+0x6bf4 036179 lshift3 pdata ,temp 
+0x6bf5 036180 rshift2 pdata ,pdata 
+0x6bf6 036181 rshift3 pdata ,pdata 
+0x6bf7 036182 ior temp ,pdata 
+0x6bf8 036183 istore 1 ,contw 
+0x6bf9 036184 loop key_rotateloop 
+0x6bfa 036185 setarg mem_key_store 
+0x6bfb 036186 iadd regb ,contr 
+0x6bfc 036187 force 16 ,loopcnt 
+0x6bfd 036188 arg mem_round_key ,contw 
+:      036189 key_select_octet_loop:
+0x6bfe 036190 ifetch 1 ,contr 
+0x6bff 036191 istore 1 ,contw 
+0x6c00 036192 compare mem_key_store_end ,contr ,0xff 
+0x6c01 036193 nbranch key_select_octet_nwrap ,true 
+0x6c02 036194 increase -17 ,contr 
+:      036195 key_select_octet_nwrap:
+0x6c03 036196 loop key_select_octet_loop 
+0x6c04 036197 force 0 ,rega 
+0x6c05 036198 add regb ,-1 ,regc 
+0x6c06 036199 lshift2 regc ,regc 
+0x6c07 036200 lshift2 regc ,regc 
+0x6c08 036201 call enable_authrom 
+0x6c09 036202 setarg mem_b_box 
+0x6c0a 036203 iadd regc ,regc 
+0x6c0b 036204 arg mem_round_key ,contw 
+0x6c0c 036205 force 16 ,loopcnt 
+:      036206 bias_round_key_loop:
+0x6c0d 036207 ifetcht 1 ,regc 
+0x6c0e 036208 ifetch 1 ,contw 
+0x6c0f 036209 iadd temp ,pdata 
+0x6c10 036210 istore 1 ,contw 
+0x6c11 036211 increase 1 ,regc 
+0x6c12 036212 loop bias_round_key_loop 
+0x6c13 036213 branch disable_authrom 
+:      036215 key_sched_zero:
+0x6c14 036216 force 16 ,loopcnt 
+0x6c15 036217 force 0 ,temp 
+:      036218 create_byte_16_loop:
+0x6c16 036219 ifetch 1 ,contr 
+0x6c17 036220 ixor temp ,temp 
+0x6c18 036221 loop create_byte_16_loop 
+0x6c19 036222 deposit temp 
+0x6c1a 036223 istore 1 ,contr 
+0x6c1b 036224 arg mem_key_store ,contr 
+0x6c1c 036225 arg mem_round_key ,contw 
+0x6c1d 036226 branch memcpy16 
+:      036228 xor_mod32:
+0x6c1e 036229 arg mem_round_key ,regb 
+:      036230 xor_mod32_ar2:
+0x6c1f 036231 force 16 ,loopcnt 
+0x6c20 036232 arg mem_input_store ,rega 
+0x6c21 036233 copy rega ,contw 
+:      036234 xor_mod32_loop:
+0x6c22 036235 ifetcht 1 ,rega 
+0x6c23 036236 ifetch 1 ,regb 
+0x6c24 036237 ixor temp ,alarm 
+0x6c25 036238 and loopcnt ,3 ,regc 
+0x6c26 036239 nbranch xor_mod32_invert ,user 
+0x6c27 036240 xor_into 3 ,regc 
+:      036241 xor_mod32_invert:
+0x6c28 036242 sub regc ,1 ,regc 
+0x6c29 036243 branch xor_even ,positive 
+0x6c2a 036244 iadd temp ,alarm 
+:      036245 xor_even:
+0x6c2b 036246 deposit alarm 
+0x6c2c 036247 istore 1 ,contw 
+0x6c2d 036248 increase 1 ,rega 
+0x6c2e 036249 increase 1 ,regb 
+0x6c2f 036250 loop xor_mod32_loop 
+0x6c30 036251 rtn 
+:      036253 el_boxes:
+0x6c31 036254 call enable_authrom 
+0x6c32 036255 force 16 ,loopcnt 
+0x6c33 036256 arg mem_input_store ,rega 
+:      036257 el_box_loop:
+0x6c34 036258 ifetch 1 ,rega 
+0x6c35 036259 arg mem_e_box ,contr 
+0x6c36 036260 and loopcnt ,3 ,regc 
+0x6c37 036261 sub regc ,1 ,null 
+0x6c38 036262 branch e_boxes ,positive 
+0x6c39 036263 arg mem_l_box ,contr 
+:      036264 e_boxes:
+0x6c3a 036265 iadd contr ,contr 
+0x6c3b 036266 ifetch 1 ,contr 
+0x6c3c 036267 istore 1 ,rega 
+0x6c3d 036268 increase 1 ,rega 
+0x6c3e 036269 loop el_box_loop 
+0x6c3f 036270 branch disable_authrom 
+:      036272 pht:
+0x6c40 036273 force 8 ,loopcnt 
+0x6c41 036274 arg mem_input_store ,contr 
+0x6c42 036275 copy contr ,contw 
+:      036276 pht_loop:
+0x6c43 036277 ifetch 1 ,contr 
+0x6c44 036278 iforce rega 
+0x6c45 036279 ifetch 1 ,contr 
+0x6c46 036280 iforce regb 
+0x6c47 036281 lshift rega ,pdata 
+0x6c48 036282 iadd regb ,pdata 
+0x6c49 036283 istore 1 ,contw 
+0x6c4a 036284 deposit rega 
+0x6c4b 036285 iadd regb ,pdata 
+0x6c4c 036286 istore 1 ,contw 
+0x6c4d 036287 loop pht_loop 
+0x6c4e 036288 rtn 
+:      036291 permute:
+0x6c4f 036292 setarg 0x8ae42c 
+0x6c50 036293 iforce temp 
+0x6c51 036294 force 7 ,loopcnt 
+0x6c52 036295 call permute_exchange 
+0x6c53 036296 setarg 0xd751b 
+0x6c54 036297 iforce temp 
+0x6c55 036298 force 5 ,loopcnt 
+0x6c56 036299 call permute_exchange 
+0x6c57 036300 fetch 1 ,mem_input_store + 15 
+0x6c58 036301 iforce rega 
+0x6c59 036302 fetch 1 ,mem_input_store + 3 
+0x6c5a 036303 store 1 ,mem_input_store + 15 
+0x6c5b 036304 deposit rega 
+0x6c5c 036305 store 1 ,mem_input_store + 3 
+0x6c5d 036306 rtn 
+:      036308 permute_exchange:
+0x6c5e 036309 and temp ,0xf ,regb 
+:      036310 permute_loop:
+0x6c5f 036311 and temp ,0xf ,pdata 
+0x6c60 036312 arg mem_input_store ,contw 
+0x6c61 036313 iadd contw ,contw 
+0x6c62 036314 ifetch 1 ,contw 
+0x6c63 036315 iforce regc 
+0x6c64 036316 deposit rega 
+0x6c65 036317 istore 1 ,contw 
+0x6c66 036318 copy regc ,rega 
+0x6c67 036319 rshift4 temp ,temp 
+0x6c68 036320 loop permute_loop 
+0x6c69 036321 setarg mem_input_store 
+0x6c6a 036322 iadd regb ,contw 
+0x6c6b 036323 deposit rega 
+0x6c6c 036324 istore 1 ,contw 
+0x6c6d 036325 rtn 
+:      036327 add16:
+0x6c6e 036328 enable user 
+0x6c6f 036329 branch xor_add16 
+:      036331 xor16:
+0x6c70 036332 disable user 
+:      036333 xor_add16:
+0x6c71 036334 force 16 ,loopcnt 
+:      036335 xoradd_loop:
+0x6c72 036336 ifetcht 1 ,rega 
+0x6c73 036337 ifetch 1 ,regb 
+0x6c74 036338 branch xoradd_add ,user 
+0x6c75 036339 ixor temp ,pdata 
+0x6c76 036340 branch xoradd_store 
+:      036341 xoradd_add:
+0x6c77 036342 iadd temp ,pdata 
+:      036343 xoradd_store:
+0x6c78 036344 istore 1 ,contw 
+0x6c79 036345 increase 1 ,rega 
+0x6c7a 036346 increase 1 ,regb 
+0x6c7b 036347 loop xoradd_loop 
+0x6c7c 036348 rtn 
+:      036351 function_expand:
+0x6c7d 036352 arg mem_y ,contw 
+0x6c7e 036353 ifetch 6 ,rega 
+0x6c7f 036354 istore 6 ,contw 
+0x6c80 036355 branch expand_12 ,user 
+0x6c81 036356 ifetch 6 ,rega 
+0x6c82 036357 branch expand_cont 
+:      036358 expand_12:
+0x6c83 036359 ifetch 6 ,contr 
+:      036360 expand_cont:
+0x6c84 036361 istore 6 ,contw 
+0x6c85 036362 ifetch 4 ,rega 
+0x6c86 036363 istore 4 ,contw 
+0x6c87 036364 rtn 
+:      036366 key_offset:
+0x6c88 036367 arg mem_link_key ,contr 
+0x6c89 036368 arg mem_x ,contw 
+0x6c8a 036369 arg 0 ,temp 
+0x6c8b 036370 setarg 0x8395a7 
+0x6c8c 036371 call concatenate_temp24 
+0x6c8d 036372 setarg 0xb3c1df 
+0x6c8e 036373 call concatenate_temp24 
+0x6c8f 036374 setarg 0xe5e9 
+0x6c90 036375 call concatenate_temp16 
+0x6c91 036376 copy temp ,regab 
+0x6c92 036377 disable user 
+0x6c93 036378 call key_addxor 
+0x6c94 036379 copy regab ,temp 
+0x6c95 036380 enable user 
+0x6c96 036381 branch key_addxor 
+:      036383 key_addxor:
+0x6c97 036384 force 8 ,loopcnt 
+:      036385 key_addxor_loop:
+0x6c98 036386 ifetch 1 ,contr 
+0x6c99 036387 compare 1 ,loopcnt ,1 
+0x6c9a 036388 branch key_high ,user 
+0x6c9b 036389 branch key_xor ,true 
+:      036390 key_add:
+0x6c9c 036391 iadd temp ,pdata 
+0x6c9d 036392 branch key_store 
+:      036393 key_high:
+0x6c9e 036394 branch key_add ,true 
+:      036395 key_xor:
+0x6c9f 036396 ixor temp ,pdata 
+:      036397 key_store:
+0x6ca0 036398 istore 1 ,contw 
+0x6ca1 036399 rshift8 temp ,temp 
+0x6ca2 036400 loop key_addxor_loop 
+0x6ca3 036401 rtn 
+:      036403 copy_aco:
+0x6ca4 036404 fetch 6 ,mem_input_store + 4 
+0x6ca5 036405 store 6 ,mem_aco 
+0x6ca6 036406 ifetch 6 ,contr 
+0x6ca7 036407 istore 6 ,contw 
+0x6ca8 036408 rtn 
+:      036410 concatenate_temp24:
+0x6ca9 036411 lshift8 temp ,temp 
+:      036412 concatenate_temp16:
+0x6caa 036413 lshift16 temp ,temp 
+0x6cab 036414 ior temp ,temp 
+0x6cac 036415 rtn 
+:      036419 loop1:
+0x6cad 036420 branch loop1 
+:      036424 generate_stk:
+0x6cae 036425 bpatchx patch2e_0 ,mem_patch2e 
+0x6caf 036426 call function_s1 
+0x6cb0 036427 arg mem_le_ltk ,contw 
+0x6cb1 036428 branch store_aes_result 
+:      036431 authenticate_rconfirm:
+0x6cb2 036432 arg mem_le_srand ,contw 
+0x6cb3 036433 branch authenticate_mconfirm ,master 
+0x6cb4 036434 arg mem_le_mrand ,contw 
+:      036435 authenticate_mconfirm:
+0x6cb5 036436 copy contr ,rega 
+0x6cb6 036437 call memcpy16 
+0x6cb7 036438 call function_c1 
+0x6cb8 036439 arg mem_le_rconfirm ,contr 
+0x6cb9 036440 branch compare_res 
+:      036442 generate_confirm:
+0x6cba 036443 arg mem_le_mrand ,rega 
+0x6cbb 036444 branch generate_mrand ,master 
+0x6cbc 036445 arg mem_le_srand ,rega 
+:      036446 generate_mrand:
+0x6cbd 036447 copy rega ,contw 
+0x6cbe 036448 call generate_random 
+0x6cbf 036449 branch function_c1 
+:      036451 generate_sk:
+0x6cc0 036452 arg mem_le_skdm ,contr 
+0x6cc1 036453 call load_data128 
+0x6cc2 036454 arg mem_le_ltk ,contr 
+0x6cc3 036455 call load_regext 
+0x6cc4 036456 force 0x38 ,aes_ctrl 
+0x6cc5 036457 force 0x0 ,aes_ctrl 
+0x6cc6 036458 call wait_aes 
+0x6cc7 036459 arg mem_le_sk ,contw 
+0x6cc8 036460 branch store_aes_result 
+:      036464 ccm_b0:
+0x6cc9 036465 force regidx_xor ,regext_index 
+0x6cca 036466 force 0x49 ,pdata 
+0x6ccb 036467 branch iv_common 
+:      036470 first_block_counter:
+0x6ccc 036471 force 0x49 ,pdata 
+0x6ccd 036472 branch first_block 
+:      036473 first_block_data:
+0x6cce 036474 force 1 ,pdata 
+:      036475 first_block:
+0x6ccf 036476 force regidx_data ,regext_index 
+:      036477 iv_common:
+0x6cd0 036478 lshift8 temp ,regext 
+0x6cd1 036479 ior regext ,regext 
+0x6cd2 036480 increase 1 ,regext_index 
+0x6cd3 036481 rshift8 temp ,regext 
+0x6cd4 036482 rshift16 regext ,regext 
+0x6cd5 036483 fetch 2 ,mem_ccm_iv 
+0x6cd6 036484 lshift16 pdata ,pdata 
+0x6cd7 036485 ior regext ,regext 
+0x6cd8 036486 increase 1 ,regext_index 
+0x6cd9 036487 ifetchr regext ,4 ,contr 
+0x6cda 036488 increase 1 ,regext_index 
+0x6cdb 036489 ifetch 2 ,contr 
+0x6cdc 036490 byteswap rega ,regext 
+0x6cdd 036491 lshift16 regext ,regext 
+0x6cde 036492 ior regext ,regext 
+0x6cdf 036493 increase 1 ,regext_index 
+0x6ce0 036494 rtn 
+:      036498 generate_mic:
+0x6ce1 036499 add regc ,1 ,contr 
+0x6ce2 036500 ifetch 1 ,contr 
+0x6ce3 036501 iforce rega 
+0x6ce4 036502 call first_block_counter 
+0x6ce5 036503 call do_aes_ocb 
+0x6ce6 036505 force regidx_data ,regext_index 
+0x6ce7 036506 ifetch 1 ,regc 
+0x6ce8 036507 and_into 0x3 ,pdata 
+0x6ce9 036508 lshift16 pdata ,regext 
+0x6cea 036509 set1 8 ,regext 
+0x6ceb 036510 call clear_hidata 
+0x6cec 036511 call do_aes_cbc 
+0x6ced 036513 copy rega ,loopcnt 
+0x6cee 036514 add regc ,2 ,contr 
+0x6cef 036515 call padding_data 
+:      036516 generate_mic_loop:
+0x6cf0 036517 call aes_load_data 
+0x6cf1 036518 call do_aes_cbc 
+0x6cf2 036519 deposit loopcnt 
+0x6cf3 036520 branch generate_mic_end ,blank 
+0x6cf4 036521 branch generate_mic_loop 
+:      036522 generate_mic_end:
+0x6cf5 036523 force regidx_result ,regext_index 
+0x6cf6 036524 deposit regext 
+0x6cf7 036525 store 4 ,mem_le_mic 
+0x6cf8 036526 rtn 
+:      036528 aes_crypt_data:
+0x6cf9 036529 increase 1 ,rega 
+0x6cfa 036530 call first_block_data 
+0x6cfb 036531 copy regc ,contr 
+0x6cfc 036532 call aes_load_xor 
+0x6cfd 036533 call do_aes_ctr 
+0x6cfe 036534 call store_enc_data 
+0x6cff 036535 increase 16 ,regc 
+0x6d00 036536 increase -16 ,regb 
+0x6d01 036537 branch aes_crypt_data ,positive 
+0x6d02 036538 rtn 
+:      036544 ccm_br_enc_new:
+0x6d03 036545 call ccm_init_common 
+0x6d04 036546 bpatchx patch2e_1 ,mem_patch2e 
+0x6d05 036547 arg mem_kc ,contr 
+0x6d06 036548 call load_key 
+0x6d07 036550 jam 0 ,core_ccm_aad0 
+0x6d08 036551 and type ,0x0f ,pdata 
+0x6d09 036552 lshift3 pdata ,pdata 
+0x6d0a 036553 ior am_addr ,pdata 
+0x6d0b 036554 store 1 ,core_ccm_aad1 
+0x6d0c 036555 fetch 1 ,mem_llid 
+0x6d0d 036556 store 1 ,core_ccm_aad2 
+0x6d0e 036558 storer regc ,2 ,core_ccm_input_playload_addr 
+0x6d0f 036559 storer regc ,2 ,core_ccm_output_playload_addr 
+0x6d10 036561 fetchr rega ,2 ,mem_ccm_len 
+0x6d11 036562 fetcht 5 ,mem_ccm_pcnt_tx 
+0x6d12 036563 call ccm_br_check_0_length_continuation 
+0x6d13 036564 call ccm_b0 
+0x6d14 036565 jam 2 ,core_ccm_ctrl 
+0x6d15 036566 jam 3 ,core_ccm_ctrl 
+0x6d16 036568 fetch 2 ,mem_ccm_len 
+0x6d17 036569 store 2 ,core_ccm_inptr 
+0x6d18 036570 increase 4 ,pdata 
+0x6d19 036571 store 2 ,mem_ccm_len 
+0x6d1a 036572 copy regc ,pdata 
+0x6d1b 036573 iadd rega ,rega 
+0x6d1c 036574 call wait_ccm_done 
+0x6d1d 036575 arg regidx_result ,regext_index 
+0x6d1e 036576 istorer regext ,4 ,rega 
+0x6d1f 036577 storer regext ,4 ,mem_le_mic 
+0x6d20 036578 rtn 
+:      036580 ccm_br_pcnt_tx_add:
+0x6d21 036581 fetch 5 ,mem_ccm_pcnt_tx 
+0x6d22 036582 increase 1 ,pdata 
+0x6d23 036583 store 5 ,mem_ccm_pcnt_tx 
+0x6d24 036584 branch ccm_br_pcnt_tx_set 
+:      036587 ccm_br_check_0_length_continuation:
+0x6d25 036588 fetch 1 ,mem_llid 
+0x6d26 036589 rtnne llid_l2cap_cont 
+0x6d27 036590 fetch 2 ,mem_ccm_len 
+0x6d28 036591 nrtn blank 
+0x6d29 036592 set1 br_ccm_0_length_continuation ,temp 
+0x6d2a 036593 rtn 
+:      036596 ccm_br_pcnt_tx_set:
+0x6d2b 036597 fetch 1 ,mem_ccm_pcnt_tx + 4 
+0x6d2c 036598 and pdata ,0x0f ,pdata 
+0x6d2d 036599 or pdata ,0x20 ,pdata 
+0x6d2e 036600 store 1 ,mem_ccm_pcnt_tx + 4 
+0x6d2f 036601 rtn 
+:      036603 ccm_br_pcnt_rx_set:
+0x6d30 036604 fetch 1 ,mem_ccm_pcnt_rx + 4 
+0x6d31 036605 and pdata ,0x0f ,pdata 
+0x6d32 036606 store 1 ,mem_ccm_pcnt_rx + 4 
+0x6d33 036607 rtn 
+:      036609 ccm_br_decrypt_new:
+0x6d34 036610 copy contw ,pdata 
+0x6d35 036611 fetcht 2 ,mem_len 
+0x6d36 036612 increase 4 ,temp 
+0x6d37 036613 isub temp ,pdata 
+0x6d38 036614 store 2 ,mem_ccm_rx_ptr 
+0x6d39 036615 store 2 ,core_ccm_input_playload_addr 
+0x6d3a 036616 store 2 ,core_ccm_output_playload_addr 
+0x6d3b 036618 call disable_user2 
+0x6d3c 036619 call ccm_init_common 
+0x6d3d 036620 arg mem_kc ,contr 
+0x6d3e 036621 call load_key 
+0x6d3f 036623 jam 0 ,core_ccm_aad0 
+0x6d40 036624 fetch 1 ,mem_rx_type 
+0x6d41 036625 and pdata ,0x0f ,pdata 
+0x6d42 036626 lshift3 pdata ,pdata 
+0x6d43 036627 ior am_addr ,pdata 
+0x6d44 036628 store 1 ,core_ccm_aad1 
+0x6d45 036629 fetch 1 ,mem_lch_code 
+0x6d46 036630 and pdata ,0x3 ,pdata 
+0x6d47 036631 store 1 ,mem_llid 
+0x6d48 036632 store 1 ,core_ccm_aad2 
+0x6d49 036634 fetchr rega ,2 ,mem_len 
+0x6d4a 036635 storer rega ,2 ,mem_ccm_len 
+0x6d4b 036636 fetch 2 ,mem_ccm_rx_ptr 
+0x6d4c 036637 iadd rega ,contr 
+0x6d4d 036638 force regidx_data ,regext_index 
+0x6d4e 036639 ifetchr regext ,4 ,contr 
+0x6d4f 036640 storer regext ,4 ,mem_le_peer_mic 
+0x6d50 036641 fetcht 5 ,mem_ccm_pcnt_rx 
+0x6d51 036642 call ccm_br_check_0_length_continuation 
+0x6d52 036643 call ccm_b0 
+0x6d53 036644 jam 6 ,core_ccm_ctrl 
+0x6d54 036645 jam 7 ,core_ccm_ctrl 
+0x6d55 036647 fetch 2 ,mem_len 
+0x6d56 036648 store 2 ,core_ccm_inptr 
+0x6d57 036649 call wait_ccm_done 
+0x6d58 036650 fetch 1 ,core_misc_status 
+0x6d59 036651 rtnbit0 7 
+0x6d5a 036652 branch enable_user2 
+:      036655 ccm_br_pcnt_rx_add:
+0x6d5b 036656 rtnmark1 mark_old_packet 
+0x6d5c 036657 fetcht 4 ,mem_le_peer_mic 
+0x6d5d 036661 storet 4 ,mem_ccm_last_mic 
+0x6d5e 036662 fetch 5 ,mem_ccm_pcnt_rx 
+0x6d5f 036663 increase 1 ,pdata 
+0x6d60 036664 store 5 ,mem_ccm_pcnt_rx 
+0x6d61 036665 branch ccm_br_pcnt_rx_set 
+:      036669 le_decrypt_new:
+0x6d62 036670 call ccm_init_common 
+0x6d63 036671 jam 0 ,core_ccm_aad0 
+0x6d64 036672 jam 1 ,core_ccm_aad1 
+0x6d65 036673 fetch 1 ,mem_le_rxbuf_data_header 
+0x6d66 036674 and_into 0x3 ,pdata 
+0x6d67 036675 store 1 ,core_ccm_aad2 
+0x6d68 036677 setarg mem_le_rxbuf_data_payload 
+0x6d69 036678 store 2 ,core_ccm_input_playload_addr 
+0x6d6a 036679 store 2 ,core_ccm_output_playload_addr 
+0x6d6b 036681 fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0x6d6c 036682 increase -4 ,rega 
+0x6d6d 036683 nbranch disable_blank ,positive 
+0x6d6e 036684 storer rega ,1 ,mem_le_rxbuf_data_length 
+0x6d6f 036685 setarg mem_le_rxbuf_data_payload 
+0x6d70 036686 iadd rega ,contr 
+0x6d71 036687 force regidx_data ,regext_index 
+0x6d72 036688 ifetchr regext ,4 ,contr 
+0x6d73 036689 storer regext ,4 ,mem_le_peer_mic 
+0x6d74 036690 fetcht 5 ,mem_ccm_pcnt_rx 
+0x6d75 036691 call ccm_b0 
+0x6d76 036692 jam 6 ,core_ccm_ctrl 
+0x6d77 036693 jam 7 ,core_ccm_ctrl 
+0x6d78 036694 fetch 1 ,mem_le_rxbuf_data_length 
+0x6d79 036695 store 2 ,core_ccm_inptr 
+0x6d7a 036696 call wait_ccm_done 
+0x6d7b 036697 fetch 1 ,core_misc_status 
+0x6d7c 036698 bbit0 7 ,disable_blank 
+0x6d7d 036699 fetcht 4 ,mem_le_peer_mic 
+0x6d7e 036700 fetch 4 ,mem_ccm_last_mic 
+0x6d7f 036701 isub temp ,pdata 
+0x6d80 036702 rtn blank 
+0x6d81 036703 storet 4 ,mem_ccm_last_mic 
+0x6d82 036704 fetch 5 ,mem_ccm_pcnt_rx 
+0x6d83 036705 increase 1 ,pdata 
+0x6d84 036706 set1 le_ccm_directionbit ,pdata 
+0x6d85 036707 store 5 ,mem_ccm_pcnt_rx 
+0x6d86 036708 force 0 ,pdata 
+0x6d87 036709 rtn 
+:      036712 le_encrypt_new:
+0x6d88 036713 call le_encrypt_new_start 
+0x6d89 036714 setarg mem_le_txpayload 
+0x6d8a 036715 iadd rega ,rega 
+0x6d8b 036716 call wait_ccm_done 
+0x6d8c 036717 arg regidx_result ,regext_index 
+0x6d8d 036718 istorer regext ,4 ,rega 
+0x6d8e 036719 rtn 
+:      036722 le_encrypt_new_start:
+0x6d8f 036723 call ccm_init_common 
+0x6d90 036724 bpatchx patch2e_2 ,mem_patch2e 
+0x6d91 036725 jam 0 ,core_ccm_aad0 
+0x6d92 036726 jam 1 ,core_ccm_aad1 
+0x6d93 036727 fetch 1 ,mem_le_txheader 
+0x6d94 036728 and_into 0x3 ,pdata 
+0x6d95 036729 store 1 ,core_ccm_aad2 
+0x6d96 036730 fetch 2 ,mem_contr 
+0x6d97 036731 store 2 ,core_ccm_input_playload_addr 
+0x6d98 036732 setarg mem_le_txpayload 
+0x6d99 036733 store 2 ,core_ccm_output_playload_addr 
+0x6d9a 036735 fetchr rega ,1 ,mem_le_txlen 
+0x6d9b 036736 fetcht 5 ,mem_ccm_pcnt_tx 
+0x6d9c 036737 call ccm_b0 
+0x6d9d 036738 jam 2 ,core_ccm_ctrl 
+0x6d9e 036739 jam 3 ,core_ccm_ctrl 
+0x6d9f 036741 fetch 1 ,mem_le_txlen 
+0x6da0 036742 store 2 ,core_ccm_inptr 
+0x6da1 036743 increase 4 ,pdata 
+0x6da2 036744 store 1 ,mem_le_txlen 
+0x6da3 036745 fetch 5 ,mem_ccm_pcnt_tx 
+0x6da4 036746 increase 1 ,pdata 
+0x6da5 036747 set0 le_ccm_directionbit ,pdata 
+0x6da6 036748 store 5 ,mem_ccm_pcnt_tx 
+0x6da7 036749 rtn 
+:      036752 ccm_wait_enc:
+0x6da8 036753 fetch 2 ,core_ccm_outptr 
+0x6da9 036754 isub temp ,null 
+0x6daa 036755 rtn zero 
+0x6dab 036756 nrtn blank 
+0x6dac 036758 branch ccm_wait_enc 
+:      036760 ccm_check_enc_done:
+0x6dad 036761 fetch 1 ,core_misc_status 
+0x6dae 036762 bbit0 6 ,assert 
+:      036763 ccm_enc_done:
+0x6daf 036764 setarg mem_le_txpayload 
+0x6db0 036765 iadd temp ,contw 
+0x6db1 036766 arg regidx_result ,regext_index 
+0x6db2 036767 istorer regext ,4 ,contw 
+0x6db3 036768 branch ccm_ctrl_clr 
+:      036770 ccm_init_common:
+0x6db4 036771 bpatchx patch2e_3 ,mem_patch2e 
+0x6db5 036772 force regidx_result ,regext_index 
+0x6db6 036773 call aes_clear 
+0x6db7 036774 call aes_clear_data 
+0x6db8 036775 setarg 0 
+0x6db9 036776 store 2 ,core_ccm_inptr 
+0x6dba 036777 rtn 
+:      036779 wait_ccm_done:
+0x6dbb 036780 fetch 1 ,core_misc_status 
+0x6dbc 036781 bbit0 6 ,wait_ccm_done 
+:      036782 ccm_ctrl_clr:
+0x6dbd 036783 jam 0 ,core_ccm_ctrl 
+0x6dbe 036784 rtn 
+:      036787 wait_aes:
+0x6dbf 036788 nbranch wait_aes ,aes_ready 
+0x6dc0 036789 rtn 
+:      036791 do_aes_ocb:
+0x6dc1 036792 force 0x30 ,aes_ctrl 
+0x6dc2 036793 force 0x0 ,aes_ctrl 
+0x6dc3 036794 branch wait_aes 
+:      036796 do_aes_cbc:
+0x6dc4 036797 force 0x32 ,aes_ctrl 
+0x6dc5 036798 force 0x2 ,aes_ctrl 
+0x6dc6 036799 branch wait_aes 
+:      036801 do_aes_ctr:
+0x6dc7 036802 force 0x34 ,aes_ctrl 
+0x6dc8 036803 force 0x4 ,aes_ctrl 
+0x6dc9 036804 branch wait_aes 
+:      036807 aes_init:
+0x6dca 036808 force 1 ,aes_ctrl 
+0x6dcb 036809 force 0 ,aes_ctrl 
+0x6dcc 036810 rtn 
+:      036811 function_s1:
+0x6dcd 036812 force regidx_data ,regext_index 
+0x6dce 036813 fetch 4 ,mem_le_mrand 
+0x6dcf 036814 iforce regext 
+0x6dd0 036815 increase 1 ,regext_index 
+0x6dd1 036816 ifetch 4 ,contr 
+0x6dd2 036817 iforce regext 
+0x6dd3 036818 increase 1 ,regext_index 
+0x6dd4 036819 fetch 4 ,mem_le_srand 
+0x6dd5 036820 iforce regext 
+0x6dd6 036821 increase 1 ,regext_index 
+0x6dd7 036822 ifetch 4 ,contr 
+0x6dd8 036823 iforce regext 
+0x6dd9 036824 increase 1 ,regext_index 
+0x6dda 036825 call aes_clear 
+0x6ddb 036826 increase -4 ,regext_index 
+0x6ddc 036827 fetch 4 ,mem_le_tk 
+0x6ddd 036828 copy pdata ,regext 
+0x6dde 036829 increase 4 ,regext_index 
+0x6ddf 036830 force 0x38 ,aes_ctrl 
+0x6de0 036831 force 0x8 ,aes_ctrl 
+0x6de1 036832 branch wait_aes 
+:      036835 function_c1:
+0x6de2 036836 bpatchx patch2e_4 ,mem_patch2e 
+0x6de3 036837 fetch 6 ,mem_le_lap 
+0x6de4 036838 fetcht 6 ,mem_le_plap 
+0x6de5 036839 branch function_c1_master ,master 
+0x6de6 036840 fetch 6 ,mem_le_plap 
+0x6de7 036841 fetcht 6 ,mem_le_lap 
+:      036842 function_c1_master:
+0x6de8 036843 force regidx_xor ,regext_index 
+0x6de9 036844 copy temp ,regext 
+0x6dea 036845 increase 1 ,regext_index 
+0x6deb 036846 rshift32 temp ,regext 
+0x6dec 036847 lshift16 pdata ,pdata 
+0x6ded 036848 ior regext ,regext 
+0x6dee 036849 increase 1 ,regext_index 
+0x6def 036850 rshift32 pdata ,regext 
+0x6df0 036851 increase 1 ,regext_index 
+0x6df1 036852 force 0 ,regext 
+0x6df2 036853 force 0 ,pdata 
+0x6df3 036854 fetch 1 ,mem_le_conn_peer_addr_type 
+0x6df4 036855 fetcht 1 ,mem_le_adv_own_addr_type 
+0x6df5 036856 nbranch function_c1_irat ,master 
+0x6df6 036858 fetch 1 ,mem_le_conn_own_addr_type 
+0x6df7 036859 fetcht 1 ,mem_le_conn_peer_addr_type 
+:      036860 function_c1_irat:
+0x6df8 036861 store 1 ,mem_le_iat 
+0x6df9 036862 storet 1 ,mem_le_rat 
+0x6dfa 036863 force regidx_data ,regext_index 
+0x6dfb 036864 arg mem_le_iat ,regb 
+0x6dfc 036865 force 4 ,loopcnt 
+:      036866 function_c1_loop1:
+0x6dfd 036867 ifetch 4 ,rega 
+0x6dfe 036868 ifetcht 4 ,regb 
+0x6dff 036869 ixor temp ,regext 
+0x6e00 036870 increase 1 ,regext_index 
+0x6e01 036871 increase 4 ,rega 
+0x6e02 036872 increase 4 ,regb 
+0x6e03 036873 loop function_c1_loop1 
+0x6e04 036874 call aes_clear 
+0x6e05 036875 increase -4 ,regext_index 
+0x6e06 036876 fetch 4 ,mem_le_tk 
+0x6e07 036877 copy pdata ,regext 
+0x6e08 036878 increase 4 ,regext_index 
+0x6e09 036879 force 0x38 ,aes_ctrl 
+0x6e0a 036880 force 0xc ,aes_ctrl 
+0x6e0b 036881 call wait_aes 
+0x6e0c 036883 call aes_clear_data 
+0x6e0d 036884 force 0x3a ,aes_ctrl 
+0x6e0e 036885 force 0x8 ,aes_ctrl 
+0x6e0f 036886 branch wait_aes 
+:      036888 padding_data:
+0x6e10 036889 compare 0 ,loopcnt ,3 
+0x6e11 036890 rtn true 
+0x6e12 036891 deposit contr 
+0x6e13 036892 iadd loopcnt ,contw 
+0x6e14 036893 force 0 ,pdata 
+:      036894 padding_loop:
+0x6e15 036895 istore 1 ,contw 
+0x6e16 036896 increase 1 ,loopcnt 
+0x6e17 036897 compare 0 ,loopcnt ,3 
+0x6e18 036898 rtn true 
+0x6e19 036899 branch padding_loop 
+:      036901 aes_load_data:
+0x6e1a 036902 force regidx_data ,regext_index 
+:      036903 load_data_loop:
+0x6e1b 036904 deposit loopcnt 
+0x6e1c 036905 branch load_data_padding ,blank 
+0x6e1d 036906 ifetch 4 ,contr 
+0x6e1e 036907 increase -4 ,loopcnt 
+:      036908 load_data_padding:
+0x6e1f 036909 iforce regext 
+0x6e20 036910 increase 1 ,regext_index 
+0x6e21 036911 compare regidx_key ,regext_index ,0xf 
+0x6e22 036912 rtn true 
+0x6e23 036913 branch load_data_loop 
+:      036915 aes_load_xor:
+0x6e24 036916 force regidx_xor ,regext_index 
+0x6e25 036917 branch load_regext 
+:      036918 load_key:
+0x6e26 036919 force regidx_key ,regext_index 
+0x6e27 036920 branch load_regext 
+:      036921 load_data128:
+0x6e28 036922 force regidx_data ,regext_index 
+:      036923 load_regext:
+0x6e29 036924 force 4 ,loopcnt 
+:      036925 load_regext_loop:
+0x6e2a 036926 ifetch 4 ,contr 
+0x6e2b 036927 iforce regext 
+0x6e2c 036928 increase 1 ,regext_index 
+0x6e2d 036929 loop load_regext_loop 
+0x6e2e 036930 rtn 
+:      036932 load_sk:
+0x6e2f 036933 arg mem_le_sk ,contr 
+0x6e30 036934 branch load_key 
+:      036936 clear_hidata:
+0x6e31 036937 force 4 ,loopcnt 
+0x6e32 036938 branch clear_data_rest 
+:      036940 regext_clear:
+0x6e33 036941 force 0 ,regext_index 
+0x6e34 036942 force 16 ,loopcnt 
+0x6e35 036943 branch clear_loop 
+:      036945 aes_clear_data:
+0x6e36 036946 force regidx_data ,regext_index 
+:      036947 aes_clear:
+0x6e37 036948 force 4 ,loopcnt 
+:      036949 clear_loop:
+0x6e38 036950 force 0 ,regext 
+:      036951 clear_data_rest:
+0x6e39 036952 increase 1 ,regext_index 
+0x6e3a 036953 loop clear_loop 
+0x6e3b 036954 rtn 
+:      036956 store_aes_result:
+0x6e3c 036957 force regidx_result ,regext_index 
+0x6e3d 036958 force 4 ,loopcnt 
+:      036959 send_aes_result_loop:
+0x6e3e 036960 deposit regext 
+0x6e3f 036961 istore 4 ,contw 
+0x6e40 036962 increase 1 ,regext_index 
+0x6e41 036963 loop send_aes_result_loop 
+0x6e42 036964 rtn 
+:      036966 store_enc_data:
+0x6e43 036967 force regidx_result ,regext_index 
+0x6e44 036968 copy regc ,contw 
+0x6e45 036969 add regb ,1 ,loopcnt 
+0x6e46 036970 sub loopcnt ,15 ,null 
+0x6e47 036971 branch store_enc_loop ,positive 
+0x6e48 036972 force 16 ,loopcnt 
+:      036973 store_enc_loop:
+0x6e49 036974 deposit regext 
+0x6e4a 036975 sub loopcnt ,3 ,null 
+0x6e4b 036976 branch store_enc_byte ,positive 
+0x6e4c 036977 istore 4 ,contw 
+0x6e4d 036978 increase -4 ,loopcnt 
+0x6e4e 036979 rtn zero 
+0x6e4f 036980 increase 1 ,regext_index 
+0x6e50 036981 branch store_enc_loop 
+:      036982 store_enc_byte:
+0x6e51 036983 istore 1 ,contw 
+0x6e52 036984 rshift8 pdata ,pdata 
+0x6e53 036985 loop store_enc_byte 
+0x6e54 036986 rtn 
+:      036989 compare_res:
+0x6e55 036990 force regidx_result ,regext_index 
+0x6e56 036991 force 4 ,loopcnt 
+:      036992 compare_res_loop:
+0x6e57 036993 ifetch 4 ,contr 
+0x6e58 036994 isub regext ,null 
+0x6e59 036995 nrtn zero 
+0x6e5a 036996 increase 1 ,regext_index 
+0x6e5b 036997 loop compare_res_loop 
+0x6e5c 036998 force 0 ,null 
+0x6e5d 036999 rtn 
+:      037001 enable_authrom:
+0x6e5e 037002 fetch 1 ,core_clkoff 
+0x6e5f 037003 set0 clock_off_auth_rom ,pdata 
+0x6e60 037004 store 1 ,core_clkoff 
+0x6e61 037005 rtn 
+:      037007 disable_authrom:
+0x6e62 037008 fetch 1 ,core_clkoff 
+0x6e63 037009 set1 clock_off_auth_rom ,pdata 
+0x6e64 037010 store 1 ,core_clkoff 
+0x6e65 037011 rtn 
+:      037019 init_memp:
+0x6e66 037020 arg mem_p ,contw 
+0x6e67 037021 setsect 0 ,0x3ffff 
+0x6e68 037022 setsect 1 ,0x3ffff 
+0x6e69 037023 setsect 2 ,0x3ffff 
+0x6e6a 037024 setsect 3 ,0x3fbff 
+0x6e6b 037025 istore 9 ,contw 
+0x6e6c 037026 setsect 0 ,0x3ffff 
+0x6e6d 037027 setsect 1 ,0x3ffff 
+0x6e6e 037028 setsect 2 ,0x3ffff 
+0x6e6f 037029 setsect 3 ,0x3ffff 
+0x6e70 037030 istore 9 ,contw 
+0x6e71 037031 setsect 0 ,0x3ffff 
+0x6e72 037032 setsect 1 ,0x3ffff 
+0x6e73 037033 setsect 2 ,0x3cfff 
+0x6e74 037034 setsect 3 ,0x3ffff 
+0x6e75 037035 istore 9 ,contw 
+0x6e76 037036 setsect 0 ,0x3ffff 
+0x6e77 037037 setsect 1 ,0x3ffff 
+0x6e78 037038 setsect 2 ,0x3ffef 
+0x6e79 037039 setsect 3 ,0x3ffff 
+0x6e7a 037040 istore 9 ,contw 
+0x6e7b 037041 setsect 0 ,0x3ffff 
+0x6e7c 037042 setsect 1 ,0x3ffff 
+0x6e7d 037043 setsect 2 ,0x3ffff 
+0x6e7e 037044 setsect 3 ,0x3ffff 
+0x6e7f 037045 istore 9 ,contw 
+0x6e80 037046 setsect 0 ,0x3ffff 
+0x6e81 037047 setsect 1 ,0x26c7f 
+0x6e82 037048 setsect 2 ,0x146b 
+0x6e83 037049 setsect 3 ,0x37bb3 
+0x6e84 037050 istore 9 ,contw 
+0x6e85 037051 setsect 0 ,0x1feb8 
+0x6e86 037052 setsect 1 ,0x10c12 
+0x6e87 037053 setsect 2 ,0x2b722 
+0x6e88 037054 setsect 3 ,0x29fa6 
+0x6e89 037055 istore 9 ,contw 
+0x6e8a 037056 setsect 0 ,0xe70f 
+0x6e8b 037057 setsect 1 ,0x16720 
+0x6e8c 037058 setsect 2 ,0x519e 
+0x6e8d 037059 setsect 3 ,0x19084 
+0x6e8e 037060 istore 9 ,contw 
+0x6e8f 037061 setsect 0 ,0x31012 
+0x6e90 037062 setsect 1 ,0x360bf 
+0x6e91 037063 setsect 2 ,0x3f0af 
+0x6e92 037064 setsect 3 ,0x3d3 
+0x6e93 037065 istore 9 ,contw 
+0x6e94 037066 setsect 0 ,0x3a188 
+0x6e95 037067 setsect 1 ,0x3ad0 
+0x6e96 037068 setsect 2 ,0x3cbf2 
+0x6e97 037069 setsect 3 ,0x243d9 
+0x6e98 037070 istore 9 ,contw 
+0x6e99 037071 setsect 0 ,0x2b030 
+0x6e9a 037072 setsect 1 ,0x36a03 
+0x6e9b 037073 setsect 2 ,0x11188 
+0x6e9c 037074 setsect 3 ,0x1e520 
+0x6e9d 037075 istore 9 ,contw 
+0x6e9e 037076 setsect 0 ,0x3a11e 
+0x6e9f 037077 setsect 1 ,0xfe5d 
+0x6ea0 037078 setsect 2 ,0xdd57 
+0x6ea1 037079 setsect 3 ,0x1ac93 
+0x6ea2 037080 istore 9 ,contw 
+0x6ea3 037081 setsect 0 ,0x11ed 
+0x6ea4 037082 setsect 1 ,0x218c4 
+0x6ea5 037083 setsect 2 ,0x8da7 
+0x6ea6 037084 setsect 3 ,0x257ff 
+0x6ea7 037085 istore 9 ,contw 
+0x6ea8 037086 setsect 0 ,0x3192b 
+0x6ea9 037087 setsect 1 ,0x34641 
+0x6eaa 037088 setsect 2 ,0x1be0c 
+0x6eab 037089 setsect 3 ,0x366ad 
+0x6eac 037090 istore 9 ,contw 
+0x6ead 037091 setsect 0 ,0x1f83 
+0x6eae 037092 setsect 1 ,0x15a23 
+0x6eaf 037093 setsect 2 ,0x3f9b0 
+0x6eb0 037094 setsect 3 ,0x3949 
+0x6eb1 037095 istore 9 ,contw 
+0x6eb2 037096 setsect 0 ,0x13a51 
+0x6eb3 037097 setsect 1 ,0x153fd 
+0x6eb4 037098 setsect 2 ,0x3372a 
+0x6eb5 037099 setsect 3 ,0xf1bb 
+0x6eb6 037100 istore 9 ,contw 
+0x6eb7 037101 setsect 0 ,0x3ae85 
+0x6eb8 037102 setsect 1 ,0x1eed9 
+0x6eb9 037103 setsect 2 ,0x9e66 
+0x6eba 037104 setsect 3 ,0x1a8 
+0x6ebb 037105 istore 8 ,contw 
+0x6ebc 037106 rtn 
+:      037114 init_memp_256:
+0x6ebd 037115 arg mem_p_256 ,contw 
+0x6ebe 037116 setsect 0 ,0x3ffff 
+0x6ebf 037117 setsect 1 ,0x3ffff 
+0x6ec0 037118 setsect 2 ,0x3ffff 
+0x6ec1 037119 setsect 3 ,0x3ffff 
+0x6ec2 037120 istore 9 ,contw 
+0x6ec3 037121 setsect 0 ,0x3ffff 
+0x6ec4 037122 setsect 1 ,0x3f 
+0x6ec5 037123 setsect 2 ,0x0 
+0x6ec6 037124 setsect 3 ,0x0 
+0x6ec7 037125 istore 9 ,contw 
+0x6ec8 037126 setsect 0 ,0x0 
+0x6ec9 037127 setsect 1 ,0x0 
+0x6eca 037128 setsect 2 ,0x1000 
+0x6ecb 037129 setsect 3 ,0x0 
+0x6ecc 037130 istore 9 ,contw 
+0x6ecd 037131 setsect 0 ,0x3ff00 
+0x6ece 037132 setsect 1 ,0x3ffff 
+0x6ecf 037133 setsect 2 ,0x3ffcf 
+0x6ed0 037134 setsect 3 ,0x3ffff 
+0x6ed1 037135 istore 9 ,contw 
+0x6ed2 037136 setsect 0 ,0x3ffff 
+0x6ed3 037137 setsect 1 ,0x3ffff 
+0x6ed4 037138 setsect 2 ,0x3ffff 
+0x6ed5 037139 setsect 3 ,0x3ff 
+0x6ed6 037140 istore 9 ,contw 
+0x6ed7 037141 setsect 0 ,0x0 
+0x6ed8 037142 setsect 1 ,0x0 
+0x6ed9 037143 setsect 2 ,0x0 
+0x6eda 037144 setsect 3 ,0x0 
+0x6edb 037145 istore 9 ,contw 
+0x6edc 037146 setsect 0 ,0x10000 
+0x6edd 037147 setsect 1 ,0x0 
+0x6ede 037148 setsect 2 ,0x3f000 
+0x6edf 037149 setsect 3 ,0x3ffff 
+0x6ee0 037150 istore 9 ,contw 
+0x6ee1 037151 setsect 0 ,0x296ff 
+0x6ee2 037152 setsect 1 ,0x22630 
+0x6ee3 037153 setsect 2 ,0x3945d 
+0x6ee4 037154 setsect 3 ,0x3d284 
+0x6ee5 037155 istore 9 ,contw 
+0x6ee6 037156 setsect 0 ,0x333a0 
+0x6ee7 037157 setsect 1 ,0x4b7a 
+0x6ee8 037158 setsect 2 ,0x37d8 
+0x6ee9 037159 setsect 3 ,0x3c9dc 
+0x6eea 037160 istore 9 ,contw 
+0x6eeb 037161 setsect 0 ,0x3a440 
+0x6eec 037162 setsect 1 ,0x1b958 
+0x6eed 037163 setsect 2 ,0x38bce 
+0x6eee 037164 setsect 3 ,0x1091f 
+0x6eef 037165 istore 9 ,contw 
+0x6ef0 037166 setsect 0 ,0x2e12c 
+0x6ef1 037167 setsect 1 ,0x1f47c 
+0x6ef2 037168 setsect 2 ,0x356b1 
+0x6ef3 037169 setsect 3 ,0x2fd47 
+0x6ef4 037170 istore 9 ,contw 
+0x6ef5 037171 setsect 0 ,0x6837 
+0x6ef6 037172 setsect 1 ,0x2ed90 
+0x6ef7 037173 setsect 2 ,0x1ecec 
+0x6ef8 037174 setsect 3 ,0x1acc5 
+0x6ef9 037175 istore 9 ,contw 
+0x6efa 037176 setsect 0 ,0x23357 
+0x6efb 037177 setsect 1 ,0x18af3 
+0x6efc 037178 setsect 2 ,0xf9e1 
+0x6efd 037179 setsect 3 ,0x129f0 
+0x6efe 037180 istore 9 ,contw 
+0x6eff 037181 setsect 0 ,0x2e7eb 
+0x6f00 037182 setsect 1 ,0x3e6e3 
+0x6f01 037183 setsect 2 ,0x3e1a7 
+0x6f02 037184 setsect 3 ,0x10b8b 
+0x6f03 037185 istore 9 ,contw 
+0x6f04 037186 setsect 0 ,0x24fe3 
+0x6f05 037187 setsect 1 ,0x20ef 
+0x6f06 037188 setsect 2 ,0x1b5a6 
+0x6f07 037189 setsect 3 ,0xdc2f 
+0x6f08 037190 istore 9 ,contw 
+0x6f09 037191 setsect 0 ,0x13860 
+0x6f0a 037192 setsect 1 ,0x2bd69 
+0x6f0b 037193 setsect 2 ,0x391a 
+0x6f0c 037194 setsect 3 ,0x1b222 
+0x6f0d 037195 istore 9 ,contw 
+0x6f0e 037196 rtn 
+:      037199 publickey_init:
+0x6f0f 037200 fetch 1 ,mem_ssp_enable 
+0x6f10 037201 nbranch sp_initialize ,blank 
+0x6f11 037202 branch sp_initialize_256 
+:      037204 sp_calc_sequence_256_check:
+0x6f12 037205 bpatchx patch2e_5 ,mem_patch2e 
+0x6f13 037206 fetch 1 ,mem_ssp_enable 
+0x6f14 037207 rtn blank 
+0x6f15 037208 fetch 1 ,mem_sp_local_key_invalid 
+0x6f16 037209 rtnne sp_key_valid 
+0x6f17 037210 fetch 1 ,mem_secure_connections_enable 
+0x6f18 037211 rtn blank 
+0x6f19 037212 fetch 1 ,mem_sc_local_key_invalid 
+0x6f1a 037213 rtneq sp_key_valid_256 
+0x6f1b 037214 fetch 2 ,mem_ui_state_map 
+0x6f1c 037215 bbit1 ui_state_bt_connected ,stop_publickey_calc_256 
+0x6f1d 037216 fetch 1 ,mem_sc_calc 
+0x6f1e 037217 beq sp_calc_standby ,sp_initialize_256 
+0x6f1f 037218 rtn 
+:      037219 stop_publickey_calc_256:
+0x6f20 037220 jam sp_calc_standby ,mem_sc_calc 
+0x6f21 037221 rtn 
+:      037224 sp_br_secure_connection_enable:
+0x6f22 037225 fetch 1 ,mem_secure_connections_enable 
+0x6f23 037226 set1 secure_connections_br_bit ,pdata 
+0x6f24 037227 store 1 ,mem_secure_connections_enable 
+0x6f25 037228 rtn 
+:      037230 sp_br_secure_connection_disable:
+0x6f26 037231 fetch 1 ,mem_secure_connections_enable 
+0x6f27 037232 set0 secure_connections_br_bit ,pdata 
+0x6f28 037233 store 1 ,mem_secure_connections_enable 
+0x6f29 037234 rtn 
+:      037237 sp_initialize:
+0x6f2a 037238 bpatchx patch2e_6 ,mem_patch2e 
+0x6f2b 037239 fetch 1 ,mem_ssp_enable 
+0x6f2c 037240 nbranch sp_pubkey_calc ,blank 
+:      037241 sp_reset:
+0x6f2d 037242 call sp_clear_flags 
+0x6f2e 037243 jam sp_key_invalid ,mem_sp_local_key_invalid 
+0x6f2f 037244 jam sp_calc_standby ,mem_sp_calc 
+0x6f30 037245 rtn 
+:      037247 sp_wait_pubkey_calc_done:
+0x6f31 037248 fetch 1 ,mem_ssp_enable 
+0x6f32 037249 rtn blank 
+0x6f33 037250 fetch 1 ,mem_sp_local_key_invalid 
+0x6f34 037251 rtneq sp_key_valid 
+0x6f35 037252 call sp_calc_sequence 
+0x6f36 037253 branch sp_wait_pubkey_calc_done 
+:      037255 sp_clear_flags:
+0x6f37 037256 bpatchx patch2e_7 ,mem_patch2e 
+0x6f38 037257 setarg mem_sp_state_end 
+0x6f39 037258 arg mem_sp_state_start ,contw 
+0x6f3a 037259 isub contw ,loopcnt 
+0x6f3b 037260 call clear_mem 
+0x6f3c 037261 setarg mem_sp_state_xmem_end 
+0x6f3d 037262 arg mem_sp_state_xmem ,contw 
+0x6f3e 037263 isub contw ,loopcnt 
+0x6f3f 037264 branch clear_mem 
+:      037266 sp_generate_local_key:
+0x6f40 037267 jam sp_flag_commit ,mem_sp_flag 
+0x6f41 037268 fetch 1 ,mem_encapsulated_minor_type 
+0x6f42 037269 beq encapsulated_minor_type_p256 ,sp_generate_local_key0_256 
+0x6f43 037270 beq encapsulated_minor_type_p192 ,sp_generate_local_key0_192 
+0x6f44 037271 rtn 
+:      037273 sp_generate_local_key0_256:
+0x6f45 037274 fetch 1 ,mem_sc_local_key_invalid 
+0x6f46 037275 beq sp_key_valid_256 ,sp_start_send_pubkey_256 
+0x6f47 037276 branch sp_pubkey_calc_256 
+:      037277 sp_start_send_pubkey_256:
+0x6f48 037278 call sp_dhkey_calc_256 
+0x6f49 037279 fetch 1 ,mem_master_sp_state 
+0x6f4a 037280 nrtn blank 
+0x6f4b 037281 jam sp_stat_key_send ,mem_sp_state 
+0x6f4c 037282 rtn 
+:      037284 sp_master_generate_local_key:
+0x6f4d 037285 fetch 1 ,mem_sp_local_key_invalid 
+0x6f4e 037286 beq sp_key_valid ,sp_dhkey_calc 
+0x6f4f 037287 branch assert 
+:      037289 sp_generate_local_key0_192:
+0x6f50 037290 fetch 1 ,mem_sp_local_key_invalid 
+0x6f51 037291 beq sp_key_valid ,sp_start_send_pubkey 
+0x6f52 037292 branch sp_pubkey_calc 
+:      037294 sp_start_send_pubkey:
+0x6f53 037295 call sp_dhkey_calc 
+0x6f54 037296 fetch 1 ,mem_master_sp_state 
+0x6f55 037297 nrtn blank 
+0x6f56 037298 jam sp_stat_key_send ,mem_sp_state 
+0x6f57 037299 rtn 
+:      037302 sp_calc_check_publickey_256:
+0x6f58 037303 call sp_calc_b256 
+0x6f59 037304 arg mem_le_pubkey_remote_y_256 ,rega 
+0x6f5a 037305 arg mem_t7_256 ,contw 
+0x6f5b 037306 call bn_sqrmod_256 
+0x6f5c 037307 arg mem_le_pubkey_remote_x_256 ,rega 
+0x6f5d 037308 arg mem_t2_256 ,contw 
+0x6f5e 037309 call bn_sqrmod_256 
+0x6f5f 037310 arg mem_t2_256 ,rega 
+0x6f60 037311 arg mem_le_pubkey_remote_x_256 ,regb 
+0x6f61 037312 arg mem_t2_256 ,contw 
+0x6f62 037313 call bn_mulmod_256 
+0x6f63 037314 arg mem_a_256 ,rega 
+0x6f64 037315 arg mem_le_pubkey_remote_x_256 ,regb 
+0x6f65 037316 arg mem_t3_256 ,contw 
+0x6f66 037317 call bn_mulmod_256 
+0x6f67 037318 arg mem_t3_256 ,rega 
+0x6f68 037319 arg mem_t2_256 ,regb 
+0x6f69 037320 arg mem_t2_256 ,contw 
+0x6f6a 037321 call bn_addmod_256 
+0x6f6b 037322 arg mem_t0_256 ,rega 
+0x6f6c 037323 arg mem_t2_256 ,regb 
+0x6f6d 037324 arg mem_t0_256 ,contw 
+0x6f6e 037325 call bn_addmod_256 
+0x6f6f 037326 arg 32 ,loopcnt 
+0x6f70 037327 arg mem_t7_256 ,rega 
+0x6f71 037328 arg mem_t0_256 ,regb 
+0x6f72 037329 branch string_compare 
+:      037331 sp_calc_b256:
+0x6f73 037332 arg mem_gy_256 ,rega 
+0x6f74 037333 arg mem_t0_256 ,contw 
+0x6f75 037334 call bn_sqrmod_256 
+0x6f76 037335 arg mem_gx_256 ,rega 
+0x6f77 037336 arg mem_t2_256 ,contw 
+0x6f78 037337 call bn_sqrmod_256 
+0x6f79 037338 arg mem_t2_256 ,rega 
+0x6f7a 037339 arg mem_gx_256 ,regb 
+0x6f7b 037340 arg mem_t2_256 ,contw 
+0x6f7c 037341 call bn_mulmod_256 
+0x6f7d 037342 arg mem_a_256 ,rega 
+0x6f7e 037343 arg mem_gx_256 ,regb 
+0x6f7f 037344 arg mem_t3_256 ,contw 
+0x6f80 037345 call bn_mulmod_256 
+0x6f81 037346 arg mem_t3_256 ,rega 
+0x6f82 037347 arg mem_t2_256 ,regb 
+0x6f83 037348 arg mem_t2_256 ,contw 
+0x6f84 037349 call bn_addmod_256 
+0x6f85 037350 arg mem_t0_256 ,rega 
+0x6f86 037351 arg mem_t2_256 ,regb 
+0x6f87 037352 arg mem_t0_256 ,contw 
+0x6f88 037353 branch bn_submod_256 
+:      037355 sp_calc_check_publickey:
+0x6f89 037356 call sp_calc_b 
+0x6f8a 037357 arg mem_sp_pubkey_remote_y ,rega 
+0x6f8b 037358 arg mem_t7_256 ,contw 
+0x6f8c 037359 call bn_sqrmod 
+0x6f8d 037360 arg mem_sp_pubkey_remote_x ,rega 
+0x6f8e 037361 arg mem_t2_256 ,contw 
+0x6f8f 037362 call bn_sqrmod 
+0x6f90 037363 arg mem_t2_256 ,rega 
+0x6f91 037364 arg mem_sp_pubkey_remote_x ,regb 
+0x6f92 037365 arg mem_t2_256 ,contw 
+0x6f93 037366 call bn_mulmod 
+0x6f94 037367 arg mem_a ,rega 
+0x6f95 037368 arg mem_sp_pubkey_remote_x ,regb 
+0x6f96 037369 arg mem_t3_256 ,contw 
+0x6f97 037370 call bn_mulmod 
+0x6f98 037371 arg mem_t3_256 ,rega 
+0x6f99 037372 arg mem_t2_256 ,regb 
+0x6f9a 037373 arg mem_t2_256 ,contw 
+0x6f9b 037374 call bn_addmod 
+0x6f9c 037375 arg mem_t0_256 ,rega 
+0x6f9d 037376 arg mem_t2_256 ,regb 
+0x6f9e 037377 arg mem_t0_256 ,contw 
+0x6f9f 037378 call bn_addmod 
+0x6fa0 037379 arg 24 ,loopcnt 
+0x6fa1 037380 arg mem_t7_256 ,rega 
+0x6fa2 037381 arg mem_t0_256 ,regb 
+0x6fa3 037382 branch string_compare 
+:      037384 sp_calc_b:
+0x6fa4 037385 arg mem_gy ,rega 
+0x6fa5 037386 arg mem_t0_256 ,contw 
+0x6fa6 037387 call bn_sqrmod 
+0x6fa7 037388 arg mem_gx ,rega 
+0x6fa8 037389 arg mem_t2_256 ,contw 
+0x6fa9 037390 call bn_sqrmod 
+0x6faa 037391 arg mem_t2_256 ,rega 
+0x6fab 037392 arg mem_gx ,regb 
+0x6fac 037393 arg mem_t2_256 ,contw 
+0x6fad 037394 call bn_mulmod 
+0x6fae 037395 arg mem_a ,rega 
+0x6faf 037396 arg mem_gx ,regb 
+0x6fb0 037397 arg mem_t3_256 ,contw 
+0x6fb1 037398 call bn_mulmod 
+0x6fb2 037399 arg mem_t3_256 ,rega 
+0x6fb3 037400 arg mem_t2_256 ,regb 
+0x6fb4 037401 arg mem_t2_256 ,contw 
+0x6fb5 037402 call bn_addmod 
+0x6fb6 037403 arg mem_t0_256 ,rega 
+0x6fb7 037404 arg mem_t2_256 ,regb 
+0x6fb8 037405 arg mem_t0_256 ,contw 
+0x6fb9 037406 branch bn_submod 
+:      037409 sp_calculate_commitment:
+0x6fba 037410 fetch 1 ,mem_encapsulated_minor_type 
+0x6fbb 037411 beq encapsulated_minor_type_p256 ,sp_calculate_commitment_256 
+0x6fbc 037412 beq encapsulated_minor_type_p192 ,sp_calculate_commitment_192 
+0x6fbd 037413 rtn 
+:      037415 sp_calculate_commitment_256:
+0x6fbe 037416 fetch 1 ,mem_sc_calc 
+0x6fbf 037417 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+0x6fc0 037418 call sp_local_random_key_generator 
+0x6fc1 037419 arg mem_sp_prarm_stack ,contw 
+0x6fc2 037420 setarg mem_sp_random_local_end 
+0x6fc3 037421 istore 2 ,contw 
+0x6fc4 037422 setarg mem_sc_pubkey_local_x_256 + 32 
+0x6fc5 037423 istore 2 ,contw 
+0x6fc6 037424 setarg mem_le_pubkey_remote_x_256 + 32 
+0x6fc7 037425 istore 2 ,contw 
+:      037427 sp_calculate_commitment0_256:
+0x6fc8 037428 call function_f1_256 
+0x6fc9 037429 fetch 1 ,mem_master_sp_state 
+0x6fca 037430 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+0x6fcb 037431 jam sp_flag_commit ,mem_sp_flag 
+0x6fcc 037432 jam sp_stat_commit_send ,mem_sp_state 
+0x6fcd 037433 rtn 
+:      037435 sp_calculate_commitment_192:
+0x6fce 037436 fetch 1 ,mem_sp_calc 
+0x6fcf 037437 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+0x6fd0 037438 call sp_local_random_key_generator 
+0x6fd1 037439 arg mem_sp_prarm_stack ,contw 
+0x6fd2 037440 setarg mem_sp_random_local_end 
+0x6fd3 037441 istore 2 ,contw 
+0x6fd4 037442 setarg mem_sp_pubkey_local_x_end 
+0x6fd5 037443 istore 2 ,contw 
+0x6fd6 037444 setarg mem_sp_pubkey_remote_x_end 
+0x6fd7 037445 istore 2 ,contw 
+0x6fd8 037446 branch sp_calculate_commitment0 
+:      037447 master_sp_calculate_commitment:
+0x6fd9 037448 arg mem_sp_prarm_stack ,contw 
+0x6fda 037449 setarg mem_sp_random_remote_end 
+0x6fdb 037450 istore 2 ,contw 
+0x6fdc 037451 setarg mem_sp_pubkey_remote_x_end 
+0x6fdd 037452 istore 2 ,contw 
+0x6fde 037453 setarg mem_sp_pubkey_local_x_end 
+0x6fdf 037454 istore 2 ,contw 
+:      037455 sp_calculate_commitment0:
+0x6fe0 037456 call function_f1_192 
+0x6fe1 037457 fetch 1 ,mem_master_sp_state 
+0x6fe2 037458 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+0x6fe3 037459 jam sp_flag_commit ,mem_sp_flag 
+0x6fe4 037460 jam sp_stat_commit_send ,mem_sp_state 
+0x6fe5 037461 rtn 
+:      037462 master_sp_calculate_commitment0:
+0x6fe6 037463 jam sp_stat_commitment_compare ,mem_master_sp_state 
+0x6fe7 037464 call sp_master_generate_local_key 
+0x6fe8 037465 branch master_set_mem_master_sp_flag 
+:      037467 sp_local_random_key_generator:
+0x6fe9 037468 arg mem_sp_random_local ,contw 
+0x6fea 037469 force 8 ,queue 
+0x6feb 037470 branch random_generator 
+:      037472 sp_calculate_commitment_wait_dhkey_calc:
+0x6fec 037473 jam sp_flag_commit ,mem_sp_flag 
+0x6fed 037474 rtn 
+:      037476 sp_confirm_check:
+0x6fee 037477 fetch 1 ,mem_encapsulated_minor_type 
+0x6fef 037478 beq encapsulated_minor_type_p256 ,sp_confirm_check_256 
+0x6ff0 037479 beq encapsulated_minor_type_p192 ,sp_confirm_check_192 
+:      037480 sp_confirm_check_wait:
+0x6ff1 037481 jam sp_stat_confirm_check ,mem_sp_state 
+0x6ff2 037482 jam sp_flag_commit ,mem_sp_flag 
+0x6ff3 037483 rtn 
+:      037485 sp_confirm_check_256:
+0x6ff4 037486 fetch 1 ,mem_sp_dhkey_invalid 
+0x6ff5 037487 bne sp_key_valid_256 ,sp_confirm_check_wait 
+0x6ff6 037488 branch sp_confirm_check_common 
+:      037490 sp_confirm_check_192:
+0x6ff7 037491 fetch 1 ,mem_sp_dhkey_invalid 
+0x6ff8 037492 bne sp_key_valid ,sp_confirm_check_wait 
+:      037493 sp_confirm_check_common:
+0x6ff9 037494 arg mem_addr_value ,contw 
+0x6ffa 037495 fetch 6 ,mem_lap 
+0x6ffb 037496 istore 6 ,contw 
+0x6ffc 037497 fetch 6 ,mem_plap 
+0x6ffd 037498 istore 6 ,contw 
+0x6ffe 037499 fetch 3 ,mem_sp_iocap_remote 
+0x6fff 037500 istore 3 ,contw 
+0x7000 037502 call function_f3a 
+0x7001 037504 arg mem_sp_calc_result_high ,rega 
+0x7002 037505 arg mem_sp_check_result ,regb 
+0x7003 037506 force 4 ,queue 
+0x7004 037507 call compare4 
+0x7005 037508 nbranch sp_confirm_check_failed ,true 
+0x7006 037510 call sp_confirm_check_success 
+0x7007 037511 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x7008 037512 branch tid_set_reply 
+:      037514 sp_confirm_check_success:
+0x7009 037515 fetch 1 ,mem_master_sp_state 
+0x700a 037516 beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+0x700b 037517 jam sp_stat_confirm_calc ,mem_sp_state 
+0x700c 037518 jam sp_flag_commit ,mem_sp_flag 
+0x700d 037519 jam lmp_accepted ,mem_lmo_opcode2 
+0x700e 037520 rtn 
+:      037521 sp_confirm_check_success_master:
+0x700f 037522 jam lmp_accepted ,mem_lmo_opcode2 
+0x7010 037523 jam sp_state_end ,mem_master_sp_state 
+0x7011 037524 branch master_set_mem_master_sp_flag 
+:      037527 sp_confirm_check_failed:
+0x7012 037528 fetch 1 ,mem_master_sp_state 
+0x7013 037529 beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+0x7014 037530 jam sp_stat_null ,mem_sp_state 
+0x7015 037531 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x7016 037533 jam authentication_failure_error ,mem_lmo_reason2 
+0x7017 037534 rtn 
+:      037535 sp_confirm_check_failed_master:
+0x7018 037536 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x7019 037537 jam sp_stat_null ,mem_master_sp_state 
+0x701a 037538 rtn 
+:      037540 sp_confirm_calc:
+0x701b 037541 fetch 1 ,mem_encapsulated_minor_type 
+0x701c 037542 beq encapsulated_minor_type_p256 ,sp_confirm_calc_256 
+0x701d 037543 beq encapsulated_minor_type_p192 ,sp_confirm_calc_192 
+0x701e 037544 rtn 
+:      037546 sp_confirm_calc_256:
+0x701f 037547 fetch 1 ,mem_sp_dhkey_invalid 
+0x7020 037548 beq sp_key_valid_256 ,sp_confirm_calc_ready 
+0x7021 037549 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x7022 037550 branch master_set_mem_master_sp_flag 
+:      037552 sp_confirm_calc_192:
+0x7023 037553 fetch 1 ,mem_sp_dh_ready 
+0x7024 037554 beq sp_flag_commit ,sp_confirm_calc_ready 
+0x7025 037555 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x7026 037556 branch master_set_mem_master_sp_flag 
+:      037558 sp_confirm_calc_ready:
+0x7027 037559 arg mem_addr_value ,contw 
+0x7028 037560 fetch 6 ,mem_plap 
+0x7029 037561 istore 6 ,contw 
+0x702a 037562 fetch 6 ,mem_lap 
+0x702b 037563 istore 6 ,contw 
+0x702c 037564 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+0x702d 037565 istore 3 ,contw 
+0x702e 037567 call function_f3b 
+0x702f 037568 fetch 1 ,mem_master_sp_state 
+0x7030 037569 beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+0x7031 037570 jam sp_stat_confirm_send ,mem_sp_state 
+0x7032 037571 jam sp_flag_commit ,mem_sp_flag 
+0x7033 037572 rtn 
+:      037573 sp_confirm_calc_master:
+0x7034 037574 jam sp_stat_confirm_send ,mem_master_sp_state 
+0x7035 037575 jam sp_flag_commit ,mem_master_sp_flag 
+0x7036 037576 rtn 
+:      037578 sp_master_key_prarm_push:
+0x7037 037579 arg mem_sp_prarm_stack ,contw 
+0x7038 037580 fetch 6 ,mem_plap 
+0x7039 037581 istore 6 ,contw 
+0x703a 037582 fetch 6 ,mem_lap 
+0x703b 037583 istore 6 ,contw 
+0x703c 037584 setarg mem_sp_random_local_end 
+0x703d 037585 istore 2 ,contw 
+0x703e 037586 setarg mem_sp_random_remote_end 
+0x703f 037587 istore 2 ,contw 
+0x7040 037588 branch sp_link_key_calc 
+:      037589 sp_link_key_prarm_push:
+0x7041 037590 jam sp_stat_done ,mem_sp_state 
+0x7042 037591 arg mem_sp_prarm_stack ,contw 
+0x7043 037592 fetch 6 ,mem_lap 
+0x7044 037593 istore 6 ,contw 
+0x7045 037594 fetch 6 ,mem_plap 
+0x7046 037595 istore 6 ,contw 
+0x7047 037596 setarg mem_sp_random_remote_end 
+0x7048 037597 istore 2 ,contw 
+0x7049 037598 setarg mem_sp_random_local_end 
+0x704a 037599 istore 2 ,contw 
+:      037600 sp_link_key_calc:
+0x704b 037602 arg mem_addr_value ,contw 
+0x704c 037603 fetch 6 ,mem_sp_prarm_stack 
+0x704d 037604 istore 6 ,contw 
+0x704e 037605 fetch 6 ,mem_sp_prarm_stack + 6 
+0x704f 037606 istore 6 ,contw 
+0x7050 037608 call function_f2 
+0x7051 037611 jam 1 ,mem_link_key_exists 
+0x7052 037612 arg mem_link_key ,contw 
+0x7053 037613 arg mem_sp_calc_result_high ,contr 
+0x7054 037614 call memcpy16 
+0x7055 037615 branch generate_linkkey_continue 
+:      037618 sp_debug_private:
+0x7056 037619 arg mem_sp_private_key ,contw 
+0x7057 037620 setsect 0 ,0x118ff 
+0x7058 037621 setsect 1 ,0x3fd29 
+0x7059 037622 setsect 2 ,0x1ed2e 
+0x705a 037623 setsect 3 ,0xad89 
+0x705b 037624 istore 9 ,contw 
+0x705c 037625 setsect 0 ,0x30c14 
+0x705d 037626 setsect 1 ,0x75b3 
+0x705e 037627 setsect 2 ,0x5df 
+0x705f 037628 setsect 3 ,0x3709c 
+0x7060 037629 istore 9 ,contw 
+0x7061 037630 setsect 0 ,0x2918d 
+0x7062 037631 setsect 1 ,0x57e1 
+0x7063 037632 setsect 2 ,0x79 
+0x7064 037633 istore 6 ,contw 
+0x7065 037634 rtn 
+:      037637 sp_pubkey_calc:
+0x7066 037638 bpatchx patch2f_0 ,mem_patch2f 
+0x7067 037639 fetch 1 ,mem_sp_local_key_invalid 
+0x7068 037640 rtnne sp_key_invalid 
+0x7069 037641 fetch 1 ,mem_sp_calc 
+0x706a 037642 rtnne sp_calc_standby 
+0x706b 037644 arg mem_sp_private_key ,contw 
+0x706c 037645 force 11 ,queue 
+0x706d 037646 call random_generator 
+0x706e 037647 random pdata 
+0x706f 037648 rshift pdata ,pdata 
+0x7070 037649 istore 2 ,contw 
+0x7071 037651 fetch 1 ,mem_sp_debug_mode 
+0x7072 037652 ncall sp_debug_private ,blank 
+0x7073 037654 arg mem_k ,contw 
+0x7074 037655 arg mem_sp_private_key ,contr 
+0x7075 037656 call memcpy24 
+0x7076 037658 arg mem_ax ,contw 
+0x7077 037659 arg mem_gx ,contr 
+0x7078 037660 call memcpy48 
+0x7079 037662 arg mem_az ,contw 
+0x707a 037663 call bn_zero 
+0x707b 037664 jam 1 ,mem_az 
+0x707c 037666 call eckp_calc_init 
+0x707d 037667 jam sp_calc_pubkey ,mem_sp_calc 
+0x707e 037668 rtn 
+:      037670 sp_pubkey_generated:
+0x707f 037671 arg mem_sp_pubkey_local ,contw 
+0x7080 037672 arg mem_bx ,contr 
+0x7081 037673 call memcpy48 
+0x7082 037674 jam sp_key_valid ,mem_sp_local_key_invalid 
+0x7083 037675 jam sp_calc_standby ,mem_sp_calc 
+0x7084 037676 rtn 
+:      037678 sp_dhkey_calc:
+0x7085 037679 bpatchx patch2f_1 ,mem_patch2f 
+0x7086 037680 fetch 1 ,mem_sp_dhkey_invalid 
+0x7087 037681 rtnne sp_key_invalid 
+0x7088 037682 fetch 1 ,mem_sp_calc 
+0x7089 037683 rtnne sp_calc_standby 
+0x708a 037685 arg mem_k ,contw 
+0x708b 037686 arg mem_sp_private_key ,contr 
+0x708c 037687 call memcpy24 
+0x708d 037689 arg mem_ax ,contw 
+0x708e 037690 arg mem_sp_pubkey_remote ,contr 
+0x708f 037691 call memcpy48 
+0x7090 037693 arg mem_az ,contw 
+0x7091 037694 call bn_zero 
+0x7092 037695 jam 1 ,mem_az 
+0x7093 037697 call eckp_calc_init 
+0x7094 037698 jam sp_calc_dhkey ,mem_sp_calc 
+0x7095 037699 rtn 
+:      037701 sp_dhkey_generated:
+0x7096 037702 jam sp_flag_commit ,mem_sp_dh_ready 
+0x7097 037703 arg mem_sp_dhkey ,contw 
+0x7098 037704 arg mem_bx ,contr 
+0x7099 037705 call memcpy24 
+0x709a 037706 jam sp_key_valid ,mem_sp_dhkey_invalid 
+0x709b 037707 jam sp_calc_standby ,mem_sp_calc 
+0x709c 037708 rtn 
+:      037710 random_generator:
+0x709d 037711 increase -1 ,queue 
+0x709e 037712 nrtn positive 
+0x709f 037713 random pdata 
+0x70a0 037714 istore 2 ,contw 
+0x70a1 037715 branch random_generator 
+:      037716 compare4:
+0x70a2 037717 increase -1 ,queue 
+0x70a3 037718 nbranch compare4_success ,positive 
+0x70a4 037719 ifetch 4 ,rega 
+0x70a5 037720 copy pdata ,temp 
+0x70a6 037721 ifetch 4 ,regb 
+0x70a7 037722 iflip temp ,pdata 
+0x70a8 037723 nbranch compare4_failed ,zero 
+0x70a9 037724 increase 4 ,rega 
+0x70aa 037725 increase 4 ,regb 
+0x70ab 037726 branch compare4 
+:      037727 compare4_failed:
+0x70ac 037728 disable true 
+0x70ad 037729 rtn 
+:      037730 compare4_success:
+0x70ae 037731 enable true 
+0x70af 037732 rtn 
+:      037739 simple_pairing_sequence:
+0x70b0 037740 bpatchx patch2f_2 ,mem_patch2f 
+0x70b1 037741 fetch 1 ,mem_sp_flag 
+0x70b2 037742 rtn blank 
+0x70b3 037743 call lmo_fifo_check 
+0x70b4 037744 nrtn blank 
+0x70b5 037745 jam sp_flag_standby ,mem_sp_flag 
+0x70b6 037746 fetch 1 ,mem_sp_state 
+0x70b7 037747 beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+0x70b8 037748 beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+0x70b9 037749 beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+0x70ba 037750 beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+0x70bb 037751 beq sp_stat_key_generate ,sp_generate_local_key 
+0x70bc 037752 beq sp_stat_commit_calc ,sp_calculate_commitment 
+0x70bd 037753 beq sp_stat_confirm_check ,sp_confirm_check 
+0x70be 037754 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x70bf 037755 beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+0x70c0 037757 rtn 
+:      037759 master_simple_paring_sequence:
+0x70c1 037760 bpatchx patch2f_3 ,mem_patch2f 
+0x70c2 037761 fetch 1 ,mem_master_sp_flag 
+0x70c3 037762 rtn blank 
+0x70c4 037763 call lmo_fifo_check 
+0x70c5 037764 nrtn blank 
+0x70c6 037765 jam sp_flag_standby ,mem_master_sp_flag 
+0x70c7 037766 fetch 1 ,mem_master_sp_state 
+0x70c8 037767 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+0x70c9 037768 beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+0x70ca 037769 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+0x70cb 037770 beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+0x70cc 037771 beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+0x70cd 037772 beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+0x70ce 037773 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x70cf 037774 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+0x70d0 037775 beq sp_stat_confirm_check ,sp_confirm_check 
+0x70d1 037776 beq sp_state_end ,master_sp_sm_end 
+0x70d2 037777 rtn 
+:      037779 master_set_mem_master_sp_flag:
+0x70d3 037780 jam sp_flag_commit ,mem_master_sp_flag 
+0x70d4 037781 rtn 
+:      037783 master_clear_mem_master_sp_flag:
+0x70d5 037784 jam sp_flag_standby ,mem_master_sp_flag 
+0x70d6 037785 rtn 
+:      037786 sp_calc_sequence:
+0x70d7 037787 bpatchx patch2f_4 ,mem_patch2f 
+0x70d8 037788 fetch 1 ,mem_ssp_enable 
+0x70d9 037789 rtn blank 
+0x70da 037790 fetch 1 ,mem_sp_calc 
+0x70db 037791 rtn blank 
+0x70dc 037792 increase 0x80 ,pdata 
+0x70dd 037793 store 1 ,mem_sp_calc 
+0x70de 037794 rtnbit1 7 
+0x70df 037795 fetch 1 ,mem_ec_loopc 
+0x70e0 037796 branch sp_calc_sequence_done ,blank 
+0x70e1 037797 branch eckp_calc 
+:      037799 sp_calc_sequence_done:
+0x70e2 037800 call ecunmapz 
+0x70e3 037801 fetch 1 ,mem_sp_calc 
+0x70e4 037802 beq sp_calc_pubkey ,sp_pubkey_generated 
+0x70e5 037803 beq sp_calc_dhkey ,sp_dhkey_generated 
+0x70e6 037804 rtn 
+:      037807 bn_testbit:
+0x70e7 037808 and pdata ,7 ,queue 
+0x70e8 037809 rshift3 pdata ,pdata 
+0x70e9 037810 iadd contr ,contr 
+0x70ea 037811 ifetch 1 ,contr 
+0x70eb 037812 qisolate0 pdata 
+0x70ec 037813 rtn 
+:      037816 ec_copy:
+0x70ed 037817 call memcpy24 
+0x70ee 037818 call memcpy24 
+0x70ef 037819 branch memcpy24 
+:      037822 bn_eq_zero:
+0x70f0 037823 ifetch 8 ,contr 
+0x70f1 037824 nrtn blank 
+0x70f2 037825 ifetch 8 ,contr 
+0x70f3 037826 nrtn blank 
+0x70f4 037827 ifetch 8 ,contr 
+0x70f5 037828 rtn 
+:      037833 bn_eq_0:
+0x70f6 037834 ifetch 4 ,rega 
+0x70f7 037835 iforce temp 
+0x70f8 037836 ifetch 4 ,regb 
+0x70f9 037837 isub temp ,null 
+0x70fa 037838 nrtn zero 
+0x70fb 037839 increase 4 ,rega 
+0x70fc 037840 increase 4 ,regb 
+0x70fd 037841 loop bn_eq_0 
+0x70fe 037842 rtn 
+:      037845 bn_bigeq:
+0x70ff 037846 force 6 ,loopcnt 
+0x7100 037847 increase 20 ,rega 
+0x7101 037848 increase 20 ,regb 
+:      037849 bn_bigeq_0:
+0x7102 037850 ifetch 4 ,regb 
+0x7103 037851 iforce temp 
+0x7104 037852 ifetch 4 ,rega 
+0x7105 037853 isub temp ,pdata 
+0x7106 037854 nrtn positive 
+0x7107 037855 nrtn blank 
+0x7108 037856 increase -4 ,rega 
+0x7109 037857 increase -4 ,regb 
+0x710a 037858 loop bn_bigeq_0 
+0x710b 037859 rtn 
+:      037861 bn_add:
+0x710c 037862 force 6 ,loopcnt 
+0x710d 037863 force 0 ,regc 
+:      037864 bn_add_0:
+0x710e 037865 ifetch 4 ,rega 
+0x710f 037866 iforce temp 
+0x7110 037867 ifetch 4 ,regb 
+0x7111 037868 iadd temp ,pdata 
+0x7112 037869 iadd regc ,pdata 
+0x7113 037870 istore 4 ,contw 
+0x7114 037871 isolate1 32 ,pdata 
+0x7115 037872 setflag true ,0 ,regc 
+0x7116 037873 increase 4 ,rega 
+0x7117 037874 increase 4 ,regb 
+0x7118 037875 loop bn_add_0 
+0x7119 037876 rtn 
+:      037878 bn_sub:
+0x711a 037879 force 6 ,loopcnt 
+0x711b 037880 force 0 ,regc 
+:      037881 bn_sub_0:
+0x711c 037882 ifetch 4 ,regb 
+0x711d 037883 iforce temp 
+0x711e 037884 ifetch 4 ,rega 
+0x711f 037885 isub temp ,pdata 
+0x7120 037886 isub regc ,pdata 
+0x7121 037887 istore 4 ,contw 
+0x7122 037888 isolate1 32 ,pdata 
+0x7123 037889 setflag true ,0 ,regc 
+0x7124 037890 increase 4 ,rega 
+0x7125 037891 increase 4 ,regb 
+0x7126 037892 loop bn_sub_0 
+0x7127 037893 rtn 
+:      037895 bn_rshift6:
+0x7128 037896 force 6 ,loopcnt 
+0x7129 037897 increase 20 ,rega 
+:      037898 bn_rshift:
+0x712a 037899 force 0 ,regc 
+:      037900 bn_rshift_0:
+0x712b 037901 ifetch 4 ,rega 
+0x712c 037902 isolate1 0 ,pdata 
+0x712d 037903 setflag true ,1 ,regc 
+0x712e 037904 rshift pdata ,pdata 
+0x712f 037905 isolate1 0 ,regc 
+0x7130 037906 setflag true ,31 ,pdata 
+0x7131 037907 istore 4 ,rega 
+0x7132 037908 increase -4 ,rega 
+0x7133 037909 rshift regc ,regc 
+0x7134 037910 loop bn_rshift_0 
+0x7135 037911 rtn 
+:      037913 bn_lshift:
+0x7136 037914 force 6 ,loopcnt 
+0x7137 037915 force 0 ,regc 
+:      037916 bn_lshift_0:
+0x7138 037917 ifetch 4 ,rega 
+0x7139 037918 isolate1 31 ,pdata 
+0x713a 037919 setflag true ,1 ,regc 
+0x713b 037920 lshift pdata ,pdata 
+0x713c 037921 isolate1 0 ,regc 
+0x713d 037922 setflag true ,0 ,pdata 
+0x713e 037923 istore 4 ,rega 
+0x713f 037924 increase 4 ,rega 
+0x7140 037925 rshift regc ,regc 
+0x7141 037926 loop bn_lshift_0 
+0x7142 037927 rtn 
+:      037929 bn_lshiftmod:
+0x7143 037930 call bn_lshift 
+:      037931 bn_lshiftmod_ismod:
+0x7144 037932 isolate1 0 ,regc 
+0x7145 037933 branch bn_lshiftmod_0 ,true 
+0x7146 037934 arg mem_p ,regb 
+0x7147 037935 copy rega ,regc 
+0x7148 037936 increase -24 ,rega 
+0x7149 037937 call bn_bigeq 
+0x714a 037938 nrtn positive 
+0x714b 037939 copy regc ,rega 
+:      037940 bn_lshiftmod_0:
+0x714c 037941 increase -24 ,rega 
+0x714d 037942 arg mem_p ,regb 
+0x714e 037943 copy rega ,contw 
+0x714f 037944 branch bn_sub 
+:      037947 bn_addmod:
+0x7150 037948 call bn_add 
+0x7151 037949 copy contw ,rega 
+0x7152 037950 branch bn_lshiftmod_ismod 
+:      037952 bn_submod:
+0x7153 037953 call bn_sub 
+0x7154 037954 isolate0 0 ,regc 
+0x7155 037955 rtn true 
+0x7156 037956 arg mem_p ,regb 
+0x7157 037957 add contw ,-24 ,rega 
+0x7158 037958 copy rega ,contw 
+0x7159 037959 branch bn_add 
+:      037962 bn_p192mod:
+0x715a 037963 copy contw ,timeup 
+0x715b 037964 copy rega ,alarm 
+0x715c 037965 arg mem_tmp2 ,regb 
+0x715d 037966 copy regb ,contw 
+0x715e 037967 add rega ,24 ,contr 
+0x715f 037968 ifetch 8 ,contr 
+0x7160 037969 istore 8 ,contw 
+0x7161 037970 istore 8 ,contw 
+0x7162 037971 force 0 ,pdata 
+0x7163 037972 istore 8 ,contw 
+0x7164 037973 copy timeup ,contw 
+0x7165 037974 call bn_addmod 
+0x7166 037975 arg mem_tmp2 ,regb 
+0x7167 037976 copy regb ,contw 
+0x7168 037977 force 0 ,pdata 
+0x7169 037978 istore 8 ,contw 
+0x716a 037979 add alarm ,32 ,contr 
+0x716b 037980 ifetch 8 ,contr 
+0x716c 037981 istore 8 ,contw 
+0x716d 037982 istore 8 ,contw 
+0x716e 037983 copy timeup ,rega 
+0x716f 037984 copy rega ,contw 
+0x7170 037985 call bn_addmod 
+0x7171 037986 arg mem_tmp2 ,regb 
+0x7172 037987 copy regb ,contw 
+0x7173 037988 add alarm ,40 ,contr 
+0x7174 037989 ifetch 8 ,contr 
+0x7175 037990 istore 8 ,contw 
+0x7176 037991 istore 8 ,contw 
+0x7177 037992 istore 8 ,contw 
+0x7178 037993 copy timeup ,rega 
+0x7179 037994 copy rega ,contw 
+0x717a 037995 branch bn_addmod 
+:      037998 bn_load:
+0x717b 037999 force 6 ,loopcnt 
+:      038000 bn_load_0:
+0x717c 038001 ifetch 4 ,contr 
+0x717d 038002 iforce regext 
+0x717e 038003 increase 1 ,regext_index 
+0x717f 038004 loop bn_load_0 
+0x7180 038005 rtn 
+:      038009 bn_mulmod:
+0x7181 038010 copy contw ,timeup 
+0x7182 038011 arg mem_tmp1 ,contw 
+0x7183 038012 call bn_zero 
+0x7184 038013 arg mem_tmp1 ,contw 
+0x7185 038014 copy rega ,contr 
+0x7186 038015 force 0 ,regext_index 
+0x7187 038016 call bn_load 
+0x7188 038017 copy regb ,contr 
+0x7189 038018 call bn_load 
+0x718a 038019 force 0 ,regb 
+:      038020 bn_mulmod_1:
+0x718b 038021 force 0 ,temp 
+0x718c 038022 force 6 ,regc 
+:      038023 bn_mulmod_0:
+0x718d 038024 ifetch 4 ,contw 
+0x718e 038025 iforce rega 
+0x718f 038026 copy regb ,regext_index 
+0x7190 038027 deposit regext 
+0x7191 038028 copy regc ,regext_index 
+0x7192 038029 imul32 regext ,pdata 
+0x7193 038030 iadd rega ,pdata 
+0x7194 038031 iadd temp ,pdata 
+0x7195 038032 istore 4 ,contw 
+0x7196 038033 rshift32 pdata ,temp 
+0x7197 038034 increase 1 ,regc 
+0x7198 038035 compare 12 ,regc ,0xff 
+0x7199 038036 nbranch bn_mulmod_0 ,true 
+0x719a 038037 deposit temp 
+0x719b 038038 istore 4 ,contw 
+0x719c 038039 increase -24 ,contw 
+0x719d 038040 increase 1 ,regb 
+0x719e 038041 compare 6 ,regb ,0xff 
+0x719f 038042 nbranch bn_mulmod_1 ,true 
+0x71a0 038043 arg mem_tmp1 ,rega 
+0x71a1 038044 copy timeup ,contw 
+0x71a2 038045 branch bn_p192mod 
+:      038048 bn_sqrmod:
+0x71a3 038049 copy rega ,regb 
+0x71a4 038050 branch bn_mulmod 
+:      038052 bn_rshifteven:
+0x71a5 038053 copy rega ,alarm 
+:      038054 bn_rshifteven_1:
+0x71a6 038055 copy alarm ,rega 
+0x71a7 038056 ifetch 1 ,rega 
+0x71a8 038057 isolate1 0 ,pdata 
+0x71a9 038058 rtn true 
+0x71aa 038059 call bn_rshift6 
+0x71ab 038060 ifetch 1 ,regb 
+0x71ac 038061 isolate0 0 ,pdata 
+0x71ad 038062 branch bn_rshifteven_0 ,true 
+0x71ae 038063 arg mem_p ,rega 
+0x71af 038064 copy regb ,contw 
+0x71b0 038065 call bn_add 
+0x71b1 038066 ifetch 1 ,regb 
+0x71b2 038067 iadd regc ,pdata 
+0x71b3 038068 istore 1 ,regb 
+0x71b4 038069 increase -24 ,regb 
+:      038070 bn_rshifteven_0:
+0x71b5 038071 add regb ,24 ,rega 
+0x71b6 038072 force 7 ,loopcnt 
+0x71b7 038073 call bn_rshift 
+0x71b8 038074 branch bn_rshifteven_1 
+:      038077 bn_invmod:
+0x71b9 038078 copy contw ,timeup 
+0x71ba 038079 arg mem_tmp0 ,contw 
+0x71bb 038080 call bn_zero 
+0x71bc 038081 force 0 ,pdata 
+0x71bd 038082 store 4 ,mem_tmp5 
+0x71be 038083 store 4 ,mem_t2 
+0x71bf 038084 jam 1 ,mem_tmp0 
+0x71c0 038085 arg mem_tmp1 ,contw 
+0x71c1 038086 call bn_zero 
+0x71c2 038087 arg mem_p ,contr 
+0x71c3 038088 arg mem_tmp2 ,contw 
+0x71c4 038089 call memcpy24 
+0x71c5 038090 copy rega ,contr 
+0x71c6 038091 arg mem_tmp3 ,contw 
+0x71c7 038092 call memcpy24 
+:      038093 bn_invmod_2:
+0x71c8 038094 arg mem_tmp3 ,contr 
+0x71c9 038095 call bn_eq_zero 
+0x71ca 038096 branch bn_invmod_0 ,blank 
+0x71cb 038097 arg mem_tmp3 ,rega 
+0x71cc 038098 arg mem_tmp0 ,regb 
+0x71cd 038099 call bn_rshifteven 
+0x71ce 038101 arg mem_tmp2 ,rega 
+0x71cf 038102 arg mem_tmp1 ,regb 
+0x71d0 038103 call bn_rshifteven 
+0x71d1 038104 arg mem_tmp3 ,rega 
+0x71d2 038105 arg mem_tmp2 ,regb 
+0x71d3 038106 call bn_bigeq 
+0x71d4 038107 branch bn_invmod_1 ,positive 
+0x71d5 038108 arg mem_tmp2 ,rega 
+0x71d6 038109 arg mem_tmp3 ,regb 
+0x71d7 038110 copy rega ,contw 
+0x71d8 038111 call bn_sub 
+0x71d9 038112 arg mem_tmp0 ,rega 
+0x71da 038113 arg mem_tmp1 ,regb 
+0x71db 038114 copy regb ,contw 
+0x71dc 038115 call bn_add 
+0x71dd 038116 ifetch 1 ,rega 
+0x71de 038117 iadd regc ,regc 
+0x71df 038118 ifetch 1 ,regb 
+0x71e0 038119 iadd regc ,pdata 
+0x71e1 038120 istore 1 ,regb 
+0x71e2 038121 branch bn_invmod_2 
+:      038122 bn_invmod_1:
+0x71e3 038123 arg mem_tmp3 ,rega 
+0x71e4 038124 arg mem_tmp2 ,regb 
+0x71e5 038125 copy rega ,contw 
+0x71e6 038126 call bn_sub 
+0x71e7 038127 arg mem_tmp1 ,rega 
+0x71e8 038128 arg mem_tmp0 ,regb 
+0x71e9 038129 copy regb ,contw 
+0x71ea 038130 call bn_add 
+0x71eb 038131 ifetch 1 ,rega 
+0x71ec 038132 iadd regc ,regc 
+0x71ed 038133 ifetch 1 ,regb 
+0x71ee 038134 iadd regc ,pdata 
+0x71ef 038135 istore 1 ,regb 
+0x71f0 038136 branch bn_invmod_2 
+:      038137 bn_invmod_0:
+0x71f1 038138 arg mem_tmp0 ,contw 
+0x71f2 038139 call bn_zero 
+0x71f3 038140 fetch 1 ,mem_tmp5 
+0x71f4 038141 store 1 ,mem_tmp0 
+0x71f5 038142 store 1 ,mem_tmp0a 
+0x71f6 038143 arg mem_tmp0 ,rega 
+0x71f7 038144 arg mem_tmp1 ,regb 
+0x71f8 038145 copy regb ,contw 
+0x71f9 038146 call bn_addmod 
+0x71fa 038147 arg mem_p ,rega 
+0x71fb 038148 arg mem_tmp1 ,regb 
+0x71fc 038149 copy timeup ,contw 
+0x71fd 038150 branch bn_submod 
+:      038155 ecdbl:
+0x71fe 038156 arg mem_cz ,rega 
+0x71ff 038157 arg mem_t2 ,contw 
+0x7200 038158 call bn_sqrmod 
+0x7201 038159 arg mem_t2 ,rega 
+0x7202 038160 arg mem_t3 ,contw 
+0x7203 038161 call bn_sqrmod 
+0x7204 038162 arg mem_a ,rega 
+0x7205 038163 arg mem_t3 ,regb 
+0x7206 038164 arg mem_t3 ,contw 
+0x7207 038165 call bn_mulmod 
+0x7208 038166 arg mem_cx ,rega 
+0x7209 038167 arg mem_t2 ,contw 
+0x720a 038168 call bn_sqrmod 
+0x720b 038169 arg mem_t2 ,contr 
+0x720c 038170 arg mem_t1 ,contw 
+0x720d 038171 call memcpy24 
+0x720e 038172 arg mem_t1 ,rega 
+0x720f 038173 call bn_lshiftmod 
+0x7210 038174 arg mem_t2 ,rega 
+0x7211 038175 arg mem_t1 ,regb 
+0x7212 038176 arg mem_t2 ,contw 
+0x7213 038177 call bn_addmod 
+0x7214 038178 arg mem_t2 ,rega 
+0x7215 038179 arg mem_t3 ,regb 
+0x7216 038180 arg mem_t2 ,contw 
+0x7217 038181 call bn_addmod 
+0x7218 038182 arg mem_cx ,contr 
+0x7219 038183 arg mem_t1 ,contw 
+0x721a 038184 call memcpy24 
+0x721b 038185 arg mem_cy ,rega 
+0x721c 038186 arg mem_t3 ,contw 
+0x721d 038187 call bn_sqrmod 
+0x721e 038188 arg mem_t1 ,rega 
+0x721f 038189 call bn_lshiftmod 
+0x7220 038190 arg mem_t1 ,rega 
+0x7221 038191 call bn_lshiftmod 
+0x7222 038192 arg mem_t1 ,rega 
+0x7223 038193 arg mem_t3 ,regb 
+0x7224 038194 arg mem_t1 ,contw 
+0x7225 038195 call bn_mulmod 
+0x7226 038196 arg mem_t3 ,rega 
+0x7227 038197 arg mem_t0 ,contw 
+0x7228 038198 call bn_sqrmod 
+0x7229 038199 arg mem_t0 ,rega 
+0x722a 038200 call bn_lshiftmod 
+0x722b 038201 arg mem_t0 ,rega 
+0x722c 038202 call bn_lshiftmod 
+0x722d 038203 arg mem_t0 ,rega 
+0x722e 038204 call bn_lshiftmod 
+0x722f 038205 arg mem_cy ,contr 
+0x7230 038206 arg mem_t3 ,contw 
+0x7231 038207 call memcpy24 
+0x7232 038208 arg mem_t3 ,rega 
+0x7233 038209 call bn_lshiftmod 
+0x7234 038210 arg mem_t3 ,rega 
+0x7235 038211 arg mem_cz ,regb 
+0x7236 038212 arg mem_cz ,contw 
+0x7237 038213 call bn_mulmod 
+0x7238 038214 arg mem_t2 ,rega 
+0x7239 038215 arg mem_t3 ,contw 
+0x723a 038216 call bn_sqrmod 
+0x723b 038217 arg mem_t3 ,rega 
+0x723c 038218 arg mem_t1 ,regb 
+0x723d 038219 arg mem_t3 ,contw 
+0x723e 038220 call bn_submod 
+0x723f 038221 arg mem_t3 ,rega 
+0x7240 038222 arg mem_t1 ,regb 
+0x7241 038223 arg mem_cx ,contw 
+0x7242 038224 call bn_submod 
+0x7243 038225 arg mem_t1 ,rega 
+0x7244 038226 arg mem_cx ,regb 
+0x7245 038227 arg mem_t3 ,contw 
+0x7246 038228 call bn_submod 
+0x7247 038229 arg mem_t3 ,rega 
+0x7248 038230 arg mem_t2 ,regb 
+0x7249 038231 arg mem_t3 ,contw 
+0x724a 038232 call bn_mulmod 
+0x724b 038233 arg mem_t3 ,rega 
+0x724c 038234 arg mem_t0 ,regb 
+0x724d 038235 arg mem_cy ,contw 
+0x724e 038236 branch bn_submod 
+:      038240 ecadd:
+0x724f 038241 arg mem_az ,rega 
+0x7250 038242 arg mem_t7 ,contw 
+0x7251 038243 call bn_sqrmod 
+0x7252 038244 arg mem_cx ,rega 
+0x7253 038245 arg mem_t7 ,regb 
+0x7254 038246 arg mem_t0 ,contw 
+0x7255 038247 call bn_mulmod 
+0x7256 038248 arg mem_az ,rega 
+0x7257 038249 arg mem_t7 ,regb 
+0x7258 038250 arg mem_t7 ,contw 
+0x7259 038251 call bn_mulmod 
+0x725a 038252 arg mem_cy ,rega 
+0x725b 038253 arg mem_t7 ,regb 
+0x725c 038254 arg mem_t1 ,contw 
+0x725d 038255 call bn_mulmod 
+0x725e 038256 arg mem_cz ,rega 
+0x725f 038257 arg mem_t7 ,contw 
+0x7260 038258 call bn_sqrmod 
+0x7261 038259 arg mem_ax ,rega 
+0x7262 038260 arg mem_t7 ,regb 
+0x7263 038261 arg mem_t2 ,contw 
+0x7264 038262 call bn_mulmod 
+0x7265 038263 arg mem_cz ,rega 
+0x7266 038264 arg mem_t7 ,regb 
+0x7267 038265 arg mem_t7 ,contw 
+0x7268 038266 call bn_mulmod 
+0x7269 038267 arg mem_ay ,rega 
+0x726a 038268 arg mem_t7 ,regb 
+0x726b 038269 arg mem_t3 ,contw 
+0x726c 038270 call bn_mulmod 
+0x726d 038271 arg mem_t0 ,rega 
+0x726e 038272 arg mem_t2 ,regb 
+0x726f 038273 arg mem_t7 ,contw 
+0x7270 038274 call bn_submod 
+0x7271 038275 arg mem_t0 ,rega 
+0x7272 038276 arg mem_t2 ,regb 
+0x7273 038277 arg mem_t0 ,contw 
+0x7274 038278 call bn_addmod 
+0x7275 038279 arg mem_t1 ,rega 
+0x7276 038280 arg mem_t3 ,regb 
+0x7277 038281 arg mem_t2 ,contw 
+0x7278 038282 call bn_submod 
+0x7279 038283 arg mem_t1 ,rega 
+0x727a 038284 arg mem_t3 ,regb 
+0x727b 038285 arg mem_t1 ,contw 
+0x727c 038286 call bn_addmod 
+0x727d 038287 arg mem_t1 ,rega 
+0x727e 038288 arg mem_t7 ,regb 
+0x727f 038289 arg mem_t1 ,contw 
+0x7280 038290 call bn_mulmod 
+0x7281 038291 arg mem_cz ,rega 
+0x7282 038292 arg mem_az ,regb 
+0x7283 038293 arg mem_t3 ,contw 
+0x7284 038294 call bn_mulmod 
+0x7285 038295 arg mem_t3 ,rega 
+0x7286 038296 arg mem_t7 ,regb 
+0x7287 038297 arg mem_cz ,contw 
+0x7288 038298 call bn_mulmod 
+0x7289 038299 arg mem_t7 ,rega 
+0x728a 038300 arg mem_t7 ,contw 
+0x728b 038301 call bn_sqrmod 
+0x728c 038302 arg mem_t7 ,rega 
+0x728d 038303 arg mem_t0 ,regb 
+0x728e 038304 arg mem_t3 ,contw 
+0x728f 038305 call bn_mulmod 
+0x7290 038306 arg mem_t7 ,rega 
+0x7291 038307 arg mem_t1 ,regb 
+0x7292 038308 arg mem_t1 ,contw 
+0x7293 038309 call bn_mulmod 
+0x7294 038310 arg mem_t2 ,rega 
+0x7295 038311 arg mem_cx ,contw 
+0x7296 038312 call bn_sqrmod 
+0x7297 038313 arg mem_cx ,rega 
+0x7298 038314 arg mem_t3 ,regb 
+0x7299 038315 arg mem_cx ,contw 
+0x729a 038316 call bn_submod 
+0x729b 038317 arg mem_cx ,contr 
+0x729c 038318 arg mem_t7 ,contw 
+0x729d 038319 call memcpy24 
+0x729e 038320 arg mem_t7 ,rega 
+0x729f 038321 call bn_lshiftmod 
+0x72a0 038322 arg mem_t3 ,rega 
+0x72a1 038323 arg mem_t7 ,regb 
+0x72a2 038324 arg mem_t3 ,contw 
+0x72a3 038325 call bn_submod 
+0x72a4 038326 arg mem_t3 ,rega 
+0x72a5 038327 arg mem_t2 ,regb 
+0x72a6 038328 arg mem_t2 ,contw 
+0x72a7 038329 call bn_mulmod 
+0x72a8 038330 arg mem_t2 ,rega 
+0x72a9 038331 arg mem_t1 ,regb 
+0x72aa 038332 arg mem_cy ,contw 
+0x72ab 038333 call bn_submod 
+0x72ac 038334 arg mem_cy ,rega 
+0x72ad 038335 arg mem_p ,regb 
+0x72ae 038336 arg mem_cy ,contw 
+0x72af 038337 force 0 ,regc 
+0x72b0 038338 fetch 1 ,mem_cy 
+0x72b1 038339 isolate1 0 ,pdata 
+0x72b2 038340 call bn_add ,true 
+0x72b3 038341 copy regc ,alarm 
+0x72b4 038342 arg mem_cy ,rega 
+0x72b5 038343 call bn_rshift6 
+0x72b6 038344 fetch 1 ,mem_cy5 
+0x72b7 038345 isolate1 0 ,alarm 
+0x72b8 038346 setflag true ,7 ,pdata 
+0x72b9 038347 store 1 ,mem_cy5 
+0x72ba 038348 rtn 
+:      038352 eckp_0:
+0x72bb 038353 fetch 1 ,mem_ec_loopc 
+0x72bc 038354 increase -1 ,pdata 
+0x72bd 038355 nrtn positive 
+0x72be 038356 store 1 ,mem_ec_loopc 
+0x72bf 038357 fetch 1 ,mem_ec_infinite 
+0x72c0 038358 call ecdbl ,blank 
+0x72c1 038359 fetch 1 ,mem_ec_loopc 
+0x72c2 038360 arg mem_k ,contr 
+0x72c3 038361 call bn_testbit 
+0x72c4 038362 branch eckp_0 ,true 
+0x72c5 038363 fetch 1 ,mem_ec_infinite 
+0x72c6 038364 nbranch eckp_1 ,blank 
+0x72c7 038365 call ecadd 
+0x72c8 038366 branch eckp_0 
+:      038367 eckp_1:
+0x72c9 038368 jam 0 ,mem_ec_infinite 
+0x72ca 038369 arg mem_ax ,contr 
+0x72cb 038370 arg mem_cx ,contw 
+0x72cc 038371 call ec_copy 
+0x72cd 038372 branch eckp_0 
+:      038375 ecunmapz:
+0x72ce 038376 arg mem_cz ,rega 
+0x72cf 038377 arg mem_t3 ,contw 
+0x72d0 038378 call bn_invmod 
+0x72d1 038379 arg mem_t3 ,rega 
+0x72d2 038380 arg mem_t1 ,contw 
+0x72d3 038381 call bn_sqrmod 
+0x72d4 038382 arg mem_cx ,rega 
+0x72d5 038383 arg mem_t1 ,regb 
+0x72d6 038384 arg mem_bx ,contw 
+0x72d7 038385 call bn_mulmod 
+0x72d8 038386 arg mem_t3 ,rega 
+0x72d9 038387 arg mem_t1 ,regb 
+0x72da 038388 arg mem_t2 ,contw 
+0x72db 038389 call bn_mulmod 
+0x72dc 038390 arg mem_cy ,rega 
+0x72dd 038391 arg mem_t2 ,regb 
+0x72de 038392 arg mem_by ,contw 
+0x72df 038393 branch bn_mulmod 
+:      038397 sha_endian_swap2:
+0x72e0 038398 ifetch 4 ,contr 
+0x72e1 038399 force 4 ,rega 
+0x72e2 038400 increase 3 ,contw 
+:      038401 sha_endian_loop:
+0x72e3 038402 istore 1 ,contw 
+0x72e4 038403 rshift8 pdata ,pdata 
+0x72e5 038404 increase -2 ,contw 
+0x72e6 038405 increase -1 ,rega 
+0x72e7 038406 nbranch sha_endian_loop ,zero 
+0x72e8 038407 increase 5 ,contw 
+0x72e9 038408 loop sha_endian_swap2 
+0x72ea 038409 rtn 
+:      038412 sha_getw:
+0x72eb 038413 lshift2 queue ,pdata 
+0x72ec 038414 iadd timeup ,contr 
+0x72ed 038415 ifetch 4 ,contr 
+0x72ee 038416 rtn 
+:      038418 sha_r:
+0x72ef 038419 force 16 ,alarm 
+0x72f0 038420 arg memdat ,timeup 
+:      038421 sha_r_loop:
+0x72f1 038422 add alarm ,-7 ,queue 
+0x72f2 038423 call sha_getw 
+0x72f3 038424 iforce temp 
+0x72f4 038425 add alarm ,-16 ,queue 
+0x72f5 038426 call sha_getw 
+0x72f6 038427 iadd temp ,temp 
+0x72f7 038428 add alarm ,-2 ,queue 
+0x72f8 038429 call sha_getw 
+0x72f9 038430 shasx pdata ,1 ,pdata 
+0x72fa 038431 iadd temp ,temp 
+0x72fb 038432 add alarm ,-15 ,queue 
+0x72fc 038433 call sha_getw 
+0x72fd 038434 shasx pdata ,0 ,pdata 
+0x72fe 038435 iadd temp ,temp 
+0x72ff 038436 lshift2 alarm ,pdata 
+0x7300 038437 iadd timeup ,contw 
+0x7301 038438 istoret 4 ,contw 
+0x7302 038439 increase 1 ,alarm 
+0x7303 038440 compare 64 ,alarm ,0xff 
+0x7304 038441 nbranch sha_r_loop ,true 
+0x7305 038442 rtn 
+:      038445 sha_init:
+0x7306 038446 arg memh0 ,contr 
+0x7307 038447 force 7 ,regext_index 
+:      038448 sha_init_0:
+0x7308 038449 ifetch 4 ,contr 
+0x7309 038450 iforce regext 
+0x730a 038451 increase -1 ,regext_index 
+0x730b 038452 branch sha_init_0 ,positive 
+0x730c 038453 rtn 
+:      038455 sha:
+0x730d 038456 bpatchx patch2f_5 ,mem_patch2f 
+0x730e 038457 call sha_r 
+0x730f 038458 arg memahbak ,contw 
+0x7310 038459 force 0 ,regext_index 
+:      038460 sha_0:
+0x7311 038461 deposit regext 
+0x7312 038462 istore 4 ,contw 
+0x7313 038463 increase 1 ,regext_index 
+0x7314 038464 compare 8 ,regext_index ,0xff 
+0x7315 038465 nbranch sha_0 ,true 
+0x7316 038466 call enable_authrom 
+0x7317 038467 arg memk ,timeup 
+0x7318 038468 arg memdat ,alarm 
+0x7319 038469 force 64 ,loopcnt 
+:      038470 sha_loop:
+0x731a 038471 ifetcht 4 ,alarm 
+0x731b 038472 ifetch 4 ,timeup 
+0x731c 038473 increase 4 ,timeup 
+0x731d 038474 increase 4 ,alarm 
+0x731e 038475 iadd temp ,pdata 
+0x731f 038476 force 7 ,regext_index 
+0x7320 038477 iadd regext ,temp 
+0x7321 038478 force 4 ,regext_index 
+0x7322 038479 shasx regext ,3 ,pdata 
+0x7323 038480 iadd temp ,temp 
+0x7324 038481 force 5 ,regext_index 
+0x7325 038482 deposit regext 
+0x7326 038483 force 6 ,regext_index 
+0x7327 038484 ixor regext ,pdata 
+0x7328 038485 force 4 ,regext_index 
+0x7329 038486 iand regext ,pdata 
+0x732a 038487 force 6 ,regext_index 
+0x732b 038488 ixor regext ,pdata 
+0x732c 038489 iadd temp ,temp 
+0x732d 038490 force 7 ,regext_index 
+0x732e 038491 copy temp ,regext 
+0x732f 038492 force 3 ,regext_index 
+0x7330 038493 deposit regext 
+0x7331 038494 iadd temp ,regext 
+0x7332 038495 force 0 ,regext_index 
+0x7333 038496 deposit regext 
+0x7334 038497 force 1 ,regext_index 
+0x7335 038498 iand regext ,temp 
+0x7336 038499 ior regext ,pdata 
+0x7337 038500 force 2 ,regext_index 
+0x7338 038501 iand regext ,pdata 
+0x7339 038502 ior temp ,temp 
+0x733a 038503 force 0 ,regext_index 
+0x733b 038504 shasx regext ,2 ,pdata 
+0x733c 038505 iadd temp ,pdata 
+0x733d 038506 force 7 ,regext_index 
+0x733e 038507 iadd regext ,regext 
+0x733f 038508 regexrot 
+0x7340 038509 loop sha_loop 
+0x7341 038510 arg memahbak ,contr 
+0x7342 038511 force 0 ,regext_index 
+:      038512 sha_1:
+0x7343 038513 ifetch 4 ,contr 
+0x7344 038514 iadd regext ,regext 
+0x7345 038515 increase 1 ,regext_index 
+0x7346 038516 compare 8 ,regext_index ,0xff 
+0x7347 038517 nbranch sha_1 ,true 
+0x7348 038518 branch disable_authrom 
+:      038521 sha_result:
+0x7349 038522 arg memresult ,contw 
+0x734a 038523 force 7 ,regext_index 
+:      038524 sha_regext_save:
+0x734b 038525 deposit regext 
+0x734c 038526 istore 4 ,contw 
+0x734d 038527 increase -1 ,regext_index 
+0x734e 038528 branch sha_regext_save ,positive 
+0x734f 038529 rtn 
+:      038531 pad_xor:
+0x7350 038533 arg memdat ,contw 
+0x7351 038534 increase -4 ,contr 
+0x7352 038535 sub loopcnt ,16 ,rega 
+:      038536 pad_xor_0:
+0x7353 038537 ifetch 4 ,contr 
+0x7354 038538 ixor temp ,pdata 
+0x7355 038539 istore 4 ,contw 
+0x7356 038540 increase -8 ,contr 
+0x7357 038541 loop pad_xor_0 
+0x7358 038542 copy rega ,loopcnt 
+0x7359 038543 deposit temp 
+:      038544 pad_xor_1:
+0x735a 038545 istore 4 ,contw 
+0x735b 038546 loop pad_xor_1 
+0x735c 038547 rtn 
+:      038549 g_noninit_number_confirm:
+0x735d 038550 fetch 1 ,mem_encapsulated_minor_type 
+0x735e 038551 beq encapsulated_minor_type_p256 ,g_noninit_number_confirm_256 
+0x735f 038552 beq encapsulated_minor_type_p192 ,g_noninit_number_confirm_192 
+0x7360 038553 rtn 
+:      038555 g_noninit_number_confirm_192:
+0x7361 038556 call g_noninit0_192 
+0x7362 038557 call sha_result 
+0x7363 038558 branch g_common0 
+:      038560 g_noninit_number_confirm_256:
+0x7364 038561 call g_noninit0_256 
+0x7365 038562 call sha_result 
+0x7366 038563 branch g_common0 
+:      038565 g_noninit_192:
+0x7367 038566 call g_noninit0_192 
+0x7368 038567 branch g_common0 
+:      038569 g_noninit0_192:
+0x7369 038570 arg mem_sp_pubkey_remote_x_end ,contr 
+0x736a 038571 arg memdat ,contw 
+0x736b 038572 force 6 ,loopcnt 
+0x736c 038573 call memcpy_dword_swap 
+0x736d 038574 arg mem_sp_pubkey_local_x_end ,contr 
+0x736e 038575 force 6 ,loopcnt 
+0x736f 038576 call memcpy_dword_swap 
+0x7370 038577 arg mem_sp_random_remote_end ,contr 
+0x7371 038578 call memcpy_dword_swap4 
+0x7372 038579 call sha_init 
+0x7373 038580 call sha 
+0x7374 038581 arg mem_sp_random_local_end ,contr 
+0x7375 038582 arg memdat ,contw 
+0x7376 038583 branch g_common_192 
+:      038585 g_init_192:
+0x7377 038586 arg mem_sp_pubkey_local_x_end ,contr 
+0x7378 038587 arg memdat ,contw 
+0x7379 038588 force 6 ,loopcnt 
+0x737a 038589 call memcpy_dword_swap 
+0x737b 038590 arg mem_sp_pubkey_remote_x_end ,contr 
+0x737c 038591 force 6 ,loopcnt 
+0x737d 038592 call memcpy_dword_swap 
+0x737e 038593 arg mem_sp_random_local_end ,contr 
+0x737f 038594 call memcpy_dword_swap4 
+0x7380 038595 call sha_init 
+0x7381 038596 call sha 
+0x7382 038597 arg mem_sp_random_remote_end ,contr 
+0x7383 038598 arg memdat ,contw 
+0x7384 038599 call g_common_192 
+0x7385 038600 branch g_common0 
+:      038602 g_common_192:
+0x7386 038603 call memcpy_dword_swap4 
+0x7387 038604 setarg 0x800000 
+0x7388 038605 lshift8 pdata ,pdata 
+0x7389 038606 istore 4 ,contw 
+0x738a 038607 force 5 ,loopcnt 
+0x738b 038608 call memset0 
+0x738c 038609 setarg 640 
+0x738d 038610 istore 4 ,contw 
+0x738e 038611 branch sha 
+:      038612 g_common0:
+0x738f 038613 fetch 4 ,memresult 
+0x7390 038615 arg 1000 ,rega 
+0x7391 038616 idiv rega 
+0x7392 038617 call wait_div_end 
+0x7393 038618 remainder pdata 
+0x7394 038619 store 4 ,mem_gkey 
+0x7395 038620 quotient pdata 
+0x7396 038621 arg 1000 ,rega 
+0x7397 038622 idiv rega 
+0x7398 038623 call wait_div_end 
+0x7399 038624 remainder pdata 
+0x739a 038625 arg 1000 ,rega 
+0x739b 038626 imul32 rega ,pdata 
+0x739c 038627 fetcht 4 ,mem_gkey 
+0x739d 038628 iadd temp ,pdata 
+0x739e 038629 store 4 ,mem_gkey 
+0x739f 038630 rtn 
+:      038632 noninit_number_confirm:
+0x73a0 038633 call g_noninit0_256 
+0x73a1 038634 call sha_result 
+0x73a2 038635 branch g_common0 
+:      038638 g_noninit0_256:
+0x73a3 038639 arg mem_le_pubkey_remote_x_256 + 32 ,contr 
+0x73a4 038640 arg memdat ,contw 
+0x73a5 038641 force 8 ,loopcnt 
+0x73a6 038642 call memcpy_dword_swap 
+0x73a7 038643 arg mem_sc_pubkey_local_x_256 + 32 ,contr 
+0x73a8 038644 force 8 ,loopcnt 
+0x73a9 038645 call memcpy_dword_swap 
+0x73aa 038648 call sha_init 
+0x73ab 038649 call sha 
+0x73ac 038650 arg mem_sp_random_remote_end ,contr 
+0x73ad 038651 arg memdat ,contw 
+0x73ae 038652 call memcpy_dword_swap4 
+0x73af 038653 arg mem_sp_random_local_end ,contr 
+0x73b0 038654 branch g_common_256 
+:      038656 g_common_256:
+0x73b1 038657 call memcpy_dword_swap4 
+0x73b2 038658 setarg 0x800000 
+0x73b3 038659 lshift8 pdata ,pdata 
+0x73b4 038660 istore 4 ,contw 
+0x73b5 038661 force 3 ,loopcnt 
+0x73b6 038662 call memset0 
+0x73b7 038663 setarg 768 
+0x73b8 038664 istore 4 ,contw 
+0x73b9 038665 branch sha 
+:      038667 function_f1_192_no_key:
+0x73ba 038668 jam 0 ,mem_passkey_1bit 
+0x73bb 038669 branch function_f1_192_common 
+:      038671 function_f1_192:
+0x73bc 038672 fetch 1 ,mem_ssp_mode_flag 
+0x73bd 038673 bne ssp_mode_passkey_entry_flag ,function_f1_192_no_key 
+:      038674 function_f1_192_common:
+0x73be 038675 bpatchx patch2f_6 ,mem_patch2f 
+0x73bf 038676 setarg 0x363636 
+0x73c0 038677 lshift8 pdata ,temp 
+0x73c1 038678 or_into 0x36 ,temp 
+0x73c2 038679 fetch 2 ,mem_sp_prarm_stack 
+0x73c3 038680 copy pdata ,contr 
+0x73c4 038681 force 4 ,loopcnt 
+0x73c5 038682 call pad_xor 
+0x73c6 038683 call sha_init 
+0x73c7 038684 call sha 
+0x73c8 038685 fetch 2 ,mem_sp_prarm_stack + 2 
+0x73c9 038686 copy pdata ,contr 
+0x73ca 038687 arg memdat ,contw 
+0x73cb 038688 force 6 ,loopcnt 
+0x73cc 038689 call memcpy_dword_swap 
+0x73cd 038690 fetch 2 ,mem_sp_prarm_stack + 4 
+0x73ce 038691 copy pdata ,contr 
+0x73cf 038692 force 6 ,loopcnt 
+0x73d0 038693 call memcpy_dword_swap 
+0x73d1 038694 setarg 0x800000 
+0x73d2 038695 istore 3 ,contw 
+0x73d3 038697 fetch 1 ,mem_passkey_1bit 
+0x73d4 038699 istore 1 ,contw 
+0x73d5 038700 force 0 ,pdata 
+0x73d6 038701 istore 8 ,contw 
+0x73d7 038702 setarg 0x0388 
+0x73d8 038703 istore 4 ,contw 
+:      038704 function_f1_common2:
+0x73d9 038705 call sha 
+0x73da 038706 call sha_result 
+0x73db 038707 arg memresult ,contr 
+0x73dc 038708 arg memahsave ,contw 
+0x73dd 038709 call memcpy32 
+0x73de 038711 setarg 0x5c5c5c 
+0x73df 038712 lshift8 pdata ,temp 
+0x73e0 038713 or_into 0x5c ,temp 
+0x73e1 038714 fetch 2 ,mem_sp_prarm_stack 
+0x73e2 038715 copy pdata ,contr 
+0x73e3 038716 force 4 ,loopcnt 
+0x73e4 038717 call pad_xor 
+0x73e5 038718 call sha_init 
+0x73e6 038719 call sha 
+0x73e7 038720 arg memahsave_end ,contr 
+0x73e8 038721 arg memdat ,contw 
+0x73e9 038722 force 8 ,loopcnt 
+0x73ea 038723 call memcpy_dword_swap 
+0x73eb 038724 setarg 0x800000 
+0x73ec 038725 lshift8 pdata ,pdata 
+0x73ed 038726 istore 4 ,contw 
+0x73ee 038727 call bn_zero 
+0x73ef 038728 setarg 0x0300 
+0x73f0 038729 istore 4 ,contw 
+0x73f1 038730 call sha 
+0x73f2 038731 branch sha_result 
+:      038734 function_f2_192:
+0x73f3 038735 setarg 0x363636 
+0x73f4 038736 lshift8 pdata ,temp 
+0x73f5 038737 or_into 0x36 ,temp 
+0x73f6 038738 arg mem_sp_dhkey_end ,contr 
+0x73f7 038739 force 6 ,loopcnt 
+0x73f8 038740 call pad_xor 
+0x73f9 038741 call sha_init 
+0x73fa 038742 call sha 
+0x73fb 038743 fetch 2 ,mem_sp_prarm_stack + 12 
+0x73fc 038744 copy pdata ,contr 
+0x73fd 038745 arg memdat ,contw 
+0x73fe 038746 call memcpy_dword_swap4 
+0x73ff 038747 fetch 2 ,mem_sp_prarm_stack + 14 
+0x7400 038748 copy pdata ,contr 
+0x7401 038749 call memcpy_dword_swap4 
+0x7402 038751 setarg 0x62746c 
+0x7403 038752 lshift8 pdata ,pdata 
+0x7404 038753 or_into 0x6b ,pdata 
+0x7405 038754 istore 4 ,contw 
+0x7406 038755 arg mem_addr_value_end ,contr 
+0x7407 038756 force 3 ,loopcnt 
+0x7408 038757 call memcpy_dword_swap 
+0x7409 038759 setarg 0x800000 
+0x740a 038760 lshift8 pdata ,pdata 
+0x740b 038761 istore 4 ,contw 
+0x740c 038762 force 0 ,pdata 
+0x740d 038763 istore 8 ,contw 
+0x740e 038764 setarg 0x0380 
+0x740f 038765 istore 4 ,contw 
+0x7410 038766 call sha 
+0x7411 038768 call sha_result 
+0x7412 038769 arg memresult ,contr 
+0x7413 038770 arg memahsave ,contw 
+0x7414 038771 call memcpy32 
+0x7415 038773 setarg 0x5c5c5c 
+0x7416 038774 lshift8 pdata ,temp 
+0x7417 038775 or_into 0x5c ,temp 
+0x7418 038776 arg mem_sp_dhkey_end ,contr 
+0x7419 038777 force 6 ,loopcnt 
+0x741a 038778 call pad_xor 
+0x741b 038779 call sha_init 
+0x741c 038780 call sha 
+0x741d 038781 arg memahsave_end ,contr 
+0x741e 038782 arg memdat ,contw 
+0x741f 038783 force 8 ,loopcnt 
+0x7420 038784 call memcpy_dword_swap 
+0x7421 038785 setarg 0x800000 
+0x7422 038786 lshift8 pdata ,pdata 
+0x7423 038787 istore 4 ,contw 
+0x7424 038788 call bn_zero 
+0x7425 038789 setarg 0x0300 
+0x7426 038790 istore 4 ,contw 
+0x7427 038791 call sha 
+0x7428 038792 branch sha_result 
+:      038795 function_f3a_192:
+0x7429 038796 fetch 1 ,mem_ssp_mode_flag 
+0x742a 038797 bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin 
+:      038798 function_f3a_common:
+0x742b 038799 bpatchx patch2f_7 ,mem_patch2f 
+0x742c 038800 setarg 0x363636 
+0x742d 038801 lshift8 pdata ,temp 
+0x742e 038802 or_into 0x36 ,temp 
+0x742f 038803 arg mem_sp_dhkey_end ,contr 
+0x7430 038804 force 6 ,loopcnt 
+0x7431 038805 call pad_xor 
+0x7432 038806 call sha_init 
+0x7433 038807 call sha 
+0x7434 038808 arg mem_sp_random_remote_end ,contr 
+0x7435 038809 arg memdat ,contw 
+0x7436 038810 call memcpy_dword_swap4 
+0x7437 038811 arg mem_sp_random_local_end ,contr 
+0x7438 038812 call memcpy_dword_swap4 
+0x7439 038813 branch function_f3_common 
+:      038815 function_f3a_no_pin:
+0x743a 038816 setarg 0 
+0x743b 038817 store 4 ,mem_pin 
+0x743c 038818 branch function_f3a_common 
+:      038820 function_f3b_no_pin:
+0x743d 038821 setarg 0 
+0x743e 038822 store 4 ,mem_pin 
+0x743f 038823 branch function_f3b_common 
+:      038826 function_f3b_192:
+0x7440 038827 fetch 1 ,mem_ssp_mode_flag 
+0x7441 038828 bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin 
+:      038829 function_f3b_common:
+0x7442 038830 setarg 0x363636 
+0x7443 038831 lshift8 pdata ,temp 
+0x7444 038832 or_into 0x36 ,temp 
+0x7445 038833 arg mem_sp_dhkey_end ,contr 
+0x7446 038834 force 6 ,loopcnt 
+0x7447 038835 call pad_xor 
+0x7448 038836 call sha_init 
+0x7449 038837 call sha 
+0x744a 038839 arg mem_sp_random_local_end ,contr 
+0x744b 038840 arg memdat ,contw 
+0x744c 038841 call memcpy_dword_swap4 
+0x744d 038842 arg mem_sp_random_remote_end ,contr 
+0x744e 038843 call memcpy_dword_swap4 
+:      038844 function_f3_common:
+0x744f 038845 setarg 0x0 
+0x7450 038846 istore 8 ,contw 
+0x7451 038847 istore 4 ,contw 
+0x7452 038848 fetch 4 ,mem_pin 
+0x7453 038849 istore 4 ,contw 
+0x7454 038851 copy contw ,temp 
+0x7455 038852 jam 0x80 ,mem_addr_padding 
+0x7456 038853 copy temp ,contw 
+0x7457 038854 arg mem_addr_iocap_end ,contr 
+0x7458 038855 call memcpy_dword_swap4 
+0x7459 038857 call sha 
+0x745a 038859 arg memdat ,contw 
+0x745b 038860 force 7 ,loopcnt 
+0x745c 038861 call memset0 
+0x745d 038862 istore 4 ,contw 
+0x745e 038863 setarg 0x03F8 
+0x745f 038864 istore 4 ,contw 
+0x7460 038865 call sha 
+0x7461 038866 call sha_result 
+0x7462 038868 arg memresult ,contr 
+0x7463 038869 arg memahsave ,contw 
+0x7464 038870 call memcpy32 
+0x7465 038872 setarg 0x5c5c5c 
+0x7466 038873 lshift8 pdata ,temp 
+0x7467 038874 or_into 0x5c ,temp 
+0x7468 038875 arg mem_sp_dhkey_end ,contr 
+0x7469 038876 force 6 ,loopcnt 
+0x746a 038877 call pad_xor 
+0x746b 038878 call sha_init 
+0x746c 038879 call sha 
+0x746d 038880 arg memahsave_end ,contr 
+0x746e 038881 arg memdat ,contw 
+0x746f 038882 force 8 ,loopcnt 
+0x7470 038883 call memcpy_dword_swap 
+0x7471 038884 setarg 0x800000 
+0x7472 038885 lshift8 pdata ,pdata 
+0x7473 038886 istore 4 ,contw 
+0x7474 038887 call bn_zero 
+0x7475 038888 setarg 0x0300 
+0x7476 038889 istore 4 ,contw 
+0x7477 038890 call sha 
+0x7478 038891 branch sha_result 
+:      038893 eckp_calc_init:
+0x7479 038894 jam 192 ,mem_ec_loopc 
+:      038895 eckp_calc_init_1:
+0x747a 038896 fetch 1 ,mem_ec_loopc 
+0x747b 038897 rtn blank 
+0x747c 038898 increase -1 ,pdata 
+0x747d 038899 store 1 ,mem_ec_loopc 
+0x747e 038900 arg mem_k ,contr 
+0x747f 038901 call bn_testbit 
+0x7480 038902 branch eckp_calc_init_1 ,true 
+0x7481 038903 arg mem_ax ,contr 
+0x7482 038904 arg mem_cx ,contw 
+0x7483 038905 branch ec_copy 
+:      038907 eckp_calc:
+0x7484 038908 call ecdbl 
+0x7485 038909 fetch 1 ,mem_ec_loopc 
+0x7486 038910 increase -1 ,pdata 
+0x7487 038911 store 1 ,mem_ec_loopc 
+0x7488 038912 arg mem_k ,contr 
+0x7489 038913 call bn_testbit 
+0x748a 038914 rtn true 
+0x748b 038915 branch ecadd 
+:      038917 memcpy_dword_swap4:
+0x748c 038918 force 4 ,loopcnt 
+:      038919 memcpy_dword_swap:
+0x748d 038920 increase -4 ,contr 
+:      038921 memcpy_dword_swap_loop:
+0x748e 038922 ifetch 4 ,contr 
+0x748f 038923 istore 4 ,contw 
+0x7490 038924 increase -8 ,contr 
+0x7491 038925 loop memcpy_dword_swap_loop 
+0x7492 038926 rtn 
+:      038929 function_f1_no_key_256:
+0x7493 038930 jam 0 ,mem_passkey_1bit 
+0x7494 038931 branch function_f1_common_256 
+:      038933 function_f1_256:
+0x7495 038934 fetch 1 ,mem_ssp_mode_flag 
+0x7496 038935 bne ssp_mode_passkey_entry_flag ,function_f1_no_key_256 
+:      038936 function_f1_common_256:
+0x7497 038937 setarg 0x363636 
+0x7498 038938 lshift8 pdata ,temp 
+0x7499 038939 or_into 0x36 ,temp 
+0x749a 038940 fetch 2 ,mem_sp_prarm_stack 
+0x749b 038941 copy pdata ,contr 
+0x749c 038942 force 4 ,loopcnt 
+0x749d 038943 call pad_xor 
+0x749e 038944 call sha_init 
+0x749f 038945 call sha 
+0x74a0 038946 fetch 2 ,mem_sp_prarm_stack + 2 
+0x74a1 038947 copy pdata ,contr 
+0x74a2 038948 arg memdat ,contw 
+0x74a3 038949 force 8 ,loopcnt 
+0x74a4 038950 call memcpy_dword_swap 
+0x74a5 038951 fetch 2 ,mem_sp_prarm_stack + 4 
+0x74a6 038952 copy pdata ,contr 
+0x74a7 038953 force 8 ,loopcnt 
+0x74a8 038954 call memcpy_dword_swap 
+0x74a9 038955 call sha 
+0x74aa 038956 arg memdat ,contw 
+0x74ab 038957 setarg 0x800000 
+0x74ac 038958 istore 3 ,contw 
+0x74ad 038959 fetch 1 ,mem_passkey_1bit 
+0x74ae 038960 istore 1 ,contw 
+0x74af 038961 arg 7 ,loopcnt 
+0x74b0 038962 call memset0 
+0x74b1 038964 setarg 0x0408 
+0x74b2 038965 istore 4 ,contw 
+0x74b3 038966 branch function_f1_common2 
+:      038968 function_f3a:
+0x74b4 038969 fetch 1 ,mem_encapsulated_minor_type 
+0x74b5 038970 beq encapsulated_minor_type_p256 ,function_f3a_256 
+0x74b6 038971 beq encapsulated_minor_type_p192 ,function_f3a_192 
+0x74b7 038972 rtn 
+:      038974 function_f3a_256:
+0x74b8 038975 fetch 1 ,mem_ssp_mode_flag 
+0x74b9 038976 bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin_256 
+:      038977 function_f3a_common_256:
+0x74ba 038978 setarg 0x363636 
+0x74bb 038979 lshift8 pdata ,temp 
+0x74bc 038980 or_into 0x36 ,temp 
+0x74bd 038981 arg mem_sp_dhkey_end ,contr 
+0x74be 038982 force 8 ,loopcnt 
+0x74bf 038983 call pad_xor 
+0x74c0 038984 call sha_init 
+0x74c1 038985 call sha 
+0x74c2 038986 arg mem_sp_random_remote_end ,contr 
+0x74c3 038987 arg memdat ,contw 
+0x74c4 038988 call memcpy_dword_swap4 
+0x74c5 038989 arg mem_sp_random_local_end ,contr 
+0x74c6 038990 call memcpy_dword_swap4 
+:      038992 function_f3_common_256:
+0x74c7 038993 setarg 0x0 
+0x74c8 038994 istore 8 ,contw 
+0x74c9 038995 istore 4 ,contw 
+0x74ca 038996 fetch 4 ,mem_pin 
+0x74cb 038997 istore 4 ,contw 
+0x74cc 038999 copy contw ,temp 
+0x74cd 039000 jam 0x80 ,mem_addr_padding 
+0x74ce 039001 copy temp ,contw 
+0x74cf 039002 arg mem_addr_iocap_end ,contr 
+0x74d0 039003 call memcpy_dword_swap4 
+0x74d1 039005 call sha 
+0x74d2 039007 arg memdat ,contw 
+0x74d3 039008 force 7 ,loopcnt 
+0x74d4 039009 call memset0 
+0x74d5 039010 istore 4 ,contw 
+0x74d6 039011 setarg 0x03F8 
+0x74d7 039012 istore 4 ,contw 
+0x74d8 039013 call sha 
+0x74d9 039014 call sha_result 
+0x74da 039016 arg memresult ,contr 
+0x74db 039017 arg memahsave ,contw 
+0x74dc 039018 call memcpy32 
+0x74dd 039020 setarg 0x5c5c5c 
+0x74de 039021 lshift8 pdata ,temp 
+0x74df 039022 or_into 0x5c ,temp 
+0x74e0 039023 arg mem_sp_dhkey_end ,contr 
+0x74e1 039024 force 8 ,loopcnt 
+:      039025 sha_end_common:
+0x74e2 039026 call pad_xor 
+0x74e3 039027 call sha_init 
+0x74e4 039028 call sha 
+0x74e5 039029 arg memahsave_end ,contr 
+0x74e6 039030 arg memdat ,contw 
+0x74e7 039031 force 8 ,loopcnt 
+0x74e8 039032 call memcpy_dword_swap 
+0x74e9 039033 setarg 0x800000 
+0x74ea 039034 lshift8 pdata ,pdata 
+0x74eb 039035 istore 4 ,contw 
+0x74ec 039036 call bn_zero 
+0x74ed 039037 setarg 0x0300 
+0x74ee 039038 istore 4 ,contw 
+0x74ef 039039 call sha 
+0x74f0 039040 branch sha_result 
+:      039043 function_f3a_no_pin_256:
+0x74f1 039044 setarg 0 
+0x74f2 039045 store 4 ,mem_pin 
+0x74f3 039046 branch function_f3a_common_256 
+:      039048 function_f3b_no_pin_256:
+0x74f4 039049 setarg 0 
+0x74f5 039050 store 4 ,mem_pin 
+0x74f6 039051 branch function_f3b_common_256 
+:      039053 function_f3b:
+0x74f7 039054 fetch 1 ,mem_encapsulated_minor_type 
+0x74f8 039055 beq encapsulated_minor_type_p256 ,function_f3b_256 
+0x74f9 039056 beq encapsulated_minor_type_p192 ,function_f3b_192 
+0x74fa 039057 rtn 
+:      039059 function_f3b_256:
+0x74fb 039060 fetch 1 ,mem_ssp_mode_flag 
+0x74fc 039061 bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin_256 
+:      039062 function_f3b_common_256:
+0x74fd 039063 setarg 0x363636 
+0x74fe 039064 lshift8 pdata ,temp 
+0x74ff 039065 or_into 0x36 ,temp 
+0x7500 039066 arg mem_sp_dhkey_end ,contr 
+0x7501 039067 force 8 ,loopcnt 
+0x7502 039068 call pad_xor 
+0x7503 039069 call sha_init 
+0x7504 039070 call sha 
+0x7505 039072 arg mem_sp_random_local_end ,contr 
+0x7506 039073 arg memdat ,contw 
+0x7507 039074 call memcpy_dword_swap4 
+0x7508 039075 arg mem_sp_random_remote_end ,contr 
+0x7509 039076 call memcpy_dword_swap4 
+0x750a 039077 branch function_f3_common_256 
+:      039080 function_f2:
+0x750b 039081 fetch 1 ,mem_encapsulated_minor_type 
+0x750c 039082 beq encapsulated_minor_type_p256 ,function_f2_256 
+0x750d 039083 beq encapsulated_minor_type_p192 ,function_f2_192 
+0x750e 039084 rtn 
+:      039086 function_f2_256:
+0x750f 039087 setarg 0x363636 
+0x7510 039088 lshift8 pdata ,temp 
+0x7511 039089 or_into 0x36 ,temp 
+0x7512 039090 arg mem_sp_dhkey_end ,contr 
+0x7513 039091 force 8 ,loopcnt 
+0x7514 039092 call pad_xor 
+0x7515 039093 call sha_init 
+0x7516 039094 call sha 
+0x7517 039095 fetch 2 ,mem_sp_prarm_stack + 12 
+0x7518 039096 copy pdata ,contr 
+0x7519 039097 arg memdat ,contw 
+0x751a 039098 call memcpy_dword_swap4 
+0x751b 039099 fetch 2 ,mem_sp_prarm_stack + 14 
+0x751c 039100 copy pdata ,contr 
+0x751d 039101 call memcpy_dword_swap4 
+0x751e 039103 setarg 0x62746c 
+0x751f 039104 lshift8 pdata ,pdata 
+0x7520 039105 or_into 0x6b ,pdata 
+0x7521 039106 istore 4 ,contw 
+0x7522 039107 arg mem_addr_value_end ,contr 
+0x7523 039108 force 3 ,loopcnt 
+0x7524 039109 call memcpy_dword_swap 
+0x7525 039111 setarg 0x800000 
+0x7526 039112 lshift8 pdata ,pdata 
+0x7527 039113 istore 4 ,contw 
+0x7528 039114 force 0 ,pdata 
+0x7529 039115 istore 8 ,contw 
+0x752a 039116 setarg 0x0380 
+0x752b 039117 istore 4 ,contw 
+0x752c 039118 call sha 
+0x752d 039120 call sha_result 
+0x752e 039121 arg memresult ,contr 
+0x752f 039122 arg memahsave ,contw 
+0x7530 039123 call memcpy32 
+0x7531 039125 setarg 0x5c5c5c 
+0x7532 039126 lshift8 pdata ,temp 
+0x7533 039127 or_into 0x5c ,temp 
+0x7534 039128 arg mem_sp_dhkey_end ,contr 
+0x7535 039129 force 8 ,loopcnt 
+0x7536 039130 branch sha_end_common 
+:      039133 function_h3:
+0x7537 039134 fetch 6 ,mem_lap 
+0x7538 039135 store 6 ,mem_addr_value 
+0x7539 039136 fetch 6 ,mem_plap 
+0x753a 039137 istore 6 ,contw 
+0x753b 039139 setarg 0x363636 
+0x753c 039140 lshift8 pdata ,temp 
+0x753d 039141 or_into 0x36 ,temp 
+0x753e 039142 arg mem_link_key + 16 ,contr 
+0x753f 039143 force 4 ,loopcnt 
+0x7540 039144 call pad_xor 
+0x7541 039145 call sha_init 
+0x7542 039146 call sha 
+0x7543 039147 setarg 0x627461 
+0x7544 039148 lshift8 pdata ,pdata 
+0x7545 039149 or_into 0x6b ,pdata 
+0x7546 039150 store 4 ,memdat 
+0x7547 039152 arg mem_addr_value + 12 ,contr 
+0x7548 039153 force 3 ,loopcnt 
+0x7549 039154 call memcpy_dword_swap 
+0x754a 039156 arg mem_ccm_iv + 8 ,contr 
+0x754b 039157 arg 2 ,loopcnt 
+0x754c 039158 call memcpy_dword_swap 
+0x754d 039160 setarg 0x800000 
+0x754e 039161 lshift8 pdata ,pdata 
+0x754f 039162 istore 4 ,contw 
+0x7550 039163 arg 4 ,loopcnt 
+0x7551 039164 call memset0 
+0x7552 039166 setarg 704 
+0x7553 039167 istore 4 ,contw 
+0x7554 039168 call sha 
+0x7555 039170 call sha_result 
+0x7556 039171 arg memresult ,contr 
+0x7557 039172 arg memahsave ,contw 
+0x7558 039173 call memcpy32 
+0x7559 039175 setarg 0x5c5c5c 
+0x755a 039176 lshift8 pdata ,temp 
+0x755b 039177 or_into 0x5c ,temp 
+0x755c 039178 arg mem_link_key + 16 ,contr 
+0x755d 039179 force 4 ,loopcnt 
+0x755e 039180 branch sha_end_common 
+:      039183 function_h4:
+0x755f 039184 fetch 6 ,mem_lap 
+0x7560 039185 store 6 ,mem_addr_value 
+0x7561 039186 fetch 6 ,mem_plap 
+0x7562 039187 istore 6 ,contw 
+0x7563 039189 setarg 0x363636 
+0x7564 039190 lshift8 pdata ,temp 
+0x7565 039191 or_into 0x36 ,temp 
+0x7566 039192 arg mem_link_key + 16 ,contr 
+0x7567 039193 force 4 ,loopcnt 
+0x7568 039194 call pad_xor 
+0x7569 039195 call sha_init 
+0x756a 039196 call sha 
+0x756b 039197 setarg 0x627464 
+0x756c 039198 lshift8 pdata ,pdata 
+0x756d 039199 or_into 0x6b ,pdata 
+0x756e 039200 store 4 ,memdat 
+0x756f 039202 arg mem_addr_value + 12 ,contr 
+0x7570 039203 force 3 ,loopcnt 
+0x7571 039204 call memcpy_dword_swap 
+0x7572 039206 setarg 0x800000 
+0x7573 039207 lshift8 pdata ,pdata 
+0x7574 039208 istore 4 ,contw 
+0x7575 039209 arg 5 ,loopcnt 
+0x7576 039210 call memset0 
+0x7577 039212 setarg 640 
+0x7578 039213 istore 4 ,contw 
+0x7579 039214 call sha 
+0x757a 039216 call sha_result 
+0x757b 039217 arg memresult ,contr 
+0x757c 039218 arg memahsave ,contw 
+0x757d 039219 call memcpy32 
+0x757e 039221 setarg 0x5c5c5c 
+0x757f 039222 lshift8 pdata ,temp 
+0x7580 039223 or_into 0x5c ,temp 
+0x7581 039224 arg mem_link_key + 16 ,contr 
+0x7582 039225 force 4 ,loopcnt 
+0x7583 039226 branch sha_end_common 
+:      039229 function_h5:
+0x7584 039230 arg mem_sp_calc_result_high ,contr 
+0x7585 039231 arg mem_input_store ,contw 
+0x7586 039232 call memcpy16 
+0x7587 039233 setarg mem_sp_random_remote + 16 
+0x7588 039234 store 2 ,mem_sp_prarm_stack 
+0x7589 039235 setarg mem_random_number + 16 
+0x758a 039236 istore 2 ,contw 
+0x758b 039238 setarg 0x363636 
+0x758c 039239 lshift8 pdata ,temp 
+0x758d 039240 or_into 0x36 ,temp 
+0x758e 039241 arg mem_input_store + 16 ,contr 
+0x758f 039242 force 4 ,loopcnt 
+0x7590 039243 call pad_xor 
+0x7591 039244 call sha_init 
+0x7592 039245 call sha 
+0x7593 039247 arg memdat ,contw 
+0x7594 039248 fetch 2 ,mem_sp_prarm_stack 
+0x7595 039249 copy pdata ,contr 
+0x7596 039250 call memcpy_dword_swap4 
+0x7597 039251 fetch 2 ,mem_sp_prarm_stack + 2 
+0x7598 039252 copy pdata ,contr 
+0x7599 039253 call memcpy_dword_swap4 
+0x759a 039255 setarg 0x800000 
+0x759b 039256 lshift8 pdata ,pdata 
+0x759c 039257 istore 4 ,contw 
+0x759d 039259 arg 3 ,loopcnt 
+0x759e 039260 call memset0 
+0x759f 039262 setarg 768 
+0x75a0 039263 istore 4 ,contw 
+0x75a1 039264 call sha 
+0x75a2 039266 call sha_result 
+0x75a3 039267 arg memresult ,contr 
+0x75a4 039268 arg memahsave ,contw 
+0x75a5 039269 call memcpy32 
+0x75a6 039271 setarg 0x5c5c5c 
+0x75a7 039272 lshift8 pdata ,temp 
+0x75a8 039273 or_into 0x5c ,temp 
+0x75a9 039274 arg mem_input_store + 16 ,contr 
+0x75aa 039275 force 4 ,loopcnt 
+0x75ab 039276 branch sha_end_common 
+:      039284 sp_initialize_256:
+0x75ac 039285 bpatchx patch30_0 ,mem_patch30 
+0x75ad 039286 fetch 1 ,mem_secure_connections_enable 
+0x75ae 039287 nbranch sp_pubkey_calc_256 ,blank 
+:      039289 sc_reset:
+0x75af 039290 jam sp_calc_standby ,mem_sc_calc 
+0x75b0 039291 jam sp_key_invalid ,mem_sc_local_key_invalid 
+0x75b1 039292 rtn 
+:      039296 sp_wait_pubkey_calc_256_done:
+0x75b2 039297 fetch 1 ,mem_secure_connections_enable 
+0x75b3 039298 rtn blank 
+0x75b4 039299 fetch 1 ,mem_sc_local_key_invalid 
+0x75b5 039300 rtneq sp_key_valid_256 
+0x75b6 039301 call sp_calc_sequence_256 
+0x75b7 039302 branch sp_wait_pubkey_calc_256_done 
+:      039306 sp_debug_private_256:
+0x75b8 039307 arg mem_sc_private_key_256 ,contw 
+0x75b9 039308 setsect 0 ,0x1abd 
+0x75ba 039309 setsect 1 ,0x1b34f 
+0x75bb 039310 setsect 2 ,0x19b8a 
+0x75bc 039311 setsect 3 ,0x26562 
+0x75bd 039312 istore 9 ,contw 
+0x75be 039313 setsect 0 ,0x340b7 
+0x75bf 039314 setsect 1 ,0x1efa 
+0x75c0 039315 setsect 2 ,0xaff6 
+0x75c1 039316 setsect 3 ,0xfd41 
+0x75c2 039317 istore 9 ,contw 
+0x75c3 039318 setsect 0 ,0x3d210 
+0x75c4 039319 setsect 1 ,0x26cf8 
+0x75c5 039320 setsect 2 ,0x3874c 
+0x75c6 039321 setsect 3 ,0x3157c 
+0x75c7 039322 istore 9 ,contw 
+0x75c8 039323 setsect 0 ,0x2d4a3 
+0x75c9 039324 setsect 1 ,0x3d27d 
+0x75ca 039325 setsect 2 ,0x3 
+0x75cb 039326 istore 5 ,contw 
+0x75cc 039327 rtn 
+:      039330 sp_pubkey_calc_256:
+0x75cd 039331 fetch 1 ,mem_sc_local_key_invalid 
+0x75ce 039332 rtnne sp_key_invalid 
+0x75cf 039333 fetch 1 ,mem_sc_calc 
+0x75d0 039334 rtnne sp_calc_standby 
+0x75d1 039335 call init_memp_256 
+0x75d2 039336 arg mem_sc_private_key_256 ,contw 
+0x75d3 039337 force 15 ,queue 
+0x75d4 039338 call random_generator 
+0x75d5 039339 random pdata 
+0x75d6 039340 rshift pdata ,pdata 
+0x75d7 039341 istore 2 ,contw 
+0x75d8 039343 fetch 1 ,mem_sp_debug_mode 
+0x75d9 039344 ncall sp_debug_private_256 ,blank 
+0x75da 039346 arg mem_k_256 ,contw 
+0x75db 039347 arg mem_sc_private_key_256 ,contr 
+0x75dc 039348 call memcpy32 
+0x75dd 039350 arg mem_ax_256 ,contw 
+0x75de 039351 arg mem_gx_256 ,contr 
+0x75df 039352 call memcpy64 
+0x75e0 039354 arg mem_az_256 ,contw 
+0x75e1 039355 call clear_mem_256 
+0x75e2 039356 jam 1 ,mem_az_256 
+0x75e3 039358 call eckp_calc_init_256 
+0x75e4 039359 jam sp_calc_pubkey_256 ,mem_sc_calc 
+0x75e5 039360 rtn 
+:      039362 sp_pubkey_generated_256:
+0x75e6 039364 arg mem_sc_pubkey_local_x_256 ,contw 
+0x75e7 039365 arg mem_bx_256 ,contr 
+0x75e8 039366 call memcpy64 
+0x75e9 039367 jam sp_key_valid_256 ,mem_sc_local_key_invalid 
+0x75ea 039368 jam sp_calc_standby ,mem_sc_calc 
+0x75eb 039369 rtn 
+:      039373 sp_dhkey_calc_256:
+0x75ec 039374 fetch 1 ,mem_sp_dhkey_invalid 
+0x75ed 039375 rtnne sp_key_invalid 
+0x75ee 039376 fetch 1 ,mem_sc_calc 
+0x75ef 039377 rtnne sp_calc_standby 
+0x75f0 039379 arg mem_k_256 ,contw 
+0x75f1 039380 arg mem_sc_private_key_256 ,contr 
+0x75f2 039381 call memcpy32 
+0x75f3 039383 arg mem_ax_256 ,contw 
+0x75f4 039384 arg mem_le_pubkey_remote_x_256 ,contr 
+0x75f5 039385 call memcpy64 
+0x75f6 039387 arg mem_az_256 ,contw 
+0x75f7 039388 call clear_mem_256 
+0x75f8 039389 jam 1 ,mem_az_256 
+0x75f9 039391 call eckp_calc_init_256 
+0x75fa 039392 jam sp_calc_dhkey_256 ,mem_sc_calc 
+0x75fb 039393 rtn 
+:      039396 sp_dhkey_generated_256:
+0x75fc 039398 arg mem_le_dhkey_256 ,contw 
+0x75fd 039399 arg mem_bx_256 ,contr 
+0x75fe 039400 call memcpy32 
+0x75ff 039401 jam sp_key_valid_256 ,mem_sp_dhkey_invalid 
+0x7600 039402 jam sp_calc_standby ,mem_sc_calc 
+0x7601 039403 rtn 
+:      039407 sp_calc_sequence_256:
+0x7602 039408 fetch 1 ,mem_secure_connections_enable 
+0x7603 039409 rtn blank 
+0x7604 039410 fetch 1 ,mem_sc_calc 
+0x7605 039411 rtn blank 
+0x7606 039412 increase 0x80 ,pdata 
+0x7607 039413 store 1 ,mem_sc_calc 
+0x7608 039414 rtnbit1 7 
+0x7609 039415 fetch 2 ,mem_ec_loopc 
+0x760a 039416 branch sp_calc_sequence_done_256 ,blank 
+0x760b 039417 branch eckp_calc_256 
+:      039419 sp_calc_sequence_done_256:
+0x760c 039420 bpatchx patch30_1 ,mem_patch30 
+0x760d 039421 call ecunmapz_256 
+0x760e 039422 fetch 1 ,mem_sc_calc 
+0x760f 039423 beq sp_calc_pubkey_256 ,sp_pubkey_generated_256 
+0x7610 039424 beq sp_calc_dhkey_256 ,sp_dhkey_generated_256 
+0x7611 039425 rtn 
+:      039428 eckp_calc_256:
+0x7612 039429 call ecdbl_256 
+0x7613 039430 fetch 2 ,mem_ec_loopc 
+0x7614 039431 increase -1 ,pdata 
+0x7615 039432 store 2 ,mem_ec_loopc 
+0x7616 039433 arg mem_k_256 ,contr 
+0x7617 039434 call bn_testbit 
+0x7618 039435 rtn true 
+0x7619 039436 branch ecadd_256 
+:      039438 eckp_calc_init_256:
+0x761a 039439 bpatchx patch30_2 ,mem_patch30 
+0x761b 039440 setarg 256 
+0x761c 039441 store 2 ,mem_ec_loopc 
+:      039442 eckp_calc_init_256_1:
+0x761d 039443 fetch 2 ,mem_ec_loopc 
+0x761e 039444 rtn blank 
+0x761f 039445 increase -1 ,pdata 
+0x7620 039446 store 2 ,mem_ec_loopc 
+0x7621 039447 arg mem_k_256 ,contr 
+0x7622 039448 call bn_testbit 
+0x7623 039449 branch eckp_calc_init_256_1 ,true 
+0x7624 039450 arg mem_ax_256 ,contr 
+0x7625 039451 arg mem_cx_256 ,contw 
+0x7626 039452 branch memcpy96 
+:      039455 ecunmapz_256:
+0x7627 039456 arg mem_cz_256 ,rega 
+0x7628 039457 arg mem_t3_256 ,contw 
+0x7629 039458 call bn_invmod_256 
+0x762a 039459 arg mem_t3_256 ,rega 
+0x762b 039460 arg mem_t1_256 ,contw 
+0x762c 039461 call bn_sqrmod_256 
+0x762d 039462 arg mem_cx_256 ,rega 
+0x762e 039463 arg mem_t1_256 ,regb 
+0x762f 039464 arg mem_bx_256 ,contw 
+0x7630 039465 call bn_mulmod_256 
+0x7631 039466 arg mem_t3_256 ,rega 
+0x7632 039467 arg mem_t1_256 ,regb 
+0x7633 039468 arg mem_t2_256 ,contw 
+0x7634 039469 call bn_mulmod_256 
+0x7635 039470 arg mem_cy_256 ,rega 
+0x7636 039471 arg mem_t2_256 ,regb 
+0x7637 039472 arg mem_by_256 ,contw 
+0x7638 039473 branch bn_mulmod_256 
+:      039475 ecdbl_256:
+0x7639 039476 arg mem_cz_256 ,rega 
+0x763a 039477 arg mem_t2_256 ,contw 
+0x763b 039478 call bn_sqrmod_256 
+0x763c 039479 arg mem_t2_256 ,rega 
+0x763d 039480 arg mem_t3_256 ,contw 
+0x763e 039481 call bn_sqrmod_256 
+0x763f 039483 arg mem_a_256 ,rega 
+0x7640 039484 arg mem_t3_256 ,regb 
+0x7641 039485 arg mem_t3_256 ,contw 
+0x7642 039486 call bn_mulmod_256 
+0x7643 039487 arg mem_cx_256 ,rega 
+0x7644 039488 arg mem_t2_256 ,contw 
+0x7645 039489 call bn_sqrmod_256 
+0x7646 039491 arg mem_t2_256 ,contr 
+0x7647 039492 arg mem_t1_256 ,contw 
+0x7648 039493 call memcpy32 
+0x7649 039494 arg mem_t1_256 ,rega 
+0x764a 039495 call bn_lshiftmod_256 
+0x764b 039496 arg mem_t2_256 ,rega 
+0x764c 039497 arg mem_t1_256 ,regb 
+0x764d 039498 arg mem_t2_256 ,contw 
+0x764e 039499 call bn_addmod_256 
+0x764f 039501 arg mem_t2_256 ,rega 
+0x7650 039502 arg mem_t3_256 ,regb 
+0x7651 039503 arg mem_t2_256 ,contw 
+0x7652 039504 call bn_addmod_256 
+0x7653 039506 arg mem_cx_256 ,contr 
+0x7654 039507 arg mem_t1_256 ,contw 
+0x7655 039508 call memcpy32 
+0x7656 039509 arg mem_cy_256 ,rega 
+0x7657 039510 arg mem_t3_256 ,contw 
+0x7658 039511 call bn_sqrmod_256 
+0x7659 039512 arg mem_t1_256 ,rega 
+0x765a 039513 call bn_lshiftmod_256 
+0x765b 039514 arg mem_t1_256 ,rega 
+0x765c 039515 call bn_lshiftmod_256 
+0x765d 039516 arg mem_t1_256 ,rega 
+0x765e 039517 arg mem_t3_256 ,regb 
+0x765f 039518 arg mem_t1_256 ,contw 
+0x7660 039519 call bn_mulmod_256 
+0x7661 039520 arg mem_t3_256 ,rega 
+0x7662 039521 arg mem_t0_256 ,contw 
+0x7663 039522 call bn_sqrmod_256 
+0x7664 039523 arg mem_t0_256 ,rega 
+0x7665 039524 call bn_lshiftmod_256 
+0x7666 039525 arg mem_t0_256 ,rega 
+0x7667 039526 call bn_lshiftmod_256 
+0x7668 039527 arg mem_t0_256 ,rega 
+0x7669 039528 call bn_lshiftmod_256 
+0x766a 039529 arg mem_cy_256 ,contr 
+0x766b 039530 arg mem_t3_256 ,contw 
+0x766c 039531 call memcpy32 
+0x766d 039532 arg mem_t3_256 ,rega 
+0x766e 039533 call bn_lshiftmod_256 
+0x766f 039534 arg mem_t3_256 ,rega 
+0x7670 039535 arg mem_cz_256 ,regb 
+0x7671 039536 arg mem_cz_256 ,contw 
+0x7672 039537 call bn_mulmod_256 
+0x7673 039540 arg mem_t2_256 ,rega 
+0x7674 039541 arg mem_t3_256 ,contw 
+0x7675 039542 call bn_sqrmod_256 
+0x7676 039544 arg mem_t3_256 ,rega 
+0x7677 039545 arg mem_t1_256 ,regb 
+0x7678 039546 arg mem_t3_256 ,contw 
+0x7679 039547 call bn_submod_256 
+0x767a 039548 arg mem_t3_256 ,rega 
+0x767b 039549 arg mem_t1_256 ,regb 
+0x767c 039550 arg mem_cx_256 ,contw 
+0x767d 039551 call bn_submod_256 
+0x767e 039552 arg mem_t1_256 ,rega 
+0x767f 039553 arg mem_cx_256 ,regb 
+0x7680 039554 arg mem_t3_256 ,contw 
+0x7681 039555 call bn_submod_256 
+0x7682 039556 arg mem_t3_256 ,rega 
+0x7683 039557 arg mem_t2_256 ,regb 
+0x7684 039558 arg mem_t3_256 ,contw 
+0x7685 039559 call bn_mulmod_256 
+0x7686 039560 arg mem_t3_256 ,rega 
+0x7687 039561 arg mem_t0_256 ,regb 
+0x7688 039562 arg mem_cy_256 ,contw 
+0x7689 039563 branch bn_submod_256 
+:      039565 ecadd_256:
+0x768a 039567 arg mem_az_256 ,rega 
+0x768b 039568 arg mem_t7_256 ,contw 
+0x768c 039569 call bn_sqrmod_256 
+0x768d 039570 arg mem_cx_256 ,rega 
+0x768e 039571 arg mem_t7_256 ,regb 
+0x768f 039572 arg mem_t0_256 ,contw 
+0x7690 039573 call bn_mulmod_256 
+0x7691 039576 arg mem_az_256 ,rega 
+0x7692 039577 arg mem_t7_256 ,regb 
+0x7693 039578 arg mem_t7_256 ,contw 
+0x7694 039579 call bn_mulmod_256 
+0x7695 039580 arg mem_cy_256 ,rega 
+0x7696 039581 arg mem_t7_256 ,regb 
+0x7697 039582 arg mem_t1_256 ,contw 
+0x7698 039583 call bn_mulmod_256 
+0x7699 039586 arg mem_cz_256 ,rega 
+0x769a 039587 arg mem_t7_256 ,contw 
+0x769b 039588 call bn_sqrmod_256 
+0x769c 039589 arg mem_ax_256 ,rega 
+0x769d 039590 arg mem_t7_256 ,regb 
+0x769e 039591 arg mem_t2_256 ,contw 
+0x769f 039592 call bn_mulmod_256 
+0x76a0 039594 arg mem_cz_256 ,rega 
+0x76a1 039595 arg mem_t7_256 ,regb 
+0x76a2 039596 arg mem_t7_256 ,contw 
+0x76a3 039597 call bn_mulmod_256 
+0x76a4 039598 arg mem_ay_256 ,rega 
+0x76a5 039599 arg mem_t7_256 ,regb 
+0x76a6 039600 arg mem_t3_256 ,contw 
+0x76a7 039601 call bn_mulmod_256 
+0x76a8 039606 arg mem_t0_256 ,regb 
+0x76a9 039607 arg mem_t2_256 ,rega 
+0x76aa 039608 arg mem_t7_256 ,contw 
+0x76ab 039609 call bn_submod_256 
+0x76ac 039610 arg mem_t0_256 ,rega 
+0x76ad 039611 arg mem_t2_256 ,regb 
+0x76ae 039612 arg mem_t0_256 ,contw 
+0x76af 039613 call bn_addmod_256 
+0x76b0 039616 arg mem_t1_256 ,regb 
+0x76b1 039617 arg mem_t3_256 ,rega 
+0x76b2 039618 arg mem_t2_256 ,contw 
+0x76b3 039619 call bn_submod_256 
+0x76b4 039620 arg mem_t1_256 ,rega 
+0x76b5 039621 arg mem_t3_256 ,regb 
+0x76b6 039622 arg mem_t1_256 ,contw 
+0x76b7 039623 call bn_addmod_256 
+0x76b8 039624 arg mem_t1_256 ,rega 
+0x76b9 039625 arg mem_t7_256 ,regb 
+0x76ba 039626 arg mem_t1_256 ,contw 
+0x76bb 039627 call bn_mulmod_256 
+0x76bc 039628 arg mem_cz_256 ,rega 
+0x76bd 039629 arg mem_az_256 ,regb 
+0x76be 039630 arg mem_t3_256 ,contw 
+0x76bf 039631 call bn_mulmod_256 
+0x76c0 039632 arg mem_t3_256 ,rega 
+0x76c1 039633 arg mem_t7_256 ,regb 
+0x76c2 039634 arg mem_cz_256 ,contw 
+0x76c3 039635 call bn_mulmod_256 
+0x76c4 039637 arg mem_t7_256 ,rega 
+0x76c5 039638 arg mem_t7_256 ,contw 
+0x76c6 039639 call bn_sqrmod_256 
+0x76c7 039640 arg mem_t7_256 ,rega 
+0x76c8 039641 arg mem_t0_256 ,regb 
+0x76c9 039642 arg mem_t3_256 ,contw 
+0x76ca 039643 call bn_mulmod_256 
+0x76cb 039644 arg mem_t7_256 ,rega 
+0x76cc 039645 arg mem_t1_256 ,regb 
+0x76cd 039646 arg mem_t1_256 ,contw 
+0x76ce 039647 call bn_mulmod_256 
+0x76cf 039648 arg mem_t2_256 ,rega 
+0x76d0 039649 arg mem_cx_256 ,contw 
+0x76d1 039650 call bn_sqrmod_256 
+0x76d2 039651 arg mem_cx_256 ,rega 
+0x76d3 039652 arg mem_t3_256 ,regb 
+0x76d4 039653 arg mem_cx_256 ,contw 
+0x76d5 039654 call bn_submod_256 
+0x76d6 039655 arg mem_cx_256 ,contr 
+0x76d7 039656 arg mem_t7_256 ,contw 
+0x76d8 039657 call memcpy32 
+0x76d9 039658 arg mem_t7_256 ,rega 
+0x76da 039659 call bn_lshiftmod_256 
+0x76db 039660 arg mem_t3_256 ,rega 
+0x76dc 039661 arg mem_t7_256 ,regb 
+0x76dd 039662 arg mem_t3_256 ,contw 
+0x76de 039663 call bn_submod_256 
+0x76df 039664 arg mem_t3_256 ,rega 
+0x76e0 039665 arg mem_t2_256 ,regb 
+0x76e1 039666 arg mem_t2_256 ,contw 
+0x76e2 039667 call bn_mulmod_256 
+0x76e3 039668 arg mem_t2_256 ,rega 
+0x76e4 039669 arg mem_t1_256 ,regb 
+0x76e5 039670 arg mem_cy_256 ,contw 
+0x76e6 039671 call bn_submod_256 
+0x76e7 039672 arg mem_cy_256 ,rega 
+0x76e8 039673 arg mem_p_256 ,regb 
+0x76e9 039674 arg mem_cy_256 ,contw 
+0x76ea 039675 force 0 ,regc 
+0x76eb 039676 fetch 1 ,mem_cy_256 
+0x76ec 039677 isolate1 0 ,pdata 
+0x76ed 039678 call bn_add_256 ,true 
+0x76ee 039679 copy regc ,alarm 
+0x76ef 039680 arg mem_cy_256 ,rega 
+0x76f0 039681 call bn_rshift_256 
+0x76f1 039682 fetch 1 ,mem_cy5_256 
+0x76f2 039683 isolate1 0 ,alarm 
+0x76f3 039684 setflag true ,7 ,pdata 
+0x76f4 039685 store 1 ,mem_cy5_256 
+0x76f5 039686 rtn 
+:      039688 bn_invmod_256:
+0x76f6 039689 copy contw ,timeup 
+0x76f7 039690 arg mem_tmp0_256 ,contw 
+0x76f8 039691 call clear_mem_256 
+0x76f9 039692 force 0 ,pdata 
+0x76fa 039694 store 4 ,mem_t2_256 
+0x76fb 039695 jam 1 ,mem_tmp0_256 
+0x76fc 039696 arg mem_tmp1_256 ,contw 
+0x76fd 039697 call clear_mem_512 
+0x76fe 039698 arg mem_p_256 ,contr 
+0x76ff 039699 arg mem_tmp2_256 ,contw 
+0x7700 039700 call memcpy32 
+0x7701 039701 copy rega ,contr 
+0x7702 039702 arg mem_tmp3_256 ,contw 
+0x7703 039703 call memcpy32 
+:      039709 bn_invmod_256_2:
+0x7704 039710 arg mem_tmp3_256 ,contr 
+0x7705 039711 call bn_eq_zero_256 
+0x7706 039712 branch bn_invmod_256_0 ,blank 
+0x7707 039717 arg mem_tmp3_256 ,rega 
+0x7708 039718 arg mem_tmp0_256 ,regb 
+0x7709 039719 call bn_rshifteven_256 
+0x770a 039720 arg mem_tmp2_256 ,rega 
+0x770b 039721 arg mem_tmp1_256 ,regb 
+0x770c 039722 call bn_rshifteven_256 
+0x770d 039724 arg mem_tmp3_256 ,rega 
+0x770e 039725 arg mem_tmp2_256 ,regb 
+0x770f 039726 call bn_bigeq_256 
+0x7710 039727 branch bn_invmod_256_1 ,positive 
+0x7711 039728 arg mem_tmp2_256 ,rega 
+0x7712 039729 arg mem_tmp3_256 ,regb 
+0x7713 039730 copy rega ,contw 
+0x7714 039731 call bn_sub_256 
+0x7715 039732 arg mem_tmp0_256 ,rega 
+0x7716 039733 arg mem_tmp1_256 ,regb 
+0x7717 039734 copy regb ,contw 
+0x7718 039735 call bn_add_256 
+0x7719 039736 ifetch 1 ,rega 
+0x771a 039737 iadd regc ,regc 
+0x771b 039738 ifetch 1 ,regb 
+0x771c 039739 iadd regc ,pdata 
+0x771d 039740 istore 1 ,regb 
+0x771e 039741 branch bn_invmod_256_2 
+:      039742 bn_invmod_256_1:
+0x771f 039743 arg mem_tmp3_256 ,rega 
+0x7720 039744 arg mem_tmp2_256 ,regb 
+0x7721 039745 copy rega ,contw 
+0x7722 039746 call bn_sub_256 
+0x7723 039747 arg mem_tmp1_256 ,rega 
+0x7724 039748 arg mem_tmp0_256 ,regb 
+0x7725 039749 copy regb ,contw 
+0x7726 039750 call bn_add_256 
+0x7727 039751 ifetch 1 ,rega 
+0x7728 039752 iadd regc ,regc 
+0x7729 039753 ifetch 1 ,regb 
+0x772a 039754 iadd regc ,pdata 
+0x772b 039755 istore 1 ,regb 
+0x772c 039756 branch bn_invmod_256_2 
+:      039757 bn_invmod_256_0:
+0x772d 039759 arg mem_tmp1_256 ,rega 
+0x772e 039760 copy timeup ,contw 
+0x772f 039761 call bn_p256mod 
+0x7730 039763 arg mem_p_256 ,rega 
+0x7731 039764 copy timeup ,regb 
+0x7732 039765 copy timeup ,contw 
+0x7733 039766 branch bn_submod_256 
+:      039769 bn_mulmod_256:
+0x7734 039770 copy contw ,timeup 
+0x7735 039772 force 0 ,regext_index 
+0x7736 039774 arg mem_tmp1_256 ,contw 
+0x7737 039775 call clear_mem_512 
+0x7738 039776 arg mem_regext ,contw 
+0x7739 039777 call clear_mem_512 
+0x773a 039781 copy rega ,contr 
+0x773b 039783 jam 0 ,mem_regext 
+0x773c 039784 setarg 0 
+0x773d 039785 call bn_load_mem 
+0x773e 039786 copy regb ,contr 
+0x773f 039787 call bn_load_256 
+0x7740 039790 force 0 ,queue 
+0x7741 039791 arg mem_tmp1_256 ,contw 
+:      039792 bn_mulmod_256_1:
+0x7742 039795 arg mem_regext ,temp 
+0x7743 039796 copy queue ,regb 
+0x7744 039797 lshift2 regb ,pdata 
+0x7745 039799 iadd temp ,regb 
+0x7746 039800 force 0 ,temp 
+0x7747 039801 force 0 ,regc 
+:      039802 bn_mulmod_256_0:
+0x7748 039807 ifetch 4 ,contw 
+0x7749 039808 iforce rega 
+0x774a 039811 ifetch 4 ,regb 
+0x774b 039812 copy regc ,regext_index 
+0x774c 039813 imul32 regext ,pdata 
+0x774d 039814 iadd rega ,pdata 
+0x774e 039815 iadd temp ,pdata 
+0x774f 039816 istore 4 ,contw 
+0x7750 039817 rshift32 pdata ,temp 
+0x7751 039818 increase 1 ,regc 
+0x7752 039819 compare 8 ,regc ,0xff 
+0x7753 039820 nbranch bn_mulmod_256_0 ,true 
+0x7754 039822 deposit temp 
+0x7755 039823 istore 4 ,contw 
+0x7756 039824 increase -32 ,contw 
+0x7757 039827 increase 1 ,queue 
+0x7758 039828 compare 8 ,queue ,0xff 
+0x7759 039829 nbranch bn_mulmod_256_1 ,true 
+0x775a 039830 arg mem_tmp1_256 ,rega 
+0x775b 039831 copy timeup ,contw 
+0x775c 039832 branch bn_p256mod 
+:      039834 bn_p256mod:
+0x775d 039835 bpatchx patch30_3 ,mem_patch30 
+0x775e 039836 copy contw ,timeup 
+0x775f 039837 copy rega ,alarm 
+0x7760 039838 arg mem_tmp2_256 ,regb 
+0x7761 039839 copy regb ,contw 
+0x7762 039840 call memset0_4 
+0x7763 039841 istore 8 ,contw 
+0x7764 039842 add rega ,44 ,contr 
+0x7765 039843 call memcpy8 
+0x7766 039844 call memcpy12 
+0x7767 039845 copy regb ,rega 
+0x7768 039846 call bn_lshiftmod_256 
+0x7769 039847 arg mem_tmp2_256 ,regb 
+0x776a 039848 copy alarm ,rega 
+0x776b 039849 copy timeup ,contw 
+0x776c 039850 call bn_addmod_256 
+0x776d 039852 arg mem_tmp2_256 ,regb 
+0x776e 039853 copy regb ,contw 
+0x776f 039854 call memset0_4 
+0x7770 039855 istore 8 ,contw 
+0x7771 039856 add alarm ,48 ,contr 
+0x7772 039857 call memcpy16 
+0x7773 039858 call memset0_4 
+0x7774 039859 copy regb ,rega 
+0x7775 039860 call bn_lshiftmod_256 
+0x7776 039864 arg mem_tmp2_256 ,regb 
+0x7777 039865 copy timeup ,rega 
+0x7778 039866 copy rega ,contw 
+0x7779 039867 call bn_addmod_256 
+0x777a 039871 arg mem_tmp2_256 ,regb 
+0x777b 039872 copy regb ,contw 
+0x777c 039873 add alarm ,32 ,contr 
+0x777d 039874 call memcpy12 
+0x777e 039875 call memset0_4 
+0x777f 039876 istore 8 ,contw 
+0x7780 039877 add alarm ,56 ,contr 
+0x7781 039878 call memcpy8 
+0x7782 039879 copy timeup ,rega 
+0x7783 039880 copy rega ,contw 
+0x7784 039881 call bn_addmod_256 
+0x7785 039885 arg mem_tmp2_256 ,regb 
+0x7786 039886 copy regb ,contw 
+0x7787 039887 add alarm ,36 ,contr 
+0x7788 039888 call memcpy12 
+0x7789 039889 add alarm ,52 ,contr 
+0x778a 039890 call memcpy12 
+0x778b 039891 add alarm ,52 ,contr 
+0x778c 039892 call memcpy4 
+0x778d 039893 add alarm ,32 ,contr 
+0x778e 039894 call memcpy4 
+0x778f 039895 copy timeup ,rega 
+0x7790 039896 copy rega ,contw 
+0x7791 039897 call bn_addmod_256 
+0x7792 039900 arg mem_tmp2_256 ,regb 
+0x7793 039901 copy regb ,contw 
+0x7794 039902 add alarm ,44 ,contr 
+0x7795 039903 call memcpy12 
+0x7796 039904 call memset0_4 
+0x7797 039905 istore 8 ,contw 
+0x7798 039906 add alarm ,32 ,contr 
+0x7799 039907 call memcpy4 
+0x779a 039908 add alarm ,40 ,contr 
+0x779b 039909 call memcpy4 
+0x779c 039910 copy timeup ,rega 
+0x779d 039911 copy rega ,contw 
+0x779e 039912 call bn_submod_256 
+0x779f 039915 arg mem_tmp2_256 ,regb 
+0x77a0 039916 copy regb ,contw 
+0x77a1 039917 add alarm ,48 ,contr 
+0x77a2 039918 call memcpy8 
+0x77a3 039919 call memcpy8 
+0x77a4 039920 force 0 ,pdata 
+0x77a5 039921 istore 8 ,contw 
+0x77a6 039922 add alarm ,36 ,contr 
+0x77a7 039923 call memcpy4 
+0x77a8 039924 add alarm ,44 ,contr 
+0x77a9 039925 call memcpy4 
+0x77aa 039926 copy timeup ,rega 
+0x77ab 039927 copy rega ,contw 
+0x77ac 039928 call bn_submod_256 
+0x77ad 039931 arg mem_tmp2_256 ,regb 
+0x77ae 039932 copy regb ,contw 
+0x77af 039933 add alarm ,52 ,contr 
+0x77b0 039934 call memcpy12 
+0x77b1 039935 add alarm ,32 ,contr 
+0x77b2 039936 call memcpy12 
+0x77b3 039937 call memset0_4 
+0x77b4 039938 add alarm ,48 ,contr 
+0x77b5 039939 call memcpy4 
+0x77b6 039940 copy timeup ,rega 
+0x77b7 039941 copy rega ,contw 
+0x77b8 039942 call bn_submod_256 
+0x77b9 039945 arg mem_tmp2_256 ,regb 
+0x77ba 039946 copy regb ,contw 
+0x77bb 039947 add alarm ,56 ,contr 
+0x77bc 039948 call memcpy8 
+0x77bd 039949 call memset0_4 
+0x77be 039950 add alarm ,36 ,contr 
+0x77bf 039951 call memcpy12 
+0x77c0 039952 call memset0_4 
+0x77c1 039953 add alarm ,52 ,contr 
+0x77c2 039954 call memcpy4 
+0x77c3 039955 copy timeup ,rega 
+0x77c4 039956 copy rega ,contw 
+0x77c5 039957 branch bn_submod_256 
+:      039960 bn_load_mem:
+0x77c6 039961 force 32 ,loopcnt 
+0x77c7 039962 arg mem_regext ,contw 
+0x77c8 039963 iadd contw ,contw 
+0x77c9 039964 branch memcpy 
+:      039966 bn_load_256:
+0x77ca 039967 force 8 ,loopcnt 
+0x77cb 039968 branch bn_load_0 
+:      039970 bn_sqrmod_256:
+0x77cc 039971 copy rega ,regb 
+0x77cd 039972 branch bn_mulmod_256 
+:      039974 bn_add_256:
+0x77ce 039975 force 8 ,loopcnt 
+0x77cf 039976 branch bn_add + 1 
+:      039978 bn_addmod_256:
+0x77d0 039979 call bn_add_256 
+0x77d1 039980 copy contw ,rega 
+0x77d2 039981 branch bn_lshiftmod_ismod_256 
+:      039983 bn_lshiftmod_256:
+0x77d3 039984 call bn_lshift_256 
+:      039985 bn_lshiftmod_ismod_256:
+0x77d4 039986 isolate1 0 ,regc 
+0x77d5 039987 branch bn_lshiftmod_p_256 ,true 
+0x77d6 039988 arg mem_p_256 ,regb 
+0x77d7 039989 copy rega ,regc 
+0x77d8 039990 increase -32 ,rega 
+0x77d9 039991 call bn_bigeq_256 
+0x77da 039992 nrtn positive 
+0x77db 039993 copy regc ,rega 
+0x77dc 039994 branch sub_p2_256 
+:      039996 bn_lshiftmod_p_256:
+0x77dd 039997 call sub_p2_256 
+0x77de 039999 copy rega ,regc 
+0x77df 040000 increase -32 ,rega 
+0x77e0 040001 arg mem_p_256 ,regb 
+0x77e1 040002 call bn_bigeq_256 
+0x77e2 040003 nrtn positive 
+0x77e3 040004 copy regc ,rega 
+0x77e4 040005 branch sub_p2_256 
+:      040008 sub_p2_256:
+0x77e5 040009 increase -32 ,rega 
+0x77e6 040010 arg mem_p_256 ,regb 
+0x77e7 040011 copy rega ,contw 
+0x77e8 040012 branch bn_sub_256 
+:      040017 bn_submod_256:
+0x77e9 040018 call bn_sub_256 
+0x77ea 040020 branch bn_submod_256_np ,true 
+0x77eb 040023 add contw ,-32 ,rega 
+0x77ec 040024 arg mem_p_256 ,regb 
+0x77ed 040025 call bn_bigeq_256 
+0x77ee 040026 nrtn positive 
+0x77ef 040027 arg mem_p_256 ,regb 
+0x77f0 040028 add contw ,-32 ,rega 
+0x77f1 040030 copy rega ,contw 
+0x77f2 040031 branch bn_sub_256 
+:      040032 bn_submod_256_np:
+0x77f3 040033 add contw ,-32 ,rega 
+0x77f4 040034 arg mem_p_256 ,regb 
+0x77f5 040035 copy rega ,contw 
+0x77f6 040036 call bn_add_256 
+0x77f7 040038 rtn true 
+0x77f8 040039 add contw ,-32 ,rega 
+0x77f9 040040 arg mem_p_256 ,regb 
+0x77fa 040041 copy rega ,contw 
+0x77fb 040042 branch bn_add_256 
+:      040046 bn_sub_256:
+0x77fc 040047 force 8 ,loopcnt 
+0x77fd 040048 branch bn_sub + 1 
+:      040050 bn_rshift_256:
+0x77fe 040051 force 8 ,loopcnt 
+0x77ff 040052 increase 28 ,rega 
+0x7800 040053 branch bn_rshift 
+:      040055 bn_lshift_256:
+0x7801 040056 force 8 ,loopcnt 
+0x7802 040057 force 0 ,regc 
+0x7803 040058 branch bn_lshift_0 
+:      040060 bn_bigeq_256:
+0x7804 040061 force 8 ,loopcnt 
+0x7805 040062 increase 28 ,rega 
+0x7806 040063 increase 28 ,regb 
+0x7807 040064 branch bn_bigeq_0 
+:      040067 bn_eq_zero_256:
+0x7808 040068 ifetch 8 ,contr 
+0x7809 040069 nrtn blank 
+0x780a 040070 branch bn_eq_zero 
+:      040075 bn_rshifteven_256:
+0x780b 040076 copy rega ,alarm 
+:      040077 bn_rshifteven_256_1:
+0x780c 040078 copy alarm ,rega 
+0x780d 040079 ifetch 1 ,rega 
+0x780e 040080 isolate1 0 ,pdata 
+0x780f 040081 rtn true 
+0x7810 040082 call bn_rshift_256 
+0x7811 040083 ifetch 1 ,regb 
+0x7812 040084 isolate0 0 ,pdata 
+0x7813 040085 branch bn_rshifteven_256_0 ,true 
+0x7814 040086 arg mem_p_256 ,rega 
+0x7815 040087 copy regb ,contw 
+0x7816 040088 call bn_add_256 
+0x7817 040089 ifetch 1 ,regb 
+0x7818 040090 iadd regc ,pdata 
+0x7819 040091 istore 1 ,regb 
+0x781a 040092 increase -32 ,regb 
+:      040093 bn_rshifteven_256_0:
+0x781b 040094 add regb ,32 ,rega 
+0x781c 040095 force 9 ,loopcnt 
+0x781d 040096 call bn_rshift 
+0x781e 040097 branch bn_rshifteven_256_1 
+:      040101 ui_init:
+0x781f 040102 call lpm_disable_exen_output 
+0x7820 040103 rtn wake 
+0x7821 040104 call ui_button_init 
+0x7822 040105 call ui_timer_init 
+0x7823 040106 branch ui_led_init_global 
+:      040108 ui_dispatch:
+0x7824 040109 call ui_led_dispatch 
+0x7825 040110 branch ui_timer_check 
+:      040112 ui_button_init:
+0x7826 040113 fetch 1 ,mem_ui_button_gpio 
+0x7827 040114 rtneq ui_button_gpio_disable 
+0x7828 040115 iforce temp 
+0x7829 040116 call gpio_config_output 
+0x782a 040117 fetcht 1 ,mem_ui_button_gpio 
+0x782b 040118 call gpio_out_inactive 
+0x782c 040119 nop 100 
+0x782d 040120 fetcht 1 ,mem_ui_button_gpio 
+0x782e 040121 call gpio_config_input 
+0x782f 040122 branch ui_button_polling 
+:      040126 ui_button_polling:
+0x7830 040127 bpatchx patch30_4 ,mem_patch30 
+0x7831 040128 fetch 1 ,mem_ui_button_gpio 
+0x7832 040129 rtneq ui_button_gpio_disable 
+0x7833 040130 copy pdata ,temp 
+0x7834 040131 call gpio_get_bit 
+0x7835 040132 nbranch ui_button_up ,true 
+:      040134 ui_button_down:
+0x7836 040135 call ui_button_check_long_press 
+0x7837 040136 fetch 2 ,mem_ui_state_map 
+0x7838 040137 set1 ui_state_btn_down ,pdata 
+0x7839 040138 store 2 ,mem_ui_state_map 
+0x783a 040139 fetch 1 ,mem_ui_button_last_state 
+0x783b 040140 rtneq ui_button_state_down 
+0x783c 040141 jam ui_button_state_down ,mem_ui_button_last_state 
+0x783d 040143 fetch 1 ,mem_ui_button_timeout 
+0x783e 040144 store 1 ,mem_ui_button_timer 
+0x783f 040145 call lpm_button_get_wake_lock 
+0x7840 040146 jam bt_evt_button_down ,mem_fifo_temp 
+0x7841 040147 branch ui_ipc_send_event 
+:      040148 ui_button_up:
+0x7842 040149 fetch 2 ,mem_ui_state_map 
+0x7843 040150 set0 ui_state_btn_down ,pdata 
+0x7844 040151 store 2 ,mem_ui_state_map 
+0x7845 040152 fetch 1 ,mem_ui_button_last_state 
+0x7846 040153 rtneq ui_button_state_up 
+0x7847 040154 jam ui_button_state_up ,mem_ui_button_last_state 
+0x7848 040156 jam 0 ,mem_ui_button_timer 
+0x7849 040157 call lpm_button_clean_wake_lock 
+0x784a 040158 jam bt_evt_button_up ,mem_fifo_temp 
+0x784b 040159 branch ui_ipc_send_event 
+:      040161 ui_button_check_long_press:
+0x784c 040162 fetch 1 ,mem_ui_button_timer 
+0x784d 040163 rtn blank 
+0x784e 040164 increase -1 ,pdata 
+0x784f 040165 store 1 ,mem_ui_button_timer 
+0x7850 040166 nrtn blank 
+0x7851 040168 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+0x7852 040169 branch ui_ipc_send_event 
+:      040171 lpm_button_get_wake_lock:
+0x7853 040172 arg wake_lock_button ,queue 
+0x7854 040173 branch lpm_get_wake_lock 
+:      040175 lpm_button_clean_wake_lock:
+0x7855 040176 arg wake_lock_button ,queue 
+0x7856 040177 branch lpm_put_wake_lock 
+:      040184 calc_curr_struct_prt:
+0x7857 040185 fetch 2 ,mem_ui_led_struct_ptr 
+0x7858 040186 mul32 rega ,led_offset_length ,regb 
+0x7859 040187 iadd regb ,regb 
+0x785a 040188 rtn 
+:      040191 ui_led_init_global:
+0x785b 040192 fetch 1 ,mem_ui_led_struct_num 
+0x785c 040193 rtn blank 
+0x785d 040194 copy pdata ,loopcnt 
+0x785e 040195 fetch 2 ,mem_ui_led_struct_ptr 
+0x785f 040196 copy pdata ,regb 
+:      040197 ui_led_init_loop:
+0x7860 040198 add regb ,led_offset_led_gpio ,regc 
+0x7861 040199 ifetcht 1 ,regc 
+0x7862 040200 call gpio_config_output 
+0x7863 040201 call ui_led_off_static 
+0x7864 040202 increase led_offset_length ,regb 
+0x7865 040203 loop ui_led_init_loop 
+0x7866 040204 rtn 
+:      040208 ui_led_on_global:
+0x7867 040209 call calc_curr_struct_prt 
+0x7868 040210 setarg ui_led_state_lighting 
+0x7869 040211 istore 1 ,regb 
+0x786a 040212 call ui_led_stop_timer 
+0x786b 040213 branch ui_led_on_static 
+:      040217 ui_led_blink_stop_global:
+:      040218 ui_led_off_global:
+0x786c 040219 call calc_curr_struct_prt 
+0x786d 040220 setarg ui_led_state_darking 
+0x786e 040221 istore 1 ,regb 
+0x786f 040222 call ui_led_stop_timer 
+0x7870 040223 branch ui_led_off_static 
+:      040227 ui_led_blink_start_global:
+0x7871 040228 call calc_curr_struct_prt 
+0x7872 040229 setarg ui_led_state_blink_start 
+0x7873 040230 istore 1 ,regb 
+0x7874 040231 setarg led_infinite_flash_num 
+0x7875 040232 istore 1 ,contw 
+0x7876 040233 branch ui_led_off_static 
+:      040238 ui_led_set_style_global:
+0x7877 040239 call calc_curr_struct_prt 
+0x7878 040240 arg led_offset_length ,loopcnt 
+0x7879 040241 copy regc ,contr 
+0x787a 040242 copy regb ,contw 
+0x787b 040243 branch memcpy_fast 
+:      040247 ui_led_dispatch:
+0x787c 040248 fetch 1 ,mem_ui_led_struct_num 
+0x787d 040249 rtn blank 
+0x787e 040250 arg 0 ,rega 
+:      040251 ui_led_blink_polling:
+0x787f 040252 call ui_led_change_style_by_type 
+0x7880 040253 increase 1 ,rega 
+0x7881 040254 fetch 1 ,mem_ui_led_struct_num 
+0x7882 040255 isub rega ,null 
+0x7883 040256 rtn zero 
+0x7884 040257 branch ui_led_blink_polling 
+:      040260 ui_led_off_static:
+0x7885 040261 add regb ,led_offset_led_gpio ,regc 
+0x7886 040262 ifetcht 1 ,regc 
+0x7887 040263 fetch 1 ,mem_device_option 
+0x7888 040264 beq dvc_op_mouse ,mouse_ui_led_off_static 
+0x7889 040265 branch gpio_out_inactive 
+:      040268 ui_led_on_static:
+0x788a 040269 add regb ,led_offset_led_gpio ,regc 
+0x788b 040270 ifetcht 1 ,regc 
+0x788c 040271 fetch 1 ,mem_device_option 
+0x788d 040272 beq dvc_op_mouse ,mouse_ui_led_on_static 
+0x788e 040273 branch gpio_out_active 
+:      040277 ui_led_change_style_by_type:
+0x788f 040278 add rega ,ui_led_blink ,queue 
+0x7890 040279 call timer_check 
+0x7891 040280 nrtn blank 
+0x7892 040282 call calc_curr_struct_prt 
+0x7893 040284 ifetch 1 ,regb 
+0x7894 040286 beq ui_led_state_lighting ,ui_led_on_static 
+0x7895 040287 beq ui_led_state_darking ,ui_led_off_static 
+0x7896 040288 beq ui_led_state_blink_stop ,ui_led_off_static 
+0x7897 040289 beq ui_led_state_blink_darking ,ui_led_blink_state_darking 
+:      040290 ui_led_blink_state_lighting:
+0x7898 040291 call ui_led_on_static 
+0x7899 040292 add regb ,led_offset_cb_ledon ,regc 
+0x789a 040293 call push_stack 
+0x789b 040294 ifetch 2 ,regc 
+0x789c 040295 call callback_func 
+0x789d 040296 call pop_stack 
+0x789e 040297 setarg ui_led_state_blink_darking 
+0x789f 040298 istore 1 ,regb 
+0x78a0 040299 add regb ,led_offset_on_time ,regc 
+0x78a1 040300 ifetch 2 ,regc 
+0x78a2 040301 branch ui_led_blink_timer_start 
+:      040304 ui_led_blink_state_darking:
+0x78a3 040305 call ui_led_off_static 
+0x78a4 040306 add regb ,led_offset_cb_ledoff ,regc 
+0x78a5 040307 call push_stack 
+0x78a6 040308 ifetch 2 ,regc 
+0x78a7 040309 call callback_func 
+0x78a8 040310 call pop_stack 
+0x78a9 040312 add regb ,led_offset_blink_count ,regc 
+0x78aa 040313 ifetch 1 ,regc 
+0x78ab 040314 beq led_infinite_flash_num ,ui_led_blink_infinite 
+0x78ac 040315 increase -1 ,pdata 
+0x78ad 040316 istore 1 ,regc 
+0x78ae 040317 branch ui_led_blink_stop_global ,blank 
+:      040318 ui_led_blink_infinite:
+0x78af 040319 setarg ui_led_state_blink_lighting 
+0x78b0 040320 istore 1 ,regb 
+0x78b1 040321 add regb ,led_offset_off_time ,regc 
+0x78b2 040322 ifetch 2 ,regc 
+:      040323 ui_led_blink_timer_start:
+0x78b3 040324 add rega ,ui_led_blink ,queue 
+0x78b4 040325 branch timer_init 
+:      040327 ui_led_stop_timer:
+0x78b5 040328 setarg 0 
+0x78b6 040329 branch ui_led_blink_timer_start 
+:      040335 ui_timer_timeout:
+0x78b7 040336 setarg 0x1000 
+0x78b8 040337 lshift16 pdata ,pdata 
+0x78b9 040338 iadd regb ,regb 
+0x78ba 040339 rtn 
+:      040341 ui_timer_check:
+0x78bb 040342 bpatchx patch30_5 ,mem_patch30 
+0x78bc 040343 arg 0 ,rega 
+0x78bd 040344 fetcht 4 ,mem_ui_timer_last_btclk 
+0x78be 040345 copy clkn_bt ,regb 
+0x78bf 040346 copy regb ,pdata 
+0x78c0 040347 isub temp ,null 
+0x78c1 040348 ncall ui_timer_timeout ,positive 
+:      040349 ui_timer_check_loop:
+0x78c2 040350 copy regb ,pdata 
+0x78c3 040351 increase 160 ,temp 
+0x78c4 040352 increase 160 ,temp 
+0x78c5 040353 isub temp ,null 
+0x78c6 040354 nbranch ui_timer_check_end ,positive 
+0x78c7 040355 increase 1 ,rega 
+0x78c8 040356 and rega ,0x0f ,pdata 
+0x78c9 040357 nbranch ui_timer_check_loop ,blank 
+0x78ca 040358 arg 0 ,rega 
+0x78cb 040359 call ui_timer_check_send_evt 
+:      040360 ui_timer_init:
+0x78cc 040361 copy clkn_bt ,pdata 
+0x78cd 040362 store 4 ,mem_ui_timer_last_btclk 
+0x78ce 040363 rtn 
+:      040364 ui_timer_check_end:
+0x78cf 040365 copy rega ,pdata 
+0x78d0 040366 rtn blank 
+0x78d1 040367 increase -160 ,temp 
+0x78d2 040368 increase -160 ,temp 
+0x78d3 040369 set0 28 ,temp 
+0x78d4 040370 storet 4 ,mem_ui_timer_last_btclk 
+:      040371 ui_timer_check_send_evt:
+0x78d5 040372 branch app_evt_timer 
+:      040379 ui_ipc_get_lock:
+0x78d6 040380 jam 1 ,mem_ipc_lock_bt 
+:      040381 ui_ipc_get_lock_wait:
+0x78d7 040382 fetch 1 ,mem_ipc_lock_c51 
+0x78d8 040383 nbranch ui_ipc_get_lock_wait ,blank 
+0x78d9 040384 rtn 
+:      040386 ui_ipc_put_lock:
+0x78da 040387 jam 0 ,mem_ipc_lock_bt 
+0x78db 040388 rtn 
+:      040392 ui_ipc_send_event:
+0x78dc 040393 bpatchx patch30_6 ,mem_patch30 
+0x78dd 040394 call ui_ipc_get_lock 
+0x78de 040395 copy rega ,pdata 
+0x78df 040396 store 4 ,mem_ipc_rega_temp 
+0x78e0 040397 arg mem_ipc_fifo_bt2c51 ,rega 
+0x78e1 040398 call fifo_in 
+0x78e2 040399 fetch 4 ,mem_ipc_rega_temp 
+0x78e3 040400 copy pdata ,rega 
+0x78e4 040401 branch ui_ipc_put_lock 
+:      040403 ui_ipc_send_cmd:
+0x78e5 040404 bpatchx patch30_7 ,mem_patch30 
+0x78e6 040405 call ui_ipc_get_lock 
+0x78e7 040406 copy rega ,pdata 
+0x78e8 040407 store 4 ,mem_ipc_rega_temp 
+0x78e9 040408 arg mem_ipc_fifo_c512bt ,rega 
+0x78ea 040409 call fifo_in 
+0x78eb 040410 fetch 4 ,mem_ipc_rega_temp 
+0x78ec 040411 copy pdata ,rega 
+0x78ed 040412 branch ui_ipc_put_lock 
+:      040414 ui_ipc_clean_all_fifo:
+0x78ee 040415 setarg 0 
+0x78ef 040416 store util_fifo_len ,mem_ipc_fifo_c512bt 
+0x78f0 040417 store util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x78f1 040418 rtn 
+:      040420 check_51cmd:
+0x78f2 040421 bpatchx patch31_0 ,mem_patch31 
+0x78f3 040422 fetch 1 ,mem_hci_cmd 
+0x78f4 040423 nrtn blank 
+0x78f5 040424 arg mem_ipc_fifo_c512bt ,rega 
+0x78f6 040425 call fifo_is_empty 
+0x78f7 040426 rtn blank 
+0x78f8 040427 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+0x78f9 040428 call check_51cmd_once 
+0x78fa 040429 fetch 1 ,mem_ipc_skip_continue_proc 
+0x78fb 040430 branch check_51cmd ,blank 
+0x78fc 040431 rtn 
+:      040433 check_51cmd_once:
+0x78fd 040434 call ui_ipc_get_lock 
+0x78fe 040435 arg mem_ipc_fifo_c512bt ,rega 
+0x78ff 040436 call fifo_out 
+0x7900 040437 copy pdata ,temp 
+0x7901 040438 call ui_ipc_put_lock 
+0x7902 040439 bpatchx patch31_1 ,mem_patch31 
+0x7903 040440 copy temp ,pdata 
+0x7904 040441 rtn blank 
+0x7905 040442 beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+0x7906 040443 beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+0x7907 040444 beq bt_cmd_reconnect ,check_51cmd_reconnect 
+0x7908 040445 beq bt_cmd_start_adv ,check_51cmd_adv 
+0x7909 040446 beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+0x790a 040447 beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+0x790b 040448 beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+0x790c 040449 beq bt_cmd_led_off ,check_51cmd_led_off 
+0x790d 040450 beq bt_cmd_led_on ,check_51cmd_led_on 
+0x790e 040451 beq bt_cmd_led_blink ,check_51cmd_led_start_blink 
+0x790f 040452 beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+0x7910 040453 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+0x7911 040454 beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+0x7912 040455 beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+0x7913 040456 beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+0x7914 040458 store 1 ,mem_fifo_temp 
+0x7915 040459 call lmo_fifo_check 
+0x7916 040460 nbranch check_51cmd_restore ,blank 
+:      040461 check_51cmd_once_continue:
+0x7917 040462 fetch 1 ,mem_fifo_temp 
+0x7918 040463 bmark0 mark_context ,check_51cmd_check_idle 
+0x7919 040464 bpatchx patch31_2 ,mem_patch31 
+0x791a 040465 fetch 1 ,mem_fifo_temp 
+0x791b 040466 beq bt_cmd_disconnect ,check_51cmd_disconnect 
+0x791c 040467 beq bt_cmd_enter_sniff ,check_51cmd_enter_sniff 
+0x791d 040468 beq bt_cmd_exit_sniff ,check_51cmd_exit_sniff 
+0x791e 040469 beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+0x791f 040470 beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+0x7920 040471 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+0x7921 040472 beq bt_cmd_le_update_conn ,check_51cmd_ble_update_connect_param 
+0x7922 040473 beq bt_cmd_role_switch ,check_51cmd_role_switch 
+0x7923 040474 beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+0x7924 040475 beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+0x7925 040476 beq bt_cmd_dhkey_not_accept ,check_51cmd_dhkey_not_accept 
+0x7926 040477 beq bt_cmd_store_reconn_info ,check_51cmd_store_reconn_info 
+0x7927 040478 rtn 
+:      040480 check_51cmd_check_idle:
+0x7928 040481 store 1 ,mem_fifo_temp 
+0x7929 040482 call context_check_idle 
+0x792a 040483 branch check_51cmd_restore ,zero 
+0x792b 040484 call context_search_plap 
+0x792c 040485 nrtn zero 
+:      040486 check_51cmd_restore:
+0x792d 040487 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+0x792e 040488 branch ui_ipc_send_cmd 
+:      040493 check_51cmd_start_discovery:
+0x792f 040494 fetch 2 ,mem_ui_state_map 
+0x7930 040495 set1 ui_state_bt_discovery ,pdata 
+0x7931 040496 store 2 ,mem_ui_state_map 
+0x7932 040497 jam 3 ,mem_scan_mode 
+0x7933 040498 rtn 
+:      040502 check_51cmd_stop_discovery:
+0x7934 040503 jam 0 ,mem_hid_handshake_timer_count 
+0x7935 040504 jam 0 ,mem_scan_mode 
+0x7936 040505 fetch 2 ,mem_ui_state_map 
+0x7937 040506 set0 ui_state_bt_discovery ,pdata 
+0x7938 040507 store 2 ,mem_ui_state_map 
+0x7939 040508 rtn 
+:      040512 check_51cmd_reconnect:
+0x793a 040513 jam hci_cmd_create_conn ,mem_hci_cmd 
+0x793b 040514 rtn 
+:      040518 check_51cmd_disconnect:
+0x793c 040519 jam lmp_detach ,mem_lmo_opcode2 
+0x793d 040520 jam other_end_terminated ,mem_disconn_reason_send 
+0x793e 040521 rtn 
+:      040525 check_51cmd_enter_sniff:
+0x793f 040526 jam lmp_sniff_req ,mem_lmo_opcode2 
+0x7940 040527 arg mem_sniff_payload ,contw 
+0x7941 040528 setarg 0 
+0x7942 040529 isolate1 27 ,clke_bt 
+0x7943 040530 setflag true ,1 ,pdata 
+0x7944 040531 istore 1 ,contw 
+0x7945 040532 setarg 0 
+0x7946 040533 istore 2 ,contw 
+0x7947 040534 fetch 6 ,mem_sniff_param_interval 
+0x7948 040535 istore 6 ,contw 
+0x7949 040536 rtn 
+:      040540 check_51cmd_exit_sniff:
+0x794a 040541 jam lmp_unsniff_req ,mem_lmo_opcode2 
+0x794b 040542 rtn 
+:      040546 check_51cmd_pincode:
+0x794c 040547 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x794d 040549 fetch 1 ,mem_op 
+0x794e 040550 bbit1 op_inrand_req ,check_51cmd_pincode_pair_passive 
+0x794f 040551 call tid_initiate 
+0x7950 040552 jam lmp_in_rand ,mem_lmo_opcode2 
+0x7951 040553 rtn 
+:      040554 check_51cmd_pincode_pair_passive:
+0x7952 040555 set0 op_inrand_req ,pdata 
+0x7953 040556 store 1 ,mem_op 
+0x7954 040557 call lmp_accept_inrand 
+0x7955 040558 setarg 0 
+0x7956 040559 setflag master ,smap_lmptid ,pdata 
+0x7957 040560 store 1 ,mem_lmo_tid2 
+0x7958 040561 rtn 
+:      040565 check_51cmd_adv:
+0x7959 040566 jam on ,mem_le_adv_enable 
+0x795a 040567 jam adv_ind ,mem_le_adv_type 
+0x795b 040568 fetch 2 ,mem_ui_state_map 
+0x795c 040569 set1 ui_state_ble_adv ,pdata 
+0x795d 040570 store 2 ,mem_ui_state_map 
+0x795e 040571 rtn 
+:      040575 check_51cmd_stop_adv:
+0x795f 040576 fetch 2 ,mem_ui_state_map 
+0x7960 040577 set0 ui_state_ble_adv ,pdata 
+0x7961 040578 store 2 ,mem_ui_state_map 
+0x7962 040579 jam off ,mem_le_adv_enable 
+0x7963 040580 rtn 
+:      040584 check_51cmd_direct_adv:
+0x7964 040585 jam on ,mem_le_adv_enable 
+0x7965 040586 jam adv_direct_ind ,mem_le_adv_type 
+0x7966 040587 fetch 2 ,mem_ui_state_map 
+0x7967 040588 set1 ui_state_ble_adv ,pdata 
+0x7968 040589 store 2 ,mem_ui_state_map 
+0x7969 040590 rtn 
+:      040594 check_51cmd_stop_direct_adv:
+0x796a 040595 fetch 2 ,mem_ui_state_map 
+0x796b 040596 set0 ui_state_ble_adv ,pdata 
+0x796c 040597 store 2 ,mem_ui_state_map 
+0x796d 040598 jam off ,mem_le_adv_enable 
+0x796e 040599 rtn 
+:      040603 check_51cmd_le_disconnect:
+0x796f 040604 setarg 20 
+0x7970 040605 store 2 ,mem_le_superto 
+0x7971 040606 store 2 ,mem_le_init_superto 
+0x7972 040607 branch le_send_terminate_ind_user_terminated 
+:      040611 check_51cmd_ble_update_connect_param:
+0x7973 040612 branch le_l2cap_tx_update_req 
+:      040616 check_51cmd_led_off:
+0x7974 040617 arg 0 ,rega 
+0x7975 040618 branch ui_led_off_global 
+:      040622 check_51cmd_led_on:
+0x7976 040623 arg 0 ,rega 
+0x7977 040624 branch ui_led_on_global 
+:      040628 check_51cmd_led_start_blink:
+0x7978 040629 arg 0 ,rega 
+0x7979 040630 call calc_curr_struct_prt 
+0x797a 040631 ifetch 1 ,regb 
+0x797b 040632 beq ui_led_state_blink_start ,check_51cmd_led_start_blink_in_blink 
+0x797c 040633 beq ui_led_state_blink_lighting ,check_51cmd_led_start_blink_in_blink 
+0x797d 040634 beq ui_led_state_blink_darking ,check_51cmd_led_start_blink_in_blink 
+0x797e 040635 branch ui_led_blink_start_global 
+:      040637 check_51cmd_led_start_blink_in_blink:
+0x797f 040638 ifetch 1 ,contr 
+0x7980 040639 rtneq led_infinite_flash_num 
+0x7981 040640 branch ui_led_blink_start_global 
+:      040644 check_51cmd_le_start_con:
+0x7982 040645 jam on ,mem_le_scan_enable 
+0x7983 040646 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x7984 040649 rtn 
+:      040653 check_51cmd_start_scan:
+0x7985 040654 jam on ,mem_le_scan_enable 
+0x7986 040655 rtn 
+:      040659 check_51cmd_stop_scan:
+0x7987 040660 jam off ,mem_le_scan_enable 
+0x7988 040661 jam 0 ,mem_hci_cmd 
+0x7989 040662 rtn 
+:      040666 check_51cmd_hibernate:
+0x798a 040667 fetch 2 ,mem_cb_before_hibernate 
+0x798b 040668 call callback_func 
+0x798c 040669 fetch 1 ,mem_ui_button_gpio 
+0x798d 040670 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+0x798e 040671 copy pdata ,temp 
+0x798f 040672 call gpio_config_input 
+:      040673 check_51cmd_hibernate_btn_disabled:
+0x7990 040674 call ui_ipc_clean_all_fifo 
+0x7991 040675 branch lpm_hibernate 
+:      040679 check_51cmd_le_smp_sec_req:
+0x7992 040680 branch le_send_smp_security_request 
+:      040684 check_51cmd_role_switch:
+0x7993 040685 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x7994 040686 set1 mark_switch_initiated ,mark 
+0x7995 040687 nrtn master 
+0x7996 040688 jam switch_flag_init ,mem_switch_flag 
+0x7997 040689 jam lmp_switch_req ,mem_lmo_opcode2 
+0x7998 040690 fetch 1 ,mem_connection_options 
+0x7999 040691 set0 connection_switch ,pdata 
+0x799a 040692 store 1 ,mem_connection_options 
+0x799b 040693 rtn 
+:      040697 check_51cmd_bb_reconn_cancel:
+0x799c 040698 force page_length_timer ,queue 
+0x799d 040699 branch timer_stop 
+:      040703 check_51cmd_dhkey_not_accept:
+0x799e 040704 call tid_set_reply 
+0x799f 040705 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x79a0 040706 branch lmp_reject_pdu_not_allowed 
+:      040709 ui_check_paring_button:
+0x79a1 040710 fetch 1 ,mem_ui_state_map 
+0x79a2 040711 rtnbit0 ui_state_btn_down 
+0x79a3 040712 rtnbit0 ui_state_bt_reconnect 
+0x79a4 040713 branch check_51cmd_bb_reconn_cancel 
+:      040718 queue_init:
+0x79a5 040719 fetch 2 ,mem_queue_ptr 
+0x79a6 040720 add pdata ,queue_offset_curr_num ,contw 
+0x79a7 040721 setarg 0 
+0x79a8 040722 istore 3 ,contw 
+0x79a9 040723 rtn 
+:      040727 queue_push:
+0x79aa 040728 call disable_user 
+0x79ab 040729 call queue_full 
+0x79ac 040730 rtn blank 
+0x79ad 040731 fetch 2 ,mem_queue_ptr 
+0x79ae 040732 add pdata ,queue_offset_curr_num ,regb 
+0x79af 040733 ifetcht 1 ,regb 
+0x79b0 040734 increase 1 ,temp 
+0x79b1 040735 istoret 1 ,regb 
+0x79b2 040737 ifetcht 1 ,pdata 
+0x79b3 040738 copy temp ,loopcnt 
+0x79b4 040739 add pdata ,queue_offset_write_ptr ,regb 
+0x79b5 040740 ifetch 1 ,regb 
+0x79b6 040741 imul32 temp ,pdata 
+0x79b7 040742 iadd contr ,contw 
+0x79b8 040743 copy rega ,contr 
+:      040744 calc_queue_next_ptr:
+0x79b9 040745 call memcpy 
+0x79ba 040746 call queue_get_size 
+0x79bb 040747 pincrease -1 
+0x79bc 040748 ifetcht 1 ,regb 
+0x79bd 040749 increase 1 ,temp 
+0x79be 040750 iand temp ,temp 
+0x79bf 040751 istoret 1 ,regb 
+0x79c0 040752 branch enable_user 
+:      040757 queue_pop:
+0x79c1 040758 call disable_user 
+0x79c2 040759 call queue_empty 
+0x79c3 040760 rtn blank 
+0x79c4 040761 fetch 2 ,mem_queue_ptr 
+0x79c5 040762 add pdata ,queue_offset_curr_num ,regb 
+0x79c6 040763 ifetcht 1 ,regb 
+0x79c7 040764 increase -1 ,temp 
+0x79c8 040765 istoret 1 ,regb 
+0x79c9 040766 ifetcht 1 ,pdata 
+0x79ca 040767 copy temp ,loopcnt 
+0x79cb 040768 add pdata ,queue_offset_read_ptr ,regb 
+0x79cc 040769 ifetch 1 ,regb 
+0x79cd 040770 imul32 temp ,pdata 
+0x79ce 040771 iadd contr ,contr 
+0x79cf 040772 increase 1 ,contr 
+0x79d0 040773 copy rega ,contw 
+0x79d1 040774 branch calc_queue_next_ptr 
+:      040781 queue_get_new_ele:
+0x79d2 040782 call disable_user 
+0x79d3 040783 call queue_empty 
+0x79d4 040784 rtn blank 
+0x79d5 040785 fetch 2 ,mem_queue_ptr 
+0x79d6 040786 ifetcht 1 ,pdata 
+0x79d7 040787 copy temp ,loopcnt 
+0x79d8 040788 add pdata ,queue_offset_read_ptr ,regb 
+0x79d9 040789 ifetch 1 ,regb 
+0x79da 040790 imul32 temp ,pdata 
+0x79db 040791 iadd contr ,contr 
+0x79dc 040792 increase 1 ,contr 
+0x79dd 040793 copy contr ,regb 
+0x79de 040794 copy rega ,contw 
+0x79df 040795 call memcpy 
+0x79e0 040796 branch enable_user 
+:      040798 queue_store_new_ele:
+0x79e1 040799 call disable_user 
+0x79e2 040800 call queue_empty 
+0x79e3 040801 rtn blank 
+0x79e4 040802 fetch 2 ,mem_queue_ptr 
+0x79e5 040803 ifetcht 1 ,pdata 
+0x79e6 040804 copy temp ,loopcnt 
+0x79e7 040805 add pdata ,queue_offset_read_ptr ,regb 
+0x79e8 040806 ifetch 1 ,regb 
+0x79e9 040807 imul32 temp ,pdata 
+0x79ea 040808 iadd contr ,contr 
+0x79eb 040809 add contr ,2 ,contw 
+0x79ec 040810 copy rega ,contr 
+0x79ed 040811 increase -1 ,loopcnt 
+0x79ee 040812 call memcpy 
+0x79ef 040813 branch enable_user 
+:      040816 queue_empty:
+0x79f0 040817 fetch 2 ,mem_queue_ptr 
+0x79f1 040818 add pdata ,queue_offset_curr_num ,contr 
+0x79f2 040819 ifetch 1 ,contr 
+0x79f3 040820 rtn 
+:      040823 queue_full:
+0x79f4 040824 call queue_get_size 
+0x79f5 040825 ifetcht 1 ,contr 
+0x79f6 040826 isub temp ,pdata 
+0x79f7 040827 rtn 
+:      040830 queue_get_size:
+0x79f8 040831 fetch 2 ,mem_queue_ptr 
+0x79f9 040832 add pdata ,queue_offset_length ,contr 
+0x79fa 040833 ifetch 1 ,contr 
+0x79fb 040834 rtn 
+:      040842 usb_isr:
+0x79fc 040843 bpatchx patch31_3 ,mem_patch31 
+0x79fd 040844 fetch 1 ,core_usb_status 
+0x79fe 040845 isolate1 usb_status_reset ,pdata 
+0x79ff 040846 call usb_init ,true 
+0x7a00 040847 fetch 1 ,core_usb_status 
+0x7a01 040848 store 1 ,core_usb_status 
+0x7a02 040849 store 1 ,mem_usb_status 
+0x7a03 040850 call usb_nak_state_judge 
+0x7a04 040851 call usb_rx 
+0x7a05 040852 call usb0_tx 
+0x7a06 040853 call usb_tx 
+0x7a07 040854 branch usb_nak_state 
+:      040856 usb_init:
+0x7a08 040857 bpatchx patch31_4 ,mem_patch31 
+0x7a09 040858 call enable_authrom 
+0x7a0a 040859 call usb_init_param 
+0x7a0b 040860 jam 0x00 ,core_usb_config 
+0x7a0c 040861 nop 10000 
+0x7a0d 040862 jam 0xc0 ,core_usb_trig 
+0x7a0e 040863 fetch 2 ,core_clkoff 
+0x7a0f 040864 set0 clock_off_usb ,pdata 
+0x7a10 040865 store 2 ,core_clkoff 
+0x7a11 040866 jam 0x0 ,core_usb_hmode 
+0x7a12 040867 jam 0x3c ,core_usb_config 
+0x7a13 040868 setarg mem_usb_rxbuf 
+0x7a14 040869 store 2 ,core_usb_rx_saddr 
+0x7a15 040870 store 2 ,core_usb_rxptr 
+0x7a16 040871 setarg mem_usb_rxbuf_end 
+0x7a17 040872 store 2 ,core_usb_rx_eaddr 
+0x7a18 040873 jam 0x4 ,core_usb_hmode 
+0x7a19 040874 jam 0 ,core_usb_addr 
+0x7a1a 040875 jam 0xff ,core_usb_status 
+0x7a1b 040876 setarg mem_usb_clear_mem_end 
+0x7a1c 040877 arg mem_usb_clear_mem_start ,contw 
+0x7a1d 040878 isub contw ,loopcnt 
+0x7a1e 040879 branch clear_mem 
+:      040881 usb_offline_check_init:
+0x7a1f 040882 fetcht 1 ,mem_usb_offline_check_gpio 
+0x7a20 040883 branch gpio_config_input 
+:      040884 usb_offline_state:
+0x7a21 040885 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x7a22 040886 rtn blank 
+0x7a23 040887 fetcht 1 ,mem_usb_offline_check_gpio 
+0x7a24 040888 call gpio_get_bit 
+0x7a25 040889 branch usb_init ,true 
+0x7a26 040890 rtn 
+:      040892 usb_init_param:
+0x7a27 040893 jam dev_default ,mem_usb0_state 
+0x7a28 040894 setarg 0x0 
+0x7a29 040895 store 1 ,mem_remain 
+0x7a2a 040896 store 2 ,mem_usb_zero_packet 
+0x7a2b 040897 pincrease 1 
+0x7a2c 040898 store 2 ,mem_usb_ones_packet 
+0x7a2d 040899 pincrease 1 
+0x7a2e 040900 store 2 ,mem_usb_two_packet 
+0x7a2f 040901 arg mem_string0 ,contw 
+0x7a30 040902 setarg 0x030404 
+0x7a31 040903 istore 3 ,contw 
+0x7a32 040904 setarg 0x0409 
+0x7a33 040905 istore 2 ,contw 
+0x7a34 040906 arg mem_string1 ,contw 
+0x7a35 040907 setsect 0 ,0x15906 
+0x7a36 040908 setsect 1 ,0x210d2 
+0x7a37 040909 setsect 2 ,0x10494 
+0x7a38 040910 setsect 3 ,0x1 
+0x7a39 040911 istore 9 ,contw 
+0x7a3a 040912 arg mem_string2 ,contw 
+0x7a3b 040913 setsect 0 ,0x1570f 
+0x7a3c 040914 setsect 1 ,0x15c9a 
+0x7a3d 040915 setsect 2 ,0x256c6 
+0x7a3e 040916 setsect 3 ,0x1cdcd 
+0x7a3f 040917 istore 9 ,contw 
+0x7a40 040918 setsect 0 ,0x14420 
+0x7a41 040919 setsect 1 ,0x25d99 
+0x7a42 040920 setsect 2 ,0x25636 
+0x7a43 040921 setsect 3 ,0x1 
+0x7a44 040922 istore 7 ,contw 
+0x7a45 040923 arg mem_string3 ,contw 
+0x7a46 040924 setsect 0 ,0x1620a 
+0x7a47 040925 setsect 1 ,0xc8c 
+0x7a48 040926 setsect 2 ,0x30333 
+0x7a49 040927 setsect 3 ,0xc0c0 
+0x7a4a 040928 istore 9 ,contw 
+0x7a4b 040929 setsect 0 ,0x3130 
+0x7a4c 040930 istore 2 ,contw 
+0x7a4d 040931 setarg usb_kbdata_vendor_define_addr 
+0x7a4e 040932 store 2 ,mem_hidreportdesc_kb 
+0x7a4f 040933 setarg usb_msdata_addr 
+0x7a50 040934 store 2 ,mem_hidreportdesc_m 
+0x7a51 040935 arg usb_devicedata_addr ,contr 
+0x7a52 040936 arg mem_devicedesc ,contw 
+0x7a53 040937 arg 19 ,loopcnt 
+0x7a54 040938 call memcpy 
+0x7a55 040939 arg usb_confdata_addr ,contr 
+0x7a56 040940 arg mem_confdesc ,contw 
+0x7a57 040941 arg 60 ,loopcnt 
+0x7a58 040942 call memcpy 
+:      040943 usb_config_cb:
+0x7a59 040944 fetch 2 ,mem_cb_usb_config 
+0x7a5a 040945 branch callback_func 
+:      040947 usb_tx_interval_config:
+0x7a5b 040948 fetch 1 ,mem_usb_tx_interval 
+0x7a5c 040949 rtn blank 
+0x7a5d 040950 store 1 ,mem_confdesc + 34 
+0x7a5e 040951 store 1 ,mem_confdesc + 59 
+0x7a5f 040952 rtn 
+:      040954 usb_nak_state:
+0x7a60 040955 arg timer_nak ,queue 
+0x7a61 040956 call timer_check 
+0x7a62 040957 nrtn blank 
+0x7a63 040958 fetch 1 ,mem_usb_wakestate_onetime_flag 
+0x7a64 040959 nrtn blank 
+0x7a65 040960 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x7a66 040961 ncall usb_mac_wakeup_judge ,blank 
+0x7a67 040962 rtn 
+:      040964 usb_nak_state_judge:
+0x7a68 040965 fetch 1 ,mem_usb_status 
+0x7a69 040966 bbit1 usb_status_nak ,usb_nak_state_timer_init 
+0x7a6a 040967 rtn 
+:      040969 usb_nak_state_timer_init:
+0x7a6b 040970 call usb0_attached_state_judge 
+0x7a6c 040971 call timer_reinit 
+0x7a6d 040972 setarg timer_nak_delay 
+0x7a6e 040973 arg timer_nak ,queue 
+0x7a6f 040974 branch timer_init 
+:      040976 usb0_attached_state_judge:
+0x7a70 040977 fetch 1 ,mem_usb_state 
+0x7a71 040978 bne usb_connected ,usb_clear_halt_dispose 
+0x7a72 040979 jam 0 ,mem_usb_wakestate_onetime_flag 
+0x7a73 040980 jam 0 ,mem_usb_mac_wakeup_trig 
+0x7a74 040981 rtn 
+:      040983 usb_clear_halt_dispose:
+0x7a75 040984 fetch 1 ,mem_usb_clear_halt 
+0x7a76 040985 rtn blank 
+0x7a77 040986 jam 0 ,mem_usb_clear_halt 
+0x7a78 040987 jam usb_connected ,mem_usb_state 
+0x7a79 040988 jam 1 ,mem_usb_device_enumeration_endflag 
+0x7a7a 040989 rtn 
+:      040991 usb_rx_no_data:
+0x7a7b 040992 fetch 1 ,mem_usb_status 
+0x7a7c 040993 bbit1 usb_status_setup ,usb_class_type 
+0x7a7d 040994 rtn 
+:      040996 usb_rx_data:
+0x7a7e 040997 fetch 1 ,core_usb_txbusy 
+0x7a7f 040998 rtnbit1 usb_status_rxempty 
+0x7a80 040999 fetchr contus ,2 ,core_usb_rx_saddr 
+0x7a81 041000 fetchr contue ,2 ,core_usb_rx_eaddr 
+0x7a82 041001 fetchr contu ,2 ,core_usb_rxptr 
+0x7a83 041002 ifetch 2 ,contu 
+0x7a84 041003 rshift8 pdata ,temp 
+0x7a85 041004 rshift4 temp ,temp 
+0x7a86 041005 arg 0xfff ,contr 
+0x7a87 041006 iand contr ,loopcnt 
+0x7a88 041007 copy loopcnt ,rega 
+:      041008 usb_rx_read:
+0x7a89 041009 ifetch 1 ,contu 
+0x7a8a 041010 istore 1 ,contw 
+0x7a8b 041011 loop usb_rx_read 
+0x7a8c 041012 storer contu ,2 ,core_usb_rxptr 
+0x7a8d 041013 storer rega ,2 ,mem_usb_read_len 
+0x7a8e 041014 rtn 
+:      041015 usb_data_rx:
+0x7a8f 041016 rtn 
+:      041018 usb_rx:
+0x7a90 041019 bpatchx patch31_5 ,mem_patch31 
+0x7a91 041020 fetch 1 ,mem_usb_status 
+0x7a92 041021 rtnbit0 usb_status_rxready 
+0x7a93 041022 arg mem_usb_setup ,contw 
+0x7a94 041023 call usb_rx_data 
+0x7a95 041024 copy temp ,pdata 
+0x7a96 041025 beq 0 ,usb0_rx 
+0x7a97 041026 branch usb_data_rx 
+:      041027 usb0_rx:
+0x7a98 041028 fetch 1 ,mem_usb_read_len 
+0x7a99 041029 beq 0x00 ,usb_rx_no_data 
+0x7a9a 041030 beq 0x01 ,usb_out_one_byte 
+0x7a9b 041031 sub pdata ,7 ,null 
+0x7a9c 041032 rtn positive 
+:      041033 usb_class_type:
+0x7a9d 041034 bpatchx patch31_6 ,mem_patch31 
+0x7a9e 041035 set0 mark_isstr ,mark 
+0x7a9f 041036 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7aa0 041037 and_into 0x80 ,pdata 
+0x7aa1 041038 beq in_device ,usb_in_device 
+0x7aa2 041039 beq out_device ,usb_out_device 
+0x7aa3 041040 branch assert 
+:      041042 usb_out_one_byte:
+0x7aa4 041043 fetch 1 ,mem_usb_setup 
+0x7aa5 041044 rtnbit1 7 
+0x7aa6 041045 call usb_get_led_status 
+0x7aa7 041046 branch usb0_reply_zerolen 
+:      041049 usb_in_device:
+0x7aa8 041050 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7aa9 041051 rshift4 pdata ,pdata 
+0x7aaa 041052 rshift pdata ,pdata 
+0x7aab 041053 and_into 0x03 ,pdata 
+0x7aac 041054 beq standard_req ,usb_in_standard_req 
+0x7aad 041055 beq class_req ,usb_in_class_req 
+0x7aae 041056 beq manufacturer_req ,usb_in_manufacturer_req 
+0x7aaf 041057 branch assert 
+:      041059 usb_out_device:
+0x7ab0 041060 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7ab1 041061 rshift4 pdata ,pdata 
+0x7ab2 041062 rshift pdata ,pdata 
+0x7ab3 041063 and_into 0x03 ,pdata 
+0x7ab4 041064 beq standard_req ,usb_out_standard_req 
+0x7ab5 041065 beq class_req ,usb_out_class_req 
+0x7ab6 041066 beq manufacturer_req ,usb_out_manufacturer_req 
+0x7ab7 041067 branch assert 
+:      041069 usb_in_standard_req:
+0x7ab8 041070 fetch 1 ,mem_usb_setup_brequest 
+0x7ab9 041071 beq get_configuration ,usb0_request_get_configuration 
+0x7aba 041072 beq get_descriptor ,usb0_request_get_descriptor 
+0x7abb 041073 beq get_interface ,usb0_request_get_interface 
+0x7abc 041074 beq get_status ,usb0_request_get_status 
+0x7abd 041075 branch usb0_force_stall 
+:      041077 usb_in_class_req:
+0x7abe 041078 fetch 1 ,mem_usb_setup_brequest 
+0x7abf 041079 beq get_idle ,usb_get_idle 
+0x7ac0 041080 beq get_report ,usb_get_report 
+0x7ac1 041081 beq get_protocol ,usb_get_protocol_req 
+0x7ac2 041082 branch usb0_force_stall 
+:      041084 usb_in_manufacturer_req:
+0x7ac3 041085 branch usb0_force_stall 
+:      041087 usb_out_standard_req:
+0x7ac4 041088 fetch 1 ,mem_usb_setup_brequest 
+0x7ac5 041089 beq clear_feature ,usb0_request_clear_feature 
+0x7ac6 041090 beq set_feature ,usb0_request_set_feature 
+0x7ac7 041091 beq set_address ,usb0_request_set_address 
+0x7ac8 041092 beq set_configuration ,usb0_request_set_configuration 
+0x7ac9 041093 beq set_interface ,usb0_request_set_interface 
+0x7aca 041094 beq set_descriptor ,usb0_force_stall 
+0x7acb 041095 branch usb0_force_stall 
+:      041097 usb_out_class_req:
+0x7acc 041098 fetch 1 ,mem_usb_setup_brequest 
+0x7acd 041099 beq set_idle ,usb_set_idle 
+0x7ace 041100 beq set_report ,usb_set_report 
+0x7acf 041101 beq set_protocol ,usb_set_protocol_req 
+0x7ad0 041102 branch usb0_force_stall 
+:      041104 usb_out_manufacturer_req:
+0x7ad1 041105 branch usb0_force_stall 
+:      041107 usb0_force_stall:
+0x7ad2 041108 fetch 1 ,core_usb_stall 
+0x7ad3 041109 set1 0 ,pdata 
+0x7ad4 041110 store 1 ,core_usb_stall 
+0x7ad5 041111 branch usb0_reply_zerolen 
+:      041113 usb0_reply_zerolen:
+0x7ad6 041114 jam 0x10 ,core_usb_trig 
+0x7ad7 041115 rtn 
+:      041117 usb0_request_get_configuration:
+0x7ad8 041118 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7ad9 041119 bne in_device ,usb0_force_stall 
+0x7ada 041120 fetch 1 ,mem_usb_setup_windex 
+0x7adb 041121 bne 0 ,usb0_force_stall 
+0x7adc 041122 fetch 1 ,mem_usb_setup_windex + 1 
+0x7add 041123 bne 0 ,usb0_force_stall 
+0x7ade 041124 fetch 1 ,mem_usb_setup_blength 
+0x7adf 041125 bne 1 ,usb0_force_stall 
+0x7ae0 041126 fetch 1 ,mem_usb_setup_blengthh 
+0x7ae1 041127 bne 0 ,usb0_force_stall 
+0x7ae2 041128 fetch 1 ,mem_usb_setup_bvalue 
+0x7ae3 041129 bne 0 ,usb0_force_stall 
+0x7ae4 041130 fetch 1 ,mem_usb_setup_bvalue + 1 
+0x7ae5 041131 bne 0 ,usb0_force_stall 
+0x7ae6 041132 fetch 1 ,mem_usb0_state 
+0x7ae7 041133 beq dev_configured ,usb0_request_get_cfg_dev_cfg 
+0x7ae8 041134 beq dev_address ,usb0_request_get_cfg_dev_addr 
+0x7ae9 041135 branch usb0_force_stall 
+:      041137 usb0_request_get_cfg_dev_cfg:
+0x7aea 041138 arg 1 ,regb 
+0x7aeb 041139 branch usb_send_ones_packet 
+:      041141 usb0_request_get_cfg_dev_addr:
+0x7aec 041142 arg 1 ,regb 
+0x7aed 041143 branch usb_send_zero_packet 
+:      041145 usb0_request_get_descriptor:
+0x7aee 041146 bpatchx patch31_7 ,mem_patch31 
+0x7aef 041148 fetch 1 ,mem_usb_setup_bvalueh 
+0x7af0 041149 beq dsc_device ,dsc_device_info 
+0x7af1 041150 beq dsc_config ,dsc_config_info 
+0x7af2 041151 beq dsc_string ,dsc_string_info 
+0x7af3 041152 beq dsc_hid ,dsc_hid_info 
+0x7af4 041153 beq dsc_hid_report ,dsc_hid_report_info 
+0x7af5 041154 branch usb0_force_stall 
+:      041156 dsc_hid_info:
+0x7af6 041157 jam 0 ,mem_usb_get_protocol_flag 
+0x7af7 041158 fetch 1 ,mem_usb_setup_windex 
+0x7af8 041159 beq 0 ,dsc_hid_info_interface0 
+0x7af9 041160 beq 1 ,dsc_hid_info_interface1 
+0x7afa 041161 branch usb0_force_stall 
+:      041163 dsc_hid_info_interface0:
+0x7afb 041164 fetchr regb ,1 ,mem_confdesc + 19 
+0x7afc 041165 arg mem_confdesc + 19 ,rega 
+0x7afd 041166 branch usb0_respond 
+:      041168 dsc_hid_info_interface1:
+0x7afe 041169 fetchr regb ,1 ,mem_confdesc + 44 
+0x7aff 041170 arg mem_confdesc + 44 ,rega 
+0x7b00 041171 branch usb0_respond 
+:      041173 dsc_device_info:
+0x7b01 041177 fetch 1 ,mem_usb_set_high_addr_flag 
+0x7b02 041178 ncall usb_set_high_addr ,blank 
+0x7b03 041179 setarg mem_devicedesc 
+0x7b04 041180 fetcht 1 ,mem_devicedesc 
+:      041181 dsc_info_set_data_len:
+0x7b05 041182 store 2 ,mem_dsc_info_data_pointer 
+0x7b06 041183 storet 1 ,mem_dsc_info_len 
+0x7b07 041184 fetch 1 ,mem_usb_setup_blength 
+0x7b08 041185 isub temp ,null 
+0x7b09 041186 nbranch dsc_info_set_current_data_len ,positive 
+:      041187 dsc_info_set_initial_data_len:
+0x7b0a 041188 fetch 1 ,mem_dsc_info_len 
+:      041189 dsc_info_set_data_size_completed:
+0x7b0b 041190 iforce regb 
+0x7b0c 041191 fetch 2 ,mem_dsc_info_data_pointer 
+0x7b0d 041192 add pdata ,1 ,pdata 
+0x7b0e 041193 iforce rega 
+0x7b0f 041194 branch usb0_respond 
+:      041195 dsc_info_set_current_data_len:
+0x7b10 041196 fetch 1 ,mem_usb_setup_blength 
+0x7b11 041197 branch dsc_info_set_data_size_completed 
+:      041199 usb_set_high_addr:
+0x7b12 041200 fetch 1 ,core_usb_addr 
+0x7b13 041201 ncall usb0_set_addr ,blank 
+0x7b14 041202 jam 0 ,mem_usb_set_high_addr_flag 
+0x7b15 041203 rtn 
+:      041204 usb0_set_addr:
+0x7b16 041205 fetch 1 ,core_usb_addr 
+0x7b17 041206 set1 7 ,pdata 
+0x7b18 041207 store 1 ,core_usb_addr 
+0x7b19 041208 rtn 
+:      041210 dsc_config_info:
+0x7b1a 041211 setarg mem_confdesc 
+0x7b1b 041212 fetcht 1 ,mem_confdesc 
+0x7b1c 041213 branch dsc_info_set_data_len 
+:      041215 dsc_string_info:
+0x7b1d 041216 fetch 1 ,mem_usb_setup_bvalue 
+0x7b1e 041217 sub pdata ,3 ,null 
+0x7b1f 041218 nbranch usb0_force_stall ,positive 
+0x7b20 041219 fetch 1 ,mem_usb_setup_bvalue 
+0x7b21 041220 arg mem_string0 ,rega 
+0x7b22 041221 beq 0 ,usb0_respond_length 
+0x7b23 041222 set1 mark_isstr ,mark 
+0x7b24 041223 arg mem_string1 ,rega 
+0x7b25 041224 beq 1 ,usb0_respond_length 
+0x7b26 041225 arg mem_string2 ,rega 
+0x7b27 041226 beq 2 ,usb0_respond_length 
+0x7b28 041227 arg mem_string3 ,rega 
+0x7b29 041228 beq 3 ,usb0_respond_length 
+0x7b2a 041229 rtn 
+:      041231 dsc_hid_report_info:
+0x7b2b 041232 fetch 2 ,mem_usb_setup_windex 
+0x7b2c 041233 beq 1 ,dsc_hid_report_info0 
+0x7b2d 041234 fetchr rega ,2 ,mem_hidreportdesc_kb 
+0x7b2e 041235 branch usb0_respond_length 
+:      041236 dsc_hid_report_info0:
+0x7b2f 041237 jam 1 ,mem_usb_device_enumeration_endflag 
+0x7b30 041238 jam usb_got_report_req ,mem_usb_state 
+0x7b31 041239 fetchr rega ,2 ,mem_hidreportdesc_m 
+0x7b32 041240 branch usb0_respond_length 
+:      041243 usb0_request_get_interface:
+0x7b33 041244 fetch 1 ,mem_usb0_state 
+0x7b34 041245 bne dev_configured ,usb0_force_stall 
+0x7b35 041246 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7b36 041247 bne in_interface ,usb0_force_stall 
+0x7b37 041248 fetch 1 ,mem_usb_setup_bvalue 
+0x7b38 041249 bne 0 ,usb0_force_stall 
+0x7b39 041250 fetch 1 ,mem_usb_setup_bvalueh 
+0x7b3a 041251 bne 0 ,usb0_force_stall 
+0x7b3b 041252 fetch 1 ,mem_usb_setup_blength 
+0x7b3c 041253 bne 1 ,usb0_force_stall 
+0x7b3d 041254 fetch 1 ,mem_usb_setup_blengthh 
+0x7b3e 041255 bne 0 ,usb0_force_stall 
+0x7b3f 041256 fetch 1 ,mem_usb_setup_windex 
+0x7b40 041257 bne 0 ,usb0_force_stall 
+0x7b41 041258 fetch 1 ,mem_usb_setup_windex + 1 
+0x7b42 041259 bne 0 ,usb0_force_stall 
+0x7b43 041260 arg 1 ,regb 
+0x7b44 041261 branch usb_send_zero_packet 
+:      041264 usb0_request_get_status:
+0x7b45 041265 fetch 1 ,mem_usb0_state 
+0x7b46 041266 beq dev_default ,usb0_force_stall 
+0x7b47 041267 fetch 1 ,mem_usb_setup_bvalue 
+0x7b48 041268 bne 0 ,usb0_force_stall 
+0x7b49 041269 fetch 1 ,mem_usb_setup_bvalueh 
+0x7b4a 041270 bne 0 ,usb0_force_stall 
+0x7b4b 041271 fetch 1 ,mem_usb_setup_blength 
+0x7b4c 041272 bne 2 ,usb0_force_stall 
+0x7b4d 041273 fetch 1 ,mem_usb_setup_blengthh 
+0x7b4e 041274 bne 0 ,usb0_force_stall 
+0x7b4f 041275 fetch 1 ,mem_usb_setup_windex + 1 
+0x7b50 041276 bne 0 ,usb0_force_stall 
+0x7b51 041277 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7b52 041278 beq in_device ,usb0_get_status_in_device 
+0x7b53 041279 beq in_interface ,usb0_get_status_in_interface 
+0x7b54 041280 beq in_endpoint ,usb0_get_status_in_endpoint 
+0x7b55 041281 branch usb0_force_stall 
+:      041284 usb0_sdsystem_dispose:
+0x7b56 041285 jam 1 ,mem_sdsystem_wakeup_flag 
+0x7b57 041286 branch usb_send_two_packet 
+:      041288 usb0_get_status_in_device:
+0x7b58 041289 fetch 1 ,mem_usb_setup_windex 
+0x7b59 041290 bne 0 ,usb0_force_stall 
+0x7b5a 041291 arg 2 ,regb 
+0x7b5b 041292 fetch 1 ,mem_usb_remote_wakeup 
+0x7b5c 041293 beq 0x01 ,usb0_sdsystem_dispose 
+:      041295 usb_send_zero_packet:
+0x7b5d 041296 arg mem_usb_zero_packet ,rega 
+0x7b5e 041297 branch usb0_respond 
+:      041298 usb_send_ones_packet:
+0x7b5f 041299 arg mem_usb_ones_packet ,rega 
+0x7b60 041300 branch usb0_respond 
+:      041301 usb_send_two_packet:
+0x7b61 041302 arg mem_usb_two_packet ,rega 
+0x7b62 041303 branch usb0_respond 
+:      041305 usb0_get_status_in_interface:
+0x7b63 041306 fetch 1 ,mem_usb0_state 
+0x7b64 041307 bne dev_configured ,usb0_force_stall 
+0x7b65 041308 arg 2 ,regb 
+0x7b66 041309 branch usb_send_zero_packet 
+:      041311 usb0_get_status_in_endpoint:
+0x7b67 041312 fetch 1 ,mem_usb0_state 
+0x7b68 041313 bne dev_configured ,usb0_force_stall 
+0x7b69 041314 fetch 1 ,mem_usb_setup_windex 
+0x7b6a 041315 beq in_ep1 ,usb0_get_status_in_ep_in_ep1 
+0x7b6b 041316 beq in_ep2 ,usb0_get_status_in_ep_in_ep2 
+0x7b6c 041317 beq in_ep3 ,usb0_get_status_in_ep_in_ep3 
+0x7b6d 041318 and_into 0x7f ,pdata 
+0x7b6e 041319 beq 0x00 ,usb0_get_status_in_ep_in_ep0 
+0x7b6f 041320 branch usb0_force_stall 
+:      041322 usb0_get_status_in_ep_in_ep0:
+0x7b70 041323 fetch 1 ,mem_usb_ep0_stall_status 
+:      041324 usb0_get_status_in_ep_in_ack:
+0x7b71 041325 arg 2 ,regb 
+0x7b72 041326 beq 1 ,usb_send_ones_packet 
+0x7b73 041327 branch usb_send_zero_packet 
+:      041328 usb0_get_status_in_ep_in_ep1:
+0x7b74 041329 fetch 1 ,mem_usb_ep1_stall_status 
+0x7b75 041330 branch usb0_get_status_in_ep_in_ack 
+:      041331 usb0_get_status_in_ep_in_ep2:
+0x7b76 041332 fetch 1 ,mem_usb_ep2_stall_status 
+0x7b77 041333 branch usb0_get_status_in_ep_in_ack 
+:      041334 usb0_get_status_in_ep_in_ep3:
+0x7b78 041335 fetch 1 ,mem_usb_ep3_stall_status 
+0x7b79 041336 branch usb0_get_status_in_ep_in_ack 
+:      041338 usb_get_idle:
+0x7b7a 041339 jam 1 ,mem_usb_idle_flag 
+0x7b7b 041340 arg mem_usb_idle_rate ,rega 
+0x7b7c 041341 arg 1 ,regb 
+0x7b7d 041342 branch usb0_respond 
+:      041344 usb_get_report:
+0x7b7e 041345 fetch 2 ,mem_usb_setup_bvalue 
+0x7b7f 041346 arg pc_get_report ,temp 
+0x7b80 041347 isub temp ,null 
+0x7b81 041348 nbranch usb0_force_stall ,zero 
+:      041350 usb_get_report_dispose:
+0x7b82 041351 fetch 1 ,mem_usb0_data_ready_report 
+0x7b83 041352 nbranch usb_get_report_data_success ,blank 
+0x7b84 041353 jam pc_get_nondata ,mem_usb0_get_report_data 
+:      041354 usb_get_report_send_data:
+0x7b85 041355 fetch 1 ,mem_usb_setup_blength 
+0x7b86 041356 iforce regb 
+0x7b87 041357 arg mem_usb0_get_report_data ,rega 
+0x7b88 041358 call usb0_respond 
+:      041359 usb_get_report_data_release:
+0x7b89 041360 arg mem_usb0_get_report_data ,contw 
+0x7b8a 041361 arg 8 ,loopcnt 
+0x7b8b 041362 branch memset0 
+:      041363 usb_get_report_data_success:
+0x7b8c 041364 jam 0 ,mem_usb0_data_ready_report 
+0x7b8d 041365 jam pc_get_data ,mem_usb0_get_report_data 
+0x7b8e 041366 branch usb_get_report_send_data 
+:      041368 usb_get_protocol_req:
+0x7b8f 041369 fetch 1 ,mem_usb_setup_blength 
+0x7b90 041370 bne 1 ,usb0_force_stall 
+0x7b91 041371 jam 1 ,mem_usb_get_protocol_flag 
+0x7b92 041372 arg 1 ,regb 
+0x7b93 041373 fetch 1 ,mem_usb_set_protocol_value 
+0x7b94 041374 beq 0 ,usb_get_report_protocol 
+0x7b95 041375 beq 1 ,usb_get_boot_protocol 
+0x7b96 041376 branch usb_send_zero_packet 
+:      041377 usb_get_report_protocol:
+0x7b97 041378 branch usb_send_ones_packet 
+:      041379 usb_get_boot_protocol:
+0x7b98 041380 branch usb_send_zero_packet 
+:      041385 usb0_request_clear_feature:
+0x7b99 041386 fetch 1 ,mem_usb0_state 
+0x7b9a 041387 bne dev_configured ,usb0_force_stall 
+0x7b9b 041388 fetch 1 ,mem_usb_setup_blength 
+0x7b9c 041389 bne 0 ,usb0_force_stall 
+0x7b9d 041390 fetch 1 ,mem_usb_setup_blengthh 
+0x7b9e 041391 bne 0 ,usb0_force_stall 
+0x7b9f 041392 fetch 1 ,mem_usb_setup_bvalueh 
+0x7ba0 041393 bne 0 ,usb0_force_stall 
+0x7ba1 041394 fetch 1 ,mem_usb_setup_windex + 1 
+0x7ba2 041395 bne 0 ,usb0_force_stall 
+0x7ba3 041396 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7ba4 041397 beq out_device ,usb0_request_clear_feature_out_device 
+0x7ba5 041398 beq out_interface ,usb0_request_clear_feature_out_interface 
+0x7ba6 041399 beq out_endpoint ,usb0_request_clear_feature_out_endpoint 
+0x7ba7 041400 branch usb0_force_stall 
+:      041402 usb0_request_clear_feature_out_device:
+0x7ba8 041403 fetch 1 ,mem_usb_setup_bvalue 
+0x7ba9 041404 bne device_remote_wakeup ,usb0_force_stall 
+0x7baa 041405 fetch 1 ,core_usb_config 
+0x7bab 041406 set0 7 ,pdata 
+0x7bac 041407 store 1 ,core_usb_config 
+0x7bad 041408 jam 0 ,mem_usb_remote_wakeup 
+0x7bae 041409 jam 1 ,mem_usb_clear_remote_wakeup 
+0x7baf 041410 fetch 1 ,mem_sdsystem_wakeup_flag 
+0x7bb0 041411 branch usb0_reply_zerolen ,blank 
+0x7bb1 041412 jam 0 ,mem_sdsystem_wakeup_flag 
+0x7bb2 041413 jam 0 ,mem_usb_clear_remote_wakeup 
+0x7bb3 041414 jam usb_connected ,mem_usb_state 
+0x7bb4 041415 branch usb0_reply_zerolen 
+:      041417 usb0_request_clear_feature_out_interface:
+0x7bb5 041418 branch usb0_force_stall 
+:      041420 usb0_request_clear_feature_out_endpoint:
+0x7bb6 041421 fetch 1 ,mem_usb_setup_bvalue 
+0x7bb7 041422 bne endpoint_halt ,usb0_force_stall 
+0x7bb8 041423 fetch 1 ,mem_usb_setup_windex 
+0x7bb9 041424 beq in_ep1 ,usb0_force_stall_ep1_in_off 
+0x7bba 041425 beq in_ep2 ,usb0_force_stall_ep2_in_off 
+0x7bbb 041426 beq in_ep3 ,usb0_force_stall_ep3_in_off 
+0x7bbc 041427 and_into 0x7f ,pdata 
+0x7bbd 041428 beq 0x00 ,usb0_force_stall_ep0_in_off 
+0x7bbe 041429 branch usb0_force_stall 
+:      041431 usb0_force_stall_ep0_in_off:
+0x7bbf 041432 jam 0 ,mem_usb_ep0_stall_status 
+0x7bc0 041433 branch usb0_reply_zerolen 
+:      041434 usb0_force_stall_ep1_in_off:
+0x7bc1 041435 jam 0 ,mem_usb_ep1_stall_status 
+:      041436 usb0_force_stall_ep1_in_off_reply:
+0x7bc2 041437 jam 1 ,mem_usb_clear_halt 
+0x7bc3 041438 branch usb0_reply_zerolen 
+:      041439 usb0_force_stall_ep2_in_off:
+0x7bc4 041440 jam 0 ,mem_usb_ep2_stall_status 
+0x7bc5 041441 branch usb0_force_stall_ep1_in_off_reply 
+:      041442 usb0_force_stall_ep3_in_off:
+0x7bc6 041443 jam 0 ,mem_usb_ep3_stall_status 
+0x7bc7 041444 branch usb0_force_stall_ep1_in_off_reply 
+:      041447 usb0_request_set_feature:
+0x7bc8 041448 fetch 1 ,mem_usb_setup_blength 
+0x7bc9 041449 bne 0 ,usb0_force_stall 
+0x7bca 041450 fetch 1 ,mem_usb_setup_blengthh 
+0x7bcb 041451 bne 0 ,usb0_force_stall 
+0x7bcc 041452 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7bcd 041453 beq out_device ,usb0_request_set_feature_out_device 
+0x7bce 041454 beq out_interface ,usb0_request_set_feature_out_interface 
+0x7bcf 041455 beq out_endpoint ,usb0_request_set_feature_out_endpoint 
+0x7bd0 041456 branch usb0_force_stall 
+:      041458 usb0_request_set_feature_out_device:
+0x7bd1 041459 fetch 1 ,mem_usb_setup_bvalue 
+0x7bd2 041460 bne device_remote_wakeup ,usb0_force_stall 
+0x7bd3 041461 call dongle_set_pc_sleep_flag 
+0x7bd4 041462 fetch 1 ,core_usb_config 
+0x7bd5 041463 set1 7 ,pdata 
+0x7bd6 041464 store 1 ,core_usb_config 
+0x7bd7 041465 jam 1 ,mem_usb_remote_wakeup 
+0x7bd8 041466 jam usb_sleep ,mem_usb_state 
+0x7bd9 041467 jam 0 ,mem_usb_tx_win_enable 
+0x7bda 041468 call usb0_reply_zerolen 
+:      041469 usb_wakeup_timer_reinit:
+0x7bdb 041470 call timer_reinit 
+0x7bdc 041471 setarg timer_wakeup_delay 
+0x7bdd 041472 arg timer_wakeup ,queue 
+0x7bde 041473 branch timer_init 
+:      041475 usb0_request_set_feature_out_interface:
+0x7bdf 041476 branch usb0_force_stall 
+:      041478 usb0_request_set_feature_out_endpoint:
+0x7be0 041479 fetch 1 ,mem_usb_setup_bvalue 
+0x7be1 041480 bne endpoint_halt ,usb0_force_stall 
+0x7be2 041481 fetch 1 ,mem_usb_setup_bvalueh 
+0x7be3 041482 bne 0 ,usb0_force_stall 
+0x7be4 041483 fetch 1 ,mem_usb_setup_windex 
+0x7be5 041484 beq in_ep1 ,usb0_force_stall_ep1_in_on 
+0x7be6 041485 beq in_ep2 ,usb0_force_stall_ep2_in_on 
+0x7be7 041486 beq in_ep3 ,usb0_force_stall_ep3_in_on 
+0x7be8 041487 and_into 0x7f ,pdata 
+0x7be9 041488 beq 0x00 ,usb0_force_stall_ep0_in_on 
+0x7bea 041489 branch usb0_force_stall 
+:      041491 usb0_force_stall_ep0_in_on:
+0x7beb 041492 jam 1 ,mem_usb_ep0_stall_status 
+0x7bec 041493 branch usb0_reply_zerolen 
+:      041494 usb0_force_stall_ep1_in_on:
+0x7bed 041495 jam 1 ,mem_usb_ep1_stall_status 
+0x7bee 041496 branch usb0_reply_zerolen 
+:      041497 usb0_force_stall_ep2_in_on:
+0x7bef 041498 jam 1 ,mem_usb_ep2_stall_status 
+0x7bf0 041499 branch usb0_reply_zerolen 
+:      041500 usb0_force_stall_ep3_in_on:
+0x7bf1 041501 jam 1 ,mem_usb_ep3_stall_status 
+0x7bf2 041502 branch usb0_reply_zerolen 
+:      041505 usb0_request_set_address:
+0x7bf3 041506 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7bf4 041507 bne out_device ,usb0_force_stall 
+0x7bf5 041508 fetch 1 ,mem_usb_setup_windex 
+0x7bf6 041509 bne 0 ,usb0_force_stall 
+0x7bf7 041510 fetch 1 ,mem_usb_setup_windex + 1 
+0x7bf8 041511 bne 0 ,usb0_force_stall 
+0x7bf9 041512 fetch 1 ,mem_usb_setup_blength 
+0x7bfa 041513 bne 0 ,usb0_force_stall 
+0x7bfb 041514 fetch 1 ,mem_usb_setup_blengthh 
+0x7bfc 041515 bne 0 ,usb0_force_stall 
+0x7bfd 041516 fetch 1 ,mem_usb_setup_bvalueh 
+0x7bfe 041517 bne 0 ,usb0_force_stall 
+0x7bff 041518 fetch 1 ,mem_usb_setup_bvalue 
+0x7c00 041519 and_into 0x80 ,pdata 
+0x7c01 041520 bne 0 ,usb0_force_stall 
+0x7c02 041521 fetch 1 ,mem_usb_setup_bvalue 
+0x7c03 041522 bne 0 ,usb_usb0_state_set_dev_addr 
+:      041523 usb_usb0_state_set_dev_default:
+0x7c04 041524 jam dev_default ,mem_usb0_state 
+:      041525 usb0_request_set_wait_address:
+0x7c05 041526 fetch 1 ,mem_usb_setup_bvalue 
+0x7c06 041527 store 1 ,core_usb_addr 
+0x7c07 041528 call usb0_reply_zerolen 
+0x7c08 041529 jam 1 ,mem_usb_set_high_addr_flag 
+0x7c09 041530 rtn 
+:      041531 usb_usb0_state_set_dev_addr:
+0x7c0a 041532 jam dev_address ,mem_usb0_state 
+0x7c0b 041533 branch usb0_request_set_wait_address 
+:      041536 usb0_request_set_configuration:
+0x7c0c 041537 fetch 1 ,mem_usb0_state 
+0x7c0d 041538 beq dev_default ,usb0_force_stall 
+0x7c0e 041539 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7c0f 041540 bne out_device ,usb0_force_stall 
+0x7c10 041541 fetch 1 ,mem_usb_setup_windex 
+0x7c11 041542 bne 0 ,usb0_force_stall 
+0x7c12 041543 fetch 1 ,mem_usb_setup_windex + 1 
+0x7c13 041544 bne 0 ,usb0_force_stall 
+0x7c14 041545 fetch 1 ,mem_usb_setup_blength 
+0x7c15 041546 bne 0 ,usb0_force_stall 
+0x7c16 041547 fetch 1 ,mem_usb_setup_blengthh 
+0x7c17 041548 bne 0 ,usb0_force_stall 
+0x7c18 041549 fetch 1 ,mem_usb_setup_bvalue + 1 
+0x7c19 041550 bne 0 ,usb0_force_stall 
+0x7c1a 041551 fetch 1 ,mem_usb_setup_bvalue 
+0x7c1b 041552 sub pdata ,usb_max_num_cfg ,null 
+0x7c1c 041553 nbranch usb0_force_stall ,positive 
+0x7c1d 041554 fetch 1 ,mem_usb0_state 
+0x7c1e 041555 beq dev_address ,usb0_request_set_cfg_addr_state 
+0x7c1f 041556 beq dev_configured ,usb0_request_set_cfg_cfg_state 
+0x7c20 041557 branch usb0_force_stall 
+:      041559 usb0_request_set_cfg_addr_state:
+:      041560 usb0_request_set_cfg_cfg_state:
+0x7c21 041561 fetch 1 ,mem_usb_setup_bvalue 
+0x7c22 041562 beq 0 ,usb0_request_set_cfg_stay_addr_state 
+0x7c23 041563 jam dev_configured ,mem_usb0_state 
+0x7c24 041564 branch usb0_reply_zerolen 
+:      041565 usb0_request_set_cfg_stay_addr_state:
+0x7c25 041566 jam dev_address ,mem_usb0_state 
+0x7c26 041567 branch usb0_reply_zerolen 
+:      041570 usb0_request_set_interface:
+0x7c27 041571 fetch 1 ,mem_usb0_state 
+0x7c28 041572 bne dev_configured ,usb0_force_stall 
+0x7c29 041573 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7c2a 041574 bne out_interface ,usb0_force_stall 
+0x7c2b 041575 fetch 1 ,mem_usb_setup_bvalue 
+0x7c2c 041576 bne 0 ,usb0_force_stall 
+0x7c2d 041577 fetch 1 ,mem_usb_setup_bvalueh 
+0x7c2e 041578 bne 0 ,usb0_force_stall 
+0x7c2f 041579 fetch 1 ,mem_usb_setup_blength 
+0x7c30 041580 bne 0 ,usb0_force_stall 
+0x7c31 041581 fetch 1 ,mem_usb_setup_blengthh 
+0x7c32 041582 bne 0 ,usb0_force_stall 
+0x7c33 041583 fetch 1 ,mem_usb_setup_windex 
+0x7c34 041584 bne 0 ,usb0_force_stall 
+0x7c35 041585 fetch 1 ,mem_usb_setup_windex + 1 
+0x7c36 041586 bne 0 ,usb0_force_stall 
+0x7c37 041587 branch usb0_reply_zerolen 
+:      041590 usb_set_idle:
+0x7c38 041591 bpatchx patch32_0 ,mem_patch32 
+0x7c39 041592 jam 1 ,mem_usb_idle_flag 
+0x7c3a 041593 fetch 1 ,mem_usb_setup_bvalueh 
+0x7c3b 041594 store 1 ,mem_usb_idle_rate 
+0x7c3c 041595 fetch 1 ,mem_usb_setup_windex 
+0x7c3d 041596 sub pdata ,1 ,null 
+0x7c3e 041597 call usb_clear_remote_wakeup_set0 ,zero 
+0x7c3f 041598 fetch 1 ,mem_usb_state 
+0x7c40 041599 bne usb_resume ,usb0_reply_zerolen 
+0x7c41 041600 jam usb_connected ,mem_usb_state 
+0x7c42 041601 call usb0_reply_zerolen 
+0x7c43 041602 nop 30000 
+0x7c44 041603 nop 30000 
+0x7c45 041604 rtn 
+:      041605 usb_clear_remote_wakeup_set0:
+0x7c46 041606 jam 1 ,mem_usb_device_enumeration_endflag 
+0x7c47 041607 jam 0 ,mem_usb_clear_remote_wakeup 
+0x7c48 041608 jam usb_resume ,mem_usb_state 
+0x7c49 041609 rtn 
+:      041612 usb_set_report:
+0x7c4a 041613 arg mem_usb0_set_report_data ,contw 
+0x7c4b 041614 call usb_rx_data 
+0x7c4c 041615 jam 1 ,mem_usb0_get_set_report 
+0x7c4d 041616 call usb_set_report_resume_judge 
+0x7c4e 041617 fetch 2 ,mem_usb_setup_bvalue 
+0x7c4f 041618 store 2 ,mem_usb_setup_bvalue_temp 
+0x7c50 041619 call usb0_reply_zerolen 
+0x7c51 041620 fetch 1 ,mem_device_option 
+0x7c52 041621 rtnne dvc_op_dongle 
+0x7c53 041622 fetch 1 ,mem_usb_tx_win_enable 
+0x7c54 041623 rtn blank 
+0x7c55 041624 fetch 1 ,mem_usb0_set_report_data 
+:      041625 usb_get_led_status:
+0x7c56 041626 store 1 ,mem_24g_led_status 
+0x7c57 041627 jam 0 ,mem_usb_tx_win_enable 
+0x7c58 041628 jam kb_led_ackpayload ,mem_24g_ackpayload_enable 
+0x7c59 041629 rtn 
+:      041632 usb_set_report_resume_judge:
+0x7c5a 041633 fetch 2 ,mem_usb_setup_bvalue 
+0x7c5b 041634 arg pc_set_report_bvalue ,temp 
+0x7c5c 041635 isub temp ,null 
+0x7c5d 041636 nrtn zero 
+0x7c5e 041637 fetch 2 ,mem_usb_setup_windex 
+0x7c5f 041638 arg pc_set_report_windex ,temp 
+0x7c60 041639 isub temp ,null 
+0x7c61 041640 nrtn zero 
+0x7c62 041641 fetch 2 ,mem_usb_setup_blength 
+0x7c63 041642 arg pc_set_report_blength ,temp 
+0x7c64 041643 isub temp ,null 
+0x7c65 041644 nrtn zero 
+0x7c66 041645 jam 1 ,mem_usb_tx_win_enable 
+0x7c67 041646 rtn 
+:      041649 usb_set_protocol_req:
+0x7c68 041650 fetch 1 ,mem_usb_setup_blength 
+0x7c69 041651 bne 0 ,usb0_force_stall 
+0x7c6a 041652 fetch 1 ,mem_usb_setup_bvalue 
+0x7c6b 041653 beq boot_protocol ,usb_set_boot_protocol 
+0x7c6c 041654 beq report_protocol ,usb_set_report_protocol 
+0x7c6d 041655 branch usb0_force_stall 
+:      041656 usb_set_boot_protocol:
+0x7c6e 041657 jam 0 ,mem_usb_set_protocol_status 
+0x7c6f 041658 jam 1 ,mem_usb_set_protocol_value 
+0x7c70 041659 branch usb0_reply_zerolen 
+:      041660 usb_set_report_protocol:
+0x7c71 041661 jam 1 ,mem_usb_tx_mac_enable 
+0x7c72 041662 jam 1 ,mem_usb_set_protocol_status 
+0x7c73 041663 jam 0 ,mem_usb_set_protocol_value 
+0x7c74 041664 branch usb0_reply_zerolen 
+:      041667 usb0_respond_length:
+0x7c75 041668 ifetchr regb ,1 ,rega 
+0x7c76 041669 increase 1 ,rega 
+:      041671 usb0_respond:
+0x7c77 041672 bpatchx patch32_1 ,mem_patch32 
+0x7c78 041673 set1 mark_usb_first_resp ,mark 
+0x7c79 041674 bmark0 mark_isstr ,usb0_respond_nostr 
+0x7c7a 041675 increase 1 ,regb 
+0x7c7b 041676 lshift regb ,regb 
+:      041677 usb0_respond_nostr:
+0x7c7c 041678 storer rega ,2 ,mem_bufptr 
+0x7c7d 041679 storer regb ,1 ,mem_remain 
+0x7c7e 041680 branch usb0_tx 
+:      041682 usb_no_respond_data:
+0x7c7f 041683 arg 0 ,queue 
+0x7c80 041684 branch usb_trig 
+:      041689 usb0_tx:
+0x7c81 041690 bpatchx patch32_2 ,mem_patch32 
+0x7c82 041691 fetch 1 ,core_usb_txbusy 
+0x7c83 041692 rtnbit1 0 
+0x7c84 041693 fetch 1 ,mem_remain 
+0x7c85 041694 rtn blank 
+0x7c86 041695 copy pdata ,loopcnt 
+0x7c87 041696 iforce temp 
+0x7c88 041697 fetch 2 ,mem_usb_setup_blength 
+0x7c89 041698 sub pdata ,ep0_packet_size ,null 
+0x7c8a 041699 branch usb0_tx_short ,positive 
+0x7c8b 041700 sub loopcnt ,ep0_packet_size ,null 
+0x7c8c 041701 branch usb0_tx_info ,positive 
+0x7c8d 041702 force ep0_packet_size ,loopcnt 
+0x7c8e 041703 branch usb0_tx_info 
+:      041704 usb0_tx_short:
+0x7c8f 041705 isub loopcnt ,null 
+0x7c90 041706 branch usb0_tx_info ,positive 
+0x7c91 041707 iforce loopcnt 
+0x7c92 041708 store 1 ,mem_remain 
+:      041709 usb0_tx_info:
+0x7c93 041710 fetch 1 ,mem_remain 
+0x7c94 041711 isub loopcnt ,pdata 
+0x7c95 041712 store 1 ,mem_remain 
+0x7c96 041713 add loopcnt ,-1 ,pdata 
+0x7c97 041714 store 1 ,mem_usb_txbuf 
+0x7c98 041715 bmark0 mark_isstr ,usb0_tx_nostr 
+0x7c99 041716 rshift pdata ,pdata 
+0x7c9a 041717 add loopcnt ,-1 ,pdata 
+0x7c9b 041718 store 1 ,mem_usb_txbuf 
+0x7c9c 041719 bmark0 mark_usb_first_resp ,usb0_tx_nostr 
+0x7c9d 041720 set0 mark_usb_first_resp ,mark 
+0x7c9e 041721 istoret 1 ,contw 
+0x7c9f 041722 setarg 3 
+0x7ca0 041723 istore 1 ,contw 
+0x7ca1 041724 increase -1 ,loopcnt 
+0x7ca2 041725 copy loopcnt ,pdata 
+0x7ca3 041726 nbranch usb0_tx_nostr ,zero 
+0x7ca4 041727 increase 1 ,loopcnt 
+:      041728 usb0_tx_nostr:
+0x7ca5 041729 fetch 2 ,mem_bufptr 
+0x7ca6 041730 copy pdata ,contr 
+:      041731 usb0_tx0:
+0x7ca7 041732 ifetch 1 ,contr 
+0x7ca8 041733 istore 1 ,contw 
+0x7ca9 041734 bmark0 mark_isstr ,usb0_tx1 
+0x7caa 041735 setarg 0 
+0x7cab 041736 istore 1 ,contw 
+:      041737 usb0_tx1:
+0x7cac 041738 loop usb0_tx0 
+0x7cad 041739 copy contr ,pdata 
+0x7cae 041740 store 2 ,mem_bufptr 
+0x7caf 041741 setarg mem_usb_txbuf 
+0x7cb0 041742 store 2 ,core_usb_tx_saddr0 
+0x7cb1 041743 arg 0 ,queue 
+0x7cb2 041744 call usb_trig 
+0x7cb3 041745 fetch 1 ,mem_remain 
+0x7cb4 041746 nrtn blank 
+0x7cb5 041747 fetch 1 ,mem_usb_state 
+0x7cb6 041748 rtnne usb_got_report_req 
+0x7cb7 041749 jam usb_connected ,mem_usb_state 
+0x7cb8 041750 rtn 
+:      041754 usb_tx_ep1:
+0x7cb9 041755 arg 1 ,queue 
+0x7cba 041756 arg mem_usb_txbuf1 ,rega 
+0x7cbb 041757 storer rega ,2 ,core_usb_tx_saddr1 
+:      041758 usb_tx_buf:
+0x7cbc 041759 add loopcnt ,-1 ,pdata 
+0x7cbd 041760 istore 1 ,rega 
+:      041761 usb_tx_loop:
+0x7cbe 041762 ifetch 1 ,contr 
+0x7cbf 041763 istore 1 ,contw 
+0x7cc0 041764 loop usb_tx_loop 
+:      041765 usb_trig:
+0x7cc1 041766 setarg 0 
+0x7cc2 041767 qset1 pdata 
+0x7cc3 041768 store 1 ,core_usb_trig 
+0x7cc4 041769 rtn 
+:      041771 usb_tx_ep2:
+0x7cc5 041772 arg 2 ,queue 
+0x7cc6 041773 arg mem_usb_txbuf2 ,rega 
+0x7cc7 041774 storer rega ,2 ,core_usb_tx_saddr2 
+0x7cc8 041775 branch usb_tx_buf 
+:      041777 usb_tx:
+0x7cc9 041778 bpatchx patch32_3 ,mem_patch32 
+0x7cca 041779 fetch 1 ,mem_usb_tx_enable 
+0x7ccb 041780 rtn blank 
+0x7ccc 041781 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x7ccd 041782 branch usb_tx_fifo_release ,blank 
+0x7cce 041783 fetch 1 ,mem_usb_state 
+0x7ccf 041784 beq usb_sleep ,usb_windows_wakeup 
+0x7cd0 041785 bne usb_connected ,usb_tx_fifo_release 
+0x7cd1 041786 fetch 1 ,mem_usb_clear_remote_wakeup 
+0x7cd2 041787 nbranch usb_tx_fifo_release ,blank 
+0x7cd3 041788 call usb_tx_data_ep1 
+0x7cd4 041789 branch usb_tx_data_ep2 
+:      041791 usb_tx_data_ep1:
+0x7cd5 041792 fetch 1 ,core_usb_txbusy 
+0x7cd6 041793 rtnbit1 1 
+0x7cd7 041794 fetch 1 ,mem_usb_tx_enable 
+0x7cd8 041795 rtnbit0 1 
+0x7cd9 041796 fetch 1 ,mem_usb_tx_enable 
+0x7cda 041797 set0 1 ,pdata 
+0x7cdb 041798 store 1 ,mem_usb_tx_enable 
+0x7cdc 041799 fetch 1 ,mem_usb_ep1_data 
+0x7cdd 041800 rtn blank 
+0x7cde 041801 beq usb_ep1_kb ,usb_tx_kb_normal_data 
+0x7cdf 041802 branch assert 
+:      041804 usb_tx_data_ep2:
+0x7ce0 041805 fetch 1 ,core_usb_txbusy 
+0x7ce1 041806 rtnbit1 2 
+0x7ce2 041807 fetch 1 ,mem_usb_tx_enable 
+0x7ce3 041808 rtnbit0 2 
+0x7ce4 041809 fetch 1 ,mem_usb_tx_enable 
+0x7ce5 041810 set0 2 ,pdata 
+0x7ce6 041811 store 1 ,mem_usb_tx_enable 
+0x7ce7 041812 fetch 1 ,mem_usb_ep2_data 
+0x7ce8 041813 rtn blank 
+0x7ce9 041814 beq usb_ep2_ms ,usb_tx_ms_data 
+0x7cea 041815 beq usb_ep2_multikey ,usb_tx_kb_multikey_data 
+0x7ceb 041816 beq usb_ep2_systemkey ,usb_tx_kb_systemkey_data 
+0x7cec 041817 branch assert 
+:      041819 usb_tx_fifo_release:
+0x7ced 041821 arg mem_usb_mouse_data ,contw 
+0x7cee 041822 arg 8 ,loopcnt 
+0x7cef 041823 branch memset0 
+:      041825 usb_tx_ms_data:
+0x7cf0 041826 fetch 1 ,mem_usb_idle_flag 
+0x7cf1 041827 fetcht 1 ,mem_usb_get_protocol_flag 
+0x7cf2 041828 iand temp ,pdata 
+0x7cf3 041829 branch usb_tx_ms_data_normal_mode ,blank 
+0x7cf4 041830 fetcht 1 ,mem_usb_set_protocol_status 
+0x7cf5 041831 iadd temp ,pdata 
+0x7cf6 041832 beq mac_boot_mode ,usb_tx_ms_data_mac_boot_mode 
+0x7cf7 041833 branch usb_tx_ms_data_normal_mode 
+:      041835 usb_tx_ms_data_mac_boot_mode:
+0x7cf8 041836 jam 0 ,mem_usb_ep2_data 
+:      041837 usb_tx_ms_data_mac_boot_regroup:
+0x7cf9 041838 fetch 1 ,mem_usb_mouse_data + 1 
+0x7cfa 041839 beq r_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+0x7cfb 041840 beq lr_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+0x7cfc 041841 fetch 1 ,mem_usb_mouse_data + 1 
+0x7cfd 041842 store 1 ,mem_usb_mouse_data 
+0x7cfe 041843 fetch 1 ,mem_usb_mouse_data + 2 
+0x7cff 041844 istore 1 ,contw 
+0x7d00 041845 fetch 1 ,mem_usb_mouse_data + 4 
+0x7d01 041846 istore 1 ,contw 
+0x7d02 041847 fetch 1 ,mem_usb_mouse_data + 6 
+0x7d03 041848 istore 1 ,contw 
+0x7d04 041849 arg 4 ,loopcnt 
+0x7d05 041850 arg mem_usb_mouse_data ,contr 
+0x7d06 041851 branch usb_tx_ep2 
+:      041853 usb_tx_ms_data_normal_mode:
+0x7d07 041854 jam 0 ,mem_usb_ep2_data 
+:      041855 usb_tx_mac_boot_ms_regroup_r_or_lrkey:
+0x7d08 041856 arg 8 ,loopcnt 
+0x7d09 041857 arg mem_usb_mouse_data ,contr 
+0x7d0a 041858 branch usb_tx_ep2 
+:      041860 usb_tx_kb_multikey_data:
+0x7d0b 041861 jam 0 ,mem_usb_ep2_data 
+0x7d0c 041862 arg 3 ,loopcnt 
+0x7d0d 041863 arg mem_usb_kb_multikey ,contr 
+0x7d0e 041864 branch usb_tx_ep2 
+:      041866 usb_tx_kb_normal_data:
+0x7d0f 041867 jam 0 ,mem_usb_ep1_data 
+0x7d10 041868 arg 8 ,loopcnt 
+0x7d11 041869 arg mem_usb_kb_data ,contr 
+0x7d12 041870 branch usb_tx_ep1 
+:      041872 usb_tx_kb_systemkey_data:
+0x7d13 041873 jam 0 ,mem_usb_ep2_data 
+0x7d14 041874 arg 2 ,loopcnt 
+0x7d15 041875 arg mem_usb_kb_system ,contr 
+0x7d16 041876 branch usb_tx_ep2 
+:      041878 usb_inwake_state_tx_dispose:
+0x7d17 041879 fetch 1 ,mem_usb_state 
+0x7d18 041880 beq usb_connected ,usb_mac_wakeup_trig 
+0x7d19 041881 rtn 
+:      041882 usb_mac_wakeup_trig:
+0x7d1a 041883 fetch 1 ,core_usb_config 
+0x7d1b 041884 set1 7 ,pdata 
+0x7d1c 041885 store 1 ,core_usb_config 
+0x7d1d 041886 jam 1 ,mem_usb_mac_wakeup_trig 
+0x7d1e 041887 rtn 
+:      041889 usb_mac_wakeup_judge:
+0x7d1f 041890 fetch 1 ,mem_usb_state 
+0x7d20 041891 rtneq usb_sleep 
+0x7d21 041892 beq usb_connected ,usb_mac_wakeup 
+0x7d22 041893 rtn 
+:      041894 usb_mac_wakeup:
+0x7d23 041895 fetch 1 ,mem_usb_mac_wakeup_trig 
+0x7d24 041896 rtn blank 
+0x7d25 041897 jam 1 ,mem_usb_wakestate_onetime_flag 
+0x7d26 041898 branch usb_wakeup 
+:      041900 usb_windows_wakeup:
+0x7d27 041901 arg timer_wakeup ,queue 
+0x7d28 041902 call timer_check 
+0x7d29 041903 nrtn blank 
+:      041904 usb_wakeup:
+0x7d2a 041905 fetch 1 ,core_usb_config 
+0x7d2b 041906 rtnbit0 7 
+0x7d2c 041907 jam 0xfc ,core_usb_config 
+0x7d2d 041908 nop 30000 
+0x7d2e 041909 jam 0x3c ,core_usb_config 
+0x7d2f 041910 rtn 
+:      041915 right_shift_n:
+0x7d30 041916 sub loopcnt ,0 ,null 
+0x7d31 041917 rtn zero 
+:      041918 right_shift_n_loop:
+0x7d32 041919 rshift pdata ,pdata 
+0x7d33 041920 loop right_shift_n_loop 
+0x7d34 041921 rtn 
+:      041924 left_shift_n:
+0x7d35 041925 force 1 ,pdata 
+0x7d36 041926 sub loopcnt ,0 ,null 
+0x7d37 041927 rtn zero 
+:      041928 left_shift_n_loop:
+0x7d38 041929 lshift pdata ,pdata 
+0x7d39 041930 loop left_shift_n_loop 
+0x7d3a 041931 rtn 
+:      041932 push_stack:
+0x7d3b 041933 storer contw ,2 ,mem_contw 
+0x7d3c 041934 storet 8 ,mem_temp 
+0x7d3d 041935 storer timeup ,4 ,mem_timeup 
+0x7d3e 041936 call push_stack_rega_b_c 
+0x7d3f 041937 storer contr ,2 ,mem_contr 
+0x7d40 041938 storer loopcnt ,2 ,mem_loopcnt 
+0x7d41 041939 storer queue ,2 ,mem_queue 
+0x7d42 041940 rtn 
+:      041942 push_stack_rega_b_c:
+0x7d43 041943 storer rega ,4 ,mem_rega 
+0x7d44 041944 storer regb ,4 ,mem_regb 
+0x7d45 041945 storer regc ,3 ,mem_regc 
+0x7d46 041946 rtn 
+:      041948 pop_stack:
+0x7d47 041949 fetch 2 ,mem_contw 
+0x7d48 041950 iforce contw 
+0x7d49 041951 fetcht 8 ,mem_temp 
+0x7d4a 041952 fetchr timeup ,4 ,mem_timeup 
+0x7d4b 041953 call pop_stack_rega_b_c 
+0x7d4c 041954 fetchr loopcnt ,2 ,mem_loopcnt 
+0x7d4d 041955 fetchr queue ,2 ,mem_queue 
+0x7d4e 041956 fetch 2 ,mem_contr 
+0x7d4f 041957 iforce contr 
+0x7d50 041958 rtn 
+:      041960 pop_stack_rega_b_c:
+0x7d51 041961 fetchr rega ,4 ,mem_rega 
+0x7d52 041962 fetchr regb ,4 ,mem_regb 
+0x7d53 041963 fetchr regc ,3 ,mem_regc 
+0x7d54 041964 rtn 
+:      041966 get_contw:
+0x7d55 041967 fetch 2 ,mem_contw 
+0x7d56 041968 copy pdata ,contw 
+0x7d57 041969 rtn 
+:      041970 get_contr:
+0x7d58 041971 fetch 2 ,mem_contr 
+0x7d59 041972 copy pdata ,contr 
+0x7d5a 041973 rtn 
+:      041974 store_contw:
+0x7d5b 041975 copy contw ,pdata 
+0x7d5c 041976 store 2 ,mem_contw 
+0x7d5d 041977 rtn 
+:      041978 store_contr:
+0x7d5e 041979 copy contr ,pdata 
+0x7d5f 041980 store 2 ,mem_contr 
+0x7d60 041981 rtn 
+:      041985 save_cont_pointers:
+0x7d61 041986 copy contw ,pdata 
+0x7d62 041987 store 2 ,mem_hold_contw 
+0x7d63 041988 copy contr ,pdata 
+0x7d64 041989 store 2 ,mem_hold_contr 
+0x7d65 041990 rtn 
+:      041991 load_cont_pointers:
+0x7d66 041992 fetch 2 ,mem_hold_contw 
+0x7d67 041993 copy pdata ,contw 
+0x7d68 041994 fetch 2 ,mem_hold_contr 
+0x7d69 041995 copy pdata ,contr 
+0x7d6a 041996 rtn 
+:      042001 get_diff:
+0x7d6b 042002 isub temp ,rega 
+0x7d6c 042003 rtn positive 
+0x7d6d 042004 arg 0x100 ,rega 
+0x7d6e 042005 iadd rega ,pdata 
+0x7d6f 042006 isub temp ,rega 
+0x7d70 042007 rtn 
+:      042009 memcpy96:
+0x7d71 042010 call memcpy32 
+:      042011 memcpy64:
+0x7d72 042012 call memcpy32 
+0x7d73 042013 branch memcpy32 
+:      042014 memcpy20:
+0x7d74 042015 call memcpy8 
+:      042016 memcpy12:
+0x7d75 042017 call memcpy8 
+:      042018 memcpy4:
+0x7d76 042019 ifetch 4 ,contr 
+0x7d77 042020 istore 4 ,contw 
+0x7d78 042021 rtn 
+:      042022 memcpy8:
+0x7d79 042023 ifetch 8 ,contr 
+0x7d7a 042024 istore 8 ,contw 
+0x7d7b 042025 rtn 
+:      042027 memcpy48:
+0x7d7c 042028 call memcpy16 
+:      042029 memcpy32:
+0x7d7d 042030 call memcpy8 
+:      042031 memcpy24:
+0x7d7e 042032 call memcpy8 
+:      042033 memcpy16:
+0x7d7f 042034 call memcpy8 
+0x7d80 042035 branch memcpy8 
+:      042037 delay:
+0x7d81 042038 increase -1 ,pdata 
+0x7d82 042039 nop 38 
+0x7d83 042040 nbranch delay ,blank 
+0x7d84 042041 rtn 
+:      042044 delay_10ms:
+0x7d85 042045 arg 10 ,loopcnt 
+:      042046 delay_ms_wait:
+0x7d86 042047 nop 12000 
+0x7d87 042048 loop delay_ms_wait 
+0x7d88 042049 rtn 
+:      042051 delay_50ms:
+0x7d89 042052 arg 50 ,loopcnt 
+0x7d8a 042053 branch delay_ms_wait 
+:      042055 bn_zero:
+0x7d8b 042056 force 3 ,loopcnt 
+:      042057 memset0:
+0x7d8c 042058 force 0 ,pdata 
+:      042059 memset8:
+0x7d8d 042060 istore 8 ,contw 
+0x7d8e 042061 loop memset8 
+0x7d8f 042062 rtn 
+:      042065 memset0_16:
+0x7d90 042066 call memset0_8 
+:      042067 memset0_8:
+0x7d91 042068 force 0 ,pdata 
+0x7d92 042069 istore 8 ,contw 
+0x7d93 042070 rtn 
+:      042071 memset0_4:
+0x7d94 042072 force 0 ,pdata 
+0x7d95 042073 istore 4 ,contw 
+0x7d96 042074 rtn 
+:      042076 clear_mem_256:
+0x7d97 042077 force 4 ,loopcnt 
+0x7d98 042078 branch memset0 
+:      042079 clear_mem_512:
+0x7d99 042080 force 8 ,loopcnt 
+0x7d9a 042081 branch memset0 
+:      042083 clear_mem:
+0x7d9b 042084 deposit loopcnt 
+0x7d9c 042085 rtn blank 
+0x7d9d 042086 setarg 0 
+:      042087 clear_mem_loop:
+0x7d9e 042088 istore 1 ,contw 
+0x7d9f 042089 loop clear_mem_loop 
+0x7da0 042090 rtn 
+:      042093 clear_temp_block:
+0x7da1 042094 arg 32 ,loopcnt 
+0x7da2 042095 arg mem_temp_block0 ,contw 
+0x7da3 042096 branch clear_mem 
+:      042098 xor_loop:
+0x7da4 042099 ifetch 4 ,regc 
+0x7da5 042100 ifetcht 4 ,rega 
+0x7da6 042101 ixor temp ,pdata 
+0x7da7 042102 istore 4 ,contw 
+0x7da8 042103 increase 4 ,rega 
+0x7da9 042104 increase 4 ,regc 
+0x7daa 042105 loop xor_loop 
+0x7dab 042106 rtn 
+:      042110 inverse_data:
+0x7dac 042111 bpatchx patch32_4 ,mem_patch32 
+0x7dad 042112 copy loopcnt ,pdata 
+0x7dae 042113 sub pdata ,1 ,null 
+0x7daf 042114 rtn positive 
+0x7db0 042115 iadd rega ,regb 
+0x7db1 042116 increase -1 ,regb 
+0x7db2 042117 rshift loopcnt ,loopcnt 
+:      042118 inverse_loop:
+0x7db3 042119 ifetcht 1 ,rega 
+0x7db4 042120 ifetch 1 ,regb 
+0x7db5 042121 istore 1 ,rega 
+0x7db6 042122 istoret 1 ,regb 
+0x7db7 042123 increase -1 ,regb 
+0x7db8 042124 increase 1 ,rega 
+0x7db9 042125 loop inverse_loop 
+0x7dba 042126 rtn 
+:      042128 le2be_6byte:
+:      042129 inverse_data_6byte:
+0x7dbb 042130 rshift32 pdata ,temp 
+0x7dbc 042131 call inverse_data_4byte 
+0x7dbd 042132 byteswap temp ,temp 
+0x7dbe 042133 lshift16 pdata ,pdata 
+0x7dbf 042134 ior temp ,pdata 
+0x7dc0 042135 rtn 
+:      042138 le2be_4byte:
+:      042139 inverse_data_4byte:
+0x7dc1 042140 rshift16 pdata ,contr 
+0x7dc2 042141 byteswap contr ,contr 
+0x7dc3 042142 byteswap pdata ,pdata 
+0x7dc4 042143 lshift16 pdata ,pdata 
+0x7dc5 042144 ior contr ,pdata 
+0x7dc6 042145 rtn 
+:      042148 memcpy_fast:
+0x7dc7 042149 deposit loopcnt 
+0x7dc8 042150 rtn blank 
+:      042151 memcpy_fast_loop:
+0x7dc9 042152 increase -8 ,loopcnt 
+0x7dca 042153 call memcpy8 ,positive 
+0x7dcb 042154 rtn zero 
+0x7dcc 042155 branch memcpy_fast_loop ,positive 
+0x7dcd 042156 increase 8 ,loopcnt 
+:      042157 memcpy_fast_loop_four:
+0x7dce 042158 increase -4 ,loopcnt 
+0x7dcf 042159 call memcpy4 ,positive 
+0x7dd0 042160 rtn zero 
+0x7dd1 042161 branch memcpy_fast_loop_four ,positive 
+0x7dd2 042162 increase 4 ,loopcnt 
+0x7dd3 042163 branch memcpy 
+:      042165 memcpy:
+0x7dd4 042166 deposit loopcnt 
+0x7dd5 042167 rtn blank 
+:      042168 memcpy_loop:
+0x7dd6 042169 ifetch 1 ,contr 
+0x7dd7 042170 istore 1 ,contw 
+0x7dd8 042171 loop memcpy_loop 
+0x7dd9 042172 rtn 
+:      042174 timer_stop:
+0x7dda 042175 setarg 0 
+:      042176 timer_init:
+0x7ddb 042177 rshift clkn_bt ,temp 
+0x7ddc 042178 storet 4 ,mem_last_clkn 
+0x7ddd 042179 arg mem_timers ,contw 
+0x7dde 042180 iforce temp 
+0x7ddf 042181 lshift queue ,pdata 
+0x7de0 042182 iadd contw ,contw 
+0x7de1 042183 istoret 2 ,contw 
+0x7de2 042184 bpatchx patch32_5 ,mem_patch32 
+0x7de3 042185 rtn 
+:      042187 timer_check_timeout:
+0x7de4 042188 arg 0x800 ,timeup 
+0x7de5 042189 lshift16 timeup ,timeup 
+0x7de6 042190 iadd timeup ,pdata 
+0x7de7 042191 rtn 
+:      042194 timer_reinit:
+0x7de8 042195 arg 0 ,queue 
+:      042196 timer_check:
+0x7de9 042197 bpatchx patch32_6 ,mem_patch32 
+0x7dea 042198 fetcht 4 ,mem_last_clkn 
+0x7deb 042199 rshift clkn_bt ,pdata 
+0x7dec 042200 store 4 ,mem_last_clkn 
+0x7ded 042201 isub temp ,null 
+0x7dee 042202 ncall timer_check_timeout ,positive 
+0x7def 042203 isub temp ,timeup 
+0x7df0 042204 copy timeup ,temp 
+0x7df1 042205 arg mem_timers ,contr 
+0x7df2 042206 copy contr ,contw 
+0x7df3 042207 arg 16 ,loopcnt 
+:      042208 timer_loop:
+0x7df4 042209 ifetch 2 ,contr 
+0x7df5 042210 isub temp ,pdata 
+0x7df6 042211 branch timer_counting ,positive 
+0x7df7 042212 force 0 ,pdata 
+:      042213 timer_counting:
+0x7df8 042214 istore 2 ,contw 
+0x7df9 042215 loop timer_loop 
+0x7dfa 042216 arg mem_timers ,contr 
+0x7dfb 042217 lshift queue ,pdata 
+0x7dfc 042218 iadd contr ,contr 
+0x7dfd 042219 ifetch 2 ,contr 
+0x7dfe 042220 rtn 
+:      042225 clk_add:
+0x7dff 042226 iadd temp ,temp 
+0x7e00 042227 copy temp ,loopcnt 
+0x7e01 042228 fetch 2 ,mem_param_rt_rthalfslot 
+0x7e02 042229 isub loopcnt ,pdata 
+0x7e03 042230 rtn positive 
+0x7e04 042231 sub pdata ,0 ,pdata 
+0x7e05 042232 rshift16 temp ,temp 
+0x7e06 042233 increase 1 ,temp 
+0x7e07 042234 lshift16 temp ,temp 
+0x7e08 042235 ior temp ,temp 
+0x7e09 042236 rtn 
+:      042238 clk_diff_rt:
+0x7e0a 042239 call clk_diff 
+0x7e0b 042240 branch clk2rt 
+:      042243 clk_diff:
+0x7e0c 042244 disable user 
+0x7e0d 042245 isub temp ,pdata 
+0x7e0e 042246 branch clk_diff_pos ,positive 
+0x7e0f 042247 enable user 
+0x7e10 042248 sub pdata ,0 ,pdata 
+:      042249 clk_diff_pos:
+0x7e11 042250 rtnbit0 15 
+0x7e12 042251 copy pdata ,regab 
+0x7e13 042252 arg 0x10000 ,temp 
+0x7e14 042253 fetch 2 ,mem_param_rt_rthalfslot 
+0x7e15 042254 isub temp ,pdata 
+0x7e16 042255 iadd regab ,pdata 
+0x7e17 042256 set0 64 ,pdata 
+0x7e18 042257 rtn 
+:      042261 clk2rt:
+0x7e19 042262 fetcht 2 ,mem_param_rt_rthalfslot 
+0x7e1a 042263 iforce contr 
+0x7e1b 042264 rshift16 pdata ,pdata 
+0x7e1c 042265 imul32 temp ,pdata 
+0x7e1d 042266 iadd contr ,pdata 
+0x7e1e 042267 rtn 
+:      042270 clk2lpo:
+0x7e1f 042271 lshift8 pdata ,pdata 
+0x7e20 042272 lshift4 pdata ,pdata 
+0x7e21 042273 fetcht 3 ,mem_clks_per_lpo 
+0x7e22 042274 idiv temp 
+0x7e23 042275 call wait_div_end 
+0x7e24 042276 quotient temp 
+0x7e25 042277 rtn 
+:      042280 clk2bt:
+0x7e26 042281 fetcht 2 ,mem_param_rt_rthalfslot 
+0x7e27 042282 idiv temp 
+0x7e28 042283 call get_div_result 
+0x7e29 042284 lshift16 pdata ,pdata 
+0x7e2a 042285 remainder temp 
+0x7e2b 042286 ior temp ,temp 
+0x7e2c 042287 rtn 
+:      042294 string2dec_from_uart:
+0x7e2d 042295 arg 0 ,temp 
+:      042296 string2dec_from_uart_done:
+0x7e2e 042297 copy temp ,regab 
+0x7e2f 042298 ifetch 1 ,contu 
+0x7e30 042299 call uchar2dialog 
+0x7e31 042300 copy regab ,temp 
+0x7e32 042301 call swap 
+0x7e33 042302 arg 10 ,regb 
+0x7e34 042303 imul32 regb ,pdata 
+0x7e35 042304 iadd temp ,pdata 
+0x7e36 042305 copy pdata ,temp 
+0x7e37 042306 loop string2dec_from_uart_done 
+0x7e38 042307 rtn 
+:      042311 uchar2dialog:
+0x7e39 042312 arg 0x3a ,temp 
+0x7e3a 042313 isub temp ,null 
+0x7e3b 042314 nbranch uchar2dialog_number ,positive 
+0x7e3c 042315 arg 0x61 ,temp 
+0x7e3d 042316 isub temp ,null 
+0x7e3e 042317 branch uchar2dialog_a2f ,positive 
+0x7e3f 042318 arg 0x37 ,temp 
+0x7e40 042319 isub temp ,pdata 
+0x7e41 042320 rtn 
+:      042321 uchar2dialog_number:
+0x7e42 042322 arg 0x30 ,temp 
+0x7e43 042323 isub temp ,pdata 
+0x7e44 042324 rtn 
+:      042325 uchar2dialog_a2f:
+0x7e45 042326 arg 0x57 ,temp 
+0x7e46 042327 isub temp ,pdata 
+0x7e47 042328 rtn 
+:      042330 pn9:
+0x7e48 042331 copy temp ,alarm 
+0x7e49 042332 setarg 0x1ff 
+0x7e4a 042333 force 0 ,regb 
+:      042334 pn9_loop:
+0x7e4b 042335 rshift3 pdata ,rega 
+0x7e4c 042336 rshift rega ,rega 
+0x7e4d 042337 ixor rega ,rega 
+0x7e4e 042338 isolate1 0 ,rega 
+0x7e4f 042339 setflag true ,9 ,pdata 
+0x7e50 042340 rshift temp ,temp 
+0x7e51 042341 isolate1 0 ,pdata 
+0x7e52 042342 setflag true ,7 ,temp 
+0x7e53 042343 rshift pdata ,pdata 
+0x7e54 042344 increase 1 ,regb 
+0x7e55 042345 compare 0 ,regb ,0x7 
+0x7e56 042346 nbranch pn9_loop ,true 
+0x7e57 042347 istoret 1 ,contw 
+0x7e58 042348 loop pn9_loop 
+0x7e59 042349 copy alarm ,temp 
+0x7e5a 042350 rtn 
+:      042353 calc_average:
+0x7e5b 042354 setarg 0 
+0x7e5c 042355 copy loopcnt ,rega 
+:      042356 calc_average_loop:
+0x7e5d 042357 ifetcht 2 ,contr 
+0x7e5e 042358 iadd temp ,pdata 
+0x7e5f 042359 loop calc_average_loop 
+0x7e60 042360 idiv rega 
+:      042362 get_div_result:
+0x7e61 042363 call wait_div_end 
+0x7e62 042364 quotient pdata 
+0x7e63 042365 rtn 
+:      042367 wait_div_end:
+0x7e64 042368 rtn modone 
+0x7e65 042369 branch wait_div_end 
+:      042379 compare_loop:
+:      042380 string_compare:
+0x7e66 042381 ifetch 1 ,rega 
+0x7e67 042382 ifetcht 1 ,regb 
+0x7e68 042383 isub temp ,null 
+0x7e69 042384 nrtn zero 
+0x7e6a 042385 increase 1 ,rega 
+0x7e6b 042386 increase 1 ,regb 
+0x7e6c 042387 loop string_compare 
+0x7e6d 042388 force 0 ,null 
+0x7e6e 042389 rtn 
+:      042392 ceiling:
+0x7e6f 042393 isub temp ,null 
+0x7e70 042394 nrtn positive 
+0x7e71 042395 deposit temp 
+0x7e72 042396 rtn 
+:      042398 swap:
+0x7e73 042399 iadd temp ,pdata 
+0x7e74 042400 isub temp ,temp 
+0x7e75 042401 isub temp ,pdata 
+0x7e76 042402 rtn 
+:      042404 clean_mem:
+0x7e77 042405 arg 0x200 ,loopcnt 
+0x7e78 042406 arg 0x4000 ,contw 
+0x7e79 042407 branch memset0 
+:      042410 callback_func:
+0x7e7a 042411 rtn blank 
+0x7e7b 042412 copy pdata ,pc 
+:      042415 wait_uarttx:
+0x7e7c 042416 fetch 2 ,core_uart_txitems 
+0x7e7d 042417 nbranch wait_uarttx ,blank 
+0x7e7e 042418 rtn 
+:      042420 ice_break:
+0x7e7f 042421 jam 0x1 ,core_ice_ctrl 
+0x7e80 042422 rtn 
+:      042424 ice_setbp:
+0x7e81 042425 store 2 ,core_ice_break0 
+0x7e82 042426 fetch 1 ,core_ice_ctrl 
+0x7e83 042427 set1 4 ,pdata 
+0x7e84 042428 store 1 ,core_ice_ctrl 
+0x7e85 042429 rtn 
+:      042430 ice_setbp2:
+0x7e86 042431 store 2 ,core_ice_break1 
+0x7e87 042432 fetch 1 ,core_ice_ctrl 
+0x7e88 042433 set1 6 ,pdata 
+0x7e89 042434 store 1 ,core_ice_ctrl 
+0x7e8a 042435 rtn 
+:      042437 ice_set_write_bp:
+0x7e8b 042438 store 2 ,core_ice_break0 
+0x7e8c 042439 jam 0x30 ,core_ice_ctrl 
+0x7e8d 042440 rtn 
+:      042443 test_enable_white:
+0x7e8e 042444 fetch 1 ,core_config 
+0x7e8f 042445 set0 whiteoff_bit ,pdata 
+0x7e90 042446 store 1 ,core_config 
+0x7e91 042447 rtn 
+:      042449 check_uart_tx_buff:
+0x7e92 042450 fetch 2 ,core_uart_txitems 
+0x7e93 042451 arg uart_air_control_threshold ,temp 
+:      042452 pdata_sub_temp:
+0x7e94 042453 isub temp ,null 
+0x7e95 042454 rtn 
+:      042460 fifo_in:
+0x7e96 042461 bpatchx patch32_7 ,mem_patch32 
+0x7e97 042462 ifetcht util_fifo_len ,rega 
+0x7e98 042463 and temp ,0xff ,pdata 
+0x7e99 042464 nbranch fifo_in_push ,blank 
+0x7e9a 042465 rshift8 temp ,pdata 
+0x7e9b 042466 istore util_fifo_len ,rega 
+:      042467 fifo_in_push:
+0x7e9c 042468 increase util_fifo_len + util_fifo_offset ,rega 
+0x7e9d 042469 ifetch 1 ,rega 
+0x7e9e 042470 nbranch assert ,blank 
+0x7e9f 042471 fetch 1 ,mem_fifo_temp 
+0x7ea0 042472 istore 1 ,rega 
+0x7ea1 042473 rtn 
+:      042478 fifo_out:
+0x7ea2 042479 bpatchx patch33_0 ,mem_patch33 
+0x7ea3 042480 arg util_fifo_len ,loopcnt 
+0x7ea4 042481 ifetch util_fifo_len ,rega 
+0x7ea5 042482 rtn blank 
+:      042483 fifo_out_loop:
+0x7ea6 042484 ifetch 1 ,rega 
+0x7ea7 042485 nbranch fifo_out_end ,blank 
+0x7ea8 042486 increase 1 ,rega 
+0x7ea9 042487 loop fifo_out_loop 
+0x7eaa 042488 branch assert 
+:      042489 fifo_out_end:
+0x7eab 042490 arg 0 ,temp 
+0x7eac 042491 istoret 1 ,rega 
+0x7ead 042492 rtn 
+:      042497 fifo_is_empty:
+0x7eae 042498 ifetch util_fifo_len ,rega 
+0x7eaf 042499 rtn 
+:      042504 fifo_is_full:
+0x7eb0 042505 ifetch 1 ,rega 
+0x7eb1 042506 rtn 
+:      042509 fifo_is_near_full:
+0x7eb2 042510 ifetch 2 ,rega 
+0x7eb3 042511 rtn 
+:      042515 fifo_content_count:
+0x7eb4 042516 arg 0 ,temp 
+:      042517 fifo_content_count_loop:
+0x7eb5 042518 fetch 1 ,contr 
+0x7eb6 042519 loop fifo_content_count_loop ,blank 
+0x7eb7 042520 increase 1 ,temp 
+0x7eb8 042521 loop fifo_content_count_loop 
+0x7eb9 042522 copy temp ,pdata 
+0x7eba 042523 rtn 
+:      042526 not_greater_than:
+0x7ebb 042527 isub temp ,null 
+0x7ebc 042528 nrtn positive 
+:      042529 copy_temp2pdata:
+0x7ebd 042530 copy temp ,pdata 
+0x7ebe 042531 rtn 
+:      042534 disable_positive:
+0x7ebf 042535 force -1 ,null 
+0x7ec0 042536 rtn 
+:      042537 enable_positive:
+:      042538 disable_zero:
+0x7ec1 042539 force 1 ,null 
+0x7ec2 042540 rtn 
+:      042541 enable_zero:
+0x7ec3 042542 force 0 ,null 
+0x7ec4 042543 rtn 
+:      042545 enable_user:
+0x7ec5 042546 enable user 
+0x7ec6 042547 rtn 
+:      042549 disable_user:
+0x7ec7 042550 disable user 
+0x7ec8 042551 rtn 
+:      042553 enable_user2:
+0x7ec9 042554 enable user2 
+0x7eca 042555 rtn 
+:      042557 disable_user2:
+0x7ecb 042558 disable user2 
+0x7ecc 042559 rtn 
+:      042561 enable_user7:
+0x7ecd 042562 enable user7 
+0x7ece 042563 rtn 
+:      042565 disable_blank:
+0x7ecf 042566 setarg 1 
+0x7ed0 042567 rtn 
+:      042569 enable_blank:
+:      042570 set_pdata_0:
+0x7ed1 042571 setarg 0 
+0x7ed2 042572 rtn 
+:      042576 cal_sum:
+0x7ed3 042577 sub loopcnt ,0 ,null 
+0x7ed4 042578 rtn zero 
+:      042579 cal_sum_loop:
+0x7ed5 042580 ifetcht 1 ,contr 
+0x7ed6 042581 iadd temp ,pdata 
+0x7ed7 042582 loop cal_sum_loop 
+0x7ed8 042583 rtn 
+:      042586 reverse_byte:
+0x7ed9 042587 copy loopcnt ,pdata 
+0x7eda 042588 rtn blank 
+0x7edb 042589 copy contr ,pdata 
+0x7edc 042590 iadd loopcnt ,pdata 
+0x7edd 042591 increase -1 ,pdata 
+0x7ede 042592 copy pdata ,contr 
+:      042593 reverse_loop:
+0x7edf 042594 ifetch 1 ,contr 
+0x7ee0 042595 increase -2 ,contr 
+0x7ee1 042596 istore 1 ,contw 
+0x7ee2 042597 loop reverse_loop 
+0x7ee3 042598 rtn 
+:      042600 calc_k12:
+0x7ee4 042601 copy timeup ,regb 
+:      042604 calc_k:
+0x7ee5 042605 arg mem_local_sig ,regc 
+0x7ee6 042606 force 36 ,loopcnt 
+0x7ee7 042607 force 0 ,rege 
+0x7ee8 042608 force 0 ,regf 
+:      042609 rxcal_k1_loop:
+0x7ee9 042610 call complex_mult16to8 
+0x7eea 042611 preload rega 
+0x7eeb 042612 iadd rege ,rege 
+0x7eec 042613 preload temp 
+0x7eed 042614 iadd regf ,regf 
+0x7eee 042615 increase 4 ,regb 
+0x7eef 042616 increase 2 ,regc 
+0x7ef0 042617 loop rxcal_k1_loop 
+0x7ef1 042618 preload rege 
+0x7ef2 042619 arg 36 ,temp 
+0x7ef3 042620 call signed_div 
+0x7ef4 042621 istore 4 ,contw 
+0x7ef5 042622 preload regf 
+0x7ef6 042623 call signed_div 
+0x7ef7 042624 istore 4 ,contw 
+0x7ef8 042625 rtn 
+:      042628 complex_mult16to8:
+0x7ef9 042629 ifetchr nap ,2 ,regb 
+0x7efa 042630 ifetchr fhs_misc ,1 ,regc 
+0x7efb 042631 call signed_ext16by8 
+0x7efc 042632 imults temp ,rega 
+0x7efd 042633 ifetchr fhs_misc ,1 ,contr 
+0x7efe 042634 branch complex_not_conj ,user 
+0x7eff 042635 sub fhs_misc ,0 ,fhs_misc 
+:      042636 complex_not_conj:
+0x7f00 042637 add regb ,2 ,contr 
+0x7f01 042638 ifetchr nap ,2 ,contr 
+0x7f02 042639 call signed_ext16by8 
+0x7f03 042640 imults temp ,regd 
+0x7f04 042641 preload rega 
+0x7f05 042642 isub regd ,rega 
+0x7f06 042643 ifetchr nap ,2 ,regb 
+0x7f07 042644 preload nap 
+0x7f08 042645 imults temp ,regd 
+0x7f09 042646 ifetchr nap ,2 ,contr 
+0x7f0a 042647 ifetchr fhs_misc ,1 ,regc 
+0x7f0b 042648 call signed_ext16by8 
+0x7f0c 042649 imults temp ,temp 
+0x7f0d 042650 preload regd 
+0x7f0e 042651 iadd temp ,temp 
+0x7f0f 042652 rtn 
+:      042655 complex_mult32to32:
+0x7f10 042656 ifetch 4 ,regb 
+0x7f11 042657 ifetchr rega ,4 ,regc 
+0x7f12 042658 imults rega ,rege 
+0x7f13 042659 ifetchr rega ,4 ,contr 
+0x7f14 042660 aligned rega ,regf 
+0x7f15 042661 add regb ,4 ,contr 
+0x7f16 042662 ifetch 4 ,contr 
+0x7f17 042663 imults rega ,temp 
+0x7f18 042664 preload rege 
+0x7f19 042665 isub temp ,rege 
+0x7f1a 042666 ifetch 4 ,regb 
+0x7f1b 042667 imults regf ,regf 
+0x7f1c 042668 ifetch 4 ,contr 
+0x7f1d 042669 ifetchr rega ,4 ,regc 
+0x7f1e 042670 imults rega ,pdata 
+0x7f1f 042671 iadd regf ,regf 
+0x7f20 042672 rtn 
+:      042675 lshift14:
+0x7f21 042676 lshift16 pdata ,pdata 
+:      042677 rshift2:
+0x7f22 042678 rshift2 pdata ,pdata 
+0x7f23 042679 rtn 
+:      042681 lshift6:
+0x7f24 042682 lshift8 pdata ,pdata 
+0x7f25 042683 branch rshift2 
+:      042685 calc_vok:
+0x7f26 042686 imul32 pdata ,pdata 
+:      042687 rshift7:
+0x7f27 042688 rshift4 pdata ,pdata 
+0x7f28 042689 rshift3 pdata ,pdata 
+0x7f29 042690 rtn 
+:      042694 signed_ext16by8:
+0x7f2a 042695 preload nap 
+0x7f2b 042696 aligned fhs_misc ,temp 
+0x7f2c 042697 rtn 
+:      042700 abs32:
+0x7f2d 042701 rtnbit0 31 
+0x7f2e 042702 force 0 ,temp 
+0x7f2f 042703 set1 32 ,temp 
+0x7f30 042704 increase -1 ,temp 
+0x7f31 042705 ixor temp ,pdata 
+0x7f32 042706 pincrease 1 
+0x7f33 042707 rtn 
+:      042710 sqrt:
+0x7f34 042711 iforce rega 
+0x7f35 042712 arg 0 ,regd 
+0x7f36 042713 set1 30 ,regd 
+0x7f37 042714 arg 0 ,regb 
+0x7f38 042715 arg 16 ,loopcnt 
+:      042716 sqrt_loop:
+0x7f39 042717 deposit regd 
+0x7f3a 042718 iadd regb ,pdata 
+0x7f3b 042719 rshift regb ,regb 
+0x7f3c 042720 isub rega ,pdata 
+0x7f3d 042721 branch sqrt_less ,zero 
+0x7f3e 042722 branch sqrt_greater ,positive 
+:      042723 sqrt_less:
+0x7f3f 042724 sub pdata ,0 ,rega 
+0x7f40 042725 deposit regd 
+0x7f41 042726 ior regb ,regb 
+:      042727 sqrt_greater:
+0x7f42 042728 rshift2 regd ,regd 
+0x7f43 042729 loop sqrt_loop 
+0x7f44 042730 rtn 
+:      042733 signed_div:
+0x7f45 042734 set0 mark_temp ,mark 
+0x7f46 042735 bbit0 63 ,signed_div_unsigna 
+0x7f47 042736 set1 mark_temp ,mark 
+0x7f48 042737 sub pdata ,0 ,pdata 
+:      042738 signed_div_unsigna:
+0x7f49 042739 isolate0 63 ,temp 
+0x7f4a 042740 branch signed_div_unsignb ,true 
+0x7f4b 042741 setflip mark_temp ,mark 
+0x7f4c 042742 sub temp ,0 ,temp 
+:      042743 signed_div_unsignb:
+0x7f4d 042744 idiv temp 
+0x7f4e 042745 call get_div_result 
+0x7f4f 042746 rtnmark0 mark_temp 
+0x7f50 042747 sub pdata ,0 ,pdata 
+0x7f51 042748 rtn 
+:      042752 clear_wake:
+0x7f52 042753 setarg 0 
+0x7f53 042754 set1 19 ,pdata 
+0x7f54 042755 store 8 ,mem_gpio_wakeup_low 
+0x7f55 042756 rtn 
Index: output/bt_program23.meta
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.meta	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.meta	(working copy)
@@ -0,0 +1,42760 @@
+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 patch10_3,p_set_sync_on
+	beq patch15_5,p_app_init
+	beq patch11_3,p_initialize_radio_cont
+	beq patch17_2,p_dongle_usb_dispatch
+	beq patch17_3,p_dongle_work_mode_auto
+	branch loop
+
+pf_patch_ext:
+	beq patch31_6,p_usb_class_type
+	beq patch31_7,p_usb0_request_get_descriptor	
+	beq patch32_3,p_usb_tx
+	beq patch3c_6,p_g24_bind_mode_auto
+	branch loop
+
+p_soft_reset:
+	clear_stack
+	call app_param_init
+	jam 0x4e,mem_24g_pair_ch
+	setarg 0x15202a
+	store 3,mem_24g_pair_addr
+	setarg 0x10
+	istore 1,contw
+	branch soft_reset+3
+
+
+p_set_sync_on:
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en	
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,set_sync_on_24m
+	jam 0x29,core_syn_afc_cfg1
+	branch set_sync_on_16m
+
+p_app_init:
+p_dongle_init:
+	setarg dongle_dispatch
+	store 2,mem_cb_24g_receive_process
+	setarg p_dongle_ackpayload_prep
+	store 2,mem_cb_24g_ackpayload
+
+	setarg p_dongle_g24_gamepad1
+	store 2,mem_cb_24g_data_device_gamepad1
+	setarg p_dongle_g24_gamepad2
+	store 2,mem_cb_24g_data_device_gamepad2
+
+	setarg p_dongle_usb_config
+	store 2,mem_cb_usb_config
+
+	branch usb_init
+
+
+p_dongle_usb_config:
+	fetch 4,USB_DEVICEDATA_ADDR+9
+	set1 29,pdata
+	store 4,mem_devicedesc+9
+p_dongle_usb_config_param:
+	call dongle_usb_device_name
+	call usb_tx_interval_config
+	call dongle_usb_vid_pid_config
+	branch p_dongle_usb_hid_icon_config
+
+p_dongle_usb_hid_icon_config:
+p_dongle_usb_kb_hidreportdesc:
+	setarg mem_hidreceportdesc_gamepad
+	store 2,mem_hidreportdesc_kb
+	setarg 0x22
+	store 1,mem_confdesc
+	store 1,mem_confdesc+3
+	setarg 0x01
+	store 1,mem_confdesc+5
+	setarg 0
+	store 2,mem_confdesc+16
+	fetch 1,mem_hidreceportdesc_gamepad 
+	store 1,mem_confdesc+26//hid_descriptor--gamepad1 length		
+	rtn
+
+
+p_dongle_ackpayload_prep:
+	fetch 1,mem_24g_ackpayload_enable
+	beq BIND_ACKPAYLOAD,g24_bind_ackpayload_prep
+	beq GAMEPAD_ACKLOAD,p_g24_ackpayload_prep
+	beq KB_LED_ACKPAYLOAD,dongle_g24_kb_led_ackpayload_prep
+	rtn
+
+p_g24_ackpayload_prep:
+	fetch 1,mem_24g_rxbuf+2
+	beq DATATYPE_DEVICE1,g24_bind_ackpayload_prep
+	beq DATATYPE_ATTEMP,g24_bind_ackpayload_prep
+	jam 0,mem_24g_ackpayload_enable
+	jam 0x01,mem_24g_datalen
+	fetch 1,mem_24g_gamepad_type
+	store 1,mem_24g_txbuf
+	rtn
+
+p_dongle_g24_gamepad1:
+	jam 0x01,mem_usb_kb_data
+	arg mem_usb_kb_data+1,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 7,loopcnt
+	call memcpy
+	fetch 7,mem_usb_kb_data+1
+	ncall p_dongle_g24_gp1_enable_blank_data_forcibly,blank
+	call dongle_usb_tx_enable_ep1
+	branch g24_rx_interrupt_clear
+
+p_dongle_g24_gamepad2:
+	jam 0x02,mem_usb_kb_data
+	arg mem_usb_kb_data+1,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 7,loopcnt
+	call memcpy
+	fetch 7,mem_usb_kb_data+1
+	ncall p_dongle_g24_gp2_enable_blank_data_forcibly,blank
+	call dongle_usb_tx_enable_ep1
+	branch g24_rx_interrupt_clear
+
+p_dongle_g24_gp1_enable_blank_data_forcibly:
+	jam 1,mem_dg_gp1_blank_data_enable
+	setarg TIMER_KB_BLANK_DELAY
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+p_dongle_g24_gp2_enable_blank_data_forcibly:
+	jam 1,mem_dg_gp2_blank_data_enable
+	setarg TIMER_GP2_BLANK_DELAY
+	arg TIMER_GP2_BLANK,queue
+	branch timer_init
+
+p_dongle_g24_blank_data_process:
+	call p_dongle_g24_gp1_blank_data
+	branch p_dongle_g24_gp2_blank_data
+
+p_dongle_g24_gp1_blank_data:
+	fetch 1,mem_dg_gp1_blank_data_enable
+	rtn blank
+	arg TIMER_KB_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_gp1_blank_data_enable
+	rtn
+
+p_dongle_g24_gp2_blank_data:
+	fetch 1,mem_dg_gp2_blank_data_enable
+	rtn blank
+	arg TIMER_GP2_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_gp2_blank_data_enable
+	rtn
+
+p_initialize_radio_cont:
+	//hw agc
+	jam 0xff,mem_gain_fix
+
+	jam 0x00,core_syn_loopdiv_dsm_cfg
+	jam 0x40,0x8921
+
+	jam 0x01,mem_24g_rx_phy
+	jam 0x01,mem_24g_tx_phy
+
+	//config hop interval
+	jam 0x1e,mem_24g_hop_interval
+
+	//disable mode switch
+	jam 1,mem_24g_B_S_mode_switch_disable
+	
+	call initialize_radio_cont+1
+
+	//watch dog enable
+	call wdt_set_enable
+p_wdt_kick:
+	//about 128ms
+	setarg 125
+	branch wdt_init_config
+
+p_dongle_usb_dispatch:
+	call p_wdt_kick
+	branch dongle_usb_dispatch+1
+
+
+/
+
+p_dongle_work_mode_auto:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call p_g24_work_mode_start
+	call p_dongle_g24_blank_data_process
+	branch dongle_work_mode_auto+5
+
+
+p_g24_work_mode_start:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_init
+	call g24_ch_process
+	branch p_g24_receive_packet_start
+
+p_g24_receive_packet_start:
+	call p_g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+p_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_DEVICE_GAMEPAD1,p_g24_data_device_gamepad1
+	beq DATATYPE_DEVICE_GAMEPAD2,p_g24_data_device_gamepad2
+	beq DATATYPE_DEVICE2,p_g24_data_attemp	//reconn packet
+	beq DATATYPE_DEVICE1,p_g24_data_attemp_ack	//reconn packet
+	branch g24_rx_interrupt_clear
+
+
+p_g24_data_attemp:
+	fetch 1,mem_24g_rxdata_temp+3
+	rtnne DATATYPE_ATTEMP
+	fetch 1,mem_dg_gp1_blank_data_enable
+	branch p_g24_data_attemp_device1,blank
+	jam 2,mem_24g_gamepad_type
+	jam GAMEPAD_ACKLOAD,mem_24g_ackpayload_enable
+	call enable_user
+	fetch 4,mem_24g_rxdata_temp+5
+	store 4,mem_24g_transmitter_addr	
+	store 4,mem_24g_device2_addr
+	rtn
+
+p_g24_data_attemp_device1:
+	jam 1,mem_24g_gamepad_type
+	jam GAMEPAD_ACKLOAD,mem_24g_ackpayload_enable
+	call enable_user
+	fetch 4,mem_24g_rxdata_temp+5
+	store 4,mem_24g_transmitter_addr
+	store 4,mem_24g_device1_addr
+	rtn
+
+p_g24_data_attemp_ack:
+	fetch 1,mem_24g_rxdata_temp+3
+	rtnne DATATYPE_ATTEMP
+	jam GAMEPAD_ACKLOAD,mem_24g_ackpayload_enable
+	branch enable_user
+
+
+
+	
+p_g24_receive_transmit_ack:
+	call g24_rx_interrupt_clear
+	call p_g24_receive_packet
+	nrtn user3
+p_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
+	branch g24tx_with_ack
+
+p_g24_receive_packet:
+	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
+p_g24_receive_rxon:
+	call g24_prep
+	bmark0 mark_ble_lr,p_g24_receive_nolr
+	pulse dewhiten_code_calc
+	nop 30
+	call g24_prep
+p_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
+	fetch 3,0x4ff0
+	increase 1,pdata
+	store 3,0x4ff0
+	
+	call rf_debug_rx_sync_line
+	bmark1 mark_ble_lr,p_g24_receive_skip_fec1
+	disable decode_fec0	
+	enable decode_fec1	//lr do not use fec1
+p_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
+	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,p_g24_receive_skip
+	fetch 1,mem_24g_rxbuf
+	fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch g24_end_of_packet,true
+p_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 p_g24rx_nopayload,zero
+p_g24rx_loop:
+	call g24_receive_byte
+	istore 1,contw
+	loop p_g24rx_loop
+p_g24rx_nopayload:
+	bmark1 mark_24g_rxmode,p_g24_receive_skip_rssi
+	copy contw,rega
+	call g24_receive_byte
+	store 1,mem_rssi_hex_received	//receive rssi hex
+	copy rega,contw
+p_g24_receive_skip_rssi:
+	parse demod,bucket,24
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	disable decode_fec1
+	isolate1 mark_24g_rxmode,mark
+	call save_rssi_dec,true
+	branch g24_end_of_packet,crc_failed
+	fetch 3,0x4ff3
+	increase 1,pdata
+	store 3,0x4ff3
+	call rf_debug_rx_crc_line	//L
+	enable user3
+	call le_match_set_txfreq
+	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
+
+
+
+p_g24_data_device_gamepad1:
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_device1_abort+3,true
+	fetch 2,mem_cb_24g_data_device_gamepad1
+	branch callback_func
+	
+p_g24_data_device_gamepad2:
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_device2_abort,true
+	fetch 2,mem_cb_24g_data_device_gamepad2
+	branch callback_func
+
+
+
+p_usb_class_type:
+	set0 mark_isstr,mark
+	fetch 1,mem_usb_setup_bmRequestType
+	and_into 0x80,pdata
+	beq OUT_DEVICE,p_usb_out_device
+	branch usb_class_type+4
+
+p_usb_out_device:
+	fetch 1,mem_usb_setup_bmRequestType
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	and_into 0x03,pdata
+	beq CLASS_REQ,p_usb_out_class_req
+	branch usb_out_device+4
+
+p_usb_out_class_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq SET_REPORT,p_usb_set_report
+	branch usb_out_class_req+1
+
+p_usb_set_report:
+	nop 15000	//delay 1ms
+	branch usb_set_report
+
+
+
+p_usb_tx:
+	fetch 1,mem_usb_tx_enable
+	rtn blank
+	fetch 1,core_usb_txbusy
+	and_into 0x0f,pdata
+	nbranch usb_inwake_state_tx_dispose,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 p_usb_tx_data_ep1
+	branch usb_tx_data_ep2
+
+p_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,p_usb_tx_kb_normal_data
+	branch assert
+
+p_usb_tx_kb_normal_data:
+	jam 0,mem_usb_ep1_data
+	arg 8,loopcnt
+	arg mem_usb_kb_data,contr
+	branch usb_tx_ep1
+
+p_usb0_request_get_descriptor:
+	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,p_dsc_hid_report_info
+	branch usb0_force_stall
+
+p_dsc_hid_report_info:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	fetchr rega,2,mem_hidreportdesc_kb
+	branch usb0_respond_length
+
+
+p_g24_bind_mode_auto:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	jam TX_POWER_F5DB,mem_tx_power
+	branch g24_bind_mode_auto+3
+	
+
+
+
+
+
+
+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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.rom	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/bt_program23.rom	(working copy)
@@ -0,0 +1,32598 @@
+11000010100001000000000000001000
+11000000000000000000000000001101
+11000000010000011000000000010101
+11000000010101101000000000011100
+11000000010001011000000001110001
+11000000010111010000000001111100
+11000000010111011000000001111110
+00100000001000000001001101111110
+11000000010001110000000100011010
+11000000010001111000000101000111
+11000000010010011000000100101010
+11000000011100110000000101010010
+00100000001000000001001101111110
+00100000100000000000000000000000
+00100000010000000011000101100110
+01110000010010000111111101001110
+01011000000101010010000000101010
+01100111111000011100100001111011
+01011000000000000000000000010000
+11100111111000001000000000000101
+00100000001000000000100000000100
+01110000100010010000000000000101
+00100000000000000000000000000010
+01110000100010010000000000000000
+01101111111000001100000011000101
+11000000000011000001000101100100
+01110000100010101000011100101001
+00100000001000000001000101111001
+01011000000000000011011011001100
+01100111111000010100100010001101
+01011000000000000000000000111010
+01100111111000010100100010001111
+01011000000000000000000001000111
+01100111111000010100101000110000
+01011000000000000000000001010000
+01100111111000010100101000110010
+01011000000000000000000000100111
+01100111111000010000101101000101
+00100000001000000111101000001000
+01101111111100100001101010101100
+01111001001000000111111000011101
+01100111111000100000101010100000
+00100000010000000011011011110111
+00100000010000000111101001011011
+00100000010000000011011011100100
+00100000001000000000000000101110
+01011000000000000100100101000000
+01100111111000010000101010010011
+01011000000000000000000000100010
+01100111111000001000101010101010
+01100111111000001000101010101101
+01011000000000000000000000000001
+01100111111000001000101010101111
+01011000000000000000000000000000
+01100111111000010000101010111010
+01101111111000001100100101000000
+01100111111000001000101011000100
+00100000011000000000000000000000
+01101111111000001100100010111110
+11000000000000001010001101010100
+11000000000000010000000000111111
+11000000000000011011011110010100
+00100000011000000000000000000000
+01101111111000001100011110101001
+11000000000000001010001101010100
+11000000011111111010001101010100
+01110000010010001011111000000000
+01110000010010000011100000000001
+01101111111000001100101000110100
+01100111111000001100011111001001
+00100000011000000000000000000000
+01110000000011000000111100000001
+11011000101000000000110000010000
+11011000110000000100100010011000
+11011111001000000000000000000111
+00100000010000000111110111010100
+01101111111000111000110000010000
+00100100010110100000000001011001
+00100000010000000011011100011110
+00100000001000000010001111111010
+01110000000011000000111100000010
+11011000101000000000110000010000
+11011000110000000100100010011000
+11011111001000000000000000000111
+00100000010000000111110111010100
+01101111111000111000110000010000
+00100100010110100000000001011101
+00100000010000000011011100011110
+00100000001000000010001111111010
+01110000010010100011010100000001
+01011000000000000000000110000000
+11011000111000000000000000001110
+00100000001000000111110111011011
+01110000010010100011011000000001
+01011000000000000000000110000000
+11011000111000000000000000010010
+00100000001000000111110111011011
+00100000010000000000000001100011
+00100000001000000000000001101010
+01101111111000001100101000110101
+00100000011110100000000000000000
+11011000111000000000000000001110
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000010010100011010100000000
+00100000011000000000000000000000
+01101111111000001100101000110110
+00100000011110100000000000000000
+11011000111000000000000000010010
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000010010100011011000000000
+00100000011000000000000000000000
+01110000010000011110101011111111
+01110000100010101000010100000000
+01110000100010010010000101000000
+01110000010010000110011100000001
+01110000010010000110100000000001
+01110000010010001011110000011110
+01110000010010001101011100000001
+00100000010000000001001001010010
+00100000010000000110001010100100
+01011000000000000000000001111101
+00100000001000000110001010010101
+00100000010000000000000001111010
+00100000001000000011011100110000
+01101111111000001100100011000011
+11000001100000000000000000000000
+00100000010000000000000010000011
+00100000010000000000000001100001
+00100000001000000011011101110000
+01101111111000001100100011000011
+11000001100000000000000000000000
+00100000010000000010010010000101
+00100000010000000010010101000111
+00100000001000000000000010001000
+00100000010000000000000010110010
+00100100001101111010001111111010
+00100000010000000010010000011011
+00100100001101000010001111111010
+01101111111000001100100000101101
+00100000001110100010001111111010
+00011111111000001111111000000010
+10011000000000000111001000000000
+11011000110000000100011110100111
+11011000101000000100100010010101
+00100000010000000111110111010100
+01110000010010001100000000000000
+01101111111000001100100010111101
+00100000010110100010010000110110
+01101111111000001100100010010111
+11000000000000100000000100010000
+11000000000000101000000100010101
+11000000000000010000000010011100
+11000000000000001000000010101110
+00100000001000000010001111111010
+01101111111000001100100010011000
+11000001111111111000000000000000
+01101111111000001100101000110101
+00100000001110100000000010100111
+01110000010010100011010000000010
+01110000010010001011111000000010
+00100000010000000111111011000101
+01101111111000100100100010011010
+01100111111000100100100011011001
+01100111111000100100100011100001
+00100000011000000000000000000000
+01110000010010100011010000000001
+01110000010010001011111000000010
+00100000010000000111111011000101
+01101111111000100100100010011010
+01100111111000100100100011011001
+01100111111000100100100011011101
+00100000011000000000000000000000
+01101111111000001100100010011000
+11000001111111111000000000000000
+01110000010010001011111000000010
+00100000001000000111111011000101
+00100000010000000010001111111010
+00100000010000000000000010111100
+00100100011101111000000000000000
+01101111111000001100011110100111
+01100111111000001100100000111001
+00100000010000000010001001110100
+01101111111000001100011110101000
+00101111111011111111111000000000
+00100000001000001010010000110101
+00100000001000000010010000110010
+01101111111000001100100001100111
+00100000010000000001011000110111
+01101111111000100100100000111111
+10011000000000000001001000000000
+00100000010000000001000010101100
+00100000010000000001000101011101
+01101000010010001100100000111101
+00100000010000000001011001110100
+00100000010000000010000110000001
+11000101100101111000000011001001
+01111000001111001111110000000000
+00100000000000000000000000011110
+00100000010000000010000110000001
+01111000010101111111110000000000
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+01111000001010000111110000000000
+01101111111000010100100000111011
+10011000000000000011011000000000
+00110111110000011000010000000000
+00100100001011000010000111101111
+01101111111000011100111111110000
+00011111111000001111111000000001
+01100111111000011100111111110000
+00100000010000000100110100001101
+11000101000101111000000011011001
+01111000010001101111110000000000
+01111000001001011111110000000000
+01111000001000111111110000000000
+01111000001001001111110000000000
+00100000010000000010000111101100
+01100111111000001100100001011101
+01101000010010001100100001011100
+10011000010001100111110000000000
+00100100001000101010000111110001
+01111000010110001111110000000000
+00101000000011111111111000101111
+00100000010000001010000111011110
+00100000001110001010000111110001
+00100000010000000010000111101100
+01100111111000001100011110100111
+11000101000100111000000011101011
+01101111111000001100011110100111
+01101000010010001100100000111001
+10101000010000000000111000000000
+00100100001000001010000111110001
+00100000010000000010000111101100
+00101000000011111111111000101111
+00100000010000001010000111100111
+11100111111000001000000000000101
+00011111111010010111111000000000
+00011111111001100111110000011111
+00100100001000010010000111110001
+00011111111000100111001000000000
+00100000001000101000000011110111
+00100000010000000010000111101100
+11100111111000001000000000000101
+11000010000000000000000011110100
+11000101000100111000000011111100
+00011000101000100010001000000000
+00100000010000000010000111101100
+01100111111000001100100010000010
+00011010001000100000101000000000
+00001001100000000000000000011000
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100111111000011000000000000101
+01111000010001011111110000000000
+00101000000011111111111000100111
+00100000010000001010010111100101
+00100000001000110010000111110001
+01101111111000011100111111110011
+00011111111000001111111000000001
+01100111111000011100111111110011
+00100000010000000100110100001100
+01111000001101111111110000000000
+00100000010000000001011101011100
+11000110000100111000000000000000
+01101111111000001100100010000010
+01101000010010001100100011010001
+10011000010001100111110000000000
+00100000010000010111111010111101
+00100000001000000010010111101001
+01101000010010001100100010010101
+00101000010011111111111000000011
+00100000001000001010010000010111
+01101111111000010100101000110000
+00100000001000000111111001111010
+01101000010010001100100010010101
+00101000010011111111111000000011
+00100000001000001010010000011001
+01101111111000010100101000110010
+00100000001000000111111001111010
+01111001001111111000000000100011
+01101111111000001000101101011001
+00011111111000010111111010000000
+11000000000000000000000100011111
+00100000001000000111101010100001
+01101111111000001000101101011001
+00011111111100011111111000000000
+00011111111000110111111000000000
+00011111111000010111111000000011
+11000000000000001000000100100101
+00100000001000000111101010110100
+01101111111000001000101101011010
+11000000000001001000000100101000
+00100000001000000111101011001101
+00100000000000000011101010011000
+00100000001000000111110001001010
+01101111111000001000101111111001
+00100000011110100000000000000000
+01101111111100001000110000100100
+00011111111000010111111000001111
+00100100001110100111110100010111
+01101111111000001000101111111010
+00100000001110100111110011101101
+01101111111000001000101111101100
+11000000000000011111110100100111
+11000000100000010111110011101101
+01101111111000001000101111101110
+00100100001110100111110011101101
+00100000010000000000000100111000
+00100000001000000111110011100000
+01101111111100001000110000100100
+11000011100000001000000000000000
+01101111111000001000101111111001
+11000100000000001000000000000000
+01101111111000001000101111111001
+01111001001111111111111000000001
+01100111111000001000101111111001
+01101111111000001000101111110111
+00100000011110100000000000000000
+11000000000010000000000101000011
+00100000001000000001001101111100
+01110000000010111111011100000000
+11011111001000000000000000001000
+11011000110000000000110000001111
+00100000001000000111110010111001
+01101111111000001000101101011100
+11000000000000001111101100000001
+11000000000000010111101100011010
+11000000000000011111101100011101
+11000000000100001111101011110110
+11000000000100010000000101001110
+00100000001000000111101011010010
+01110000000010111111101000000001
+01110000000010111110110000000001
+01101010001000010000101010010011
+00100000001000000111110001110101
+01101111111000001100100011000011
+11000001100000001000000000000000
+01110000010000011110100010000101
+00100000001000000010010010011111
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/eeprom.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/eeprom.dat	(working copy)
@@ -0,0 +1,1756 @@
+00
+02
+aa
+55
+5a
+05
+c2
+84
+00
+08
+c0
+00
+00
+0d
+c0
+41
+80
+15
+c0
+56
+80
+1c
+c0
+45
+80
+71
+c0
+5d
+00
+7c
+c0
+5d
+80
+7e
+20
+20
+13
+7e
+c0
+47
+01
+1a
+c0
+47
+81
+47
+c0
+49
+81
+2a
+c0
+73
+01
+52
+20
+20
+13
+7e
+20
+80
+00
+00
+20
+40
+31
+66
+70
+48
+7f
+4e
+58
+15
+20
+2a
+67
+e1
+c8
+7b
+58
+00
+00
+10
+e7
+e0
+80
+05
+20
+20
+08
+04
+70
+89
+00
+05
+20
+00
+00
+02
+70
+89
+00
+00
+6f
+e0
+c0
+c5
+c0
+0c
+11
+64
+70
+8a
+87
+29
+20
+20
+11
+79
+58
+00
+36
+cc
+67
+e1
+48
+8d
+58
+00
+00
+3a
+67
+e1
+48
+8f
+58
+00
+00
+47
+67
+e1
+4a
+30
+58
+00
+00
+50
+67
+e1
+4a
+32
+58
+00
+00
+27
+67
+e1
+0b
+45
+20
+20
+7a
+08
+6f
+f2
+1a
+ac
+79
+20
+7e
+1d
+67
+e2
+0a
+a0
+20
+40
+36
+f7
+20
+40
+7a
+5b
+20
+40
+36
+e4
+20
+20
+00
+2e
+58
+00
+49
+40
+67
+e1
+0a
+93
+58
+00
+00
+22
+67
+e0
+8a
+aa
+67
+e0
+8a
+ad
+58
+00
+00
+01
+67
+e0
+8a
+af
+58
+00
+00
+00
+67
+e1
+0a
+ba
+6f
+e0
+c9
+40
+67
+e0
+8a
+c4
+20
+60
+00
+00
+6f
+e0
+c8
+be
+c0
+00
+a3
+54
+c0
+01
+00
+3f
+c0
+01
+b7
+94
+20
+60
+00
+00
+6f
+e0
+c7
+a9
+c0
+00
+a3
+54
+c0
+7f
+a3
+54
+70
+48
+be
+00
+70
+48
+38
+01
+6f
+e0
+ca
+34
+67
+e0
+c7
+c9
+20
+60
+00
+00
+70
+0c
+0f
+01
+d8
+a0
+0c
+10
+d8
+c0
+48
+98
+df
+20
+00
+07
+20
+40
+7d
+d4
+6f
+e3
+8c
+10
+24
+5a
+00
+59
+20
+40
+37
+1e
+20
+20
+23
+fa
+70
+0c
+0f
+02
+d8
+a0
+0c
+10
+d8
+c0
+48
+98
+df
+20
+00
+07
+20
+40
+7d
+d4
+6f
+e3
+8c
+10
+24
+5a
+00
+5d
+20
+40
+37
+1e
+20
+20
+23
+fa
+70
+4a
+35
+01
+58
+00
+01
+80
+d8
+e0
+00
+0e
+20
+20
+7d
+db
+70
+4a
+36
+01
+58
+00
+01
+80
+d8
+e0
+00
+12
+20
+20
+7d
+db
+20
+40
+00
+63
+20
+20
+00
+6a
+6f
+e0
+ca
+35
+20
+7a
+00
+00
+d8
+e0
+00
+0e
+20
+40
+7d
+e9
+24
+7a
+00
+00
+70
+4a
+35
+00
+20
+60
+00
+00
+6f
+e0
+ca
+36
+20
+7a
+00
+00
+d8
+e0
+00
+12
+20
+40
+7d
+e9
+24
+7a
+00
+00
+70
+4a
+36
+00
+20
+60
+00
+00
+70
+41
+ea
+ff
+70
+8a
+85
+00
+70
+89
+21
+40
+70
+48
+67
+01
+70
+48
+68
+01
+70
+48
+bc
+1e
+70
+48
+d7
+01
+20
+40
+12
+52
+20
+40
+62
+a4
+58
+00
+00
+7d
+20
+20
+62
+95
+20
+40
+00
+7a
+20
+20
+37
+30
+6f
+e0
+c8
+c3
+c1
+80
+00
+00
+20
+40
+00
+83
+20
+40
+00
+61
+20
+20
+37
+70
+6f
+e0
+c8
+c3
+c1
+80
+00
+00
+20
+40
+24
+85
+20
+40
+25
+47
+20
+20
+00
+88
+20
+40
+00
+b2
+24
+37
+a3
+fa
+20
+40
+24
+1b
+24
+34
+23
+fa
+6f
+e0
+c8
+2d
+20
+3a
+23
+fa
+1f
+e0
+fe
+02
+98
+00
+72
+00
+d8
+c0
+47
+a7
+d8
+a0
+48
+95
+20
+40
+7d
+d4
+70
+48
+c0
+00
+6f
+e0
+c8
+bd
+20
+5a
+24
+36
+6f
+e0
+c8
+97
+c0
+02
+01
+10
+c0
+02
+81
+15
+c0
+01
+00
+9c
+c0
+00
+80
+ae
+20
+20
+23
+fa
+6f
+e0
+c8
+98
+c1
+ff
+80
+00
+6f
+e0
+ca
+35
+20
+3a
+00
+a7
+70
+4a
+34
+02
+70
+48
+be
+02
+20
+40
+7e
+c5
+6f
+e2
+48
+9a
+67
+e2
+48
+d9
+67
+e2
+48
+e1
+20
+60
+00
+00
+70
+4a
+34
+01
+70
+48
+be
+02
+20
+40
+7e
+c5
+6f
+e2
+48
+9a
+67
+e2
+48
+d9
+67
+e2
+48
+dd
+20
+60
+00
+00
+6f
+e0
+c8
+98
+c1
+ff
+80
+00
+70
+48
+be
+02
+20
+20
+7e
+c5
+20
+40
+23
+fa
+20
+40
+00
+bc
+24
+77
+80
+00
+6f
+e0
+c7
+a7
+67
+e0
+c8
+39
+20
+40
+22
+74
+6f
+e0
+c7
+a8
+2f
+ef
+fe
+00
+20
+20
+a4
+35
+20
+20
+24
+32
+6f
+e0
+c8
+67
+20
+40
+16
+37
+6f
+e2
+48
+3f
+98
+00
+12
+00
+20
+40
+10
+ac
+20
+40
+11
+5d
+68
+48
+c8
+3d
+20
+40
+16
+74
+20
+40
+21
+81
+c5
+97
+80
+c9
+78
+3c
+fc
+00
+20
+00
+00
+1e
+20
+40
+21
+81
+78
+57
+fc
+00
+78
+26
+fc
+00
+78
+30
+fc
+00
+78
+50
+7c
+00
+78
+28
+7c
+00
+6f
+e1
+48
+3b
+98
+00
+36
+00
+37
+c1
+84
+00
+24
+2c
+21
+ef
+6f
+e1
+cf
+f0
+1f
+e0
+fe
+01
+67
+e1
+cf
+f0
+20
+40
+4d
+0d
+c5
+17
+80
+d9
+78
+46
+fc
+00
+78
+25
+fc
+00
+78
+23
+fc
+00
+78
+24
+fc
+00
+20
+40
+21
+ec
+67
+e0
+c8
+5d
+68
+48
+c8
+5c
+98
+46
+7c
+00
+24
+22
+a1
+f1
+78
+58
+fc
+00
+28
+0f
+fe
+2f
+20
+40
+a1
+de
+20
+38
+a1
+f1
+20
+40
+21
+ec
+67
+e0
+c7
+a7
+c5
+13
+80
+eb
+6f
+e0
+c7
+a7
+68
+48
+c8
+39
+a8
+40
+0e
+00
+24
+20
+a1
+f1
+20
+40
+21
+ec
+28
+0f
+fe
+2f
+20
+40
+a1
+e7
+e7
+e0
+80
+05
+1f
+e9
+7e
+00
+1f
+e6
+7c
+1f
+24
+21
+21
+f1
+1f
+e2
+72
+00
+20
+22
+80
+f7
+20
+40
+21
+ec
+e7
+e0
+80
+05
+c2
+00
+00
+f4
+c5
+13
+80
+fc
+18
+a2
+22
+00
+20
+40
+21
+ec
+67
+e0
+c8
+82
+1a
+22
+0a
+00
+09
+80
+00
+18
+1f
+ef
+7e
+00
+1f
+f1
+7e
+00
+e7
+e1
+80
+05
+78
+45
+fc
+00
+28
+0f
+fe
+27
+20
+40
+a5
+e5
+20
+23
+21
+f1
+6f
+e1
+cf
+f3
+1f
+e0
+fe
+01
+67
+e1
+cf
+f3
+20
+40
+4d
+0c
+78
+37
+fc
+00
+20
+40
+17
+5c
+c6
+13
+80
+00
+6f
+e0
+c8
+82
+68
+48
+c8
+d1
+98
+46
+7c
+00
+20
+41
+7e
+bd
+20
+20
+25
+e9
+68
+48
+c8
+95
+28
+4f
+fe
+03
+20
+20
+a4
+17
+6f
+e1
+4a
+30
+20
+20
+7e
+7a
+68
+48
+c8
+95
+28
+4f
+fe
+03
+20
+20
+a4
+19
+6f
+e1
+4a
+32
+20
+20
+7e
+7a
+79
+3f
+80
+23
+6f
+e0
+8b
+59
+1f
+e1
+7e
+80
+c0
+00
+01
+1f
+20
+20
+7a
+a1
+6f
+e0
+8b
+59
+1f
+f1
+fe
+00
+1f
+e3
+7e
+00
+1f
+e1
+7e
+03
+c0
+00
+81
+25
+20
+20
+7a
+b4
+6f
+e0
+8b
+5a
+c0
+04
+81
+28
+20
+20
+7a
+cd
+20
+00
+3a
+98
+20
+20
+7c
+4a
+6f
+e0
+8b
+f9
+20
+7a
+00
+00
+6f
+f0
+8c
+24
+1f
+e1
+7e
+0f
+24
+3a
+7d
+17
+6f
+e0
+8b
+fa
+20
+3a
+7c
+ed
+6f
+e0
+8b
+ec
+c0
+01
+fd
+27
+c0
+81
+7c
+ed
+6f
+e0
+8b
+ee
+24
+3a
+7c
+ed
+20
+40
+01
+38
+20
+20
+7c
+e0
+6f
+f0
+8c
+24
+c3
+80
+80
+00
+6f
+e0
+8b
+f9
+c4
+00
+80
+00
+6f
+e0
+8b
+f9
+79
+3f
+fe
+01
+67
+e0
+8b
+f9
+6f
+e0
+8b
+f7
+20
+7a
+00
+00
+c0
+08
+01
+43
+20
+20
+13
+7c
+70
+0b
+f7
+00
+df
+20
+00
+08
+d8
+c0
+0c
+0f
+20
+20
+7c
+b9
+6f
+e0
+8b
+5c
+c0
+00
+fb
+01
+c0
+01
+7b
+1a
+c0
+01
+fb
+1d
+c0
+10
+fa
+f6
+c0
+11
+01
+4e
+20
+20
+7a
+d2
+70
+0b
+fa
+01
+70
+0b
+ec
+01
+6a
+21
+0a
+93
+20
+20
+7c
+75
+6f
+e0
+c8
+c3
+c1
+80
+80
+00
+70
+41
+e8
+85
+20
+20
+24
+9f
+01
+e9
+aa
+55
+40
+00
+00
+40
+01
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+08
+08
+00
+00
+00
+20
+00
+0c
+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
+c0
+08
+00
+00
+00
+00
+00
+00
+00
+00
+00
+40
+00
+00
+00
+aa
+55
+1d
+00
+15
+49
+16
+01
+51
+31
+00
+0a
+10
+08
+01
+00
+00
+11
+54
+77
+69
+6e
+20
+55
+53
+42
+20
+4a
+6f
+79
+73
+74
+69
+63
+6b
+aa
+55
+06
+00
+a8
+40
+36
+26
+10
+30
+44
+55
+aa
+55
+01
+00
+bd
+48
+00
+aa
+55
+04
+00
+7b
+48
+2a
+20
+15
+10
+aa
+55
+01
+00
+9a
+40
+04
+aa
+55
+01
+00
+7b
+41
+14
+aa
+55
+02
+00
+7b
+44
+80
+1f
+aa
+55
+01
+00
+85
+44
+80
+aa
+55
+cb
+00
+40
+49
+ca
+05
+01
+09
+04
+a1
+01
+85
+01
+a1
+02
+75
+08
+95
+04
+15
+00
+26
+ff
+00
+35
+00
+46
+ff
+00
+09
+32
+09
+35
+09
+30
+09
+31
+81
+02
+75
+04
+95
+01
+25
+07
+46
+3b
+01
+65
+14
+09
+39
+81
+42
+65
+00
+75
+01
+95
+0c
+25
+01
+45
+01
+05
+09
+19
+01
+29
+0c
+81
+02
+06
+00
+ff
+75
+01
+95
+08
+25
+01
+45
+01
+09
+01
+81
+02
+c0
+a1
+02
+75
+08
+95
+04
+46
+ff
+00
+26
+ff
+00
+09
+02
+91
+02
+c0
+c0
+05
+01
+09
+04
+a1
+01
+85
+02
+a1
+02
+75
+08
+95
+04
+15
+00
+26
+ff
+00
+35
+00
+46
+ff
+00
+09
+32
+09
+35
+09
+30
+09
+31
+81
+02
+75
+04
+95
+01
+25
+07
+46
+3b
+01
+65
+14
+09
+39
+81
+42
+65
+00
+75
+01
+95
+0c
+25
+01
+45
+01
+05
+09
+19
+01
+29
+0c
+81
+02
+06
+00
+ff
+75
+01
+95
+08
+25
+01
+45
+01
+09
+01
+81
+02
+c0
+a1
+02
+75
+08
+95
+04
+46
+ff
+00
+26
+ff
+00
+09
+02
+91
+02
+c0
+c0
+55
+aa
+aa
+55
+4f
+4c
+5e
+9e
Index: output/eeprom2hciimage_1021s.pl
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/eeprom2hciimage_1021s.pl	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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/memmap.format
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/memmap.format	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/memmap.format	(working copy)
@@ -0,0 +1,2500 @@
+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
+0x4940 mem_hidreceportdesc_gamepad
+0x4a30 mem_cb_24g_data_device_gamepad1
+0x4a32 mem_cb_24g_data_device_gamepad2
+0x4a34 mem_24g_gamepad_type
+0x4a35 mem_dg_gp1_blank_data_enable
+0x4a36 mem_dg_gp2_blank_data_enable
+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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/otp.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/otp.dat	(working copy)
@@ -0,0 +1,8 @@
+00
+02
+aa
+55
+00
+00
+b3
+23
Index: output/program.lis
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/program.lis	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/program.lis	(working copy)
@@ -0,0 +1,40786 @@
+              include "bt_format "
+              org 0x0000
+0000 c2840008 bbit1 8 ,pf_patch_ext 
+0001 c000000d beq patch00_0 ,p_soft_reset 
+0002 c0418015 beq patch10_3 ,p_set_sync_on 
+0003 c056801c beq patch15_5 ,p_app_init 
+0004 c0458071 beq patch11_3 ,p_initialize_radio_cont 
+0005 c05d007c beq patch17_2 ,p_dongle_usb_dispatch 
+0006 c05d807e beq patch17_3 ,p_dongle_work_mode_auto 
+0007 2020137e branch loop 
+
+pf_patch_ext:
+0008 c047011a beq patch31_6 ,p_usb_class_type 
+0009 c0478147 beq patch31_7 ,p_usb0_request_get_descriptor 
+000a c049812a beq patch32_3 ,p_usb_tx 
+000b c0730152 beq patch3c_6 ,p_g24_bind_mode_auto 
+000c 2020137e branch loop 
+
+p_soft_reset:
+000d 20800000 clear_stack 
+000e 20403166 call app_param_init 
+000f 70487f4e jam 0x4e ,mem_24g_pair_ch 
+0010 5815202a setarg 0x15202a 
+0011 67e1c87b store 3 ,mem_24g_pair_addr 
+0012 58000010 setarg 0x10 
+0013 e7e08005 istore 1 ,contw 
+0014 20200804 branch soft_reset + 3 
+
+p_set_sync_on:
+0015 70890005 jam 0x5 ,modem_en 
+0016 20000002 nop 2 
+0017 70890000 jam 0x0 ,modem_en 
+0018 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+0019 c00c1164 beq xtal_24m ,set_sync_on_24m 
+001a 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+001b 20201179 branch set_sync_on_16m 
+
+p_app_init:
+
+p_dongle_init:
+001c 580036cc setarg dongle_dispatch 
+001d 67e1488d store 2 ,mem_cb_24g_receive_process 
+001e 5800003a setarg p_dongle_ackpayload_prep 
+001f 67e1488f store 2 ,mem_cb_24g_ackpayload 
+0020 58000047 setarg p_dongle_g24_gamepad1 
+0021 67e14a30 store 2 ,mem_cb_24g_data_device_gamepad1 
+0022 58000050 setarg p_dongle_g24_gamepad2 
+0023 67e14a32 store 2 ,mem_cb_24g_data_device_gamepad2 
+0024 58000027 setarg p_dongle_usb_config 
+0025 67e10b45 store 2 ,mem_cb_usb_config 
+0026 20207a08 branch usb_init 
+
+p_dongle_usb_config:
+0027 6ff21aac fetch 4 ,usb_devicedata_addr + 9 
+0028 79207e1d set1 29 ,pdata 
+0029 67e20aa0 store 4 ,mem_devicedesc + 9 
+
+p_dongle_usb_config_param:
+002a 204036f7 call dongle_usb_device_name 
+002b 20407a5b call usb_tx_interval_config 
+002c 204036e4 call dongle_usb_vid_pid_config 
+002d 2020002e branch p_dongle_usb_hid_icon_config 
+
+p_dongle_usb_hid_icon_config:
+
+p_dongle_usb_kb_hidreportdesc:
+002e 58004940 setarg mem_hidreceportdesc_gamepad 
+002f 67e10a93 store 2 ,mem_hidreportdesc_kb 
+0030 58000022 setarg 0x22 
+0031 67e08aaa store 1 ,mem_confdesc 
+0032 67e08aad store 1 ,mem_confdesc + 3 
+0033 58000001 setarg 0x01 
+0034 67e08aaf store 1 ,mem_confdesc + 5 
+0035 58000000 setarg 0 
+0036 67e10aba store 2 ,mem_confdesc + 16 
+0037 6fe0c940 fetch 1 ,mem_hidreceportdesc_gamepad 
+0038 67e08ac4 store 1 ,mem_confdesc + 26 
+0039 20600000 rtn 
+
+p_dongle_ackpayload_prep:
+003a 6fe0c8be fetch 1 ,mem_24g_ackpayload_enable 
+003b c000a354 beq bind_ackpayload ,g24_bind_ackpayload_prep 
+003c c001003f beq gamepad_ackload ,p_g24_ackpayload_prep 
+003d c001b794 beq kb_led_ackpayload ,dongle_g24_kb_led_ackpayload_prep 
+003e 20600000 rtn 
+
+p_g24_ackpayload_prep:
+003f 6fe0c7a9 fetch 1 ,mem_24g_rxbuf + 2 
+0040 c000a354 beq datatype_device1 ,g24_bind_ackpayload_prep 
+0041 c07fa354 beq datatype_attemp ,g24_bind_ackpayload_prep 
+0042 7048be00 jam 0 ,mem_24g_ackpayload_enable 
+0043 70483801 jam 0x01 ,mem_24g_datalen 
+0044 6fe0ca34 fetch 1 ,mem_24g_gamepad_type 
+0045 67e0c7c9 store 1 ,mem_24g_txbuf 
+0046 20600000 rtn 
+
+p_dongle_g24_gamepad1:
+0047 700c0f01 jam 0x01 ,mem_usb_kb_data 
+0048 d8a00c10 arg mem_usb_kb_data + 1 ,contw 
+0049 d8c04898 arg mem_24g_rxdata_temp + 3 ,contr 
+004a df200007 arg 7 ,loopcnt 
+004b 20407dd4 call memcpy 
+004c 6fe38c10 fetch 7 ,mem_usb_kb_data + 1 
+004d 245a0059 ncall p_dongle_g24_gp1_enable_blank_data_forcibly ,blank 
+004e 2040371e call dongle_usb_tx_enable_ep1 
+004f 202023fa branch g24_rx_interrupt_clear 
+
+p_dongle_g24_gamepad2:
+0050 700c0f02 jam 0x02 ,mem_usb_kb_data 
+0051 d8a00c10 arg mem_usb_kb_data + 1 ,contw 
+0052 d8c04898 arg mem_24g_rxdata_temp + 3 ,contr 
+0053 df200007 arg 7 ,loopcnt 
+0054 20407dd4 call memcpy 
+0055 6fe38c10 fetch 7 ,mem_usb_kb_data + 1 
+0056 245a005d ncall p_dongle_g24_gp2_enable_blank_data_forcibly ,blank 
+0057 2040371e call dongle_usb_tx_enable_ep1 
+0058 202023fa branch g24_rx_interrupt_clear 
+
+p_dongle_g24_gp1_enable_blank_data_forcibly:
+0059 704a3501 jam 1 ,mem_dg_gp1_blank_data_enable 
+005a 58000180 setarg timer_kb_blank_delay 
+005b d8e0000e arg timer_kb_blank ,queue 
+005c 20207ddb branch timer_init 
+
+p_dongle_g24_gp2_enable_blank_data_forcibly:
+005d 704a3601 jam 1 ,mem_dg_gp2_blank_data_enable 
+005e 58000180 setarg timer_gp2_blank_delay 
+005f d8e00012 arg timer_gp2_blank ,queue 
+0060 20207ddb branch timer_init 
+
+p_dongle_g24_blank_data_process:
+0061 20400063 call p_dongle_g24_gp1_blank_data 
+0062 2020006a branch p_dongle_g24_gp2_blank_data 
+
+p_dongle_g24_gp1_blank_data:
+0063 6fe0ca35 fetch 1 ,mem_dg_gp1_blank_data_enable 
+0064 207a0000 rtn blank 
+0065 d8e0000e arg timer_kb_blank ,queue 
+0066 20407de9 call timer_check 
+0067 247a0000 nrtn blank 
+0068 704a3500 jam 0 ,mem_dg_gp1_blank_data_enable 
+0069 20600000 rtn 
+
+p_dongle_g24_gp2_blank_data:
+006a 6fe0ca36 fetch 1 ,mem_dg_gp2_blank_data_enable 
+006b 207a0000 rtn blank 
+006c d8e00012 arg timer_gp2_blank ,queue 
+006d 20407de9 call timer_check 
+006e 247a0000 nrtn blank 
+006f 704a3600 jam 0 ,mem_dg_gp2_blank_data_enable 
+0070 20600000 rtn 
+
+p_initialize_radio_cont:
+0071 7041eaff jam 0xff ,mem_gain_fix 
+0072 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0073 70892140 jam 0x40 ,0x8921 
+0074 70486701 jam 0x01 ,mem_24g_rx_phy 
+0075 70486801 jam 0x01 ,mem_24g_tx_phy 
+0076 7048bc1e jam 0x1e ,mem_24g_hop_interval 
+0077 7048d701 jam 1 ,mem_24g_b_s_mode_switch_disable 
+0078 20401252 call initialize_radio_cont + 1 
+0079 204062a4 call wdt_set_enable 
+
+p_wdt_kick:
+007a 5800007d setarg 125 
+007b 20206295 branch wdt_init_config 
+
+p_dongle_usb_dispatch:
+007c 2040007a call p_wdt_kick 
+007d 20203730 branch dongle_usb_dispatch + 1 
+
+p_dongle_work_mode_auto:
+007e 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+007f c1800000 rtnne dongle_work 
+0080 20400083 call p_g24_work_mode_start 
+0081 20400061 call p_dongle_g24_blank_data_process 
+0082 20203770 branch dongle_work_mode_auto + 5 
+
+p_g24_work_mode_start:
+0083 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+0084 c1800000 rtnne dongle_work 
+0085 20402485 call g24_work_init 
+0086 20402547 call g24_ch_process 
+0087 20200088 branch p_g24_receive_packet_start 
+
+p_g24_receive_packet_start:
+0088 204000b2 call p_g24_receive_transmit_ack 
+0089 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+
+p_g24_receive_packet_parse:
+008a 2040241b call g24_receive_packet_parse_pid_crc 
+008b 243423fa nbranch g24_rx_interrupt_clear ,user 
+008c 6fe0c82d fetch 1 ,mem_24g_rxdata_length 
+008d 203a23fa branch g24_rx_interrupt_clear ,blank 
+008e 1fe0fe02 increase 2 ,pdata 
+008f 98007200 iforce loopcnt 
+0090 d8c047a7 arg mem_24g_rxbuf ,contr 
+0091 d8a04895 arg mem_24g_rxdata_temp ,contw 
+0092 20407dd4 call memcpy 
+0093 7048c000 jam 0 ,mem_24g_mode_switch 
+0094 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+0095 205a2436 call g24_enable_nodata_timer ,blank 
+0096 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
+0097 c0020110 beq datatype_device_gamepad1 ,p_g24_data_device_gamepad1 
+0098 c0028115 beq datatype_device_gamepad2 ,p_g24_data_device_gamepad2 
+0099 c001009c beq datatype_device2 ,p_g24_data_attemp 
+009a c00080ae beq datatype_device1 ,p_g24_data_attemp_ack 
+009b 202023fa branch g24_rx_interrupt_clear 
+
+p_g24_data_attemp:
+009c 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+009d c1ff8000 rtnne datatype_attemp 
+009e 6fe0ca35 fetch 1 ,mem_dg_gp1_blank_data_enable 
+009f 203a00a7 branch p_g24_data_attemp_device1 ,blank 
+00a0 704a3402 jam 2 ,mem_24g_gamepad_type 
+00a1 7048be02 jam gamepad_ackload ,mem_24g_ackpayload_enable 
+00a2 20407ec5 call enable_user 
+00a3 6fe2489a fetch 4 ,mem_24g_rxdata_temp + 5 
+00a4 67e248d9 store 4 ,mem_24g_transmitter_addr 
+00a5 67e248e1 store 4 ,mem_24g_device2_addr 
+00a6 20600000 rtn 
+
+p_g24_data_attemp_device1:
+00a7 704a3401 jam 1 ,mem_24g_gamepad_type 
+00a8 7048be02 jam gamepad_ackload ,mem_24g_ackpayload_enable 
+00a9 20407ec5 call enable_user 
+00aa 6fe2489a fetch 4 ,mem_24g_rxdata_temp + 5 
+00ab 67e248d9 store 4 ,mem_24g_transmitter_addr 
+00ac 67e248dd store 4 ,mem_24g_device1_addr 
+00ad 20600000 rtn 
+
+p_g24_data_attemp_ack:
+00ae 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+00af c1ff8000 rtnne datatype_attemp 
+00b0 7048be02 jam gamepad_ackload ,mem_24g_ackpayload_enable 
+00b1 20207ec5 branch enable_user 
+
+p_g24_receive_transmit_ack:
+00b2 204023fa call g24_rx_interrupt_clear 
+00b3 204000bc call p_g24_receive_packet 
+00b4 24778000 nrtn user3 
+
+p_g24_transmit_ack:
+00b5 6fe0c7a7 fetch 1 ,mem_24g_rxbuf 
+00b6 67e0c839 store 1 ,mem_24g_data_type 
+00b7 20402274 call g24_read_len_pid_crc 
+00b8 6fe0c7a8 fetch 1 ,mem_24g_rxbuf + 1 
+00b9 2feffe00 isolate1 bit_ack_24g ,pdata 
+00ba 2020a435 branch g24tx_no_ack ,true 
+00bb 20202432 branch g24tx_with_ack 
+
+p_g24_receive_packet:
+00bc 6fe0c867 fetch 1 ,mem_24g_rx_phy 
+00bd 20401637 call le_enable_phy_by_pdata 
+00be 6fe2483f fetch 4 ,mem_24g_addr 
+00bf 98001200 iforce access 
+00c0 204010ac call calc_mod_value_scale_le 
+00c1 2040115d call set_sync_on 
+00c2 6848c83d fetcht 1 ,mem_24g_ch 
+00c3 20401674 call le_rf_rx_enable 
+
+p_g24_receive_rxon:
+00c4 20402181 call g24_prep 
+00c5 c59780c9 bmark0 mark_ble_lr ,p_g24_receive_nolr 
+00c6 783cfc00 pulse dewhiten_code_calc 
+00c7 2000001e nop 30 
+00c8 20402181 call g24_prep 
+
+p_g24_receive_nolr:
+00c9 7857fc00 disable user3 
+00ca 7826fc00 enable decode_fec0 
+00cb 7830fc00 enable is_rx 
+00cc 78507c00 disable is_tx 
+00cd 78287c00 enable swfine 
+00ce 6fe1483b fetch 2 ,mem_24g_rx_window 
+00cf 98003600 iforce stop_watch 
+00d0 37c18400 correlate null ,timeout 
+00d1 242c21ef nbranch g24_sync_timeout ,sync 
+00d2 6fe1cff0 fetch 3 ,0x4ff0 
+00d3 1fe0fe01 increase 1 ,pdata 
+00d4 67e1cff0 store 3 ,0x4ff0 
+00d5 20404d0d call rf_debug_rx_sync_line 
+00d6 c51780d9 bmark1 mark_ble_lr ,p_g24_receive_skip_fec1 
+00d7 7846fc00 disable decode_fec0 
+00d8 7825fc00 enable decode_fec1 
+
+p_g24_receive_skip_fec1:
+00d9 7823fc00 enable enable_white 
+00da 7824fc00 enable enable_crc 
+00db 204021ec call g24_receive_byte 
+00dc 67e0c85d store 1 ,mem_24g_get_syncword_crc8 
+00dd 6848c85c fetcht 1 ,mem_24g_syncword_crc8 
+00de 98467c00 isub temp ,null 
+00df 2422a1f1 nbranch g24_end_of_packet ,zero 
+00e0 7858fc00 disable user7 
+00e1 280ffe2f isolate1 mark_ble_lr ,mark 
+00e2 2040a1de call g24_lr_receive_pdu_len ,true 
+00e3 2038a1f1 branch g24_end_of_packet ,user7 
+00e4 204021ec call g24_receive_byte 
+00e5 67e0c7a7 store 1 ,mem_24g_rxbuf 
+00e6 c51380eb bmark1 mark_24g_rxmode ,p_g24_receive_skip 
+00e7 6fe0c7a7 fetch 1 ,mem_24g_rxbuf 
+00e8 6848c839 fetcht 1 ,mem_24g_data_type 
+00e9 a8400e00 icompare bits_data ,temp 
+00ea 2420a1f1 nbranch g24_end_of_packet ,true 
+
+p_g24_receive_skip:
+00eb 204021ec call g24_receive_byte 
+00ec 280ffe2f isolate1 mark_ble_lr ,mark 
+00ed 2040a1e7 call g24_lr_receive_payload_len ,true 
+00ee e7e08005 istore 1 ,contw 
+00ef 1fe97e00 rshift3 pdata ,pdata 
+00f0 1fe67c1f sub pdata ,0x1f ,null 
+00f1 242121f1 nbranch g24_end_of_packet ,positive 
+00f2 1fe27200 copy pdata ,loopcnt 
+00f3 202280f7 branch p_g24rx_nopayload ,zero 
+
+p_g24rx_loop:
+00f4 204021ec call g24_receive_byte 
+00f5 e7e08005 istore 1 ,contw 
+00f6 c20000f4 loop p_g24rx_loop 
+
+p_g24rx_nopayload:
+00f7 c51380fc bmark1 mark_24g_rxmode ,p_g24_receive_skip_rssi 
+00f8 18a22200 copy contw ,rega 
+00f9 204021ec call g24_receive_byte 
+00fa 67e0c882 store 1 ,mem_rssi_hex_received 
+00fb 1a220a00 copy rega ,contw 
+
+p_g24_receive_skip_rssi:
+00fc 09800018 parse demod ,bucket ,24 
+00fd 1fef7e00 rshift32 pdata ,pdata 
+00fe 1ff17e00 rshift16 pdata ,pdata 
+00ff e7e18005 istore 3 ,contw 
+0100 7845fc00 disable decode_fec1 
+0101 280ffe27 isolate1 mark_24g_rxmode ,mark 
+0102 2040a5e5 call save_rssi_dec ,true 
+0103 202321f1 branch g24_end_of_packet ,crc_failed 
+0104 6fe1cff3 fetch 3 ,0x4ff3 
+0105 1fe0fe01 increase 1 ,pdata 
+0106 67e1cff3 store 3 ,0x4ff3 
+0107 20404d0c call rf_debug_rx_crc_line 
+0108 7837fc00 enable user3 
+0109 2040175c call le_match_set_txfreq 
+010a c6138000 rtnmark1 mark_24g_rxmode 
+010b 6fe0c882 fetch 1 ,mem_rssi_hex_received 
+010c 6848c8d1 fetcht 1 ,mem_rssi_hex_received_max_value 
+010d 98467c00 isub temp ,null 
+010e 20417ebd call copy_temp2pdata ,positive 
+010f 202025e9 branch rssi_signal 
+
+p_g24_data_device_gamepad1:
+0110 6848c895 fetcht 1 ,mem_24g_rxdata_temp 
+0111 284ffe03 isolate1 bit_abort ,temp 
+0112 2020a417 branch g24_data_attemp_device1_abort + 3 ,true 
+0113 6fe14a30 fetch 2 ,mem_cb_24g_data_device_gamepad1 
+0114 20207e7a branch callback_func 
+
+p_g24_data_device_gamepad2:
+0115 6848c895 fetcht 1 ,mem_24g_rxdata_temp 
+0116 284ffe03 isolate1 bit_abort ,temp 
+0117 2020a419 branch g24_data_attemp_device2_abort ,true 
+0118 6fe14a32 fetch 2 ,mem_cb_24g_data_device_gamepad2 
+0119 20207e7a branch callback_func 
+
+p_usb_class_type:
+011a 793f8023 set0 mark_isstr ,mark 
+011b 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+011c 1fe17e80 and_into 0x80 ,pdata 
+011d c000011f beq out_device ,p_usb_out_device 
+011e 20207aa1 branch usb_class_type + 4 
+
+p_usb_out_device:
+011f 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+0120 1ff1fe00 rshift4 pdata ,pdata 
+0121 1fe37e00 rshift pdata ,pdata 
+0122 1fe17e03 and_into 0x03 ,pdata 
+0123 c0008125 beq class_req ,p_usb_out_class_req 
+0124 20207ab4 branch usb_out_device + 4 
+
+p_usb_out_class_req:
+0125 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0126 c0048128 beq set_report ,p_usb_set_report 
+0127 20207acd branch usb_out_class_req + 1 
+
+p_usb_set_report:
+0128 20003a98 nop 15000 
+0129 20207c4a branch usb_set_report 
+
+p_usb_tx:
+012a 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+012b 207a0000 rtn blank 
+012c 6ff08c24 fetch 1 ,core_usb_txbusy 
+012d 1fe17e0f and_into 0x0f ,pdata 
+012e 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+012f 6fe08bfa fetch 1 ,mem_usb_device_enumeration_endflag 
+0130 203a7ced branch usb_tx_fifo_release ,blank 
+0131 6fe08bec fetch 1 ,mem_usb_state 
+0132 c001fd27 beq usb_sleep ,usb_windows_wakeup 
+0133 c0817ced bne usb_connected ,usb_tx_fifo_release 
+0134 6fe08bee fetch 1 ,mem_usb_clear_remote_wakeup 
+0135 243a7ced nbranch usb_tx_fifo_release ,blank 
+0136 20400138 call p_usb_tx_data_ep1 
+0137 20207ce0 branch usb_tx_data_ep2 
+
+p_usb_tx_data_ep1:
+0138 6ff08c24 fetch 1 ,core_usb_txbusy 
+0139 c3808000 rtnbit1 1 
+013a 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+013b c4008000 rtnbit0 1 
+013c 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+013d 793ffe01 set0 1 ,pdata 
+013e 67e08bf9 store 1 ,mem_usb_tx_enable 
+013f 6fe08bf7 fetch 1 ,mem_usb_ep1_data 
+0140 207a0000 rtn blank 
+0141 c0080143 beq usb_ep1_kb ,p_usb_tx_kb_normal_data 
+0142 2020137c branch assert 
+
+p_usb_tx_kb_normal_data:
+0143 700bf700 jam 0 ,mem_usb_ep1_data 
+0144 df200008 arg 8 ,loopcnt 
+0145 d8c00c0f arg mem_usb_kb_data ,contr 
+0146 20207cb9 branch usb_tx_ep1 
+
+p_usb0_request_get_descriptor:
+0147 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+0148 c000fb01 beq dsc_device ,dsc_device_info 
+0149 c0017b1a beq dsc_config ,dsc_config_info 
+014a c001fb1d beq dsc_string ,dsc_string_info 
+014b c010faf6 beq dsc_hid ,dsc_hid_info 
+014c c011014e beq dsc_hid_report ,p_dsc_hid_report_info 
+014d 20207ad2 branch usb0_force_stall 
+
+p_dsc_hid_report_info:
+014e 700bfa01 jam 1 ,mem_usb_device_enumeration_endflag 
+014f 700bec01 jam usb_got_report_req ,mem_usb_state 
+0150 6a210a93 fetchr rega ,2 ,mem_hidreportdesc_kb 
+0151 20207c75 branch usb0_respond_length 
+
+p_g24_bind_mode_auto:
+0152 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+0153 c1808000 rtnne dongle_bind 
+0154 7041e885 jam tx_power_f5db ,mem_tx_power 
+0155 2020249f branch g24_bind_mode_auto + 3 
+              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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/ramcode.rom	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/ramcode.rom	(working copy)
@@ -0,0 +1,342 @@
+c2840008
+c000000d
+c0418015
+c056801c
+c0458071
+c05d007c
+c05d807e
+2020137e
+c047011a
+c0478147
+c049812a
+c0730152
+2020137e
+20800000
+20403166
+70487f4e
+5815202a
+67e1c87b
+58000010
+e7e08005
+20200804
+70890005
+20000002
+70890000
+6fe0c0c5
+c00c1164
+708a8729
+20201179
+580036cc
+67e1488d
+5800003a
+67e1488f
+58000047
+67e14a30
+58000050
+67e14a32
+58000027
+67e10b45
+20207a08
+6ff21aac
+79207e1d
+67e20aa0
+204036f7
+20407a5b
+204036e4
+2020002e
+58004940
+67e10a93
+58000022
+67e08aaa
+67e08aad
+58000001
+67e08aaf
+58000000
+67e10aba
+6fe0c940
+67e08ac4
+20600000
+6fe0c8be
+c000a354
+c001003f
+c001b794
+20600000
+6fe0c7a9
+c000a354
+c07fa354
+7048be00
+70483801
+6fe0ca34
+67e0c7c9
+20600000
+700c0f01
+d8a00c10
+d8c04898
+df200007
+20407dd4
+6fe38c10
+245a0059
+2040371e
+202023fa
+700c0f02
+d8a00c10
+d8c04898
+df200007
+20407dd4
+6fe38c10
+245a005d
+2040371e
+202023fa
+704a3501
+58000180
+d8e0000e
+20207ddb
+704a3601
+58000180
+d8e00012
+20207ddb
+20400063
+2020006a
+6fe0ca35
+207a0000
+d8e0000e
+20407de9
+247a0000
+704a3500
+20600000
+6fe0ca36
+207a0000
+d8e00012
+20407de9
+247a0000
+704a3600
+20600000
+7041eaff
+708a8500
+70892140
+70486701
+70486801
+7048bc1e
+7048d701
+20401252
+204062a4
+5800007d
+20206295
+2040007a
+20203730
+6fe0c8c3
+c1800000
+20400083
+20400061
+20203770
+6fe0c8c3
+c1800000
+20402485
+20402547
+20200088
+204000b2
+2437a3fa
+2040241b
+243423fa
+6fe0c82d
+203a23fa
+1fe0fe02
+98007200
+d8c047a7
+d8a04895
+20407dd4
+7048c000
+6fe0c8bd
+205a2436
+6fe0c897
+c0020110
+c0028115
+c001009c
+c00080ae
+202023fa
+6fe0c898
+c1ff8000
+6fe0ca35
+203a00a7
+704a3402
+7048be02
+20407ec5
+6fe2489a
+67e248d9
+67e248e1
+20600000
+704a3401
+7048be02
+20407ec5
+6fe2489a
+67e248d9
+67e248dd
+20600000
+6fe0c898
+c1ff8000
+7048be02
+20207ec5
+204023fa
+204000bc
+24778000
+6fe0c7a7
+67e0c839
+20402274
+6fe0c7a8
+2feffe00
+2020a435
+20202432
+6fe0c867
+20401637
+6fe2483f
+98001200
+204010ac
+2040115d
+6848c83d
+20401674
+20402181
+c59780c9
+783cfc00
+2000001e
+20402181
+7857fc00
+7826fc00
+7830fc00
+78507c00
+78287c00
+6fe1483b
+98003600
+37c18400
+242c21ef
+6fe1cff0
+1fe0fe01
+67e1cff0
+20404d0d
+c51780d9
+7846fc00
+7825fc00
+7823fc00
+7824fc00
+204021ec
+67e0c85d
+6848c85c
+98467c00
+2422a1f1
+7858fc00
+280ffe2f
+2040a1de
+2038a1f1
+204021ec
+67e0c7a7
+c51380eb
+6fe0c7a7
+6848c839
+a8400e00
+2420a1f1
+204021ec
+280ffe2f
+2040a1e7
+e7e08005
+1fe97e00
+1fe67c1f
+242121f1
+1fe27200
+202280f7
+204021ec
+e7e08005
+c20000f4
+c51380fc
+18a22200
+204021ec
+67e0c882
+1a220a00
+09800018
+1fef7e00
+1ff17e00
+e7e18005
+7845fc00
+280ffe27
+2040a5e5
+202321f1
+6fe1cff3
+1fe0fe01
+67e1cff3
+20404d0c
+7837fc00
+2040175c
+c6138000
+6fe0c882
+6848c8d1
+98467c00
+20417ebd
+202025e9
+6848c895
+284ffe03
+2020a417
+6fe14a30
+20207e7a
+6848c895
+284ffe03
+2020a419
+6fe14a32
+20207e7a
+793f8023
+6fe08b59
+1fe17e80
+c000011f
+20207aa1
+6fe08b59
+1ff1fe00
+1fe37e00
+1fe17e03
+c0008125
+20207ab4
+6fe08b5a
+c0048128
+20207acd
+20003a98
+20207c4a
+6fe08bf9
+207a0000
+6ff08c24
+1fe17e0f
+243a7d17
+6fe08bfa
+203a7ced
+6fe08bec
+c001fd27
+c0817ced
+6fe08bee
+243a7ced
+20400138
+20207ce0
+6ff08c24
+c3808000
+6fe08bf9
+c4008000
+6fe08bf9
+793ffe01
+67e08bf9
+6fe08bf7
+207a0000
+c0080143
+2020137c
+700bf700
+df200008
+d8c00c0f
+20207cb9
+6fe08b5c
+c000fb01
+c0017b1a
+c001fb1d
+c010faf6
+c011014e
+20207ad2
+700bfa01
+700bec01
+6a210a93
+20207c75
+6fe0c8c3
+c1808000
+7041e885
+2020249f
Index: output/romcode.rom
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/romcode.rom	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/sched.rom	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/output/sched.rom	(working copy)
@@ -0,0 +1,250 @@
+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
+08   #mem_patch10
+08   #mem_patch11
+00   #mem_patch12
+00   #mem_patch13
+00   #mem_patch14
+20   #mem_patch15
+00   #mem_patch16
+0c   #mem_patch17
+00   #mem_patch18
+00   #mem_patch19
+00   #mem_patch1a
+00   #mem_patch1b
+00   #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
+c0   #mem_patch31
+08   #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
+40   #mem_patch3c
+00   #mem_patch3d
+00   #mem_patch3e
+00   #mem_patch3f
+
+
+
+#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:16	#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:
+01 #disable
+#mouse only#auto pair
+51 31#VID
+00 0a#PID
+#mouse & keyboard
+10 08#VID
+01 00#PID
+mem_dg_usb_tx_interval:00
+mem_dg_usb_device_name:
+'Twin USB Joystick
+
+
+#rf config
+mem_lap:36 26 10 30 44 55#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:2a 20 15 10
+#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
+
+
+#mem_patch10:08
+#mem_patch11:08
+#mem_patch17:04
+#mem_patch32:08
+#mem_patch3c:40
+
+
+#with eeprom
+mem_device_option:04
+mem_lpm_ctrim:14		#xtal offset
+
+
+mem_eeprom_base:80 1f
+mem_eeprom_block_size:80
+
+mem_hidreceportdesc_gamepad:
+	ca
+#	63
+	05 01  	# Usage Page (Generic Desktop) 
+	09 04  	# Usage (Joystick) 
+	A1 01  	# Collection (Application)  
+	85 01
+   	A1 02  	# Collection (Logical) 
+       75 08   	# Report Size (8)
+       95 04  	# Report Count (4)
+       15 00  	# Logical Minimum (0)
+       26 FF 00  # Logical Maximum (255)
+       35 00  	# Physical Minimum (0) 
+       
+       46 FF 00  # Physical Maximum (255) 
+       09 32  	# Usage (Z) 
+       09 35  	# Usage (Rz) 
+       09 30  	# Usage (X)
+       09 31  	# Usage (Y) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       75 04  	# Report Size (4) 
+       95 01 	# Report Count (1)  
+       25 07  	# Logical Maximum (7) 
+       46 3B 01 	# Physical Maximum (315) 
+       
+       65 14	# Unit (Eng Rot: Degree)   
+       09 39  	# Usage (Hat Switch) 
+       81 42  	# Input (Data,Var,Abs,NWrp,Lin,Pref,Null,Bit) 
+       65 00  	# Unit (None) 
+       75 01  	# Report Size (1)
+       95 0C 	# Report Count (12)
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1)
+       05 09  	# Usage Page (Button) 
+       19 01  	# Usage Minimum (Button 1) 
+       
+       29 0C  	# Usage Maximum (Button 12) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       06 00 FF  # Usage Page (Vendor-Defined 1) 
+       75 01 	# Report Size (1)  
+       95 08  	# Report Count (8) 
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1) 
+      	09 01  	# Usage (Vendor-Defined 1) 
+       81 02 	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+  	C0  		# End Collection 
+  	
+    	A1 02  	# Collection (Logical) 
+       75 08 	# Report Size (8)  
+       95 04	# Report Count (4)   
+       46 FF 00  # Physical Maximum (255) 
+       26 FF 00  # Logical Maximum (255) 
+       09 02  	# Usage (Vendor-Defined 2) 
+      	91 02  	# Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 
+    	C0  		# End Collection 
+	C0  		# End Collection 
+
+	05 01  	# Usage Page (Generic Desktop) 
+	09 04  	# Usage (Joystick) 
+	A1 01  	# Collection (Application)  
+	85 02
+   	A1 02  	# Collection (Logical) 
+       75 08   	# Report Size (8)
+       95 04  	# Report Count (4)
+       15 00  	# Logical Minimum (0)
+       26 FF 00  # Logical Maximum (255)
+       35 00  	# Physical Minimum (0) 
+       
+       46 FF 00  # Physical Maximum (255) 
+       09 32  	# Usage (Z) 
+       09 35  	# Usage (Rz) 
+       09 30  	# Usage (X)
+       09 31  	# Usage (Y) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       75 04  	# Report Size (4) 
+       95 01 	# Report Count (1)  
+       25 07  	# Logical Maximum (7) 
+       46 3B 01 	# Physical Maximum (315) 
+       
+       65 14	# Unit (Eng Rot: Degree)   
+       09 39  	# Usage (Hat Switch) 
+       81 42  	# Input (Data,Var,Abs,NWrp,Lin,Pref,Null,Bit) 
+       65 00  	# Unit (None) 
+       75 01  	# Report Size (1)
+       95 0C 	# Report Count (12)
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1)
+       05 09  	# Usage Page (Button) 
+       19 01  	# Usage Minimum (Button 1) 
+       
+       29 0C  	# Usage Maximum (Button 12) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       06 00 FF  # Usage Page (Vendor-Defined 1) 
+       75 01 	# Report Size (1)  
+       95 08  	# Report Count (8) 
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1) 
+      	09 01  	# Usage (Vendor-Defined 1) 
+       81 02 	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+  	C0  		# End Collection 
+  	
+    	A1 02  	# Collection (Logical) 
+       75 08 	# Report Size (8)  
+       95 04	# Report Count (4)   
+       46 FF 00  # Physical Maximum (255) 
+       26 FF 00  # Logical Maximum (255) 
+       09 02  	# Usage (Vendor-Defined 2) 
+      	91 02  	# Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 
+    	C0  		# End Collection 
+	C0  		# End Collection 
+
Index: program/app.prog
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_antiLost.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_car.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_dongle.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_esl.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_module.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_mouse.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_remote_car.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/app_shutter.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ble_protocol_stack/le.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ble_protocol_stack/le_advertising.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ble_protocol_stack/le_l2cap_att.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ble_protocol_stack/le_l2cap_att_wechat.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ble_protocol_stack/le_l2cap_signalling.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ble_protocol_stack/le_l2cap_smp.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ble_protocol_stack/le_ll.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/bt.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/debug.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/g24_protocol_stack/24g.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/g24_protocol_stack/24g_pair.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/g24_protocol_stack/24g_receiver.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/g24_protocol_stack/24g_reconn.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/g24_protocol_stack/24g_rssi.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/g24_protocol_stack/24g_transmitter.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/g24_protocol_stack/24g_txpower_ctrl.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/hci_main.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/hid.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/kscan_peipherals.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/l2cap.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/lmp.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_access_layer.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_ali_vendor_message.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_bearer_layer.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_ble_core_advertising.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_chip_peripherals.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_control_ble_advertising.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_encrypt_function.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_fast_pairing.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_health_message.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_init_function.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_lower_transport_layer.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_model_layer.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_more_element_check.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_network_layer.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_proxy_layer.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/mesh_protocol_stack/mesh_upper_transport_layer.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/patch.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/patch.prog	(working copy)
@@ -0,0 +1,470 @@
+
+	bbit1 8,pf_patch_ext
+	beq patch00_0,p_soft_reset
+	beq patch10_3,p_set_sync_on
+	beq patch15_5,p_app_init
+	beq patch11_3,p_initialize_radio_cont
+	beq patch17_2,p_dongle_usb_dispatch
+	beq patch17_3,p_dongle_work_mode_auto
+	branch loop
+
+pf_patch_ext:
+	beq patch31_6,p_usb_class_type
+	beq patch31_7,p_usb0_request_get_descriptor	
+	beq patch32_3,p_usb_tx
+	beq patch3c_6,p_g24_bind_mode_auto
+	branch loop
+
+p_soft_reset:
+	clear_stack
+	call app_param_init
+	jam 0x4e,mem_24g_pair_ch
+	setarg 0x15202a
+	store 3,mem_24g_pair_addr
+	setarg 0x10
+	istore 1,contw
+	branch soft_reset+3
+
+
+p_set_sync_on:
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en	
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,set_sync_on_24m
+	jam 0x29,core_syn_afc_cfg1
+	branch set_sync_on_16m
+
+p_app_init:
+p_dongle_init:
+	setarg dongle_dispatch
+	store 2,mem_cb_24g_receive_process
+	setarg p_dongle_ackpayload_prep
+	store 2,mem_cb_24g_ackpayload
+
+	setarg p_dongle_g24_gamepad1
+	store 2,mem_cb_24g_data_device_gamepad1
+	setarg p_dongle_g24_gamepad2
+	store 2,mem_cb_24g_data_device_gamepad2
+
+	setarg p_dongle_usb_config
+	store 2,mem_cb_usb_config
+
+	branch usb_init
+
+
+p_dongle_usb_config:
+	fetch 4,USB_DEVICEDATA_ADDR+9
+	set1 29,pdata
+	store 4,mem_devicedesc+9
+p_dongle_usb_config_param:
+	call dongle_usb_device_name
+	call usb_tx_interval_config
+	call dongle_usb_vid_pid_config
+	branch p_dongle_usb_hid_icon_config
+
+p_dongle_usb_hid_icon_config:
+p_dongle_usb_kb_hidreportdesc:
+	setarg mem_hidreceportdesc_gamepad
+	store 2,mem_hidreportdesc_kb
+	setarg 0x22
+	store 1,mem_confdesc
+	store 1,mem_confdesc+3
+	setarg 0x01
+	store 1,mem_confdesc+5
+	setarg 0
+	store 2,mem_confdesc+16
+	fetch 1,mem_hidreceportdesc_gamepad 
+	store 1,mem_confdesc+26//hid_descriptor--gamepad1 length		
+	rtn
+
+
+p_dongle_ackpayload_prep:
+	fetch 1,mem_24g_ackpayload_enable
+	beq BIND_ACKPAYLOAD,g24_bind_ackpayload_prep
+	beq GAMEPAD_ACKLOAD,p_g24_ackpayload_prep
+	beq KB_LED_ACKPAYLOAD,dongle_g24_kb_led_ackpayload_prep
+	rtn
+
+p_g24_ackpayload_prep:
+	fetch 1,mem_24g_rxbuf+2
+	beq DATATYPE_DEVICE1,g24_bind_ackpayload_prep
+	beq DATATYPE_ATTEMP,g24_bind_ackpayload_prep
+	jam 0,mem_24g_ackpayload_enable
+	jam 0x01,mem_24g_datalen
+	fetch 1,mem_24g_gamepad_type
+	store 1,mem_24g_txbuf
+	rtn
+
+p_dongle_g24_gamepad1:
+	jam 0x01,mem_usb_kb_data
+	arg mem_usb_kb_data+1,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 7,loopcnt
+	call memcpy
+	fetch 7,mem_usb_kb_data+1
+	ncall p_dongle_g24_gp1_enable_blank_data_forcibly,blank
+	call dongle_usb_tx_enable_ep1
+	branch g24_rx_interrupt_clear
+
+p_dongle_g24_gamepad2:
+	jam 0x02,mem_usb_kb_data
+	arg mem_usb_kb_data+1,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 7,loopcnt
+	call memcpy
+	fetch 7,mem_usb_kb_data+1
+	ncall p_dongle_g24_gp2_enable_blank_data_forcibly,blank
+	call dongle_usb_tx_enable_ep1
+	branch g24_rx_interrupt_clear
+
+p_dongle_g24_gp1_enable_blank_data_forcibly:
+	jam 1,mem_dg_gp1_blank_data_enable
+	setarg TIMER_KB_BLANK_DELAY
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+p_dongle_g24_gp2_enable_blank_data_forcibly:
+	jam 1,mem_dg_gp2_blank_data_enable
+	setarg TIMER_GP2_BLANK_DELAY
+	arg TIMER_GP2_BLANK,queue
+	branch timer_init
+
+p_dongle_g24_blank_data_process:
+	call p_dongle_g24_gp1_blank_data
+	branch p_dongle_g24_gp2_blank_data
+
+p_dongle_g24_gp1_blank_data:
+	fetch 1,mem_dg_gp1_blank_data_enable
+	rtn blank
+	arg TIMER_KB_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_gp1_blank_data_enable
+	rtn
+
+p_dongle_g24_gp2_blank_data:
+	fetch 1,mem_dg_gp2_blank_data_enable
+	rtn blank
+	arg TIMER_GP2_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_gp2_blank_data_enable
+	rtn
+
+p_initialize_radio_cont:
+	//hw agc
+	jam 0xff,mem_gain_fix
+
+	jam 0x00,core_syn_loopdiv_dsm_cfg
+	jam 0x40,0x8921
+
+	jam 0x01,mem_24g_rx_phy
+	jam 0x01,mem_24g_tx_phy
+
+	//config hop interval
+	jam 0x1e,mem_24g_hop_interval
+
+	//disable mode switch
+	jam 1,mem_24g_B_S_mode_switch_disable
+	
+	call initialize_radio_cont+1
+
+	//watch dog enable
+	call wdt_set_enable
+p_wdt_kick:
+	//about 128ms
+	setarg 125
+	branch wdt_init_config
+
+p_dongle_usb_dispatch:
+	call p_wdt_kick
+	branch dongle_usb_dispatch+1
+
+
+/************************keyboard blank patch**********//
+
+p_dongle_work_mode_auto:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call p_g24_work_mode_start
+	call p_dongle_g24_blank_data_process
+	branch dongle_work_mode_auto+5
+
+
+p_g24_work_mode_start:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_init
+	call g24_ch_process
+	branch p_g24_receive_packet_start
+
+p_g24_receive_packet_start:
+	call p_g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+p_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_DEVICE_GAMEPAD1,p_g24_data_device_gamepad1
+	beq DATATYPE_DEVICE_GAMEPAD2,p_g24_data_device_gamepad2
+	beq DATATYPE_DEVICE2,p_g24_data_attemp	//reconn packet
+	beq DATATYPE_DEVICE1,p_g24_data_attemp_ack	//reconn packet
+	branch g24_rx_interrupt_clear
+
+
+p_g24_data_attemp:
+	fetch 1,mem_24g_rxdata_temp+3
+	rtnne DATATYPE_ATTEMP
+	fetch 1,mem_dg_gp1_blank_data_enable
+	branch p_g24_data_attemp_device1,blank
+	jam 2,mem_24g_gamepad_type
+	jam GAMEPAD_ACKLOAD,mem_24g_ackpayload_enable
+	call enable_user
+	fetch 4,mem_24g_rxdata_temp+5
+	store 4,mem_24g_transmitter_addr	
+	store 4,mem_24g_device2_addr
+	rtn
+
+p_g24_data_attemp_device1:
+	jam 1,mem_24g_gamepad_type
+	jam GAMEPAD_ACKLOAD,mem_24g_ackpayload_enable
+	call enable_user
+	fetch 4,mem_24g_rxdata_temp+5
+	store 4,mem_24g_transmitter_addr
+	store 4,mem_24g_device1_addr
+	rtn
+
+p_g24_data_attemp_ack:
+	fetch 1,mem_24g_rxdata_temp+3
+	rtnne DATATYPE_ATTEMP
+	jam GAMEPAD_ACKLOAD,mem_24g_ackpayload_enable
+	branch enable_user
+
+
+
+	
+p_g24_receive_transmit_ack:
+	call g24_rx_interrupt_clear
+	call p_g24_receive_packet
+	nrtn user3
+p_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
+	branch g24tx_with_ack
+
+p_g24_receive_packet:
+	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
+p_g24_receive_rxon:
+	call g24_prep
+	bmark0 mark_ble_lr,p_g24_receive_nolr
+	pulse dewhiten_code_calc
+	nop 30
+	call g24_prep
+p_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
+	fetch 3,0x4ff0
+	increase 1,pdata
+	store 3,0x4ff0
+	
+	call rf_debug_rx_sync_line
+	bmark1 mark_ble_lr,p_g24_receive_skip_fec1
+	disable decode_fec0	
+	enable decode_fec1	//lr do not use fec1
+p_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
+	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,p_g24_receive_skip
+	fetch 1,mem_24g_rxbuf
+	fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch g24_end_of_packet,true
+p_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 p_g24rx_nopayload,zero
+p_g24rx_loop:
+	call g24_receive_byte
+	istore 1,contw
+	loop p_g24rx_loop
+p_g24rx_nopayload:
+	bmark1 mark_24g_rxmode,p_g24_receive_skip_rssi
+	copy contw,rega
+	call g24_receive_byte
+	store 1,mem_rssi_hex_received	//receive rssi hex
+	copy rega,contw
+p_g24_receive_skip_rssi:
+	parse demod,bucket,24
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	disable decode_fec1
+	isolate1 mark_24g_rxmode,mark
+	call save_rssi_dec,true
+	branch g24_end_of_packet,crc_failed
+	fetch 3,0x4ff3
+	increase 1,pdata
+	store 3,0x4ff3
+	call rf_debug_rx_crc_line	//L
+	enable user3
+	call le_match_set_txfreq
+	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
+
+
+
+p_g24_data_device_gamepad1:
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_device1_abort+3,true
+	fetch 2,mem_cb_24g_data_device_gamepad1
+	branch callback_func
+	
+p_g24_data_device_gamepad2:
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_device2_abort,true
+	fetch 2,mem_cb_24g_data_device_gamepad2
+	branch callback_func
+
+
+/************************keyboard led patch**********/
+p_usb_class_type:
+	set0 mark_isstr,mark
+	fetch 1,mem_usb_setup_bmRequestType
+	and_into 0x80,pdata
+	beq OUT_DEVICE,p_usb_out_device
+	branch usb_class_type+4
+
+p_usb_out_device:
+	fetch 1,mem_usb_setup_bmRequestType
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	and_into 0x03,pdata
+	beq CLASS_REQ,p_usb_out_class_req
+	branch usb_out_device+4
+
+p_usb_out_class_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq SET_REPORT,p_usb_set_report
+	branch usb_out_class_req+1
+
+p_usb_set_report:
+	nop 15000	//delay 1ms
+	branch usb_set_report
+
+
+/************************usb mac wakeup patch**********/
+p_usb_tx:
+	fetch 1,mem_usb_tx_enable
+	rtn blank
+	fetch 1,core_usb_txbusy
+	and_into 0x0f,pdata
+	nbranch usb_inwake_state_tx_dispose,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 p_usb_tx_data_ep1
+	branch usb_tx_data_ep2
+
+p_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,p_usb_tx_kb_normal_data
+	branch assert
+
+p_usb_tx_kb_normal_data:
+	jam 0,mem_usb_ep1_data
+	arg 8,loopcnt
+	arg mem_usb_kb_data,contr
+	branch usb_tx_ep1
+
+p_usb0_request_get_descriptor:
+	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,p_dsc_hid_report_info
+	branch usb0_force_stall
+
+p_dsc_hid_report_info:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	fetchr rega,2,mem_hidreportdesc_kb
+	branch usb0_respond_length
+
+
+p_g24_bind_mode_auto:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	jam TX_POWER_F5DB,mem_tx_power
+	branch g24_bind_mode_auto+3
+	
+
Index: program/peripherals.prog
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals_test/ac_50hz_test.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals_test/gpio_test.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals_test/iic_test.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals_test/nec_test.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals_test/spi_test.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals_test/uart_test.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/peripherals_test/usb_test.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/rfcomm.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/scheduler.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/sdp.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/security.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/sim.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/simple_pairing.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/ui.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/usb.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/program/utility.prog	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/1308.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/1308.dat	(working copy)
@@ -0,0 +1,9 @@
+
+mem_lpm_config:88 1f ca	#4khz
+mem_fcomp_div:18
+
+mem_rf_init_data:
+ff
+mem_rf_init_ptr:mem_rf_init_data
+
+
Index: sched/AntiLost.dat
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/AntiLost.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/DM_module.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/DM_module.dat	(working copy)
@@ -0,0 +1,488 @@
+
+
+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:D0 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:00
+mem_lpm_interval:00 01
+mem_lpm_overhead:08
+mem_lpm_mult_timeout:02
+
+mem_module_wake_up_gpio:1b
+
+###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:f0
+
+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 1308 le Mou 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 1308 le
+
+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
+
Index: sched/car.dat
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/car.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/dongle.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/dongle.dat	(working copy)
@@ -0,0 +1,183 @@
+
+#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:16	#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:
+01 #disable
+#mouse only#auto pair
+51 31#VID
+00 0a#PID
+#mouse & keyboard
+10 08#VID
+01 00#PID
+mem_dg_usb_tx_interval:00
+mem_dg_usb_device_name:
+'Twin USB Joystick
+
+
+#rf config
+mem_lap:36 26 10 30 44 55#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:2a 20 15 10
+#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
+
+
+#mem_patch10:08
+#mem_patch11:08
+#mem_patch17:04
+#mem_patch32:08
+#mem_patch3c:40
+
+
+#with eeprom
+mem_device_option:04
+mem_lpm_ctrim:14		#xtal offset
+
+
+mem_eeprom_base:80 1f
+mem_eeprom_block_size:80
+
+mem_hidreceportdesc_gamepad:
+	ca
+#	63
+	05 01  	# Usage Page (Generic Desktop) 
+	09 04  	# Usage (Joystick) 
+	A1 01  	# Collection (Application)  
+	85 01
+   	A1 02  	# Collection (Logical) 
+       75 08   	# Report Size (8)
+       95 04  	# Report Count (4)
+       15 00  	# Logical Minimum (0)
+       26 FF 00  # Logical Maximum (255)
+       35 00  	# Physical Minimum (0) 
+       
+       46 FF 00  # Physical Maximum (255) 
+       09 32  	# Usage (Z) 
+       09 35  	# Usage (Rz) 
+       09 30  	# Usage (X)
+       09 31  	# Usage (Y) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       75 04  	# Report Size (4) 
+       95 01 	# Report Count (1)  
+       25 07  	# Logical Maximum (7) 
+       46 3B 01 	# Physical Maximum (315) 
+       
+       65 14	# Unit (Eng Rot: Degree)   
+       09 39  	# Usage (Hat Switch) 
+       81 42  	# Input (Data,Var,Abs,NWrp,Lin,Pref,Null,Bit) 
+       65 00  	# Unit (None) 
+       75 01  	# Report Size (1)
+       95 0C 	# Report Count (12)
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1)
+       05 09  	# Usage Page (Button) 
+       19 01  	# Usage Minimum (Button 1) 
+       
+       29 0C  	# Usage Maximum (Button 12) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       06 00 FF  # Usage Page (Vendor-Defined 1) 
+       75 01 	# Report Size (1)  
+       95 08  	# Report Count (8) 
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1) 
+      	09 01  	# Usage (Vendor-Defined 1) 
+       81 02 	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+  	C0  		# End Collection 
+  	
+    	A1 02  	# Collection (Logical) 
+       75 08 	# Report Size (8)  
+       95 04	# Report Count (4)   
+       46 FF 00  # Physical Maximum (255) 
+       26 FF 00  # Logical Maximum (255) 
+       09 02  	# Usage (Vendor-Defined 2) 
+      	91 02  	# Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 
+    	C0  		# End Collection 
+	C0  		# End Collection 
+
+	05 01  	# Usage Page (Generic Desktop) 
+	09 04  	# Usage (Joystick) 
+	A1 01  	# Collection (Application)  
+	85 02
+   	A1 02  	# Collection (Logical) 
+       75 08   	# Report Size (8)
+       95 04  	# Report Count (4)
+       15 00  	# Logical Minimum (0)
+       26 FF 00  # Logical Maximum (255)
+       35 00  	# Physical Minimum (0) 
+       
+       46 FF 00  # Physical Maximum (255) 
+       09 32  	# Usage (Z) 
+       09 35  	# Usage (Rz) 
+       09 30  	# Usage (X)
+       09 31  	# Usage (Y) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       75 04  	# Report Size (4) 
+       95 01 	# Report Count (1)  
+       25 07  	# Logical Maximum (7) 
+       46 3B 01 	# Physical Maximum (315) 
+       
+       65 14	# Unit (Eng Rot: Degree)   
+       09 39  	# Usage (Hat Switch) 
+       81 42  	# Input (Data,Var,Abs,NWrp,Lin,Pref,Null,Bit) 
+       65 00  	# Unit (None) 
+       75 01  	# Report Size (1)
+       95 0C 	# Report Count (12)
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1)
+       05 09  	# Usage Page (Button) 
+       19 01  	# Usage Minimum (Button 1) 
+       
+       29 0C  	# Usage Maximum (Button 12) 
+       81 02  	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+       06 00 FF  # Usage Page (Vendor-Defined 1) 
+       75 01 	# Report Size (1)  
+       95 08  	# Report Count (8) 
+       25 01  	# Logical Maximum (1) 
+       45 01  	# Physical Maximum (1) 
+      	09 01  	# Usage (Vendor-Defined 1) 
+       81 02 	# Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+  	C0  		# End Collection 
+  	
+    	A1 02  	# Collection (Logical) 
+       75 08 	# Report Size (8)  
+       95 04	# Report Count (4)   
+       46 FF 00  # Physical Maximum (255) 
+       26 FF 00  # Logical Maximum (255) 
+       09 02  	# Usage (Vendor-Defined 2) 
+      	91 02  	# Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 
+    	C0  		# End Collection 
+	C0  		# End Collection 
+
Index: sched/esl.dat
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/esl.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/ff.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/fpga.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/gatt.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/hci.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/hci_boot.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/le_prcp.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/le_transmit_uuid.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/mesh.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/meter.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/mouse.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/remote_car.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/rtrivr_uuid.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/shutter.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/shutter.dat	(working copy)
@@ -0,0 +1,13 @@
+#mem_device_option:09
+#mem_lpm_ctrim:1f		#xtal offset
+#mem_le_name_len:
+#'AB Shutter3
+
+
+mem_le_lap:38 31 20 98 07 2a
+
+mem_shutter_key_conf0_temp:04 06 05 00 06
+#mem_shutter_le_name_len:
+#'AB Shutter3
+
+
Index: sched/sim.dat
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/sim.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/spp.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/ssp.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/sched/test.dat	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/util/crc16.pl	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/util/eeprom2fulleeprom.pl	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/util/mergepatch.pl	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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
===================================================================
--- /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/util/patch.pl	(nonexistent)
+++ /YJX_KB_Project/YJX_gamepad/USB_gamepad_YC1308AF/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;
